From 98441b4712b6512bb27776496ce47cee5f141272 Mon Sep 17 00:00:00 2001 From: gagik Date: Tue, 10 Dec 2024 13:43:15 +0100 Subject: [PATCH 01/24] WIP: refactor e2e tests for foliage --- .evergreen/evergreen.yml.in | 62 ++++++++++++++++++++++++++++++++----- 1 file changed, 54 insertions(+), 8 deletions(-) diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index 968399ed8..006671339 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -62,6 +62,7 @@ const platformDetails = platformToDetails[platform]; // Unit tests on macOS use arm64 and therefore require 6.0+ continue; } + const platformDetails = platformToDetails[platform]; ALL_UNIT_TEST_BUILD_VARIANTS.push({ ...platformDetails, name: `tests_${platform}-m${mShort}_n${nShort}`, @@ -76,6 +77,20 @@ const platformDetails = platformToDetails[platform]; } } +const { RELEASE_PACKAGE_MATRIX } = require('../config/release-package-matrix'); + +const ALL_E2E_TEST_BUILD_VARIANTS = []; +for (const { executableOsId, compileBuildVariant, description } of RELEASE_PACKAGE_MATRIX) { + for (const mVersion of ['stable', '7.0.x', '6.0.x']) { + for (const fipsVariant of ['fips', 'nofips']) { + ALL_E2E_TEST_BUILD_VARIANTS.push({ + displayName: `${description} ${executableOsId.replace(/-/g, '_')}${(mVersion === 'stable' ? '' : '_' + mVersion.replace(/[^a-zA-Z0-9]/g, ''))}${(fipsVariant === 'fips' ? '_fips' : '')}`, + name: `e2e_tests_${executableOsId.replace(/-/g, '_')}${(mVersion === 'stable' ? '' : '_' + mVersion.replace(/[^a-zA-Z0-9]/g, ''))}${(fipsVariant === 'fips' ? '_fips' : '')}`, + executableOsId, compileBuildVariant, mVersion, fipsVariant }); + } + } +} + for (const packageInfo of MONGOSH_PACKAGES) { const id = `${packageInfo.name.replace(/-/g, '_')}`; @@ -89,7 +104,6 @@ for (const packageInfo of MONGOSH_PACKAGES) { } -const { RELEASE_PACKAGE_MATRIX } = require('../config/release-package-matrix'); %> exec_timeout_secs: 10800 @@ -1256,7 +1270,26 @@ tasks: ### # E2E TESTS ### - <% for (const { executableOsId, compileBuildVariant } of RELEASE_PACKAGE_MATRIX) { + + - name: e2e_tests + tags: ["e2e-test"] + depends_on: + - name: compile_artifact + commands: + - func: checkout + - func: install + vars: + node_js_version: ${node_js_version} + - func: download_compiled_artifact + vars: + executable_os_id: ${executable_os_id} + - func: run_e2e_tests + vars: + node_js_version: ${node_js_version} + mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} + disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} + <% for (const { executableOsId, compileBuildVariant } of RELEASE_PACKAGE_MATRIX) { for (const mVersion of ['stable', '7.0.x', '6.0.x']) { for (const fipsVariant of ['fips', 'nofips']) { %> @@ -1279,12 +1312,11 @@ tasks: mongosh_server_test_version: "<% out(mVersion) %>-enterprise" mongosh_test_e2e_force_fips: "<% out(fipsVariant === 'fips' ? '1' : '') %>" disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - <% } } %> - - name: perf_tests_<% out(executableOsId.replace(/-/g, '_')) %> + <% } } } %> + - name: perf_tests tags: ["perf-test"] depends_on: - name: compile_artifact - variant: <% out(compileBuildVariant) %> commands: - func: checkout - func: install @@ -1292,9 +1324,8 @@ tasks: node_js_version: "<% out(NODE_JS_VERSION_20) %>" - func: download_compiled_artifact vars: - executable_os_id: <% out(executableOsId) %> + executable_os_id: ${executable_os_id} - func: run_perf_tests - <% } %> ### # EXECUTABLE CONNECTIVITY TESTS @@ -1568,6 +1599,19 @@ buildvariants: - name: test_<% out(test.id) %> <% } %> <% } %> + <% for (const variant of ALL_E2E_TEST_BUILD_VARIANTS) { %> + - name: <% out(variant.name) %> + display_name: "<% out(variant.displayName) %><% out(variant.mShort === undefined ? '' : ` m${variant.mShort}`) %> n<% out(variant.nShort) %> (Unit tests)" + run_on: <% out(variant.runOn) %> + tags: <% out([...(variant.tags ?? []), ...(variant.mShort === 'latest' ? ["mlatest"] : [])]) %> + expansions: + executable_os_id: <% out(variant.executableOsId) %> + node_js_version: "<% out(NODE_JS_VERSION_20) %>" + mongosh_server_test_version: "<% out(variant.mVersion) %>-enterprise" + mongosh_test_e2e_force_fips: "<% out(variant.fipsVariant === 'fips' ? '1' : '') %>" + tasks: + - name: e2e_tests + <% } %> - name: darwin display_name: "MacOS Big Sur" run_on: macos-11 @@ -2078,4 +2122,6 @@ buildvariants: display_name: "Performance Tests" run_on: rhel90-dbx-perf-large tasks: - - name: perf_tests_linux_x64 + - name: perf_tests + expansions: + executable_os_id: linux_x64 From 78fc9d1e4e21bf874144566bc9199af8cd1a42b2 Mon Sep 17 00:00:00 2001 From: gagik Date: Tue, 10 Dec 2024 16:12:29 +0100 Subject: [PATCH 02/24] WIP --- .evergreen.yml | 894 ++++++++++++++++++++++++++++++------ .evergreen/evergreen.yml.in | 5 +- 2 files changed, 752 insertions(+), 147 deletions(-) diff --git a/.evergreen.yml b/.evergreen.yml index 2ce796b26..a76ed818e 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -8274,6 +8274,25 @@ tasks: ### # E2E TESTS ### + + - name: e2e_tests + tags: ["e2e-test"] + depends_on: + - name: compile_artifact + commands: + - func: checkout + - func: install + vars: + node_js_version: ${node_js_version} + - func: download_compiled_artifact + vars: + executable_os_id: ${executable_os_id} + - func: run_e2e_tests + vars: + node_js_version: ${node_js_version} + mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} + disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - name: e2e_tests_darwin_x64_fips tags: ["e2e-test"] depends_on: @@ -8388,20 +8407,6 @@ tasks: mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests_darwin_x64 - tags: ["perf-test"] - depends_on: - - name: compile_artifact - variant: darwin - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: darwin-x64 - - func: run_perf_tests - name: e2e_tests_darwin_arm64_fips tags: ["e2e-test"] depends_on: @@ -8516,20 +8521,6 @@ tasks: mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests_darwin_arm64 - tags: ["perf-test"] - depends_on: - - name: compile_artifact - variant: darwin_arm64 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: darwin-arm64 - - func: run_perf_tests - name: e2e_tests_linux_x64_fips tags: ["e2e-test"] depends_on: @@ -8644,20 +8635,6 @@ tasks: mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests_linux_x64 - tags: ["perf-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64 - - func: run_perf_tests - name: e2e_tests_linux_x64_openssl11_fips tags: ["e2e-test"] depends_on: @@ -8772,20 +8749,6 @@ tasks: mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests_linux_x64_openssl11 - tags: ["perf-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build_openssl11 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64-openssl11 - - func: run_perf_tests - name: e2e_tests_linux_x64_openssl3_fips tags: ["e2e-test"] depends_on: @@ -8900,20 +8863,6 @@ tasks: mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests_linux_x64_openssl3 - tags: ["perf-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build_openssl3 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64-openssl3 - - func: run_perf_tests - name: e2e_tests_linux_arm64_fips tags: ["e2e-test"] depends_on: @@ -9028,20 +8977,6 @@ tasks: mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests_linux_arm64 - tags: ["perf-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64 - - func: run_perf_tests - name: e2e_tests_linux_arm64_openssl11_fips tags: ["e2e-test"] depends_on: @@ -9156,20 +9091,6 @@ tasks: mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests_linux_arm64_openssl11 - tags: ["perf-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build_openssl11 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64-openssl11 - - func: run_perf_tests - name: e2e_tests_linux_arm64_openssl3_fips tags: ["e2e-test"] depends_on: @@ -9284,20 +9205,6 @@ tasks: mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests_linux_arm64_openssl3 - tags: ["perf-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build_openssl3 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64-openssl3 - - func: run_perf_tests - name: e2e_tests_linux_ppc64le_fips tags: ["e2e-test"] depends_on: @@ -9412,20 +9319,6 @@ tasks: mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests_linux_ppc64le - tags: ["perf-test"] - depends_on: - - name: compile_artifact - variant: linux_ppc64le_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-ppc64le - - func: run_perf_tests - name: e2e_tests_linux_s390x_fips tags: ["e2e-test"] depends_on: @@ -9540,20 +9433,6 @@ tasks: mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests_linux_s390x - tags: ["perf-test"] - depends_on: - - name: compile_artifact - variant: linux_s390x_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-s390x - - func: run_perf_tests - name: e2e_tests_win32_fips tags: ["e2e-test"] depends_on: @@ -9668,11 +9547,10 @@ tasks: mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests_win32 + - name: perf_tests tags: ["perf-test"] depends_on: - name: compile_artifact - variant: win32_build commands: - func: checkout - func: install @@ -9680,7 +9558,7 @@ tasks: node_js_version: "20.18.1" - func: download_compiled_artifact vars: - executable_os_id: win32 + executable_os_id: ${executable_os_id} - func: run_perf_tests ### @@ -15879,6 +15757,732 @@ buildvariants: - name: test_shell_evaluator - name: test_snippet_manager - name: test_types + - name: e2e_tests_darwin_x64_fips + display_name: "undefined darwin_x64_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: darwin-x64 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_darwin_x64 + display_name: "undefined darwin_x64 nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: darwin-x64 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_darwin_x64_70x_fips + display_name: "undefined darwin_x64_70x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: darwin-x64 + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_darwin_x64_70x + display_name: "undefined darwin_x64_70x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: darwin-x64 + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_darwin_x64_60x_fips + display_name: "undefined darwin_x64_60x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: darwin-x64 + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_darwin_x64_60x + display_name: "undefined darwin_x64_60x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: darwin-x64 + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_darwin_arm64_fips + display_name: "undefined darwin_arm64_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: darwin-arm64 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_darwin_arm64 + display_name: "undefined darwin_arm64 nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: darwin-arm64 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_darwin_arm64_70x_fips + display_name: "undefined darwin_arm64_70x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: darwin-arm64 + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_darwin_arm64_70x + display_name: "undefined darwin_arm64_70x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: darwin-arm64 + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_darwin_arm64_60x_fips + display_name: "undefined darwin_arm64_60x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: darwin-arm64 + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_darwin_arm64_60x + display_name: "undefined darwin_arm64_60x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: darwin-arm64 + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_x64_fips + display_name: "undefined linux_x64_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-x64 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_x64 + display_name: "undefined linux_x64 nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-x64 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_x64_70x_fips + display_name: "undefined linux_x64_70x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-x64 + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_x64_70x + display_name: "undefined linux_x64_70x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-x64 + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_x64_60x_fips + display_name: "undefined linux_x64_60x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-x64 + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_x64_60x + display_name: "undefined linux_x64_60x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-x64 + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_x64_openssl11_fips + display_name: "undefined linux_x64_openssl11_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-x64-openssl11 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_x64_openssl11 + display_name: "undefined linux_x64_openssl11 nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-x64-openssl11 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_x64_openssl11_70x_fips + display_name: "undefined linux_x64_openssl11_70x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-x64-openssl11 + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_x64_openssl11_70x + display_name: "undefined linux_x64_openssl11_70x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-x64-openssl11 + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_x64_openssl11_60x_fips + display_name: "undefined linux_x64_openssl11_60x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-x64-openssl11 + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_x64_openssl11_60x + display_name: "undefined linux_x64_openssl11_60x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-x64-openssl11 + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_x64_openssl3_fips + display_name: "undefined linux_x64_openssl3_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-x64-openssl3 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_x64_openssl3 + display_name: "undefined linux_x64_openssl3 nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-x64-openssl3 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_x64_openssl3_70x_fips + display_name: "undefined linux_x64_openssl3_70x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-x64-openssl3 + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_x64_openssl3_70x + display_name: "undefined linux_x64_openssl3_70x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-x64-openssl3 + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_x64_openssl3_60x_fips + display_name: "undefined linux_x64_openssl3_60x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-x64-openssl3 + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_x64_openssl3_60x + display_name: "undefined linux_x64_openssl3_60x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-x64-openssl3 + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_arm64_fips + display_name: "undefined linux_arm64_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-arm64 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_arm64 + display_name: "undefined linux_arm64 nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-arm64 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_arm64_70x_fips + display_name: "undefined linux_arm64_70x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-arm64 + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_arm64_70x + display_name: "undefined linux_arm64_70x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-arm64 + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_arm64_60x_fips + display_name: "undefined linux_arm64_60x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-arm64 + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_arm64_60x + display_name: "undefined linux_arm64_60x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-arm64 + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_arm64_openssl11_fips + display_name: "undefined linux_arm64_openssl11_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-arm64-openssl11 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_arm64_openssl11 + display_name: "undefined linux_arm64_openssl11 nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-arm64-openssl11 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_arm64_openssl11_70x_fips + display_name: "undefined linux_arm64_openssl11_70x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-arm64-openssl11 + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_arm64_openssl11_70x + display_name: "undefined linux_arm64_openssl11_70x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-arm64-openssl11 + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_arm64_openssl11_60x_fips + display_name: "undefined linux_arm64_openssl11_60x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-arm64-openssl11 + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_arm64_openssl11_60x + display_name: "undefined linux_arm64_openssl11_60x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-arm64-openssl11 + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_arm64_openssl3_fips + display_name: "undefined linux_arm64_openssl3_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-arm64-openssl3 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_arm64_openssl3 + display_name: "undefined linux_arm64_openssl3 nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-arm64-openssl3 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_arm64_openssl3_70x_fips + display_name: "undefined linux_arm64_openssl3_70x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-arm64-openssl3 + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_arm64_openssl3_70x + display_name: "undefined linux_arm64_openssl3_70x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-arm64-openssl3 + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_arm64_openssl3_60x_fips + display_name: "undefined linux_arm64_openssl3_60x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-arm64-openssl3 + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_arm64_openssl3_60x + display_name: "undefined linux_arm64_openssl3_60x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-arm64-openssl3 + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_ppc64le_fips + display_name: "undefined linux_ppc64le_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-ppc64le + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_ppc64le + display_name: "undefined linux_ppc64le nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-ppc64le + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_ppc64le_70x_fips + display_name: "undefined linux_ppc64le_70x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-ppc64le + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_ppc64le_70x + display_name: "undefined linux_ppc64le_70x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-ppc64le + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_ppc64le_60x_fips + display_name: "undefined linux_ppc64le_60x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-ppc64le + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_ppc64le_60x + display_name: "undefined linux_ppc64le_60x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-ppc64le + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_s390x_fips + display_name: "undefined linux_s390x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-s390x + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_s390x + display_name: "undefined linux_s390x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-s390x + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_s390x_70x_fips + display_name: "undefined linux_s390x_70x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-s390x + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_s390x_70x + display_name: "undefined linux_s390x_70x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-s390x + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_s390x_60x_fips + display_name: "undefined linux_s390x_60x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-s390x + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_linux_s390x_60x + display_name: "undefined linux_s390x_60x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: linux-s390x + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_win32_fips + display_name: "undefined win32_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: win32 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_win32 + display_name: "undefined win32 nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: win32 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_win32_70x_fips + display_name: "undefined win32_70x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: win32 + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_win32_70x + display_name: "undefined win32_70x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: win32 + node_js_version: "20.18.1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests + - name: e2e_tests_win32_60x_fips + display_name: "undefined win32_60x_fips nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: win32 + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "1" + tasks: + - name: e2e_tests + - name: e2e_tests_win32_60x + display_name: "undefined win32_60x nundefined (E2E tests)" + run_on: undefined + tags: [] + expansions: + executable_os_id: win32 + node_js_version: "20.18.1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests - name: darwin display_name: "MacOS Big Sur" run_on: macos-11 @@ -16526,4 +17130,6 @@ buildvariants: display_name: "Performance Tests" run_on: rhel90-dbx-perf-large tasks: - - name: perf_tests_linux_x64 + - name: perf_tests + expansions: + executable_os_id: linux_x64 diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index 006671339..3a2b7ca28 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -43,7 +43,7 @@ const defaultVariants = ['darwin', 'linux', 'win32']; for (const { shortName: nShort, versionSpec: nVersion, skipNodeVersionCheck } of NODE_VERSIONS) { for (const platform of defaultVariants) { -const platformDetails = platformToDetails[platform]; + const platformDetails = platformToDetails[platform]; ALL_UNIT_TEST_BUILD_VARIANTS.push({ ...platformDetails, name: `${platform}-n${nShort}`, @@ -62,7 +62,6 @@ const platformDetails = platformToDetails[platform]; // Unit tests on macOS use arm64 and therefore require 6.0+ continue; } - const platformDetails = platformToDetails[platform]; ALL_UNIT_TEST_BUILD_VARIANTS.push({ ...platformDetails, name: `tests_${platform}-m${mShort}_n${nShort}`, @@ -1601,7 +1600,7 @@ buildvariants: <% } %> <% for (const variant of ALL_E2E_TEST_BUILD_VARIANTS) { %> - name: <% out(variant.name) %> - display_name: "<% out(variant.displayName) %><% out(variant.mShort === undefined ? '' : ` m${variant.mShort}`) %> n<% out(variant.nShort) %> (Unit tests)" + display_name: "<% out(variant.displayName) %><% out(variant.mShort === undefined ? '' : ` m${variant.mShort}`) %> n<% out(variant.nShort) %> (E2E tests)" run_on: <% out(variant.runOn) %> tags: <% out([...(variant.tags ?? []), ...(variant.mShort === 'latest' ? ["mlatest"] : [])]) %> expansions: From b26473594994c62b7193b87add681b17ff4b3ad8 Mon Sep 17 00:00:00 2001 From: gagik Date: Wed, 11 Dec 2024 12:24:33 +0100 Subject: [PATCH 03/24] use an array structure for everything --- .evergreen.yml | 2432 ++++++------------------------ .evergreen/evergreen.yml.in | 689 ++++----- config/.prettierrc.json | 1 + config/release-package-matrix.js | 409 ++++- 4 files changed, 1144 insertions(+), 2387 deletions(-) create mode 100644 config/.prettierrc.json diff --git a/.evergreen.yml b/.evergreen.yml index a76ed818e..87c85a377 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -8274,1279 +8274,24 @@ tasks: ### # E2E TESTS ### - - - name: e2e_tests - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - commands: - - func: checkout - - func: install - vars: - node_js_version: ${node_js_version} - - func: download_compiled_artifact - vars: - executable_os_id: ${executable_os_id} - - func: run_e2e_tests - vars: - node_js_version: ${node_js_version} - mongosh_server_test_version: ${mongosh_server_test_version} - mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_darwin_x64_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: darwin - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: darwin-x64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_darwin_x64 - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: darwin - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: darwin-x64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_darwin_x64_70x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: darwin - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: darwin-x64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_darwin_x64_70x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: darwin - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: darwin-x64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_darwin_x64_60x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: darwin - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: darwin-x64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_darwin_x64_60x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: darwin - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: darwin-x64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_darwin_arm64_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: darwin_arm64 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: darwin-arm64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_darwin_arm64 - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: darwin_arm64 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: darwin-arm64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_darwin_arm64_70x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: darwin_arm64 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: darwin-arm64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_darwin_arm64_70x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: darwin_arm64 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: darwin-arm64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_darwin_arm64_60x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: darwin_arm64 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: darwin-arm64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_darwin_arm64_60x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: darwin_arm64 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: darwin-arm64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_x64_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_x64 - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_x64_70x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_x64_70x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_x64_60x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_x64_60x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_x64_openssl11_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build_openssl11 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64-openssl11 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_x64_openssl11 - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build_openssl11 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64-openssl11 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_x64_openssl11_70x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build_openssl11 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64-openssl11 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_x64_openssl11_70x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build_openssl11 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64-openssl11 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_x64_openssl11_60x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build_openssl11 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64-openssl11 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_x64_openssl11_60x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build_openssl11 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64-openssl11 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_x64_openssl3_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build_openssl3 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64-openssl3 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_x64_openssl3 - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build_openssl3 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64-openssl3 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_x64_openssl3_70x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build_openssl3 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64-openssl3 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_x64_openssl3_70x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build_openssl3 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64-openssl3 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_x64_openssl3_60x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build_openssl3 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64-openssl3 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_x64_openssl3_60x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_x64_build_openssl3 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-x64-openssl3 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_arm64_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_arm64 - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_arm64_70x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_arm64_70x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_arm64_60x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_arm64_60x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_arm64_openssl11_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build_openssl11 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64-openssl11 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_arm64_openssl11 - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build_openssl11 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64-openssl11 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_arm64_openssl11_70x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build_openssl11 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64-openssl11 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_arm64_openssl11_70x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build_openssl11 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64-openssl11 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_arm64_openssl11_60x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build_openssl11 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64-openssl11 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_arm64_openssl11_60x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build_openssl11 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64-openssl11 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_arm64_openssl3_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build_openssl3 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64-openssl3 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_arm64_openssl3 - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build_openssl3 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64-openssl3 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_arm64_openssl3_70x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build_openssl3 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64-openssl3 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_arm64_openssl3_70x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build_openssl3 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64-openssl3 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_arm64_openssl3_60x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build_openssl3 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64-openssl3 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_arm64_openssl3_60x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_arm64_build_openssl3 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-arm64-openssl3 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_ppc64le_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_ppc64le_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-ppc64le - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_ppc64le - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_ppc64le_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-ppc64le - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_ppc64le_70x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_ppc64le_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-ppc64le - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_ppc64le_70x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_ppc64le_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-ppc64le - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_ppc64le_60x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_ppc64le_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-ppc64le - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_ppc64le_60x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_ppc64le_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-ppc64le - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_s390x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_s390x_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-s390x - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_s390x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_s390x_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-s390x - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_s390x_70x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_s390x_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-s390x - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_s390x_70x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_s390x_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-s390x - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_s390x_60x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_s390x_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-s390x - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_linux_s390x_60x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: linux_s390x_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: linux-s390x - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_win32_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: win32_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: win32 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_win32 - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: win32_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: win32 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_win32_70x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: win32_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: win32 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_win32_70x - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: win32_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: win32 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_win32_60x_fips - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: win32_build - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: win32 - - func: run_e2e_tests - vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_win32_60x + - name: e2e_tests tags: ["e2e-test"] depends_on: - name: compile_artifact - variant: win32_build commands: - func: checkout - func: install vars: - node_js_version: "20.18.1" + node_js_version: ${node_js_version} - func: download_compiled_artifact vars: - executable_os_id: win32 + executable_os_id: ${executable_os_id} - func: run_e2e_tests vars: - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} + node_js_version: ${node_js_version} + mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} + disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - name: perf_tests tags: ["perf-test"] depends_on: @@ -9568,7 +8313,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_x64_build + variant: build_linux_x64 commands: - func: checkout - func: install @@ -9587,7 +8332,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_x64_build + variant: build_linux_x64 commands: - func: checkout - func: install @@ -9606,7 +8351,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_x64_build + variant: build_linux_x64 commands: - func: checkout - func: install @@ -9625,7 +8370,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_x64_build + variant: build_linux_x64 commands: - func: checkout - func: install @@ -9644,7 +8389,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_x64_build + variant: build_linux_x64 commands: - func: checkout - func: install @@ -9663,7 +8408,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_x64_build_openssl11 + variant: build_linux_x64_openssl11 commands: - func: checkout - func: install @@ -9682,7 +8427,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_x64_build_openssl11 + variant: build_linux_x64_openssl11 commands: - func: checkout - func: install @@ -9701,7 +8446,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_x64_build_openssl3 + variant: build_linux_x64_openssl3 commands: - func: checkout - func: install @@ -9720,7 +8465,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_x64_build_openssl3 + variant: build_linux_x64_openssl3 commands: - func: checkout - func: install @@ -9739,7 +8484,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_x64_build_openssl3 + variant: build_linux_x64_openssl3 commands: - func: checkout - func: install @@ -9758,7 +8503,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_arm64_build + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -9777,7 +8522,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_arm64_build + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -9796,7 +8541,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_arm64_build + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -9815,7 +8560,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_arm64_build + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -9834,7 +8579,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_arm64_build + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -9853,7 +8598,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_arm64_build_openssl11 + variant: build_linux_arm64_openssl11 commands: - func: checkout - func: install @@ -9872,7 +8617,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_arm64_build_openssl11 + variant: build_linux_arm64_openssl11 commands: - func: checkout - func: install @@ -9891,7 +8636,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_arm64_build_openssl3 + variant: build_linux_arm64_openssl3 commands: - func: checkout - func: install @@ -9910,7 +8655,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_arm64_build_openssl3 + variant: build_linux_arm64_openssl3 commands: - func: checkout - func: install @@ -9929,7 +8674,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: linux_arm64_build_openssl3 + variant: build_linux_arm64_openssl3 commands: - func: checkout - func: install @@ -10118,7 +8863,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_x64_build + variant: build_linux_x64 commands: - func: checkout - func: install @@ -10201,7 +8946,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_x64_build + variant: build_linux_x64 commands: - func: checkout - func: install @@ -10284,7 +9029,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_x64_build + variant: build_linux_x64 commands: - func: checkout - func: install @@ -10367,7 +9112,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_x64_build_openssl11 + variant: build_linux_x64_openssl11 commands: - func: checkout - func: install @@ -10450,7 +9195,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_x64_build_openssl11 + variant: build_linux_x64_openssl11 commands: - func: checkout - func: install @@ -10533,7 +9278,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_x64_build_openssl11 + variant: build_linux_x64_openssl11 commands: - func: checkout - func: install @@ -10616,7 +9361,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_x64_build_openssl3 + variant: build_linux_x64_openssl3 commands: - func: checkout - func: install @@ -10699,7 +9444,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_x64_build_openssl3 + variant: build_linux_x64_openssl3 commands: - func: checkout - func: install @@ -10782,7 +9527,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_x64_build_openssl3 + variant: build_linux_x64_openssl3 commands: - func: checkout - func: install @@ -10865,7 +9610,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_arm64_build + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -10948,7 +9693,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_arm64_build + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -11031,7 +9776,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_arm64_build + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -11114,7 +9859,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_arm64_build_openssl11 + variant: build_linux_arm64_openssl11 commands: - func: checkout - func: install @@ -11197,7 +9942,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_arm64_build_openssl11 + variant: build_linux_arm64_openssl11 commands: - func: checkout - func: install @@ -11280,7 +10025,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_arm64_build_openssl11 + variant: build_linux_arm64_openssl11 commands: - func: checkout - func: install @@ -11363,7 +10108,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_arm64_build_openssl3 + variant: build_linux_arm64_openssl3 commands: - func: checkout - func: install @@ -11446,7 +10191,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_arm64_build_openssl3 + variant: build_linux_arm64_openssl3 commands: - func: checkout - func: install @@ -11529,7 +10274,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_arm64_build_openssl3 + variant: build_linux_arm64_openssl3 commands: - func: checkout - func: install @@ -11612,7 +10357,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_ppc64le_build + variant: build_linux_ppc64le commands: - func: checkout - func: install @@ -11695,7 +10440,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_ppc64le_build + variant: build_linux_ppc64le commands: - func: checkout - func: install @@ -11778,7 +10523,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_s390x_build + variant: build_linux_s390x commands: - func: checkout - func: install @@ -11861,7 +10606,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: linux_s390x_build + variant: build_linux_s390x commands: - func: checkout - func: install @@ -11944,7 +10689,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: win32_build + variant: build_win32 commands: - func: checkout - func: install @@ -12027,7 +10772,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: win32_build + variant: build_win32 commands: - func: checkout - func: install @@ -15757,731 +14502,722 @@ buildvariants: - name: test_shell_evaluator - name: test_snippet_manager - name: test_types - - name: e2e_tests_darwin_x64_fips - display_name: "undefined darwin_x64_fips nundefined (E2E tests)" - run_on: undefined + - name: build_linux_x64 + display_name: "RHEL 7.0 x64 (build)" + run_on: rhel70-build tags: [] expansions: - executable_os_id: darwin-x64 + executable_os_id: "linux-x64" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests - - name: e2e_tests_darwin_x64 - display_name: "undefined darwin_x64 nundefined (E2E tests)" - run_on: undefined + - name: compile_artifact + - name: build_build_linux_x64_rhel8 + display_name: "RHEL 8.0 x64 (build)" + run_on: rhel80-build tags: [] expansions: - executable_os_id: darwin-x64 + executable_os_id: "linux-x64" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests - - name: e2e_tests_darwin_x64_70x_fips - display_name: "undefined darwin_x64_70x_fips nundefined (E2E tests)" - run_on: undefined - tags: [] - expansions: - executable_os_id: darwin-x64 - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - tasks: - - name: e2e_tests - - name: e2e_tests_darwin_x64_70x - display_name: "undefined darwin_x64_70x nundefined (E2E tests)" - run_on: undefined + - name: compile_artifact + - name: build_linux_x64_openssl11 + display_name: "RHEL 7.0 x64 (build)" + run_on: rhel70-build tags: [] expansions: - executable_os_id: darwin-x64 + executable_os_id: "linux-x64-openssl11" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" + mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests - - name: e2e_tests_darwin_x64_60x_fips - display_name: "undefined darwin_x64_60x_fips nundefined (E2E tests)" - run_on: undefined - tags: [] - expansions: - executable_os_id: darwin-x64 - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - tasks: - - name: e2e_tests - - name: e2e_tests_darwin_x64_60x - display_name: "undefined darwin_x64_60x nundefined (E2E tests)" - run_on: undefined + - name: compile_artifact + - name: build_linux_x64_build_rhel8 + display_name: "RHEL 8.0 x64 (build)" + run_on: rhel80-build tags: [] expansions: - executable_os_id: darwin-x64 + executable_os_id: "linux-x64-openssl11" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" + mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests - - name: e2e_tests_darwin_arm64_fips - display_name: "undefined darwin_arm64_fips nundefined (E2E tests)" - run_on: undefined + - name: compile_artifact + - name: build_linux_x64_openssl3 + display_name: "RHEL 7.0 x64 (build)" + run_on: rhel70-build tags: [] expansions: - executable_os_id: darwin-arm64 + executable_os_id: "linux-x64-openssl3" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests - - name: e2e_tests_darwin_arm64 - display_name: "undefined darwin_arm64 nundefined (E2E tests)" - run_on: undefined + - name: compile_artifact + - name: build_build_linux_x64_openssl3_rhel8 + display_name: "RHEL 8.0 x64 (build)" + run_on: rhel80-build tags: [] expansions: - executable_os_id: darwin-arm64 + executable_os_id: "linux-x64-openssl3" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests - - name: e2e_tests_darwin_arm64_70x_fips - display_name: "undefined darwin_arm64_70x_fips nundefined (E2E tests)" - run_on: undefined - tags: [] - expansions: - executable_os_id: darwin-arm64 - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - tasks: - - name: e2e_tests - - name: e2e_tests_darwin_arm64_70x - display_name: "undefined darwin_arm64_70x nundefined (E2E tests)" - run_on: undefined + - name: compile_artifact + - name: build_linux_arm64 + display_name: "Amazon 2 arm64 (build)" + run_on: amazon2-arm64-large tags: [] expansions: - executable_os_id: darwin-arm64 + executable_os_id: "linux-arm64" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" + mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests - - name: e2e_tests_darwin_arm64_60x_fips - display_name: "undefined darwin_arm64_60x_fips nundefined (E2E tests)" - run_on: undefined - tags: [] - expansions: - executable_os_id: darwin-arm64 - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - tasks: - - name: e2e_tests - - name: e2e_tests_darwin_arm64_60x - display_name: "undefined darwin_arm64_60x nundefined (E2E tests)" - run_on: undefined + - name: compile_artifact + - name: build_linux_arm64_openssl11 + display_name: "Amazon 2 arm64 (build)" + run_on: amazon2-arm64-large tags: [] expansions: - executable_os_id: darwin-arm64 + executable_os_id: "linux-arm64-openssl11" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" + mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests - - name: e2e_tests_linux_x64_fips - display_name: "undefined linux_x64_fips nundefined (E2E tests)" - run_on: undefined + - name: compile_artifact + - name: build_linux_arm64_openssl3 + display_name: "Amazon 2 arm64 (build)" + run_on: amazon2-arm64-large tags: [] expansions: - executable_os_id: linux-x64 + executable_os_id: "linux-arm64-openssl3" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests - - name: e2e_tests_linux_x64 - display_name: "undefined linux_x64 nundefined (E2E tests)" - run_on: undefined + - name: compile_artifact + - name: build_linux_ppc64le + display_name: "RHEL 8 PPC (build)" + run_on: rhel8-power-small tags: [] expansions: - executable_os_id: linux-x64 + executable_os_id: "linux-ppc64le" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests - - name: e2e_tests_linux_x64_70x_fips - display_name: "undefined linux_x64_70x_fips nundefined (E2E tests)" - run_on: undefined + - name: compile_artifact + - name: build_linux_s390x + display_name: "RHEL 7 s390x (build)" + run_on: rhel7-zseries-large tags: [] expansions: - executable_os_id: linux-x64 + executable_os_id: "linux-s390x" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests - - name: e2e_tests_linux_x64_70x - display_name: "undefined linux_x64_70x nundefined (E2E tests)" - run_on: undefined + - name: compile_artifact + - name: e2e_tests_rhel70_large_70x + display_name: "RHEL 7.0 x64 m70x (E2E tests)" + run_on: rhel70-large tags: [] expansions: - executable_os_id: linux-x64 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_x64_60x_fips - display_name: "undefined linux_x64_60x_fips nundefined (E2E tests)" - run_on: undefined - tags: [] - expansions: - executable_os_id: linux-x64 - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - tasks: - - name: e2e_tests - - name: e2e_tests_linux_x64_60x - display_name: "undefined linux_x64_60x nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_rhel76_large_70x + display_name: "RHEL 7.6 x64 m70x (E2E tests)" + run_on: rhel76-large tags: [] expansions: - executable_os_id: linux-x64 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" + mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_x64_openssl11_fips - display_name: "undefined linux_x64_openssl11_fips nundefined (E2E tests)" - run_on: undefined - tags: [] - expansions: - executable_os_id: linux-x64-openssl11 - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" - tasks: - - name: e2e_tests - - name: e2e_tests_linux_x64_openssl11 - display_name: "undefined linux_x64_openssl11 nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_rhel80_small + display_name: "RHEL 8.0 x64 (E2E tests)" + run_on: rhel80-small tags: [] expansions: - executable_os_id: linux-x64-openssl11 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_x64_openssl11_70x_fips - display_name: "undefined linux_x64_openssl11_70x_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_rhel90_small_70x + display_name: "RHEL 9.0 x64 m70x (E2E tests)" + run_on: rhel90-small tags: [] expansions: - executable_os_id: linux-x64-openssl11 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "true" node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_x64_openssl11_70x - display_name: "undefined linux_x64_openssl11_70x nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_rhel93_small + display_name: "RHEL 9.3 x64 (E2E tests)" + run_on: rhel93-small tags: [] expansions: - executable_os_id: linux-x64-openssl11 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "true" node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" + mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_x64_openssl11_60x_fips - display_name: "undefined linux_x64_openssl11_60x_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_rhel83_fips + display_name: "RHEL 8.3 x64 (E2E tests)" + run_on: rhel83-fips tags: [] expansions: - executable_os_id: linux-x64-openssl11 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_x64_openssl11_60x - display_name: "undefined linux_x64_openssl11_60x nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_rhel83_fips_openssl11 + display_name: "RHEL 8.3 x64 openssl11 (E2E tests)" + run_on: rhel83-fips tags: [] expansions: - executable_os_id: linux-x64-openssl11 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" + mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_x64_openssl3_fips - display_name: "undefined linux_x64_openssl3_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_rhel83_fips_openssl11_true + display_name: "RHEL 8.3 x64 openssl11 FIPS (E2E tests)" + run_on: rhel83-fips tags: [] expansions: - executable_os_id: linux-x64-openssl3 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "1" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_x64_openssl3 - display_name: "undefined linux_x64_openssl3 nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_rhel93_fips + display_name: "RHEL 9.3 x64 (E2E tests)" + run_on: rhel93-fips tags: [] expansions: - executable_os_id: linux-x64-openssl3 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_x64_openssl3_70x_fips - display_name: "undefined linux_x64_openssl3_70x_fips nundefined (E2E tests)" - run_on: undefined - tags: [] - expansions: - executable_os_id: linux-x64-openssl3 - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - tasks: - - name: e2e_tests - - name: e2e_tests_linux_x64_openssl3_70x - display_name: "undefined linux_x64_openssl3_70x nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_rhel93_fips_openssl3 + display_name: "RHEL 9.3 x64 openssl3 (E2E tests)" + run_on: rhel93-fips tags: [] expansions: - executable_os_id: linux-x64-openssl3 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" + mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_x64_openssl3_60x_fips - display_name: "undefined linux_x64_openssl3_60x_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_rhel93_fips_openssl3_true + display_name: "RHEL 9.3 x64 openssl3 FIPS (E2E tests)" + run_on: rhel93-fips tags: [] expansions: - executable_os_id: linux-x64-openssl3 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" + mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "1" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_x64_openssl3_60x - display_name: "undefined linux_x64_openssl3_60x nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_ubuntu1804_large_60x + display_name: "Ubuntu 18.04 x64 m60x (E2E tests)" + run_on: ubuntu1804-large tags: [] expansions: - executable_os_id: linux-x64-openssl3 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_arm64_fips - display_name: "undefined linux_arm64_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_ubuntu2004_small + display_name: "Ubuntu 20.04 x64 (E2E tests)" + run_on: ubuntu2004-small tags: [] expansions: - executable_os_id: linux-arm64 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_arm64 - display_name: "undefined linux_arm64 nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_ubuntu2004_small_openssl11 + display_name: "Ubuntu 20.04 x64 openssl11 (E2E tests)" + run_on: ubuntu2004-small tags: [] expansions: - executable_os_id: linux-arm64 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_arm64_70x_fips - display_name: "undefined linux_arm64_70x_fips nundefined (E2E tests)" - run_on: undefined - tags: [] - expansions: - executable_os_id: linux-arm64 - node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - tasks: - - name: e2e_tests - - name: e2e_tests_linux_arm64_70x - display_name: "undefined linux_arm64_70x nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_ubuntu2204_small + display_name: "Ubuntu 22.04 x64 (E2E tests)" + run_on: ubuntu2204-small tags: [] expansions: - executable_os_id: linux-arm64 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" + mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_arm64_60x_fips - display_name: "undefined linux_arm64_60x_fips nundefined (E2E tests)" - run_on: undefined - tags: [] - expansions: - executable_os_id: linux-arm64 - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - tasks: - - name: e2e_tests - - name: e2e_tests_linux_arm64_60x - display_name: "undefined linux_arm64_60x nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_ubuntu2204_small_openssl3 + display_name: "Ubuntu 22.04 x64 openssl3 (E2E tests)" + run_on: ubuntu2204-small tags: [] expansions: - executable_os_id: linux-arm64 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" + mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_arm64_openssl11_fips - display_name: "undefined linux_arm64_openssl11_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_ubuntu2404_small + display_name: "Ubuntu 24.04 x64 (E2E tests)" + run_on: ubuntu2404-small tags: [] expansions: - executable_os_id: linux-arm64-openssl11 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_arm64_openssl11 - display_name: "undefined linux_arm64_openssl11 nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_ubuntu2404_small_openssl3 + display_name: "Ubuntu 24.04 x64 openssl3 (E2E tests)" + run_on: ubuntu2404-small tags: [] expansions: - executable_os_id: linux-arm64-openssl11 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_arm64_openssl11_70x_fips - display_name: "undefined linux_arm64_openssl11_70x_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_debian10_small_60x + display_name: "Debian 10 x64 m60x (E2E tests)" + run_on: debian10-small tags: [] expansions: - executable_os_id: linux-arm64-openssl11 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_arm64_openssl11_70x - display_name: "undefined linux_arm64_openssl11_70x nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_debian10_small_60x_openssl11 + display_name: "Debian 10 x64 m60x openssl11 (E2E tests)" + run_on: debian10-small tags: [] expansions: - executable_os_id: linux-arm64-openssl11 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" + mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_arm64_openssl11_60x_fips - display_name: "undefined linux_arm64_openssl11_60x_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_debian11_small_70x + display_name: "Debian 11 x64 m70x (E2E tests)" + run_on: debian11-small tags: [] expansions: - executable_os_id: linux-arm64-openssl11 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_arm64_openssl11_60x - display_name: "undefined linux_arm64_openssl11_60x nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_debian11_small_70x_openssl11 + display_name: "Debian 11 x64 m70x openssl11 (E2E tests)" + run_on: debian11-small tags: [] expansions: - executable_os_id: linux-arm64-openssl11 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" + mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_arm64_openssl3_fips - display_name: "undefined linux_arm64_openssl3_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_amazon2_large_70x + display_name: "Amazon Linux 2 x64 m70x (E2E tests)" + run_on: amazon2-large tags: [] expansions: - executable_os_id: linux-arm64-openssl3 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_server_test_version: "7.0.x-enterprise" + mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_arm64_openssl3 - display_name: "undefined linux_arm64_openssl3 nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_amazon2023.0_small + display_name: "Amazon Linux 2023 x64 (E2E tests)" + run_on: amazon2023.0-small tags: [] expansions: - executable_os_id: linux-arm64-openssl3 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "true" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_arm64_openssl3_70x_fips - display_name: "undefined linux_arm64_openssl3_70x_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_suse12_sp5_large_70x + display_name: "SLES 12 x64 m70x (E2E tests)" + run_on: suse12-sp5-large tags: [] expansions: - executable_os_id: linux-arm64-openssl3 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_arm64_openssl3_70x - display_name: "undefined linux_arm64_openssl3_70x nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_suse15sp4_small + display_name: "SLES 15 x64 (E2E tests)" + run_on: suse15sp4-small tags: [] expansions: - executable_os_id: linux-arm64-openssl3 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" + mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_arm64_openssl3_60x_fips - display_name: "undefined linux_arm64_openssl3_60x_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_ubuntu1804_arm64_large_60x + display_name: "Ubuntu 18.04 arm64 m60x (E2E tests)" + run_on: ubuntu1804-arm64-large tags: [] expansions: - executable_os_id: linux-arm64-openssl3 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_arm64_openssl3_60x - display_name: "undefined linux_arm64_openssl3_60x nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_ubuntu2004_arm64_small + display_name: "Ubuntu 20.04 arm64 (E2E tests)" + run_on: ubuntu2004-arm64-small tags: [] expansions: - executable_os_id: linux-arm64-openssl3 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" + mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_ppc64le_fips - display_name: "undefined linux_ppc64le_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_ubuntu2004_arm64_small_openssl11 + display_name: "Ubuntu 20.04 arm64 openssl11 (E2E tests)" + run_on: ubuntu2004-arm64-small tags: [] expansions: - executable_os_id: linux-ppc64le + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_ppc64le - display_name: "undefined linux_ppc64le nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_ubuntu2204_arm64_small + display_name: "Ubuntu 22.04 arm64 (E2E tests)" + run_on: ubuntu2204-arm64-small tags: [] expansions: - executable_os_id: linux-ppc64le + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_ppc64le_70x_fips - display_name: "undefined linux_ppc64le_70x_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_ubuntu2204_arm64_small_openssl3 + display_name: "Ubuntu 22.04 arm64 openssl3 (E2E tests)" + run_on: ubuntu2204-arm64-small tags: [] expansions: - executable_os_id: linux-ppc64le + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_ppc64le_70x - display_name: "undefined linux_ppc64le_70x nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_ubuntu2404_arm64_small + display_name: "Ubuntu 24.04 arm64 (E2E tests)" + run_on: ubuntu2404-arm64-small tags: [] expansions: - executable_os_id: linux-ppc64le + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" + mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_ppc64le_60x_fips - display_name: "undefined linux_ppc64le_60x_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_ubuntu2404_arm64_small_openssl3 + display_name: "Ubuntu 24.04 arm64 openssl3 (E2E tests)" + run_on: ubuntu2404-arm64-small tags: [] expansions: - executable_os_id: linux-ppc64le + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_ppc64le_60x - display_name: "undefined linux_ppc64le_60x nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_amazon2_arm64_large_70x + display_name: "Amazon Linux 2 arm64 m70x (E2E tests)" + run_on: amazon2-arm64-large tags: [] expansions: - executable_os_id: linux-ppc64le + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" + mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_s390x_fips - display_name: "undefined linux_s390x_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_amazon2023.0_arm64_small + display_name: "Amazon Linux 2023 arm64 (E2E tests)" + run_on: amazon2023.0-arm64-small tags: [] expansions: - executable_os_id: linux-s390x + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "true" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_s390x - display_name: "undefined linux_s390x nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_rhel82_arm64_small + display_name: "RHEL 8.2 arm64 (E2E tests)" + run_on: rhel82-arm64-small tags: [] expansions: - executable_os_id: linux-s390x + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_s390x_70x_fips - display_name: "undefined linux_s390x_70x_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_rhel90_arm64_small_70x + display_name: "RHEL 9.0 arm64 m70x (E2E tests)" + run_on: rhel90-arm64-small tags: [] expansions: - executable_os_id: linux-s390x + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "true" node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_s390x_70x - display_name: "undefined linux_s390x_70x nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_rhel90_arm64_small_70x_openssl3 + display_name: "RHEL 9.0 arm64 m70x openssl3 (E2E tests)" + run_on: rhel90-arm64-small tags: [] expansions: - executable_os_id: linux-s390x + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "true" node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_linux_s390x_60x_fips - display_name: "undefined linux_s390x_60x_fips nundefined (E2E tests)" - run_on: undefined - tags: [] - expansions: - executable_os_id: linux-s390x - node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" - tasks: - - name: e2e_tests - - name: e2e_tests_linux_s390x_60x - display_name: "undefined linux_s390x_60x nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_rhel93_arm64_small + display_name: "RHEL 9.3 arm64 (E2E tests)" + run_on: rhel93-arm64-small tags: [] expansions: - executable_os_id: linux-s390x + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "true" node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" + mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_win32_fips - display_name: "undefined win32_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_rhel93_arm64_small_openssl3 + display_name: "RHEL 9.3 arm64 openssl3 (E2E tests)" + run_on: rhel93-arm64-small tags: [] expansions: - executable_os_id: win32 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "true" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_win32 - display_name: "undefined win32 nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_rhel8_power_small + display_name: "RHEL 8 PPC (E2E tests)" + run_on: rhel8-power-small tags: [] expansions: - executable_os_id: win32 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_win32_70x_fips - display_name: "undefined win32_70x_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_rhel7_zseries_large_60x + display_name: "RHEL 7 s390x m60x (E2E tests)" + run_on: rhel7-zseries-large tags: [] expansions: - executable_os_id: win32 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_server_test_version: "6.0.x-enterprise" + mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_win32_70x - display_name: "undefined win32_70x nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_rhel8_zseries_small + display_name: "RHEL 8 s390x (E2E tests)" + run_on: rhel8-zseries-small tags: [] expansions: - executable_os_id: win32 + executable_os_id: "" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "7.0.x-enterprise" + mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_win32_60x_fips - display_name: "undefined win32_60x_fips nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_darwin_x64 + display_name: "MacOS 14 x64 (E2E tests)" + run_on: macos-14 tags: [] expansions: - executable_os_id: win32 + executable_os_id: "darwin-x64" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" - mongosh_test_e2e_force_fips: "1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - - name: e2e_tests_win32_60x - display_name: "undefined win32_60x nundefined (E2E tests)" - run_on: undefined + - name: e2e_tests_darwin_arm64 + display_name: "MacOS 14 arm64 (E2E tests)" + run_on: macos-14-arm64 tags: [] expansions: - executable_os_id: win32 + executable_os_id: "darwin-arm64" + disable_openssl_shared_config_for_bundled_openssl: "" node_js_version: "20.18.1" - mongosh_server_test_version: "6.0.x-enterprise" + mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: + - name: compile_artifact - name: e2e_tests - name: darwin display_name: "MacOS Big Sur" @@ -16633,298 +15369,6 @@ buildvariants: tasks: - name: verify_artifact_darwin_arm64 - name: verify_artifact_darwin_x64 - - name: linux_x64_build - display_name: "RHEL 7.0 x64 (build)" - run_on: rhel70-build - expansions: - executable_os_id: linux-x64 - tags: ["nightly-driver"] - tasks: - - name: compile_artifact - - name: linux_x64_build_rhel8 - display_name: "RHEL 8.0 x64 (build)" - run_on: rhel80-build - expansions: - executable_os_id: linux-x64 - tags: ["nightly-driver"] - tasks: - - name: compile_artifact - - name: linux_x64_build_openssl11 - display_name: "RHEL 7.0 x64 (build, shared OpenSSL 1.1)" - run_on: rhel70-build - expansions: - executable_os_id: linux-x64-openssl11 - mongosh_shared_openssl: openssl11 - tags: ["nightly-driver"] - tasks: - - name: compile_artifact - - name: linux_x64_build_openssl11_rhel8 - display_name: "RHEL 8.0 x64 (build, shared OpenSSL 1.1)" - run_on: rhel80-build - expansions: - executable_os_id: linux-x64-openssl11 - mongosh_shared_openssl: openssl11 - tags: ["nightly-driver"] - tasks: - - name: compile_artifact - - name: linux_x64_build_openssl3 - display_name: "RHEL 7.0 x64 (build, shared OpenSSL 3)" - run_on: rhel70-build - expansions: - executable_os_id: linux-x64-openssl3 - mongosh_shared_openssl: openssl3 - tags: ["nightly-driver"] - tasks: - - name: compile_artifact - - name: linux_x64_build_openssl3_rhel8 - display_name: "RHEL 8.0 x64 (build, shared OpenSSL 3)" - run_on: rhel80-build - expansions: - executable_os_id: linux-x64-openssl3 - mongosh_shared_openssl: openssl3 - tags: ["nightly-driver"] - tasks: - - name: compile_artifact - - name: linux_arm64_build - display_name: "Amazon 2 arm64 (build)" - run_on: amazon2-arm64-large - expansions: - executable_os_id: linux-arm64 - tasks: - - name: compile_artifact - - name: linux_arm64_build_openssl11 - display_name: "Amazon 2 arm64 (build, shared OpenSSL 1.1)" - run_on: amazon2-arm64-large - expansions: - executable_os_id: linux-arm64-openssl11 - mongosh_shared_openssl: openssl11 - tasks: - - name: compile_artifact - - name: linux_arm64_build_openssl3 - display_name: "Amazon 2 arm64 (build, shared OpenSSL 3)" - run_on: amazon2-arm64-large - expansions: - executable_os_id: linux-arm64-openssl3 - mongosh_shared_openssl: openssl3 - tasks: - - name: compile_artifact - - name: linux_ppc64le_build - display_name: "RHEL 8 PPC (build)" - run_on: rhel8-power-small - expansions: - executable_os_id: linux-ppc64le - tasks: - - name: compile_artifact - - name: linux_s390x_build - display_name: "RHEL 7 s390x (build)" - run_on: rhel7-zseries-large - expansions: - executable_os_id: linux-s390x - tasks: - - name: compile_artifact - - - name: e2e_rhel70_x64 - display_name: "RHEL 7.0 x64 (E2E Tests)" - run_on: rhel70-large - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64_70x - - name: e2e_rhel76_x64 - display_name: "RHEL 7.6 x64 (E2E Tests)" - run_on: rhel76-large - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64_70x - - name: e2e_rhel80_x64 - display_name: "RHEL 8.0 x64 (E2E Tests)" - run_on: rhel80-small - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64 - - name: e2e_rhel90_x64 - display_name: "RHEL 9.0 x64 (E2E Tests)" - run_on: rhel90-small - expansions: - disable_openssl_shared_config_for_bundled_openssl: true - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64_70x - - name: e2e_rhel93_x64 - display_name: "RHEL 9.3 x64 (E2E Tests)" - run_on: rhel93-small - expansions: - disable_openssl_shared_config_for_bundled_openssl: true - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64 - - name: e2e_rhel83_x64 - display_name: "RHEL 8.3 x64 (E2E Tests, FIPS-available OS)" - run_on: rhel83-fips - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64 - - name: e2e_tests_linux_x64_openssl11 - - name: e2e_tests_linux_x64_openssl11_fips - - name: e2e_rhel93_fips_x64 - display_name: "RHEL 9.3 x64 (E2E Tests, FIPS-available OS)" - run_on: rhel93-fips - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64 - - name: e2e_tests_linux_x64_openssl3 - - name: e2e_tests_linux_x64_openssl3_fips - - name: e2e_ubuntu1804_x64 - display_name: "Ubuntu 18.04 x64 (E2E Tests)" - run_on: ubuntu1804-large - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64_60x - - name: e2e_ubuntu2004_x64 - display_name: "Ubuntu 20.04 x64 (E2E Tests)" - run_on: ubuntu2004-small - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64 - - name: e2e_tests_linux_x64_openssl11 - - name: e2e_ubuntu2204_x64 - display_name: "Ubuntu 22.04 x64 (E2E Tests)" - run_on: ubuntu2204-small - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64 - - name: e2e_tests_linux_x64_openssl3 - - name: e2e_ubuntu2404_x64 - display_name: "Ubuntu 24.04 x64 (E2E Tests)" - run_on: ubuntu2404-small - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64 - - name: e2e_tests_linux_x64_openssl3 - - name: e2e_debian10_x64 - display_name: "Debian 10 x64 (E2E Tests)" - run_on: debian10-small - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64_60x - - name: e2e_tests_linux_x64_openssl11_60x - - name: e2e_debian11_x64 - display_name: "Debian 11 x64 (E2E Tests)" - run_on: debian11-small - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64_70x - - name: e2e_tests_linux_x64_openssl11_70x - - name: e2e_amazon2_x64 - display_name: "Amazon Linux 2 x64 (E2E Tests)" - run_on: amazon2-large - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64_70x - - name: e2e_amazon2023_x64 - display_name: "Amazon Linux 2023 x64 (E2E Tests)" - run_on: amazon2023.0-small - expansions: - disable_openssl_shared_config_for_bundled_openssl: true - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64 - - name: e2e_suse12_x64 - display_name: "SLES 12 x64 (E2E Tests)" - run_on: suse12-sp5-large - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64_70x - - name: e2e_suse15_x64 - display_name: "SLES 15 x64 (E2E Tests)" - run_on: suse15sp4-small - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64 - - name: e2e_ubuntu1804_arm64 - display_name: "Ubuntu 18.04 arm64 (E2E Tests)" - run_on: ubuntu1804-arm64-large - tasks: - - name: e2e_tests_linux_arm64_60x - - name: e2e_ubuntu2004_arm64 - display_name: "Ubuntu 20.04 arm64 (E2E Tests)" - run_on: ubuntu2004-arm64-small - tasks: - - name: e2e_tests_linux_arm64 - - name: e2e_tests_linux_arm64_openssl11 - - name: e2e_ubuntu2204_arm64 - display_name: "Ubuntu 22.04 arm64 (E2E Tests)" - run_on: ubuntu2204-arm64-small - tasks: - - name: e2e_tests_linux_arm64 - - name: e2e_tests_linux_arm64_openssl3 - - name: e2e_ubuntu2404_arm64 - display_name: "Ubuntu 24.04 arm64 (E2E Tests)" - run_on: ubuntu2404-arm64-small - tasks: - - name: e2e_tests_linux_arm64 - - name: e2e_tests_linux_arm64_openssl3 - - name: e2e_amazon2_arm64 - display_name: "Amazon Linux 2 arm64 (E2E Tests)" - run_on: amazon2-arm64-large - tasks: - - name: e2e_tests_linux_arm64_70x - - name: e2e_amazon2023_arm64 - display_name: "Amazon Linux 2023 arm64 (E2E Tests)" - run_on: amazon2023.0-arm64-small - expansions: - disable_openssl_shared_config_for_bundled_openssl: true - tasks: - - name: e2e_tests_linux_arm64 - - name: e2e_rhel82_arm64 - display_name: "RHEL 8.2 arm64 (E2E Tests)" - run_on: rhel82-arm64-small - tasks: - - name: e2e_tests_linux_arm64 - - name: e2e_rhel90_arm64 - display_name: "RHEL 9.0 arm64 (E2E Tests)" - run_on: rhel90-arm64-small - expansions: - disable_openssl_shared_config_for_bundled_openssl: true - tasks: - - name: e2e_tests_linux_arm64_70x - - name: e2e_tests_linux_arm64_openssl3_70x - - name: e2e_rhel93_arm64 - display_name: "RHEL 9.3 arm64 (E2E Tests)" - run_on: rhel93-arm64-small - expansions: - disable_openssl_shared_config_for_bundled_openssl: true - tasks: - - name: e2e_tests_linux_arm64 - - name: e2e_tests_linux_arm64_openssl3 - - name: e2e_rhel8_ppc64le - display_name: "RHEL 8 PPC (E2E Tests)" - run_on: rhel8-power-small - tasks: - - name: e2e_tests_linux_ppc64le - - name: e2e_rhel7_s390x - display_name: "RHEL 7 s390x (E2E Tests)" - run_on: rhel7-zseries-large - tasks: - - name: e2e_tests_linux_s390x_60x - - name: e2e_rhel8_s390x - display_name: "RHEL 8 s390x (E2E Tests)" - run_on: rhel8-zseries-small - tasks: - - name: e2e_tests_linux_s390x - - name: e2e_macos14_x64 - display_name: "MacOS 14 x64 (E2E Tests)" - run_on: macos-14 - expansions: - executable_os_id: darwin-x64 - tasks: - - name: e2e_tests_darwin_x64 - - name: e2e_macos14_arm64 - display_name: "MacOS 14 arm64 (E2E Tests)" - run_on: macos-14-arm64 - expansions: - executable_os_id: darwin-arm64 - tasks: - - name: e2e_tests_darwin_arm64 - name: win32 display_name: "Windows VS 2022" run_on: windows-vsCurrent-small @@ -16934,7 +15378,7 @@ buildvariants: - name: e2e_tests_win32 - name: package_artifact_win32_x64 - name: package_artifact_win32msi_x64 - - name: win32_build + - name: build_win32 display_name: "Windows VS 2022 (build)" run_on: windows-vsCurrent-large expansions: diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index 3a2b7ca28..22355daec 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -78,17 +78,348 @@ for (const { shortName: nShort, versionSpec: nVersion, skipNodeVersionCheck } of const { RELEASE_PACKAGE_MATRIX } = require('../config/release-package-matrix'); -const ALL_E2E_TEST_BUILD_VARIANTS = []; -for (const { executableOsId, compileBuildVariant, description } of RELEASE_PACKAGE_MATRIX) { - for (const mVersion of ['stable', '7.0.x', '6.0.x']) { - for (const fipsVariant of ['fips', 'nofips']) { - ALL_E2E_TEST_BUILD_VARIANTS.push({ - displayName: `${description} ${executableOsId.replace(/-/g, '_')}${(mVersion === 'stable' ? '' : '_' + mVersion.replace(/[^a-zA-Z0-9]/g, ''))}${(fipsVariant === 'fips' ? '_fips' : '')}`, - name: `e2e_tests_${executableOsId.replace(/-/g, '_')}${(mVersion === 'stable' ? '' : '_' + mVersion.replace(/[^a-zA-Z0-9]/g, ''))}${(fipsVariant === 'fips' ? '_fips' : '')}`, - executableOsId, compileBuildVariant, mVersion, fipsVariant }); - } - } -} +const ALL_E2E_TEST_BUILD_VARIANTS = [ + { + displayName: "RHEL 7.0 x64", + runOn: "rhel70-build", + isBuild: true, + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "RHEL 8.0 x64", + name: 'build_linux_x64_rhel8', + runOn: "rhel80-build", + isBuild: true, + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "RHEL 7.0 x64", + runOn: "rhel70-build", + isBuild: true, + executableOsId: "linux-x64-openssl11", + mVersion: "stable" + }, + { + displayName: "RHEL 8.0 x64", + name: 'build_linux_x64_openssl11_rhel8', + name: 'linux_x64_build_rhel8', + runOn: "rhel80-build", + isBuild: true, + executableOsId: "linux-x64-openssl11", + mVersion: "stable" + }, + { + displayName: "RHEL 7.0 x64", + runOn: "rhel70-build", + isBuild: true, + executableOsId: "linux-x64-openssl3", + mVersion: "stable" + }, + { + displayName: "RHEL 8.0 x64", + name: 'build_linux_x64_openssl3_rhel8', + runOn: "rhel80-build", + isBuild: true, + executableOsId: "linux-x64-openssl3", + mVersion: "stable" + }, + { + displayName: "Amazon 2 arm64", + runOn: "amazon2-arm64-large", + isBuild: true, + executableOsId: "linux-arm64", + mVersion: "stable" + }, + { + displayName: "Amazon 2 arm64", + runOn: "amazon2-arm64-large", + isBuild: true, + executableOsId: "linux-arm64-openssl11", + mVersion: "stable" + }, + { + displayName: "Amazon 2 arm64", + runOn: "amazon2-arm64-large", + isBuild: true, + executableOsId: "linux-arm64-openssl3", + mVersion: "stable" + }, + { + displayName: "RHEL 8 PPC", + runOn: "rhel8-power-small", + isBuild: true, + executableOsId: "linux-ppc64le", + mVersion: "stable" + }, + { + displayName: "RHEL 7 s390x", + runOn: "rhel7-zseries-large", + isBuild: true, + executableOsId: "linux-s390x", + mVersion: "stable" + }, + { + displayName: "RHEL 7.0 x64", + runOn: "rhel70-large", + mVersion: "7.0.x" + }, + { + displayName: "RHEL 7.6 x64", + runOn: "rhel76-large", + mVersion: "7.0.x" + }, + { + displayName: "RHEL 8.0 x64", + runOn: "rhel80-small", + mVersion: "stable" + }, + { + displayName: "RHEL 9.0 x64", + runOn: "rhel90-small", + disabledOpenSslSharedConfig: true, + mVersion: "7.0.x" + }, + { + displayName: "RHEL 9.3 x64", + runOn: "rhel93-small", + disabledOpenSslSharedConfig: true, + mVersion: "stable" + }, + { + displayName: "RHEL 8.3 x64", + runOn: "rhel83-fips", + mVersion: "stable" + }, + { + displayName: "RHEL 8.3 x64", + runOn: "rhel83-fips", + sharedOpenSsl: "openssl11", + mVersion: "stable" + }, + { + displayName: "RHEL 8.3 x64", + runOn: "rhel83-fips", + fips: true, + sharedOpenSsl: "openssl11", + mVersion: "stable" + }, + { + displayName: "RHEL 9.3 x64", + runOn: "rhel93-fips", + mVersion: "stable" + }, + { + displayName: "RHEL 9.3 x64", + runOn: "rhel93-fips", + sharedOpenSsl: "openssl3", + mVersion: "stable" + }, + { + displayName: "RHEL 9.3 x64", + runOn: "rhel93-fips", + fips: true, + sharedOpenSsl: "openssl3", + mVersion: "stable" + }, + { + displayName: "Ubuntu 18.04 x64", + runOn: "ubuntu1804-large", + mVersion: "6.0.x" + }, + { + displayName: "Ubuntu 20.04 x64", + runOn: "ubuntu2004-small", + mVersion: "stable" + }, + { + displayName: "Ubuntu 20.04 x64", + runOn: "ubuntu2004-small", + sharedOpenSsl: "openssl11", + mVersion: "stable" + }, + { + displayName: "Ubuntu 22.04 x64", + runOn: "ubuntu2204-small", + mVersion: "stable" + }, + { + displayName: "Ubuntu 22.04 x64", + runOn: "ubuntu2204-small", + sharedOpenSsl: "openssl3", + mVersion: "stable" + }, + { + displayName: "Ubuntu 24.04 x64", + runOn: "ubuntu2404-small", + mVersion: "stable" + }, + { + displayName: "Ubuntu 24.04 x64", + runOn: "ubuntu2404-small", + sharedOpenSsl: "openssl3", + mVersion: "stable" + }, + { + displayName: "Debian 10 x64", + runOn: "debian10-small", + mVersion: "6.0.x" + }, + { + displayName: "Debian 10 x64", + runOn: "debian10-small", + sharedOpenSsl: "openssl11", + mVersion: "6.0.x" + }, + { + displayName: "Debian 11 x64", + runOn: "debian11-small", + mVersion: "7.0.x" + }, + { + displayName: "Debian 11 x64", + runOn: "debian11-small", + sharedOpenSsl: "openssl11", + mVersion: "7.0.x" + }, + { + displayName: "Amazon Linux 2 x64", + runOn: "amazon2-large", + mVersion: "7.0.x" + }, + { + displayName: "Amazon Linux 2023 x64", + runOn: "amazon2023.0-small", + disabledOpenSslSharedConfig: true, + mVersion: "stable" + }, + { + displayName: "SLES 12 x64", + runOn: "suse12-sp5-large", + mVersion: "7.0.x" + }, + { + displayName: "SLES 15 x64", + runOn: "suse15sp4-small", + mVersion: "stable" + }, + { + displayName: "Ubuntu 18.04 arm64", + runOn: "ubuntu1804-arm64-large", + mVersion: "6.0.x" + }, + { + displayName: "Ubuntu 20.04 arm64", + runOn: "ubuntu2004-arm64-small", + mVersion: "stable" + }, + { + displayName: "Ubuntu 20.04 arm64", + runOn: "ubuntu2004-arm64-small", + sharedOpenSsl: "openssl11", + mVersion: "stable" + }, + { + displayName: "Ubuntu 22.04 arm64", + runOn: "ubuntu2204-arm64-small", + mVersion: "stable" + }, + { + displayName: "Ubuntu 22.04 arm64", + runOn: "ubuntu2204-arm64-small", + sharedOpenSsl: "openssl3", + mVersion: "stable" + }, + { + displayName: "Ubuntu 24.04 arm64", + runOn: "ubuntu2404-arm64-small", + mVersion: "stable" + }, + { + displayName: "Ubuntu 24.04 arm64", + runOn: "ubuntu2404-arm64-small", + sharedOpenSsl: "openssl3", + mVersion: "stable" + }, + { + displayName: "Amazon Linux 2 arm64", + runOn: "amazon2-arm64-large", + mVersion: "7.0.x" + }, + { + displayName: "Amazon Linux 2023 arm64", + runOn: "amazon2023.0-arm64-small", + disabledOpenSslSharedConfig: true, + mVersion: "stable" + }, + { + displayName: "RHEL 8.2 arm64", + runOn: "rhel82-arm64-small", + mVersion: "stable" + }, + { + displayName: "RHEL 9.0 arm64", + runOn: "rhel90-arm64-small", + disabledOpenSslSharedConfig: true, + mVersion: "7.0.x" + }, + { + displayName: "RHEL 9.0 arm64", + runOn: "rhel90-arm64-small", + disabledOpenSslSharedConfig: true, + sharedOpenSsl: "openssl3", + mVersion: "7.0.x" + }, + { + displayName: "RHEL 9.3 arm64", + runOn: "rhel93-arm64-small", + disabledOpenSslSharedConfig: true, + mVersion: "stable" + }, + { + displayName: "RHEL 9.3 arm64", + runOn: "rhel93-arm64-small", + disabledOpenSslSharedConfig: true, + sharedOpenSsl: "openssl3", + mVersion: "stable" + }, + { + displayName: "RHEL 8 PPC", + runOn: "rhel8-power-small", + mVersion: "stable" + }, + { + displayName: "RHEL 7 s390x", + runOn: "rhel7-zseries-large", + mVersion: "6.0.x" + }, + { + displayName: "RHEL 8 s390x", + runOn: "rhel8-zseries-small", + mVersion: "stable" + }, + { + displayName: "MacOS 14 x64", + runOn: "macos-14", + executableOsId: "darwin-x64", + mVersion: "stable" + }, + { + displayName: "MacOS 14 arm64", + runOn: "macos-14-arm64", + executableOsId: "darwin-arm64", + mVersion: "stable" + } +].map(({displayName, ...rest}) => { + const {fips, sharedOpenSsl, isBuild, mVersion, runOn, executableOsId, name} = rest; + return ({ + ...rest, + name: `${isBuild ? `build` : 'e2e_tests'}_${(name ?? executableOsId ?? runOn).replaceAll('-', '_')}${mVersion != 'stable' ? `_${mVersion.replaceAll('.', '')}` : ''}${sharedOpenSsl ? `_${sharedOpenSsl}` : ''}${fips ? `_${fips}` : ''}`, + displayName: `${displayName}${mVersion != 'stable' ? ` m${mVersion.replaceAll('.', '')}` : ''}${sharedOpenSsl ? ` ${sharedOpenSsl}` : ''}${fips ? ' FIPS' : ''} (${isBuild ? 'build' : 'E2E tests'})` + }); +}); + for (const packageInfo of MONGOSH_PACKAGES) { const id = `${packageInfo.name.replace(/-/g, '_')}`; @@ -1269,7 +1600,6 @@ tasks: ### # E2E TESTS ### - - name: e2e_tests tags: ["e2e-test"] depends_on: @@ -1287,31 +1617,7 @@ tasks: node_js_version: ${node_js_version} mongosh_server_test_version: ${mongosh_server_test_version} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - <% for (const { executableOsId, compileBuildVariant } of RELEASE_PACKAGE_MATRIX) { - for (const mVersion of ['stable', '7.0.x', '6.0.x']) { - for (const fipsVariant of ['fips', 'nofips']) { - %> - - name: e2e_tests_<% out(executableOsId.replace(/-/g, '_')) %><% out(mVersion === 'stable' ? '' : '_' + mVersion.replace(/[^a-zA-Z0-9]/g, '')) %><% out(fipsVariant === 'fips' ? '_fips' : '') %> - tags: ["e2e-test"] - depends_on: - - name: compile_artifact - variant: <% out(compileBuildVariant) %> - commands: - - func: checkout - - func: install - vars: - node_js_version: "<% out(NODE_JS_VERSION_20) %>" - - func: download_compiled_artifact - vars: - executable_os_id: <% out(executableOsId) %> - - func: run_e2e_tests - vars: - node_js_version: "<% out(NODE_JS_VERSION_20) %>" - mongosh_server_test_version: "<% out(mVersion) %>-enterprise" - mongosh_test_e2e_force_fips: "<% out(fipsVariant === 'fips' ? '1' : '') %>" - disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - <% } } } %> + disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - name: perf_tests tags: ["perf-test"] depends_on: @@ -1589,7 +1895,7 @@ buildvariants: run_on: <% out(variant.runOn) %> tags: <% out(variant.tags) %> expansions: - executable_os_id: <% out(variant.executableOsId) %> + executable_os_id: <% out(variant.executableOsId) || '' %> mongosh_server_test_version: "<% out(variant.mVersion || '') %>" node_js_version: "<% out(variant.nVersion) %>" mongosh_skip_node_version_check: "<% out(variant.skipNodeVersionCheck) %>" @@ -1600,16 +1906,19 @@ buildvariants: <% } %> <% for (const variant of ALL_E2E_TEST_BUILD_VARIANTS) { %> - name: <% out(variant.name) %> - display_name: "<% out(variant.displayName) %><% out(variant.mShort === undefined ? '' : ` m${variant.mShort}`) %> n<% out(variant.nShort) %> (E2E tests)" + display_name: "<% out(variant.displayName) %>" run_on: <% out(variant.runOn) %> - tags: <% out([...(variant.tags ?? []), ...(variant.mShort === 'latest' ? ["mlatest"] : [])]) %> + tags: <% out([...(variant.tags ?? [])]) %> expansions: - executable_os_id: <% out(variant.executableOsId) %> + executable_os_id: "<% out(variant.executableOsId || '') %>" + disable_openssl_shared_config_for_bundled_openssl: "<% out(variant.disabledOpenSslSharedConfig || '') %>" node_js_version: "<% out(NODE_JS_VERSION_20) %>" mongosh_server_test_version: "<% out(variant.mVersion) %>-enterprise" - mongosh_test_e2e_force_fips: "<% out(variant.fipsVariant === 'fips' ? '1' : '') %>" + mongosh_test_e2e_force_fips: "<% out(variant.fips ? '1' : '') %>" tasks: - - name: e2e_tests + <% for (const task of variant.isBuild ? ['compile_artifact'] : ['compile_artifact', 'e2e_tests']) { %> + - name: <% out(task) %> + <% } %> <% } %> - name: darwin display_name: "MacOS Big Sur" @@ -1693,298 +2002,6 @@ buildvariants: tasks: - name: verify_artifact_darwin_arm64 - name: verify_artifact_darwin_x64 - - name: linux_x64_build - display_name: "RHEL 7.0 x64 (build)" - run_on: rhel70-build - expansions: - executable_os_id: linux-x64 - tags: ["nightly-driver"] - tasks: - - name: compile_artifact - - name: linux_x64_build_rhel8 - display_name: "RHEL 8.0 x64 (build)" - run_on: rhel80-build - expansions: - executable_os_id: linux-x64 - tags: ["nightly-driver"] - tasks: - - name: compile_artifact - - name: linux_x64_build_openssl11 - display_name: "RHEL 7.0 x64 (build, shared OpenSSL 1.1)" - run_on: rhel70-build - expansions: - executable_os_id: linux-x64-openssl11 - mongosh_shared_openssl: openssl11 - tags: ["nightly-driver"] - tasks: - - name: compile_artifact - - name: linux_x64_build_openssl11_rhel8 - display_name: "RHEL 8.0 x64 (build, shared OpenSSL 1.1)" - run_on: rhel80-build - expansions: - executable_os_id: linux-x64-openssl11 - mongosh_shared_openssl: openssl11 - tags: ["nightly-driver"] - tasks: - - name: compile_artifact - - name: linux_x64_build_openssl3 - display_name: "RHEL 7.0 x64 (build, shared OpenSSL 3)" - run_on: rhel70-build - expansions: - executable_os_id: linux-x64-openssl3 - mongosh_shared_openssl: openssl3 - tags: ["nightly-driver"] - tasks: - - name: compile_artifact - - name: linux_x64_build_openssl3_rhel8 - display_name: "RHEL 8.0 x64 (build, shared OpenSSL 3)" - run_on: rhel80-build - expansions: - executable_os_id: linux-x64-openssl3 - mongosh_shared_openssl: openssl3 - tags: ["nightly-driver"] - tasks: - - name: compile_artifact - - name: linux_arm64_build - display_name: "Amazon 2 arm64 (build)" - run_on: amazon2-arm64-large - expansions: - executable_os_id: linux-arm64 - tasks: - - name: compile_artifact - - name: linux_arm64_build_openssl11 - display_name: "Amazon 2 arm64 (build, shared OpenSSL 1.1)" - run_on: amazon2-arm64-large - expansions: - executable_os_id: linux-arm64-openssl11 - mongosh_shared_openssl: openssl11 - tasks: - - name: compile_artifact - - name: linux_arm64_build_openssl3 - display_name: "Amazon 2 arm64 (build, shared OpenSSL 3)" - run_on: amazon2-arm64-large - expansions: - executable_os_id: linux-arm64-openssl3 - mongosh_shared_openssl: openssl3 - tasks: - - name: compile_artifact - - name: linux_ppc64le_build - display_name: "RHEL 8 PPC (build)" - run_on: rhel8-power-small - expansions: - executable_os_id: linux-ppc64le - tasks: - - name: compile_artifact - - name: linux_s390x_build - display_name: "RHEL 7 s390x (build)" - run_on: rhel7-zseries-large - expansions: - executable_os_id: linux-s390x - tasks: - - name: compile_artifact - - - name: e2e_rhel70_x64 - display_name: "RHEL 7.0 x64 (E2E Tests)" - run_on: rhel70-large - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64_70x - - name: e2e_rhel76_x64 - display_name: "RHEL 7.6 x64 (E2E Tests)" - run_on: rhel76-large - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64_70x - - name: e2e_rhel80_x64 - display_name: "RHEL 8.0 x64 (E2E Tests)" - run_on: rhel80-small - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64 - - name: e2e_rhel90_x64 - display_name: "RHEL 9.0 x64 (E2E Tests)" - run_on: rhel90-small - expansions: - disable_openssl_shared_config_for_bundled_openssl: true - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64_70x - - name: e2e_rhel93_x64 - display_name: "RHEL 9.3 x64 (E2E Tests)" - run_on: rhel93-small - expansions: - disable_openssl_shared_config_for_bundled_openssl: true - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64 - - name: e2e_rhel83_x64 - display_name: "RHEL 8.3 x64 (E2E Tests, FIPS-available OS)" - run_on: rhel83-fips - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64 - - name: e2e_tests_linux_x64_openssl11 - - name: e2e_tests_linux_x64_openssl11_fips - - name: e2e_rhel93_fips_x64 - display_name: "RHEL 9.3 x64 (E2E Tests, FIPS-available OS)" - run_on: rhel93-fips - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64 - - name: e2e_tests_linux_x64_openssl3 - - name: e2e_tests_linux_x64_openssl3_fips - - name: e2e_ubuntu1804_x64 - display_name: "Ubuntu 18.04 x64 (E2E Tests)" - run_on: ubuntu1804-large - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64_60x - - name: e2e_ubuntu2004_x64 - display_name: "Ubuntu 20.04 x64 (E2E Tests)" - run_on: ubuntu2004-small - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64 - - name: e2e_tests_linux_x64_openssl11 - - name: e2e_ubuntu2204_x64 - display_name: "Ubuntu 22.04 x64 (E2E Tests)" - run_on: ubuntu2204-small - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64 - - name: e2e_tests_linux_x64_openssl3 - - name: e2e_ubuntu2404_x64 - display_name: "Ubuntu 24.04 x64 (E2E Tests)" - run_on: ubuntu2404-small - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64 - - name: e2e_tests_linux_x64_openssl3 - - name: e2e_debian10_x64 - display_name: "Debian 10 x64 (E2E Tests)" - run_on: debian10-small - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64_60x - - name: e2e_tests_linux_x64_openssl11_60x - - name: e2e_debian11_x64 - display_name: "Debian 11 x64 (E2E Tests)" - run_on: debian11-small - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64_70x - - name: e2e_tests_linux_x64_openssl11_70x - - name: e2e_amazon2_x64 - display_name: "Amazon Linux 2 x64 (E2E Tests)" - run_on: amazon2-large - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64_70x - - name: e2e_amazon2023_x64 - display_name: "Amazon Linux 2023 x64 (E2E Tests)" - run_on: amazon2023.0-small - expansions: - disable_openssl_shared_config_for_bundled_openssl: true - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64 - - name: e2e_suse12_x64 - display_name: "SLES 12 x64 (E2E Tests)" - run_on: suse12-sp5-large - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64_70x - - name: e2e_suse15_x64 - display_name: "SLES 15 x64 (E2E Tests)" - run_on: suse15sp4-small - tags: ["nightly-driver"] - tasks: - - name: e2e_tests_linux_x64 - - name: e2e_ubuntu1804_arm64 - display_name: "Ubuntu 18.04 arm64 (E2E Tests)" - run_on: ubuntu1804-arm64-large - tasks: - - name: e2e_tests_linux_arm64_60x - - name: e2e_ubuntu2004_arm64 - display_name: "Ubuntu 20.04 arm64 (E2E Tests)" - run_on: ubuntu2004-arm64-small - tasks: - - name: e2e_tests_linux_arm64 - - name: e2e_tests_linux_arm64_openssl11 - - name: e2e_ubuntu2204_arm64 - display_name: "Ubuntu 22.04 arm64 (E2E Tests)" - run_on: ubuntu2204-arm64-small - tasks: - - name: e2e_tests_linux_arm64 - - name: e2e_tests_linux_arm64_openssl3 - - name: e2e_ubuntu2404_arm64 - display_name: "Ubuntu 24.04 arm64 (E2E Tests)" - run_on: ubuntu2404-arm64-small - tasks: - - name: e2e_tests_linux_arm64 - - name: e2e_tests_linux_arm64_openssl3 - - name: e2e_amazon2_arm64 - display_name: "Amazon Linux 2 arm64 (E2E Tests)" - run_on: amazon2-arm64-large - tasks: - - name: e2e_tests_linux_arm64_70x - - name: e2e_amazon2023_arm64 - display_name: "Amazon Linux 2023 arm64 (E2E Tests)" - run_on: amazon2023.0-arm64-small - expansions: - disable_openssl_shared_config_for_bundled_openssl: true - tasks: - - name: e2e_tests_linux_arm64 - - name: e2e_rhel82_arm64 - display_name: "RHEL 8.2 arm64 (E2E Tests)" - run_on: rhel82-arm64-small - tasks: - - name: e2e_tests_linux_arm64 - - name: e2e_rhel90_arm64 - display_name: "RHEL 9.0 arm64 (E2E Tests)" - run_on: rhel90-arm64-small - expansions: - disable_openssl_shared_config_for_bundled_openssl: true - tasks: - - name: e2e_tests_linux_arm64_70x - - name: e2e_tests_linux_arm64_openssl3_70x - - name: e2e_rhel93_arm64 - display_name: "RHEL 9.3 arm64 (E2E Tests)" - run_on: rhel93-arm64-small - expansions: - disable_openssl_shared_config_for_bundled_openssl: true - tasks: - - name: e2e_tests_linux_arm64 - - name: e2e_tests_linux_arm64_openssl3 - - name: e2e_rhel8_ppc64le - display_name: "RHEL 8 PPC (E2E Tests)" - run_on: rhel8-power-small - tasks: - - name: e2e_tests_linux_ppc64le - - name: e2e_rhel7_s390x - display_name: "RHEL 7 s390x (E2E Tests)" - run_on: rhel7-zseries-large - tasks: - - name: e2e_tests_linux_s390x_60x - - name: e2e_rhel8_s390x - display_name: "RHEL 8 s390x (E2E Tests)" - run_on: rhel8-zseries-small - tasks: - - name: e2e_tests_linux_s390x - - name: e2e_macos14_x64 - display_name: "MacOS 14 x64 (E2E Tests)" - run_on: macos-14 - expansions: - executable_os_id: darwin-x64 - tasks: - - name: e2e_tests_darwin_x64 - - name: e2e_macos14_arm64 - display_name: "MacOS 14 arm64 (E2E Tests)" - run_on: macos-14-arm64 - expansions: - executable_os_id: darwin-arm64 - tasks: - - name: e2e_tests_darwin_arm64 - name: win32 display_name: "Windows VS 2022" run_on: windows-vsCurrent-small @@ -1994,7 +2011,7 @@ buildvariants: - name: e2e_tests_win32 - name: package_artifact_win32_x64 - name: package_artifact_win32msi_x64 - - name: win32_build + - name: build_win32 display_name: "Windows VS 2022 (build)" run_on: windows-vsCurrent-large expansions: diff --git a/config/.prettierrc.json b/config/.prettierrc.json new file mode 100644 index 000000000..dfae21d04 --- /dev/null +++ b/config/.prettierrc.json @@ -0,0 +1 @@ +"@mongodb-js/prettier-config-devtools" diff --git a/config/release-package-matrix.js b/config/release-package-matrix.js index f2a19ba0d..a222b0880 100644 --- a/config/release-package-matrix.js +++ b/config/release-package-matrix.js @@ -1,12 +1,32 @@ 'use strict'; -const rhel81AndAbove = ['rhel81', 'rhel82', 'rhel83', 'rhel90'] -const rhel80AndAbove = ['rhel80', ...rhel81AndAbove] -const rhel72AndAbove = ['rhel72', ...rhel80AndAbove] -const al2AndAbove = ['amazon2', 'amazon2023', ...rhel81AndAbove] -const rhel70AndAboveAndRpmBased = ['rhel70', 'rhel71', ...rhel72AndAbove, 'amazon', ...al2AndAbove, 'suse12', 'suse15'] -const ubuntu1804AndAboveAndDebBased = ['ubuntu1804', 'ubuntu1804', 'ubuntu2004', 'ubuntu2204', 'ubuntu2404', 'debian10', 'debian11', 'debian12'] -const allLinux = [...rhel70AndAboveAndRpmBased, ...ubuntu1804AndAboveAndDebBased] +const rhel81AndAbove = ['rhel81', 'rhel82', 'rhel83', 'rhel90']; +const rhel80AndAbove = ['rhel80', ...rhel81AndAbove]; +const rhel72AndAbove = ['rhel72', ...rhel80AndAbove]; +const al2AndAbove = ['amazon2', 'amazon2023', ...rhel81AndAbove]; +const rhel70AndAboveAndRpmBased = [ + 'rhel70', + 'rhel71', + ...rhel72AndAbove, + 'amazon', + ...al2AndAbove, + 'suse12', + 'suse15', +]; +const ubuntu1804AndAboveAndDebBased = [ + 'ubuntu1804', + 'ubuntu1804', + 'ubuntu2004', + 'ubuntu2204', + 'ubuntu2404', + 'debian10', + 'debian11', + 'debian12', +]; +const allLinux = [ + ...rhel70AndAboveAndRpmBased, + ...ubuntu1804AndAboveAndDebBased, +]; const publicDescriptions = { darwin_x64: 'MacOS x64 (11.0+)', @@ -21,7 +41,7 @@ const publicDescriptions = { rhel_ppc64le: 'RHEL / CentOS (7+) ppc64le', linux_s390x: 'Linux s390x', rhel_s390x: 'RHEL / CentOS (7+) s390x', - win32_x64: 'Windows x64 (10+)' + win32_x64: 'Windows x64 (10+)', }; const krbConnTestsOpenSSL11 = ['rocky8', 'ubuntu2004']; @@ -32,98 +52,373 @@ exports.RELEASE_PACKAGE_MATRIX = [ executableOsId: 'darwin-x64', compileBuildVariant: 'darwin', packages: [ - { name: 'darwin-x64', description: publicDescriptions.darwin_x64, packageType: 'zip', packageOn: 'darwin', smokeTestKind: 'macos', serverLikeTargetList: ['macos'] } - ] + { + name: 'darwin-x64', + description: publicDescriptions.darwin_x64, + packageType: 'zip', + packageOn: 'darwin', + smokeTestKind: 'macos', + serverLikeTargetList: ['macos'], + }, + ], }, { executableOsId: 'darwin-arm64', compileBuildVariant: 'darwin_arm64', packages: [ - { name: 'darwin-arm64', description: publicDescriptions.darwin_arm64, packageType: 'zip', packageOn: 'darwin', smokeTestKind: 'macos', serverLikeTargetList: ['macos'] } - ] + { + name: 'darwin-arm64', + description: publicDescriptions.darwin_arm64, + packageType: 'zip', + packageOn: 'darwin', + smokeTestKind: 'macos', + serverLikeTargetList: ['macos'], + }, + ], }, { executableOsId: 'linux-x64', - compileBuildVariant: 'linux_x64_build', - kerberosConnectivityTestDockerfiles: [...krbConnTestsOpenSSL11, ...krbConnTestsOpenSSL3], + compileBuildVariant: 'build_linux_x64', + kerberosConnectivityTestDockerfiles: [ + ...krbConnTestsOpenSSL11, + ...krbConnTestsOpenSSL3, + ], packages: [ - { name: 'linux-x64', description: publicDescriptions.linux_x64, packageType: 'tgz', packageOn: 'linux_package', smokeTestKind: 'docker', smokeTestDockerfiles: ['ubuntu20.04-tgz'], serverLikeTargetList: [...allLinux] }, - { name: 'deb-x64', description: publicDescriptions.debian_x64, packageType: 'deb', packageOn: 'linux_package', smokeTestKind: 'docker', smokeTestDockerfiles: ['ubuntu18.04-deb', 'ubuntu20.04-deb', 'ubuntu22.04-deb', 'ubuntu22.04-nohome-deb', 'ubuntu22.04-qemu-deb', 'ubuntu24.04-deb', 'debian10-deb', 'debian11-deb', 'debian12-deb'], serverLikeTargetList: [...ubuntu1804AndAboveAndDebBased] }, - { name: 'rpm-x64', description: publicDescriptions.rhel_x64, packageType: 'rpm', packageOn: 'linux_package', smokeTestKind: 'docker', smokeTestDockerfiles: ['centos7-rpm', 'amazonlinux2-rpm', 'amazonlinux2023-rpm', 'rocky8-rpm', 'rocky9-rpm', 'fedora34-rpm', 'suse12-rpm', 'suse15-rpm', 'oraclelinux9-rpm'], serverLikeTargetList: [...rhel70AndAboveAndRpmBased] } - ] + { + name: 'linux-x64', + description: publicDescriptions.linux_x64, + packageType: 'tgz', + packageOn: 'linux_package', + smokeTestKind: 'docker', + smokeTestDockerfiles: ['ubuntu20.04-tgz'], + serverLikeTargetList: [...allLinux], + }, + { + name: 'deb-x64', + description: publicDescriptions.debian_x64, + packageType: 'deb', + packageOn: 'linux_package', + smokeTestKind: 'docker', + smokeTestDockerfiles: [ + 'ubuntu18.04-deb', + 'ubuntu20.04-deb', + 'ubuntu22.04-deb', + 'ubuntu22.04-nohome-deb', + 'ubuntu22.04-qemu-deb', + 'ubuntu24.04-deb', + 'debian10-deb', + 'debian11-deb', + 'debian12-deb', + ], + serverLikeTargetList: [...ubuntu1804AndAboveAndDebBased], + }, + { + name: 'rpm-x64', + description: publicDescriptions.rhel_x64, + packageType: 'rpm', + packageOn: 'linux_package', + smokeTestKind: 'docker', + smokeTestDockerfiles: [ + 'centos7-rpm', + 'amazonlinux2-rpm', + 'amazonlinux2023-rpm', + 'rocky8-rpm', + 'rocky9-rpm', + 'fedora34-rpm', + 'suse12-rpm', + 'suse15-rpm', + 'oraclelinux9-rpm', + ], + serverLikeTargetList: [...rhel70AndAboveAndRpmBased], + }, + ], }, { executableOsId: 'linux-x64-openssl11', - compileBuildVariant: 'linux_x64_build_openssl11', + compileBuildVariant: 'build_linux_x64_openssl11', kerberosConnectivityTestDockerfiles: [...krbConnTestsOpenSSL11], packages: [ - { name: 'linux-x64-openssl11', description: publicDescriptions.linux_x64, packageType: 'tgz with shared OpenSSL 1.1', packageOn: 'linux_package', smokeTestKind: 'none', serverLikeTargetList: [...allLinux] }, - { name: 'deb-x64-openssl11', description: publicDescriptions.debian_x64, packageType: 'deb with shared OpenSSL 1.1', packageOn: 'linux_package', smokeTestKind: 'docker', smokeTestDockerfiles: ['ubuntu20.04-deb', 'debian10-deb', 'debian11-deb'], serverLikeTargetList: [...ubuntu1804AndAboveAndDebBased] }, - { name: 'rpm-x64-openssl11', description: publicDescriptions.rhel_x64, packageType: 'rpm with shared OpenSSL 1.1', packageOn: 'linux_package', smokeTestKind: 'docker', smokeTestDockerfiles: ['centos7-epel-rpm', 'amazonlinux2-rpm', 'rocky8-rpm', 'rocky9-rpm', 'fedora34-rpm'], serverLikeTargetList: [...rhel70AndAboveAndRpmBased] } - ] + { + name: 'linux-x64-openssl11', + description: publicDescriptions.linux_x64, + packageType: 'tgz with shared OpenSSL 1.1', + packageOn: 'linux_package', + smokeTestKind: 'none', + serverLikeTargetList: [...allLinux], + }, + { + name: 'deb-x64-openssl11', + description: publicDescriptions.debian_x64, + packageType: 'deb with shared OpenSSL 1.1', + packageOn: 'linux_package', + smokeTestKind: 'docker', + smokeTestDockerfiles: [ + 'ubuntu20.04-deb', + 'debian10-deb', + 'debian11-deb', + ], + serverLikeTargetList: [...ubuntu1804AndAboveAndDebBased], + }, + { + name: 'rpm-x64-openssl11', + description: publicDescriptions.rhel_x64, + packageType: 'rpm with shared OpenSSL 1.1', + packageOn: 'linux_package', + smokeTestKind: 'docker', + smokeTestDockerfiles: [ + 'centos7-epel-rpm', + 'amazonlinux2-rpm', + 'rocky8-rpm', + 'rocky9-rpm', + 'fedora34-rpm', + ], + serverLikeTargetList: [...rhel70AndAboveAndRpmBased], + }, + ], }, { executableOsId: 'linux-x64-openssl3', - compileBuildVariant: 'linux_x64_build_openssl3', + compileBuildVariant: 'build_linux_x64_openssl3', kerberosConnectivityTestDockerfiles: [...krbConnTestsOpenSSL3], packages: [ - { name: 'linux-x64-openssl3', description: publicDescriptions.linux_x64, packageType: 'tgz with shared OpenSSL 3', packageOn: 'linux_package', smokeTestKind: 'none', serverLikeTargetList: [...allLinux] }, - { name: 'deb-x64-openssl3', description: publicDescriptions.debian_x64, packageType: 'deb with shared OpenSSL 3', packageOn: 'linux_package', smokeTestKind: 'docker', smokeTestDockerfiles: ['ubuntu22.04-deb', 'ubuntu22.04-fips-deb', 'debian12-deb'], serverLikeTargetList: [...ubuntu1804AndAboveAndDebBased] }, - { name: 'rpm-x64-openssl3', description: publicDescriptions.rhel_x64, packageType: 'rpm with shared OpenSSL 3', packageOn: 'linux_package', smokeTestKind: 'docker', smokeTestDockerfiles: ['rocky8-epel-rpm', 'rocky9-rpm', 'rocky9-fips-rpm', 'amazonlinux2023-rpm'], serverLikeTargetList: [...rhel70AndAboveAndRpmBased] } - ] + { + name: 'linux-x64-openssl3', + description: publicDescriptions.linux_x64, + packageType: 'tgz with shared OpenSSL 3', + packageOn: 'linux_package', + smokeTestKind: 'none', + serverLikeTargetList: [...allLinux], + }, + { + name: 'deb-x64-openssl3', + description: publicDescriptions.debian_x64, + packageType: 'deb with shared OpenSSL 3', + packageOn: 'linux_package', + smokeTestKind: 'docker', + smokeTestDockerfiles: [ + 'ubuntu22.04-deb', + 'ubuntu22.04-fips-deb', + 'debian12-deb', + ], + serverLikeTargetList: [...ubuntu1804AndAboveAndDebBased], + }, + { + name: 'rpm-x64-openssl3', + description: publicDescriptions.rhel_x64, + packageType: 'rpm with shared OpenSSL 3', + packageOn: 'linux_package', + smokeTestKind: 'docker', + smokeTestDockerfiles: [ + 'rocky8-epel-rpm', + 'rocky9-rpm', + 'rocky9-fips-rpm', + 'amazonlinux2023-rpm', + ], + serverLikeTargetList: [...rhel70AndAboveAndRpmBased], + }, + ], }, { executableOsId: 'linux-arm64', - compileBuildVariant: 'linux_arm64_build', - kerberosConnectivityTestDockerfiles: [...krbConnTestsOpenSSL11, ...krbConnTestsOpenSSL3], + compileBuildVariant: 'build_linux_arm64', + kerberosConnectivityTestDockerfiles: [ + ...krbConnTestsOpenSSL11, + ...krbConnTestsOpenSSL3, + ], packages: [ - { name: 'linux-arm64', description: publicDescriptions.linux_arm64, packageType: 'tgz', packageOn: 'linux_package', smokeTestKind: 'docker', smokeTestDockerfiles: ['ubuntu20.04-tgz'], serverLikeTargetList: [...al2AndAbove] }, - { name: 'deb-arm64', description: publicDescriptions.debian_arm64, packageType: 'deb', packageOn: 'linux_package', smokeTestKind: 'docker', smokeTestDockerfiles: ['ubuntu18.04-deb', 'ubuntu20.04-deb', 'ubuntu22.04-deb', 'ubuntu22.04-nohome-deb', 'ubuntu22.04-qemu-deb', 'ubuntu24.04-deb', 'debian10-deb', 'debian11-deb', 'debian12-deb'], serverLikeTargetList: [...ubuntu1804AndAboveAndDebBased] }, - { name: 'rpm-arm64', description: publicDescriptions.rhel_arm64, packageType: 'rpm', packageOn: 'linux_package', smokeTestKind: 'docker', smokeTestDockerfiles: ['rocky8-rpm', 'rocky9-rpm', 'fedora34-rpm', 'amazonlinux2-rpm', 'amazonlinux2023-rpm'], serverLikeTargetList: [...al2AndAbove] } - ] + { + name: 'linux-arm64', + description: publicDescriptions.linux_arm64, + packageType: 'tgz', + packageOn: 'linux_package', + smokeTestKind: 'docker', + smokeTestDockerfiles: ['ubuntu20.04-tgz'], + serverLikeTargetList: [...al2AndAbove], + }, + { + name: 'deb-arm64', + description: publicDescriptions.debian_arm64, + packageType: 'deb', + packageOn: 'linux_package', + smokeTestKind: 'docker', + smokeTestDockerfiles: [ + 'ubuntu18.04-deb', + 'ubuntu20.04-deb', + 'ubuntu22.04-deb', + 'ubuntu22.04-nohome-deb', + 'ubuntu22.04-qemu-deb', + 'ubuntu24.04-deb', + 'debian10-deb', + 'debian11-deb', + 'debian12-deb', + ], + serverLikeTargetList: [...ubuntu1804AndAboveAndDebBased], + }, + { + name: 'rpm-arm64', + description: publicDescriptions.rhel_arm64, + packageType: 'rpm', + packageOn: 'linux_package', + smokeTestKind: 'docker', + smokeTestDockerfiles: [ + 'rocky8-rpm', + 'rocky9-rpm', + 'fedora34-rpm', + 'amazonlinux2-rpm', + 'amazonlinux2023-rpm', + ], + serverLikeTargetList: [...al2AndAbove], + }, + ], }, { executableOsId: 'linux-arm64-openssl11', - compileBuildVariant: 'linux_arm64_build_openssl11', + compileBuildVariant: 'build_linux_arm64_openssl11', kerberosConnectivityTestDockerfiles: [...krbConnTestsOpenSSL11], packages: [ - { name: 'linux-arm64-openssl11', description: publicDescriptions.linux_arm64, packageType: 'tgz with shared OpenSSL 1.1', packageOn: 'linux_package', smokeTestKind: 'none', serverLikeTargetList: [...al2AndAbove] }, - { name: 'deb-arm64-openssl11', description: publicDescriptions.debian_arm64, packageType: 'deb with shared OpenSSL 1.1', packageOn: 'linux_package', smokeTestKind: 'docker', smokeTestDockerfiles: ['ubuntu20.04-deb', 'debian10-deb', 'debian11-deb'], serverLikeTargetList: [...ubuntu1804AndAboveAndDebBased] }, - { name: 'rpm-arm64-openssl11', description: publicDescriptions.rhel_arm64, packageType: 'rpm with shared OpenSSL 1.1', packageOn: 'linux_package', smokeTestKind: 'docker', smokeTestDockerfiles: ['rocky8-rpm', 'rocky9-rpm', 'fedora34-rpm', 'amazonlinux2-rpm'], serverLikeTargetList: [...al2AndAbove] } - ] + { + name: 'linux-arm64-openssl11', + description: publicDescriptions.linux_arm64, + packageType: 'tgz with shared OpenSSL 1.1', + packageOn: 'linux_package', + smokeTestKind: 'none', + serverLikeTargetList: [...al2AndAbove], + }, + { + name: 'deb-arm64-openssl11', + description: publicDescriptions.debian_arm64, + packageType: 'deb with shared OpenSSL 1.1', + packageOn: 'linux_package', + smokeTestKind: 'docker', + smokeTestDockerfiles: [ + 'ubuntu20.04-deb', + 'debian10-deb', + 'debian11-deb', + ], + serverLikeTargetList: [...ubuntu1804AndAboveAndDebBased], + }, + { + name: 'rpm-arm64-openssl11', + description: publicDescriptions.rhel_arm64, + packageType: 'rpm with shared OpenSSL 1.1', + packageOn: 'linux_package', + smokeTestKind: 'docker', + smokeTestDockerfiles: [ + 'rocky8-rpm', + 'rocky9-rpm', + 'fedora34-rpm', + 'amazonlinux2-rpm', + ], + serverLikeTargetList: [...al2AndAbove], + }, + ], }, { executableOsId: 'linux-arm64-openssl3', - compileBuildVariant: 'linux_arm64_build_openssl3', + compileBuildVariant: 'build_linux_arm64_openssl3', kerberosConnectivityTestDockerfiles: [...krbConnTestsOpenSSL3], packages: [ - { name: 'linux-arm64-openssl3', description: publicDescriptions.linux_arm64, packageType: 'tgz with shared OpenSSL 3', packageOn: 'linux_package', smokeTestKind: 'none', serverLikeTargetList: [...al2AndAbove] }, - { name: 'deb-arm64-openssl3', description: publicDescriptions.debian_arm64, packageType: 'deb with shared OpenSSL 3', packageOn: 'linux_package', smokeTestKind: 'docker', smokeTestDockerfiles: ['ubuntu22.04-deb', 'ubuntu22.04-fips-deb', 'debian12-deb'], serverLikeTargetList: [...ubuntu1804AndAboveAndDebBased] }, - { name: 'rpm-arm64-openssl3', description: publicDescriptions.rhel_arm64, packageType: 'rpm with shared OpenSSL 3', packageOn: 'linux_package', smokeTestKind: 'docker', smokeTestDockerfiles: ['rocky8-epel-rpm', 'rocky9-rpm', 'rocky9-fips-rpm', 'amazonlinux2023-rpm'], serverLikeTargetList: [...al2AndAbove] } - ] + { + name: 'linux-arm64-openssl3', + description: publicDescriptions.linux_arm64, + packageType: 'tgz with shared OpenSSL 3', + packageOn: 'linux_package', + smokeTestKind: 'none', + serverLikeTargetList: [...al2AndAbove], + }, + { + name: 'deb-arm64-openssl3', + description: publicDescriptions.debian_arm64, + packageType: 'deb with shared OpenSSL 3', + packageOn: 'linux_package', + smokeTestKind: 'docker', + smokeTestDockerfiles: [ + 'ubuntu22.04-deb', + 'ubuntu22.04-fips-deb', + 'debian12-deb', + ], + serverLikeTargetList: [...ubuntu1804AndAboveAndDebBased], + }, + { + name: 'rpm-arm64-openssl3', + description: publicDescriptions.rhel_arm64, + packageType: 'rpm with shared OpenSSL 3', + packageOn: 'linux_package', + smokeTestKind: 'docker', + smokeTestDockerfiles: [ + 'rocky8-epel-rpm', + 'rocky9-rpm', + 'rocky9-fips-rpm', + 'amazonlinux2023-rpm', + ], + serverLikeTargetList: [...al2AndAbove], + }, + ], }, { executableOsId: 'linux-ppc64le', - compileBuildVariant: 'linux_ppc64le_build', + compileBuildVariant: 'build_linux_ppc64le', packages: [ - { name: 'linux-ppc64le', description: publicDescriptions.linux_ppc64le, packageType: 'tgz', packageOn: 'linux_package', smokeTestKind: 'none', serverLikeTargetList: [...rhel81AndAbove] }, - { name: 'rpm-ppc64le', description: publicDescriptions.rhel_ppc64le, packageType: 'rpm', packageOn: 'linux_package', smokeTestKind: 'rpmextract', serverLikeTargetList: [...rhel81AndAbove] } - ] + { + name: 'linux-ppc64le', + description: publicDescriptions.linux_ppc64le, + packageType: 'tgz', + packageOn: 'linux_package', + smokeTestKind: 'none', + serverLikeTargetList: [...rhel81AndAbove], + }, + { + name: 'rpm-ppc64le', + description: publicDescriptions.rhel_ppc64le, + packageType: 'rpm', + packageOn: 'linux_package', + smokeTestKind: 'rpmextract', + serverLikeTargetList: [...rhel81AndAbove], + }, + ], }, { executableOsId: 'linux-s390x', - compileBuildVariant: 'linux_s390x_build', + compileBuildVariant: 'build_linux_s390x', packages: [ - { name: 'linux-s390x', description: publicDescriptions.linux_s390x, packageType: 'tgz', packageOn: 'linux_package', smokeTestKind: 'none', serverLikeTargetList: [...rhel72AndAbove] }, - { name: 'rpm-s390x', description: publicDescriptions.rhel_s390x, packageType: 'rpm', packageOn: 'linux_package', smokeTestKind: 'rpmextract', serverLikeTargetList: [...rhel72AndAbove] } - ] + { + name: 'linux-s390x', + description: publicDescriptions.linux_s390x, + packageType: 'tgz', + packageOn: 'linux_package', + smokeTestKind: 'none', + serverLikeTargetList: [...rhel72AndAbove], + }, + { + name: 'rpm-s390x', + description: publicDescriptions.rhel_s390x, + packageType: 'rpm', + packageOn: 'linux_package', + smokeTestKind: 'rpmextract', + serverLikeTargetList: [...rhel72AndAbove], + }, + ], }, { executableOsId: 'win32', - compileBuildVariant: 'win32_build', + compileBuildVariant: 'build_win32', packages: [ - { name: 'win32-x64', description: publicDescriptions.win32_x64, packageType: 'zip', packageOn: 'win32', smokeTestKind: 'ssh', serverLikeTargetList: ['windows'] }, - { name: 'win32msi-x64', description: publicDescriptions.win32_x64, packageType: 'msi', packageOn: 'win32', smokeTestKind: 'ssh', serverLikeTargetList: ['windows'] } - ] - } + { + name: 'win32-x64', + description: publicDescriptions.win32_x64, + packageType: 'zip', + packageOn: 'win32', + smokeTestKind: 'ssh', + serverLikeTargetList: ['windows'], + }, + { + name: 'win32msi-x64', + description: publicDescriptions.win32_x64, + packageType: 'msi', + packageOn: 'win32', + smokeTestKind: 'ssh', + serverLikeTargetList: ['windows'], + }, + ], + }, ]; From 4c3da64b0b5241304f4537f5885e26370f619769 Mon Sep 17 00:00:00 2001 From: gagik Date: Wed, 11 Dec 2024 14:38:44 +0100 Subject: [PATCH 04/24] WIP --- .evergreen.yml | 69 +++- .evergreen/evergreen.yml.in | 621 +++++++++++++++++------------------- 2 files changed, 342 insertions(+), 348 deletions(-) diff --git a/.evergreen.yml b/.evergreen.yml index 87c85a377..1cc1f7ce6 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -14514,7 +14514,7 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - - name: build_build_linux_x64_rhel8 + - name: build_linux_x64_rhel8 display_name: "RHEL 8.0 x64 (build)" run_on: rhel80-build tags: [] @@ -14527,7 +14527,7 @@ buildvariants: tasks: - name: compile_artifact - name: build_linux_x64_openssl11 - display_name: "RHEL 7.0 x64 (build)" + display_name: "RHEL 7.0 x64 openssl11 (build)" run_on: rhel70-build tags: [] expansions: @@ -14538,8 +14538,8 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - - name: build_linux_x64_build_rhel8 - display_name: "RHEL 8.0 x64 (build)" + - name: build_linux_x64_build_rhel8_openssl11 + display_name: "RHEL 8.0 x64 openssl11 (build)" run_on: rhel80-build tags: [] expansions: @@ -14551,7 +14551,7 @@ buildvariants: tasks: - name: compile_artifact - name: build_linux_x64_openssl3 - display_name: "RHEL 7.0 x64 (build)" + display_name: "RHEL 7.0 x64 openssl3 (build)" run_on: rhel70-build tags: [] expansions: @@ -14562,8 +14562,8 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - - name: build_build_linux_x64_openssl3_rhel8 - display_name: "RHEL 8.0 x64 (build)" + - name: build_linux_x64_openssl3_rhel8 + display_name: "RHEL 8.0 x64 openssl3 (build)" run_on: rhel80-build tags: [] expansions: @@ -14587,7 +14587,7 @@ buildvariants: tasks: - name: compile_artifact - name: build_linux_arm64_openssl11 - display_name: "Amazon 2 arm64 (build)" + display_name: "Amazon 2 arm64 openssl11 (build)" run_on: amazon2-arm64-large tags: [] expansions: @@ -14599,7 +14599,7 @@ buildvariants: tasks: - name: compile_artifact - name: build_linux_arm64_openssl3 - display_name: "Amazon 2 arm64 (build)" + display_name: "Amazon 2 arm64 openssl3 (build)" run_on: amazon2-arm64-large tags: [] expansions: @@ -14647,6 +14647,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_rhel76_large_70x display_name: "RHEL 7.6 x64 m70x (E2E tests)" run_on: rhel76-large @@ -14660,6 +14661,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_rhel80_small display_name: "RHEL 8.0 x64 (E2E tests)" run_on: rhel80-small @@ -14673,6 +14675,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_rhel90_small_70x display_name: "RHEL 9.0 x64 m70x (E2E tests)" run_on: rhel90-small @@ -14686,6 +14689,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_rhel93_small display_name: "RHEL 9.3 x64 (E2E tests)" run_on: rhel93-small @@ -14699,6 +14703,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_rhel83_fips display_name: "RHEL 8.3 x64 (E2E tests)" run_on: rhel83-fips @@ -14712,6 +14717,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_rhel83_fips_openssl11 display_name: "RHEL 8.3 x64 openssl11 (E2E tests)" run_on: rhel83-fips @@ -14725,6 +14731,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_rhel83_fips_openssl11_true display_name: "RHEL 8.3 x64 openssl11 FIPS (E2E tests)" run_on: rhel83-fips @@ -14738,6 +14745,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_rhel93_fips display_name: "RHEL 9.3 x64 (E2E tests)" run_on: rhel93-fips @@ -14751,6 +14759,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_rhel93_fips_openssl3 display_name: "RHEL 9.3 x64 openssl3 (E2E tests)" run_on: rhel93-fips @@ -14764,6 +14773,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_rhel93_fips_openssl3_true display_name: "RHEL 9.3 x64 openssl3 FIPS (E2E tests)" run_on: rhel93-fips @@ -14777,6 +14787,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_ubuntu1804_large_60x display_name: "Ubuntu 18.04 x64 m60x (E2E tests)" run_on: ubuntu1804-large @@ -14790,6 +14801,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_ubuntu2004_small display_name: "Ubuntu 20.04 x64 (E2E tests)" run_on: ubuntu2004-small @@ -14803,6 +14815,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_ubuntu2004_small_openssl11 display_name: "Ubuntu 20.04 x64 openssl11 (E2E tests)" run_on: ubuntu2004-small @@ -14816,6 +14829,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_ubuntu2204_small display_name: "Ubuntu 22.04 x64 (E2E tests)" run_on: ubuntu2204-small @@ -14829,6 +14843,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_ubuntu2204_small_openssl3 display_name: "Ubuntu 22.04 x64 openssl3 (E2E tests)" run_on: ubuntu2204-small @@ -14842,6 +14857,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_ubuntu2404_small display_name: "Ubuntu 24.04 x64 (E2E tests)" run_on: ubuntu2404-small @@ -14855,6 +14871,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_ubuntu2404_small_openssl3 display_name: "Ubuntu 24.04 x64 openssl3 (E2E tests)" run_on: ubuntu2404-small @@ -14868,6 +14885,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_debian10_small_60x display_name: "Debian 10 x64 m60x (E2E tests)" run_on: debian10-small @@ -14881,7 +14899,8 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests - - name: e2e_tests_debian10_small_60x_openssl11 + - name: perf_tests + - name: e2e_tests_debian10_small_openssl11_60x display_name: "Debian 10 x64 m60x openssl11 (E2E tests)" run_on: debian10-small tags: [] @@ -14894,6 +14913,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_debian11_small_70x display_name: "Debian 11 x64 m70x (E2E tests)" run_on: debian11-small @@ -14907,7 +14927,8 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests - - name: e2e_tests_debian11_small_70x_openssl11 + - name: perf_tests + - name: e2e_tests_debian11_small_openssl11_70x display_name: "Debian 11 x64 m70x openssl11 (E2E tests)" run_on: debian11-small tags: [] @@ -14920,6 +14941,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_amazon2_large_70x display_name: "Amazon Linux 2 x64 m70x (E2E tests)" run_on: amazon2-large @@ -14933,6 +14955,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_amazon2023.0_small display_name: "Amazon Linux 2023 x64 (E2E tests)" run_on: amazon2023.0-small @@ -14946,6 +14969,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_suse12_sp5_large_70x display_name: "SLES 12 x64 m70x (E2E tests)" run_on: suse12-sp5-large @@ -14959,6 +14983,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_suse15sp4_small display_name: "SLES 15 x64 (E2E tests)" run_on: suse15sp4-small @@ -14972,6 +14997,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_ubuntu1804_arm64_large_60x display_name: "Ubuntu 18.04 arm64 m60x (E2E tests)" run_on: ubuntu1804-arm64-large @@ -14985,6 +15011,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_ubuntu2004_arm64_small display_name: "Ubuntu 20.04 arm64 (E2E tests)" run_on: ubuntu2004-arm64-small @@ -14998,6 +15025,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_ubuntu2004_arm64_small_openssl11 display_name: "Ubuntu 20.04 arm64 openssl11 (E2E tests)" run_on: ubuntu2004-arm64-small @@ -15011,6 +15039,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_ubuntu2204_arm64_small display_name: "Ubuntu 22.04 arm64 (E2E tests)" run_on: ubuntu2204-arm64-small @@ -15024,6 +15053,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_ubuntu2204_arm64_small_openssl3 display_name: "Ubuntu 22.04 arm64 openssl3 (E2E tests)" run_on: ubuntu2204-arm64-small @@ -15037,6 +15067,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_ubuntu2404_arm64_small display_name: "Ubuntu 24.04 arm64 (E2E tests)" run_on: ubuntu2404-arm64-small @@ -15050,6 +15081,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_ubuntu2404_arm64_small_openssl3 display_name: "Ubuntu 24.04 arm64 openssl3 (E2E tests)" run_on: ubuntu2404-arm64-small @@ -15063,6 +15095,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_amazon2_arm64_large_70x display_name: "Amazon Linux 2 arm64 m70x (E2E tests)" run_on: amazon2-arm64-large @@ -15076,6 +15109,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_amazon2023.0_arm64_small display_name: "Amazon Linux 2023 arm64 (E2E tests)" run_on: amazon2023.0-arm64-small @@ -15089,6 +15123,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_rhel82_arm64_small display_name: "RHEL 8.2 arm64 (E2E tests)" run_on: rhel82-arm64-small @@ -15102,6 +15137,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_rhel90_arm64_small_70x display_name: "RHEL 9.0 arm64 m70x (E2E tests)" run_on: rhel90-arm64-small @@ -15115,7 +15151,8 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests - - name: e2e_tests_rhel90_arm64_small_70x_openssl3 + - name: perf_tests + - name: e2e_tests_rhel90_arm64_small_openssl3_70x display_name: "RHEL 9.0 arm64 m70x openssl3 (E2E tests)" run_on: rhel90-arm64-small tags: [] @@ -15128,6 +15165,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_rhel93_arm64_small display_name: "RHEL 9.3 arm64 (E2E tests)" run_on: rhel93-arm64-small @@ -15141,6 +15179,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_rhel93_arm64_small_openssl3 display_name: "RHEL 9.3 arm64 openssl3 (E2E tests)" run_on: rhel93-arm64-small @@ -15154,6 +15193,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_rhel8_power_small display_name: "RHEL 8 PPC (E2E tests)" run_on: rhel8-power-small @@ -15167,6 +15207,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_rhel7_zseries_large_60x display_name: "RHEL 7 s390x m60x (E2E tests)" run_on: rhel7-zseries-large @@ -15180,6 +15221,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_rhel8_zseries_small display_name: "RHEL 8 s390x (E2E tests)" run_on: rhel8-zseries-small @@ -15193,6 +15235,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_darwin_x64 display_name: "MacOS 14 x64 (E2E tests)" run_on: macos-14 @@ -15206,6 +15249,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: e2e_tests_darwin_arm64 display_name: "MacOS 14 arm64 (E2E tests)" run_on: macos-14-arm64 @@ -15219,6 +15263,7 @@ buildvariants: tasks: - name: compile_artifact - name: e2e_tests + - name: perf_tests - name: darwin display_name: "MacOS Big Sur" run_on: macos-11 diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index 22355daec..5c4fdd914 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -78,344 +78,293 @@ for (const { shortName: nShort, versionSpec: nVersion, skipNodeVersionCheck } of const { RELEASE_PACKAGE_MATRIX } = require('../config/release-package-matrix'); -const ALL_E2E_TEST_BUILD_VARIANTS = [ - { - displayName: "RHEL 7.0 x64", - runOn: "rhel70-build", - isBuild: true, - executableOsId: "linux-x64", - mVersion: "stable" - }, - { - displayName: "RHEL 8.0 x64", - name: 'build_linux_x64_rhel8', - runOn: "rhel80-build", - isBuild: true, - executableOsId: "linux-x64", - mVersion: "stable" - }, - { - displayName: "RHEL 7.0 x64", - runOn: "rhel70-build", - isBuild: true, - executableOsId: "linux-x64-openssl11", - mVersion: "stable" - }, - { - displayName: "RHEL 8.0 x64", - name: 'build_linux_x64_openssl11_rhel8', - name: 'linux_x64_build_rhel8', - runOn: "rhel80-build", - isBuild: true, - executableOsId: "linux-x64-openssl11", - mVersion: "stable" - }, - { - displayName: "RHEL 7.0 x64", - runOn: "rhel70-build", - isBuild: true, - executableOsId: "linux-x64-openssl3", - mVersion: "stable" - }, - { - displayName: "RHEL 8.0 x64", - name: 'build_linux_x64_openssl3_rhel8', - runOn: "rhel80-build", - isBuild: true, - executableOsId: "linux-x64-openssl3", - mVersion: "stable" - }, - { - displayName: "Amazon 2 arm64", - runOn: "amazon2-arm64-large", - isBuild: true, - executableOsId: "linux-arm64", - mVersion: "stable" - }, - { - displayName: "Amazon 2 arm64", - runOn: "amazon2-arm64-large", - isBuild: true, - executableOsId: "linux-arm64-openssl11", - mVersion: "stable" - }, - { - displayName: "Amazon 2 arm64", - runOn: "amazon2-arm64-large", - isBuild: true, - executableOsId: "linux-arm64-openssl3", - mVersion: "stable" - }, - { - displayName: "RHEL 8 PPC", - runOn: "rhel8-power-small", - isBuild: true, - executableOsId: "linux-ppc64le", - mVersion: "stable" - }, - { - displayName: "RHEL 7 s390x", - runOn: "rhel7-zseries-large", - isBuild: true, - executableOsId: "linux-s390x", - mVersion: "stable" - }, - { - displayName: "RHEL 7.0 x64", - runOn: "rhel70-large", - mVersion: "7.0.x" - }, - { - displayName: "RHEL 7.6 x64", - runOn: "rhel76-large", - mVersion: "7.0.x" - }, - { - displayName: "RHEL 8.0 x64", - runOn: "rhel80-small", - mVersion: "stable" - }, - { - displayName: "RHEL 9.0 x64", - runOn: "rhel90-small", - disabledOpenSslSharedConfig: true, - mVersion: "7.0.x" - }, - { - displayName: "RHEL 9.3 x64", - runOn: "rhel93-small", - disabledOpenSslSharedConfig: true, - mVersion: "stable" - }, - { - displayName: "RHEL 8.3 x64", - runOn: "rhel83-fips", - mVersion: "stable" - }, - { - displayName: "RHEL 8.3 x64", - runOn: "rhel83-fips", - sharedOpenSsl: "openssl11", - mVersion: "stable" - }, - { - displayName: "RHEL 8.3 x64", - runOn: "rhel83-fips", - fips: true, - sharedOpenSsl: "openssl11", - mVersion: "stable" - }, - { - displayName: "RHEL 9.3 x64", - runOn: "rhel93-fips", - mVersion: "stable" - }, - { - displayName: "RHEL 9.3 x64", - runOn: "rhel93-fips", - sharedOpenSsl: "openssl3", - mVersion: "stable" - }, - { - displayName: "RHEL 9.3 x64", - runOn: "rhel93-fips", - fips: true, - sharedOpenSsl: "openssl3", - mVersion: "stable" - }, - { - displayName: "Ubuntu 18.04 x64", - runOn: "ubuntu1804-large", - mVersion: "6.0.x" - }, - { - displayName: "Ubuntu 20.04 x64", - runOn: "ubuntu2004-small", - mVersion: "stable" - }, - { - displayName: "Ubuntu 20.04 x64", - runOn: "ubuntu2004-small", - sharedOpenSsl: "openssl11", - mVersion: "stable" - }, - { - displayName: "Ubuntu 22.04 x64", - runOn: "ubuntu2204-small", - mVersion: "stable" - }, - { - displayName: "Ubuntu 22.04 x64", - runOn: "ubuntu2204-small", - sharedOpenSsl: "openssl3", - mVersion: "stable" - }, - { - displayName: "Ubuntu 24.04 x64", - runOn: "ubuntu2404-small", - mVersion: "stable" - }, - { - displayName: "Ubuntu 24.04 x64", - runOn: "ubuntu2404-small", - sharedOpenSsl: "openssl3", - mVersion: "stable" - }, - { - displayName: "Debian 10 x64", - runOn: "debian10-small", - mVersion: "6.0.x" - }, - { - displayName: "Debian 10 x64", - runOn: "debian10-small", - sharedOpenSsl: "openssl11", - mVersion: "6.0.x" - }, - { - displayName: "Debian 11 x64", - runOn: "debian11-small", - mVersion: "7.0.x" - }, - { - displayName: "Debian 11 x64", - runOn: "debian11-small", - sharedOpenSsl: "openssl11", - mVersion: "7.0.x" - }, - { - displayName: "Amazon Linux 2 x64", - runOn: "amazon2-large", - mVersion: "7.0.x" - }, - { - displayName: "Amazon Linux 2023 x64", - runOn: "amazon2023.0-small", - disabledOpenSslSharedConfig: true, - mVersion: "stable" - }, - { - displayName: "SLES 12 x64", - runOn: "suse12-sp5-large", - mVersion: "7.0.x" - }, - { - displayName: "SLES 15 x64", - runOn: "suse15sp4-small", - mVersion: "stable" - }, - { - displayName: "Ubuntu 18.04 arm64", - runOn: "ubuntu1804-arm64-large", - mVersion: "6.0.x" - }, - { - displayName: "Ubuntu 20.04 arm64", - runOn: "ubuntu2004-arm64-small", - mVersion: "stable" - }, - { - displayName: "Ubuntu 20.04 arm64", - runOn: "ubuntu2004-arm64-small", - sharedOpenSsl: "openssl11", - mVersion: "stable" - }, - { - displayName: "Ubuntu 22.04 arm64", - runOn: "ubuntu2204-arm64-small", - mVersion: "stable" - }, - { - displayName: "Ubuntu 22.04 arm64", - runOn: "ubuntu2204-arm64-small", - sharedOpenSsl: "openssl3", - mVersion: "stable" - }, - { - displayName: "Ubuntu 24.04 arm64", - runOn: "ubuntu2404-arm64-small", - mVersion: "stable" - }, - { - displayName: "Ubuntu 24.04 arm64", - runOn: "ubuntu2404-arm64-small", - sharedOpenSsl: "openssl3", - mVersion: "stable" - }, - { - displayName: "Amazon Linux 2 arm64", - runOn: "amazon2-arm64-large", - mVersion: "7.0.x" - }, - { - displayName: "Amazon Linux 2023 arm64", - runOn: "amazon2023.0-arm64-small", - disabledOpenSslSharedConfig: true, - mVersion: "stable" - }, - { - displayName: "RHEL 8.2 arm64", - runOn: "rhel82-arm64-small", - mVersion: "stable" - }, - { - displayName: "RHEL 9.0 arm64", - runOn: "rhel90-arm64-small", - disabledOpenSslSharedConfig: true, - mVersion: "7.0.x" - }, - { - displayName: "RHEL 9.0 arm64", - runOn: "rhel90-arm64-small", - disabledOpenSslSharedConfig: true, - sharedOpenSsl: "openssl3", - mVersion: "7.0.x" - }, - { - displayName: "RHEL 9.3 arm64", - runOn: "rhel93-arm64-small", - disabledOpenSslSharedConfig: true, - mVersion: "stable" - }, - { - displayName: "RHEL 9.3 arm64", - runOn: "rhel93-arm64-small", - disabledOpenSslSharedConfig: true, - sharedOpenSsl: "openssl3", - mVersion: "stable" - }, - { - displayName: "RHEL 8 PPC", - runOn: "rhel8-power-small", - mVersion: "stable" - }, - { - displayName: "RHEL 7 s390x", - runOn: "rhel7-zseries-large", - mVersion: "6.0.x" - }, - { - displayName: "RHEL 8 s390x", - runOn: "rhel8-zseries-small", - mVersion: "stable" - }, - { - displayName: "MacOS 14 x64", - runOn: "macos-14", - executableOsId: "darwin-x64", - mVersion: "stable" - }, - { - displayName: "MacOS 14 arm64", - runOn: "macos-14-arm64", - executableOsId: "darwin-arm64", - mVersion: "stable" - } -].map(({displayName, ...rest}) => { +const ALL_E2E_TEST_BUILD_VARIANTS = [{ + displayName: "RHEL 7.0 x64", + runOn: "rhel70-build", + isBuild: true, + executableOsId: "linux-x64", + mVersion: "stable" +}, { + displayName: "RHEL 8.0 x64", + name: 'linux_x64_rhel8', + runOn: "rhel80-build", + isBuild: true, + executableOsId: "linux-x64", + mVersion: "stable" +}, { + displayName: "RHEL 7.0 x64", + runOn: "rhel70-build", + isBuild: true, + executableOsId: "linux-x64-openssl11", + sharedOpenSsl: "openssl11", + mVersion: "stable" +}, { + displayName: "RHEL 8.0 x64", + runOn: "rhel80-build", + isBuild: true, + executableOsId: "linux-x64-openssl11", + sharedOpenSsl: "openssl11", + name: 'linux_x64_build_rhel8_openssl11', + mVersion: "stable" +}, { + displayName: "RHEL 7.0 x64", + runOn: "rhel70-build", + isBuild: true, + executableOsId: "linux-x64-openssl3", + sharedOpenSsl: "openssl3", + mVersion: "stable" +}, { + displayName: "RHEL 8.0 x64", + name: 'linux_x64_openssl3_rhel8', + runOn: "rhel80-build", + isBuild: true, + executableOsId: "linux-x64-openssl3", + sharedOpenSsl: "openssl3", + mVersion: "stable" +}, { + displayName: "Amazon 2 arm64", + runOn: "amazon2-arm64-large", + isBuild: true, + executableOsId: "linux-arm64", + mVersion: "stable" +}, { + displayName: "Amazon 2 arm64", + runOn: "amazon2-arm64-large", + isBuild: true, + executableOsId: "linux-arm64-openssl11", + sharedOpenSsl: "openssl11", + mVersion: "stable" +}, { + displayName: "Amazon 2 arm64", + runOn: "amazon2-arm64-large", + isBuild: true, + executableOsId: "linux-arm64-openssl3", + sharedOpenSsl: "openssl3", + mVersion: "stable" +}, { + displayName: "RHEL 8 PPC", + runOn: "rhel8-power-small", + isBuild: true, + executableOsId: "linux-ppc64le", + mVersion: "stable" +}, { + displayName: "RHEL 7 s390x", + runOn: "rhel7-zseries-large", + isBuild: true, + executableOsId: "linux-s390x", + mVersion: "stable" +}, { + displayName: "RHEL 7.0 x64", + runOn: "rhel70-large", + mVersion: "7.0.x" +}, { + displayName: "RHEL 7.6 x64", + runOn: "rhel76-large", + mVersion: "7.0.x" +}, { + displayName: "RHEL 8.0 x64", + runOn: "rhel80-small", + mVersion: "stable" +}, { + displayName: "RHEL 9.0 x64", + runOn: "rhel90-small", + disabledOpenSslSharedConfig: true, + mVersion: "7.0.x" +}, { + displayName: "RHEL 9.3 x64", + runOn: "rhel93-small", + disabledOpenSslSharedConfig: true, + mVersion: "stable" +}, { + displayName: "RHEL 8.3 x64", + runOn: "rhel83-fips", + mVersion: "stable" +}, { + displayName: "RHEL 8.3 x64", + runOn: "rhel83-fips", + sharedOpenSsl: "openssl11", + mVersion: "stable" +}, { + displayName: "RHEL 8.3 x64", + runOn: "rhel83-fips", + fips: true, + sharedOpenSsl: "openssl11", + mVersion: "stable" +}, { + displayName: "RHEL 9.3 x64", + runOn: "rhel93-fips", + mVersion: "stable" +}, { + displayName: "RHEL 9.3 x64", + runOn: "rhel93-fips", + sharedOpenSsl: "openssl3", + mVersion: "stable" +}, { + displayName: "RHEL 9.3 x64", + runOn: "rhel93-fips", + fips: true, + sharedOpenSsl: "openssl3", + mVersion: "stable" +}, { + displayName: "Ubuntu 18.04 x64", + runOn: "ubuntu1804-large", + mVersion: "6.0.x" +}, { + displayName: "Ubuntu 20.04 x64", + runOn: "ubuntu2004-small", + mVersion: "stable" +}, { + displayName: "Ubuntu 20.04 x64", + runOn: "ubuntu2004-small", + sharedOpenSsl: "openssl11", + mVersion: "stable" +}, { + displayName: "Ubuntu 22.04 x64", + runOn: "ubuntu2204-small", + mVersion: "stable" +}, { + displayName: "Ubuntu 22.04 x64", + runOn: "ubuntu2204-small", + sharedOpenSsl: "openssl3", + mVersion: "stable" +}, { + displayName: "Ubuntu 24.04 x64", + runOn: "ubuntu2404-small", + mVersion: "stable" +}, { + displayName: "Ubuntu 24.04 x64", + runOn: "ubuntu2404-small", + sharedOpenSsl: "openssl3", + mVersion: "stable" +}, { + displayName: "Debian 10 x64", + runOn: "debian10-small", + mVersion: "6.0.x" +}, { + displayName: "Debian 10 x64", + runOn: "debian10-small", + sharedOpenSsl: "openssl11", + mVersion: "6.0.x" +}, { + displayName: "Debian 11 x64", + runOn: "debian11-small", + mVersion: "7.0.x" +}, { + displayName: "Debian 11 x64", + runOn: "debian11-small", + sharedOpenSsl: "openssl11", + mVersion: "7.0.x" +}, { + displayName: "Amazon Linux 2 x64", + runOn: "amazon2-large", + mVersion: "7.0.x" +}, { + displayName: "Amazon Linux 2023 x64", + runOn: "amazon2023.0-small", + disabledOpenSslSharedConfig: true, + mVersion: "stable" +}, { + displayName: "SLES 12 x64", + runOn: "suse12-sp5-large", + mVersion: "7.0.x" +}, { + displayName: "SLES 15 x64", + runOn: "suse15sp4-small", + mVersion: "stable" +}, { + displayName: "Ubuntu 18.04 arm64", + runOn: "ubuntu1804-arm64-large", + mVersion: "6.0.x" +}, { + displayName: "Ubuntu 20.04 arm64", + runOn: "ubuntu2004-arm64-small", + mVersion: "stable" +}, { + displayName: "Ubuntu 20.04 arm64", + runOn: "ubuntu2004-arm64-small", + sharedOpenSsl: "openssl11", + mVersion: "stable" +}, { + displayName: "Ubuntu 22.04 arm64", + runOn: "ubuntu2204-arm64-small", + mVersion: "stable" +}, { + displayName: "Ubuntu 22.04 arm64", + runOn: "ubuntu2204-arm64-small", + sharedOpenSsl: "openssl3", + mVersion: "stable" +}, { + displayName: "Ubuntu 24.04 arm64", + runOn: "ubuntu2404-arm64-small", + mVersion: "stable" +}, { + displayName: "Ubuntu 24.04 arm64", + runOn: "ubuntu2404-arm64-small", + sharedOpenSsl: "openssl3", + mVersion: "stable" +}, { + displayName: "Amazon Linux 2 arm64", + runOn: "amazon2-arm64-large", + mVersion: "7.0.x" +}, { + displayName: "Amazon Linux 2023 arm64", + runOn: "amazon2023.0-arm64-small", + disabledOpenSslSharedConfig: true, + mVersion: "stable" +}, { + displayName: "RHEL 8.2 arm64", + runOn: "rhel82-arm64-small", + mVersion: "stable" +}, { + displayName: "RHEL 9.0 arm64", + runOn: "rhel90-arm64-small", + disabledOpenSslSharedConfig: true, + mVersion: "7.0.x" +}, { + displayName: "RHEL 9.0 arm64", + runOn: "rhel90-arm64-small", + disabledOpenSslSharedConfig: true, + sharedOpenSsl: "openssl3", + mVersion: "7.0.x" +}, { + displayName: "RHEL 9.3 arm64", + runOn: "rhel93-arm64-small", + disabledOpenSslSharedConfig: true, + mVersion: "stable" +}, { + displayName: "RHEL 9.3 arm64", + runOn: "rhel93-arm64-small", + disabledOpenSslSharedConfig: true, + sharedOpenSsl: "openssl3", + mVersion: "stable" +}, { + displayName: "RHEL 8 PPC", + runOn: "rhel8-power-small", + mVersion: "stable" +}, { + displayName: "RHEL 7 s390x", + runOn: "rhel7-zseries-large", + mVersion: "6.0.x" +}, { + displayName: "RHEL 8 s390x", + runOn: "rhel8-zseries-small", + mVersion: "stable" +}, { + displayName: "MacOS 14 x64", + runOn: "macos-14", + executableOsId: "darwin-x64", + mVersion: "stable" +}, { + displayName: "MacOS 14 arm64", + runOn: "macos-14-arm64", + executableOsId: "darwin-arm64", + mVersion: "stable" +}].map(({displayName, ...rest}) => { const {fips, sharedOpenSsl, isBuild, mVersion, runOn, executableOsId, name} = rest; + const id = (name ?? executableOsId ?? runOn).replaceAll('-', '_'); return ({ ...rest, - name: `${isBuild ? `build` : 'e2e_tests'}_${(name ?? executableOsId ?? runOn).replaceAll('-', '_')}${mVersion != 'stable' ? `_${mVersion.replaceAll('.', '')}` : ''}${sharedOpenSsl ? `_${sharedOpenSsl}` : ''}${fips ? `_${fips}` : ''}`, + name: `${isBuild ? `build` : 'e2e_tests'}_${id}${sharedOpenSsl && !id.includes('openssl') ? `_${sharedOpenSsl}` : ''}${mVersion != 'stable' ? `_${mVersion.replaceAll('.', '')}` : ''}${fips ? `_${fips}` : ''}`, displayName: `${displayName}${mVersion != 'stable' ? ` m${mVersion.replaceAll('.', '')}` : ''}${sharedOpenSsl ? ` ${sharedOpenSsl}` : ''}${fips ? ' FIPS' : ''} (${isBuild ? 'build' : 'E2E tests'})` }); }); @@ -1916,7 +1865,7 @@ buildvariants: mongosh_server_test_version: "<% out(variant.mVersion) %>-enterprise" mongosh_test_e2e_force_fips: "<% out(variant.fips ? '1' : '') %>" tasks: - <% for (const task of variant.isBuild ? ['compile_artifact'] : ['compile_artifact', 'e2e_tests']) { %> + <% for (const task of variant.isBuild ? ['compile_artifact'] : ['compile_artifact', 'e2e_tests', 'perf_tests']) { %> - name: <% out(task) %> <% } %> <% } %> From 3328ab271a53942e770abbcfa2864a0e4b4671ea Mon Sep 17 00:00:00 2001 From: gagik Date: Thu, 12 Dec 2024 12:04:14 +0100 Subject: [PATCH 05/24] use explicit false --- .evergreen.yml | 112 ++++++++++++++++++------------------ .evergreen/evergreen.yml.in | 2 +- 2 files changed, 57 insertions(+), 57 deletions(-) diff --git a/.evergreen.yml b/.evergreen.yml index 1cc1f7ce6..8dc23cde1 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -14508,7 +14508,7 @@ buildvariants: tags: [] expansions: executable_os_id: "linux-x64" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14520,7 +14520,7 @@ buildvariants: tags: [] expansions: executable_os_id: "linux-x64" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14532,7 +14532,7 @@ buildvariants: tags: [] expansions: executable_os_id: "linux-x64-openssl11" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14544,7 +14544,7 @@ buildvariants: tags: [] expansions: executable_os_id: "linux-x64-openssl11" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14556,7 +14556,7 @@ buildvariants: tags: [] expansions: executable_os_id: "linux-x64-openssl3" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14568,7 +14568,7 @@ buildvariants: tags: [] expansions: executable_os_id: "linux-x64-openssl3" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14580,7 +14580,7 @@ buildvariants: tags: [] expansions: executable_os_id: "linux-arm64" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14592,7 +14592,7 @@ buildvariants: tags: [] expansions: executable_os_id: "linux-arm64-openssl11" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14604,7 +14604,7 @@ buildvariants: tags: [] expansions: executable_os_id: "linux-arm64-openssl3" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14616,7 +14616,7 @@ buildvariants: tags: [] expansions: executable_os_id: "linux-ppc64le" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14628,7 +14628,7 @@ buildvariants: tags: [] expansions: executable_os_id: "linux-s390x" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14640,7 +14640,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" @@ -14654,7 +14654,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" @@ -14668,7 +14668,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14682,7 +14682,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "true" + disable_openssl_shared_config_for_bundled_openssl: true node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" @@ -14696,7 +14696,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "true" + disable_openssl_shared_config_for_bundled_openssl: true node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14710,7 +14710,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14724,7 +14724,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14738,7 +14738,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "1" @@ -14752,7 +14752,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14766,7 +14766,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14780,7 +14780,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "1" @@ -14794,7 +14794,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" @@ -14808,7 +14808,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14822,7 +14822,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14836,7 +14836,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14850,7 +14850,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14864,7 +14864,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14878,7 +14878,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14892,7 +14892,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" @@ -14906,7 +14906,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" @@ -14920,7 +14920,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" @@ -14934,7 +14934,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" @@ -14948,7 +14948,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" @@ -14962,7 +14962,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "true" + disable_openssl_shared_config_for_bundled_openssl: true node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -14976,7 +14976,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" @@ -14990,7 +14990,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -15004,7 +15004,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" @@ -15018,7 +15018,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -15032,7 +15032,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -15046,7 +15046,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -15060,7 +15060,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -15074,7 +15074,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -15088,7 +15088,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -15102,7 +15102,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" @@ -15116,7 +15116,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "true" + disable_openssl_shared_config_for_bundled_openssl: true node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -15130,7 +15130,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -15144,7 +15144,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "true" + disable_openssl_shared_config_for_bundled_openssl: true node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" @@ -15158,7 +15158,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "true" + disable_openssl_shared_config_for_bundled_openssl: true node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" @@ -15172,7 +15172,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "true" + disable_openssl_shared_config_for_bundled_openssl: true node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -15186,7 +15186,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "true" + disable_openssl_shared_config_for_bundled_openssl: true node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -15200,7 +15200,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -15214,7 +15214,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" @@ -15228,7 +15228,7 @@ buildvariants: tags: [] expansions: executable_os_id: "" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -15242,7 +15242,7 @@ buildvariants: tags: [] expansions: executable_os_id: "darwin-x64" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" @@ -15256,7 +15256,7 @@ buildvariants: tags: [] expansions: executable_os_id: "darwin-arm64" - disable_openssl_shared_config_for_bundled_openssl: "" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index 5c4fdd914..5f53e64b5 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -1860,7 +1860,7 @@ buildvariants: tags: <% out([...(variant.tags ?? [])]) %> expansions: executable_os_id: "<% out(variant.executableOsId || '') %>" - disable_openssl_shared_config_for_bundled_openssl: "<% out(variant.disabledOpenSslSharedConfig || '') %>" + disable_openssl_shared_config_for_bundled_openssl: <% out(variant.disabledOpenSslSharedConfig || false) %> node_js_version: "<% out(NODE_JS_VERSION_20) %>" mongosh_server_test_version: "<% out(variant.mVersion) %>-enterprise" mongosh_test_e2e_force_fips: "<% out(variant.fips ? '1' : '') %>" From 2b91023482fa4354143ed90a74fe120f11e0be40 Mon Sep 17 00:00:00 2001 From: gagik Date: Thu, 12 Dec 2024 14:05:16 +0100 Subject: [PATCH 06/24] update to use same compile_artifact --- .evergreen.yml | 421 +++++++++++++-------- .evergreen/evergreen.yml.in | 715 +++++++++++++++++++++--------------- 2 files changed, 686 insertions(+), 450 deletions(-) diff --git a/.evergreen.yml b/.evergreen.yml index 8dc23cde1..d74b6de35 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -8274,6 +8274,7 @@ tasks: ### # E2E TESTS ### + # Some tests reuse the same compilation build variant, so we create those variations of tasks to set those dependencies. - name: e2e_tests tags: ["e2e-test"] depends_on: @@ -8305,7 +8306,139 @@ tasks: vars: executable_os_id: ${executable_os_id} - func: run_perf_tests - + - name: e2e_tests_build_linux_x64 + tags: ["e2e-test"] + depends_on: + - name: compile_artifact + variant: build_linux_x64 + commands: + - func: checkout + - func: install + vars: + node_js_version: ${node_js_version} + - func: download_compiled_artifact + vars: + executable_os_id: ${executable_os_id} + - func: run_e2e_tests + vars: + node_js_version: ${node_js_version} + mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} + disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} + - name: perf_tests_build_linux_x64 + tags: ["perf-test"] + depends_on: + - name: compile_artifact + variant: build_linux_x64 + commands: + - func: checkout + - func: install + vars: + node_js_version: "20.18.1" + - func: download_compiled_artifact + vars: + executable_os_id: ${executable_os_id} + - func: run_perf_tests + - name: e2e_tests_darwin + tags: ["e2e-test"] + depends_on: + - name: compile_artifact + variant: darwin + commands: + - func: checkout + - func: install + vars: + node_js_version: ${node_js_version} + - func: download_compiled_artifact + vars: + executable_os_id: ${executable_os_id} + - func: run_e2e_tests + vars: + node_js_version: ${node_js_version} + mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} + disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} + - name: perf_tests_darwin + tags: ["perf-test"] + depends_on: + - name: compile_artifact + variant: darwin + commands: + - func: checkout + - func: install + vars: + node_js_version: "20.18.1" + - func: download_compiled_artifact + vars: + executable_os_id: ${executable_os_id} + - func: run_perf_tests + - name: e2e_tests_darwin_arm64 + tags: ["e2e-test"] + depends_on: + - name: compile_artifact + variant: darwin_arm64 + commands: + - func: checkout + - func: install + vars: + node_js_version: ${node_js_version} + - func: download_compiled_artifact + vars: + executable_os_id: ${executable_os_id} + - func: run_e2e_tests + vars: + node_js_version: ${node_js_version} + mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} + disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} + - name: perf_tests_darwin_arm64 + tags: ["perf-test"] + depends_on: + - name: compile_artifact + variant: darwin_arm64 + commands: + - func: checkout + - func: install + vars: + node_js_version: "20.18.1" + - func: download_compiled_artifact + vars: + executable_os_id: ${executable_os_id} + - func: run_perf_tests + - name: e2e_tests_build_win32 + tags: ["e2e-test"] + depends_on: + - name: compile_artifact + variant: build_win32 + commands: + - func: checkout + - func: install + vars: + node_js_version: ${node_js_version} + - func: download_compiled_artifact + vars: + executable_os_id: ${executable_os_id} + - func: run_e2e_tests + vars: + node_js_version: ${node_js_version} + mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} + disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} + - name: perf_tests_build_win32 + tags: ["perf-test"] + depends_on: + - name: compile_artifact + variant: build_win32 + commands: + - func: checkout + - func: install + vars: + node_js_version: "20.18.1" + - func: download_compiled_artifact + vars: + executable_os_id: ${executable_os_id} + - func: run_perf_tests + ### # EXECUTABLE CONNECTIVITY TESTS ### @@ -14503,7 +14636,7 @@ buildvariants: - name: test_snippet_manager - name: test_types - name: build_linux_x64 - display_name: "RHEL 7.0 x64 (build)" + display_name: "RHEL 7.0 x64 (Build)" run_on: rhel70-build tags: [] expansions: @@ -14515,7 +14648,7 @@ buildvariants: tasks: - name: compile_artifact - name: build_linux_x64_rhel8 - display_name: "RHEL 8.0 x64 (build)" + display_name: "RHEL 8.0 x64 (Build)" run_on: rhel80-build tags: [] expansions: @@ -14527,7 +14660,7 @@ buildvariants: tasks: - name: compile_artifact - name: build_linux_x64_openssl11 - display_name: "RHEL 7.0 x64 openssl11 (build)" + display_name: "RHEL 7.0 x64 openssl11 (Build)" run_on: rhel70-build tags: [] expansions: @@ -14538,8 +14671,8 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - - name: build_linux_x64_build_rhel8_openssl11 - display_name: "RHEL 8.0 x64 openssl11 (build)" + - name: build_linux_x64_openssl11_rhel8 + display_name: "RHEL 8.0 x64 openssl11 (Build)" run_on: rhel80-build tags: [] expansions: @@ -14551,7 +14684,7 @@ buildvariants: tasks: - name: compile_artifact - name: build_linux_x64_openssl3 - display_name: "RHEL 7.0 x64 openssl3 (build)" + display_name: "RHEL 7.0 x64 openssl3 (Build)" run_on: rhel70-build tags: [] expansions: @@ -14563,7 +14696,7 @@ buildvariants: tasks: - name: compile_artifact - name: build_linux_x64_openssl3_rhel8 - display_name: "RHEL 8.0 x64 openssl3 (build)" + display_name: "RHEL 8.0 x64 openssl3 (Build)" run_on: rhel80-build tags: [] expansions: @@ -14575,7 +14708,7 @@ buildvariants: tasks: - name: compile_artifact - name: build_linux_arm64 - display_name: "Amazon 2 arm64 (build)" + display_name: "Amazon 2 arm64 (Build)" run_on: amazon2-arm64-large tags: [] expansions: @@ -14587,7 +14720,7 @@ buildvariants: tasks: - name: compile_artifact - name: build_linux_arm64_openssl11 - display_name: "Amazon 2 arm64 openssl11 (build)" + display_name: "Amazon 2 arm64 openssl11 (Build)" run_on: amazon2-arm64-large tags: [] expansions: @@ -14599,7 +14732,7 @@ buildvariants: tasks: - name: compile_artifact - name: build_linux_arm64_openssl3 - display_name: "Amazon 2 arm64 openssl3 (build)" + display_name: "Amazon 2 arm64 openssl3 (Build)" run_on: amazon2-arm64-large tags: [] expansions: @@ -14611,7 +14744,7 @@ buildvariants: tasks: - name: compile_artifact - name: build_linux_ppc64le - display_name: "RHEL 8 PPC (build)" + display_name: "RHEL 8 PPC (Build)" run_on: rhel8-power-small tags: [] expansions: @@ -14623,7 +14756,7 @@ buildvariants: tasks: - name: compile_artifact - name: build_linux_s390x - display_name: "RHEL 7 s390x (build)" + display_name: "RHEL 7 s390x (Build)" run_on: rhel7-zseries-large tags: [] expansions: @@ -14634,372 +14767,346 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - - name: e2e_tests_rhel70_large_70x - display_name: "RHEL 7.0 x64 m70x (E2E tests)" + - name: e2e_tests_rhel70_large_m70x + display_name: "RHEL 7.0 x64 70x (E2E tests)" run_on: rhel70-large tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests - - name: e2e_tests_rhel76_large_70x - display_name: "RHEL 7.6 x64 m70x (E2E tests)" + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 + - name: e2e_tests_rhel76_large_m70x + display_name: "RHEL 7.6 x64 70x (E2E tests)" run_on: rhel76-large tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel80_small display_name: "RHEL 8.0 x64 (E2E tests)" run_on: rhel80-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests - - name: e2e_tests_rhel90_small_70x - display_name: "RHEL 9.0 x64 m70x (E2E tests)" + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 + - name: e2e_tests_rhel90_small_m70x + display_name: "RHEL 9.0 x64 70x (E2E tests)" run_on: rhel90-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: true node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel93_small display_name: "RHEL 9.3 x64 (E2E tests)" run_on: rhel93-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: true node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel83_fips display_name: "RHEL 8.3 x64 (E2E tests)" run_on: rhel83-fips tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel83_fips_openssl11 display_name: "RHEL 8.3 x64 openssl11 (E2E tests)" run_on: rhel83-fips tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel83_fips_openssl11_true display_name: "RHEL 8.3 x64 openssl11 FIPS (E2E tests)" run_on: rhel83-fips tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "1" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel93_fips display_name: "RHEL 9.3 x64 (E2E tests)" run_on: rhel93-fips tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel93_fips_openssl3 display_name: "RHEL 9.3 x64 openssl3 (E2E tests)" run_on: rhel93-fips tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel93_fips_openssl3_true display_name: "RHEL 9.3 x64 openssl3 FIPS (E2E tests)" run_on: rhel93-fips tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "1" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests - - name: e2e_tests_ubuntu1804_large_60x - display_name: "Ubuntu 18.04 x64 m60x (E2E tests)" + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 + - name: e2e_tests_ubuntu1804_large_m60x + display_name: "Ubuntu 18.04 x64 60x (E2E tests)" run_on: ubuntu1804-large tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_ubuntu2004_small display_name: "Ubuntu 20.04 x64 (E2E tests)" run_on: ubuntu2004-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_ubuntu2004_small_openssl11 display_name: "Ubuntu 20.04 x64 openssl11 (E2E tests)" run_on: ubuntu2004-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_ubuntu2204_small display_name: "Ubuntu 22.04 x64 (E2E tests)" run_on: ubuntu2204-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_ubuntu2204_small_openssl3 display_name: "Ubuntu 22.04 x64 openssl3 (E2E tests)" run_on: ubuntu2204-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_ubuntu2404_small display_name: "Ubuntu 24.04 x64 (E2E tests)" run_on: ubuntu2404-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_ubuntu2404_small_openssl3 display_name: "Ubuntu 24.04 x64 openssl3 (E2E tests)" run_on: ubuntu2404-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests - - name: e2e_tests_debian10_small_60x - display_name: "Debian 10 x64 m60x (E2E tests)" + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 + - name: e2e_tests_debian10_small_m60x + display_name: "Debian 10 x64 60x (E2E tests)" run_on: debian10-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests - - name: e2e_tests_debian10_small_openssl11_60x - display_name: "Debian 10 x64 m60x openssl11 (E2E tests)" + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 + - name: e2e_tests_debian10_small_openssl11_m60x + display_name: "Debian 10 x64 60x openssl11 (E2E tests)" run_on: debian10-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests - - name: e2e_tests_debian11_small_70x - display_name: "Debian 11 x64 m70x (E2E tests)" + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 + - name: e2e_tests_debian11_small_m70x + display_name: "Debian 11 x64 70x (E2E tests)" run_on: debian11-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests - - name: e2e_tests_debian11_small_openssl11_70x - display_name: "Debian 11 x64 m70x openssl11 (E2E tests)" + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 + - name: e2e_tests_debian11_small_openssl11_m70x + display_name: "Debian 11 x64 70x openssl11 (E2E tests)" run_on: debian11-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests - - name: e2e_tests_amazon2_large_70x - display_name: "Amazon Linux 2 x64 m70x (E2E tests)" + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 + - name: e2e_tests_amazon2_large_m70x + display_name: "Amazon Linux 2 x64 70x (E2E tests)" run_on: amazon2-large tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_amazon2023.0_small display_name: "Amazon Linux 2023 x64 (E2E tests)" run_on: amazon2023.0-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: true node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests - - name: e2e_tests_suse12_sp5_large_70x - display_name: "SLES 12 x64 m70x (E2E tests)" + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 + - name: e2e_tests_suse12_sp5_large_m70x + display_name: "SLES 12 x64 70x (E2E tests)" run_on: suse12-sp5-large tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_suse15sp4_small display_name: "SLES 15 x64 (E2E tests)" run_on: suse15sp4-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests - - name: e2e_tests_ubuntu1804_arm64_large_60x - display_name: "Ubuntu 18.04 arm64 m60x (E2E tests)" + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 + - name: e2e_tests_ubuntu1804_arm64_large_m60x + display_name: "Ubuntu 18.04 arm64 60x (E2E tests)" run_on: ubuntu1804-arm64-large tags: [] expansions: @@ -15096,8 +15203,8 @@ buildvariants: - name: compile_artifact - name: e2e_tests - name: perf_tests - - name: e2e_tests_amazon2_arm64_large_70x - display_name: "Amazon Linux 2 arm64 m70x (E2E tests)" + - name: e2e_tests_amazon2_arm64_large_m70x + display_name: "Amazon Linux 2 arm64 70x (E2E tests)" run_on: amazon2-arm64-large tags: [] expansions: @@ -15138,8 +15245,8 @@ buildvariants: - name: compile_artifact - name: e2e_tests - name: perf_tests - - name: e2e_tests_rhel90_arm64_small_70x - display_name: "RHEL 9.0 arm64 m70x (E2E tests)" + - name: e2e_tests_rhel90_arm64_small_m70x + display_name: "RHEL 9.0 arm64 70x (E2E tests)" run_on: rhel90-arm64-small tags: [] expansions: @@ -15152,8 +15259,8 @@ buildvariants: - name: compile_artifact - name: e2e_tests - name: perf_tests - - name: e2e_tests_rhel90_arm64_small_openssl3_70x - display_name: "RHEL 9.0 arm64 m70x openssl3 (E2E tests)" + - name: e2e_tests_rhel90_arm64_small_openssl3_m70x + display_name: "RHEL 9.0 arm64 70x openssl3 (E2E tests)" run_on: rhel90-arm64-small tags: [] expansions: @@ -15208,8 +15315,8 @@ buildvariants: - name: compile_artifact - name: e2e_tests - name: perf_tests - - name: e2e_tests_rhel7_zseries_large_60x - display_name: "RHEL 7 s390x m60x (E2E tests)" + - name: e2e_tests_rhel7_zseries_large_m60x + display_name: "RHEL 7 s390x 60x (E2E tests)" run_on: rhel7-zseries-large tags: [] expansions: @@ -15236,7 +15343,7 @@ buildvariants: - name: compile_artifact - name: e2e_tests - name: perf_tests - - name: e2e_tests_darwin_x64 + - name: e2e_tests_macos_14 display_name: "MacOS 14 x64 (E2E tests)" run_on: macos-14 tags: [] @@ -15247,10 +15354,9 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests - - name: e2e_tests_darwin_arm64 + - name: e2e_tests_darwin + - name: perf_tests_darwin + - name: e2e_tests_macos_14_arm64 display_name: "MacOS 14 arm64 (E2E tests)" run_on: macos-14-arm64 tags: [] @@ -15261,9 +15367,8 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_darwin_arm64 + - name: perf_tests_darwin_arm64 - name: darwin display_name: "MacOS Big Sur" run_on: macos-11 @@ -15271,7 +15376,7 @@ buildvariants: executable_os_id: darwin-x64 tasks: - name: compile_artifact - - name: e2e_tests_darwin_x64 + - name: e2e_tests_darwin - name: package_artifact_darwin_x64 - name: sign_artifact_darwin_x64 - name: package_artifact_darwin_arm64 @@ -15420,7 +15525,7 @@ buildvariants: expansions: executable_os_id: win32 tasks: - - name: e2e_tests_win32 + - name: e2e_tests_build_win32 - name: package_artifact_win32_x64 - name: package_artifact_win32msi_x64 - name: build_win32 @@ -15619,6 +15724,6 @@ buildvariants: display_name: "Performance Tests" run_on: rhel90-dbx-perf-large tasks: - - name: perf_tests + - name: perf_tests_build_linux_x64 expansions: executable_os_id: linux_x64 diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index 5f53e64b5..a57e50e85 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -78,294 +78,407 @@ for (const { shortName: nShort, versionSpec: nVersion, skipNodeVersionCheck } of const { RELEASE_PACKAGE_MATRIX } = require('../config/release-package-matrix'); -const ALL_E2E_TEST_BUILD_VARIANTS = [{ - displayName: "RHEL 7.0 x64", - runOn: "rhel70-build", - isBuild: true, - executableOsId: "linux-x64", - mVersion: "stable" -}, { - displayName: "RHEL 8.0 x64", - name: 'linux_x64_rhel8', - runOn: "rhel80-build", - isBuild: true, - executableOsId: "linux-x64", - mVersion: "stable" -}, { - displayName: "RHEL 7.0 x64", - runOn: "rhel70-build", - isBuild: true, - executableOsId: "linux-x64-openssl11", - sharedOpenSsl: "openssl11", - mVersion: "stable" -}, { - displayName: "RHEL 8.0 x64", - runOn: "rhel80-build", - isBuild: true, - executableOsId: "linux-x64-openssl11", - sharedOpenSsl: "openssl11", - name: 'linux_x64_build_rhel8_openssl11', - mVersion: "stable" -}, { - displayName: "RHEL 7.0 x64", - runOn: "rhel70-build", - isBuild: true, - executableOsId: "linux-x64-openssl3", - sharedOpenSsl: "openssl3", - mVersion: "stable" -}, { - displayName: "RHEL 8.0 x64", - name: 'linux_x64_openssl3_rhel8', - runOn: "rhel80-build", - isBuild: true, - executableOsId: "linux-x64-openssl3", - sharedOpenSsl: "openssl3", - mVersion: "stable" -}, { - displayName: "Amazon 2 arm64", - runOn: "amazon2-arm64-large", - isBuild: true, - executableOsId: "linux-arm64", - mVersion: "stable" -}, { - displayName: "Amazon 2 arm64", - runOn: "amazon2-arm64-large", - isBuild: true, - executableOsId: "linux-arm64-openssl11", - sharedOpenSsl: "openssl11", - mVersion: "stable" -}, { - displayName: "Amazon 2 arm64", - runOn: "amazon2-arm64-large", - isBuild: true, - executableOsId: "linux-arm64-openssl3", - sharedOpenSsl: "openssl3", - mVersion: "stable" -}, { - displayName: "RHEL 8 PPC", - runOn: "rhel8-power-small", - isBuild: true, - executableOsId: "linux-ppc64le", - mVersion: "stable" -}, { - displayName: "RHEL 7 s390x", - runOn: "rhel7-zseries-large", - isBuild: true, - executableOsId: "linux-s390x", - mVersion: "stable" -}, { - displayName: "RHEL 7.0 x64", - runOn: "rhel70-large", - mVersion: "7.0.x" -}, { - displayName: "RHEL 7.6 x64", - runOn: "rhel76-large", - mVersion: "7.0.x" -}, { - displayName: "RHEL 8.0 x64", - runOn: "rhel80-small", - mVersion: "stable" -}, { - displayName: "RHEL 9.0 x64", - runOn: "rhel90-small", - disabledOpenSslSharedConfig: true, - mVersion: "7.0.x" -}, { - displayName: "RHEL 9.3 x64", - runOn: "rhel93-small", - disabledOpenSslSharedConfig: true, - mVersion: "stable" -}, { - displayName: "RHEL 8.3 x64", - runOn: "rhel83-fips", - mVersion: "stable" -}, { - displayName: "RHEL 8.3 x64", - runOn: "rhel83-fips", - sharedOpenSsl: "openssl11", - mVersion: "stable" -}, { - displayName: "RHEL 8.3 x64", - runOn: "rhel83-fips", - fips: true, - sharedOpenSsl: "openssl11", - mVersion: "stable" -}, { - displayName: "RHEL 9.3 x64", - runOn: "rhel93-fips", - mVersion: "stable" -}, { - displayName: "RHEL 9.3 x64", - runOn: "rhel93-fips", - sharedOpenSsl: "openssl3", - mVersion: "stable" -}, { - displayName: "RHEL 9.3 x64", - runOn: "rhel93-fips", - fips: true, - sharedOpenSsl: "openssl3", - mVersion: "stable" -}, { - displayName: "Ubuntu 18.04 x64", - runOn: "ubuntu1804-large", - mVersion: "6.0.x" -}, { - displayName: "Ubuntu 20.04 x64", - runOn: "ubuntu2004-small", - mVersion: "stable" -}, { - displayName: "Ubuntu 20.04 x64", - runOn: "ubuntu2004-small", - sharedOpenSsl: "openssl11", - mVersion: "stable" -}, { - displayName: "Ubuntu 22.04 x64", - runOn: "ubuntu2204-small", - mVersion: "stable" -}, { - displayName: "Ubuntu 22.04 x64", - runOn: "ubuntu2204-small", - sharedOpenSsl: "openssl3", - mVersion: "stable" -}, { - displayName: "Ubuntu 24.04 x64", - runOn: "ubuntu2404-small", - mVersion: "stable" -}, { - displayName: "Ubuntu 24.04 x64", - runOn: "ubuntu2404-small", - sharedOpenSsl: "openssl3", - mVersion: "stable" -}, { - displayName: "Debian 10 x64", - runOn: "debian10-small", - mVersion: "6.0.x" -}, { - displayName: "Debian 10 x64", - runOn: "debian10-small", - sharedOpenSsl: "openssl11", - mVersion: "6.0.x" -}, { - displayName: "Debian 11 x64", - runOn: "debian11-small", - mVersion: "7.0.x" -}, { - displayName: "Debian 11 x64", - runOn: "debian11-small", - sharedOpenSsl: "openssl11", - mVersion: "7.0.x" -}, { - displayName: "Amazon Linux 2 x64", - runOn: "amazon2-large", - mVersion: "7.0.x" -}, { - displayName: "Amazon Linux 2023 x64", - runOn: "amazon2023.0-small", - disabledOpenSslSharedConfig: true, - mVersion: "stable" -}, { - displayName: "SLES 12 x64", - runOn: "suse12-sp5-large", - mVersion: "7.0.x" -}, { - displayName: "SLES 15 x64", - runOn: "suse15sp4-small", - mVersion: "stable" -}, { - displayName: "Ubuntu 18.04 arm64", - runOn: "ubuntu1804-arm64-large", - mVersion: "6.0.x" -}, { - displayName: "Ubuntu 20.04 arm64", - runOn: "ubuntu2004-arm64-small", - mVersion: "stable" -}, { - displayName: "Ubuntu 20.04 arm64", - runOn: "ubuntu2004-arm64-small", - sharedOpenSsl: "openssl11", - mVersion: "stable" -}, { - displayName: "Ubuntu 22.04 arm64", - runOn: "ubuntu2204-arm64-small", - mVersion: "stable" -}, { - displayName: "Ubuntu 22.04 arm64", - runOn: "ubuntu2204-arm64-small", - sharedOpenSsl: "openssl3", - mVersion: "stable" -}, { - displayName: "Ubuntu 24.04 arm64", - runOn: "ubuntu2404-arm64-small", - mVersion: "stable" -}, { - displayName: "Ubuntu 24.04 arm64", - runOn: "ubuntu2404-arm64-small", - sharedOpenSsl: "openssl3", - mVersion: "stable" -}, { - displayName: "Amazon Linux 2 arm64", - runOn: "amazon2-arm64-large", - mVersion: "7.0.x" -}, { - displayName: "Amazon Linux 2023 arm64", - runOn: "amazon2023.0-arm64-small", - disabledOpenSslSharedConfig: true, - mVersion: "stable" -}, { - displayName: "RHEL 8.2 arm64", - runOn: "rhel82-arm64-small", - mVersion: "stable" -}, { - displayName: "RHEL 9.0 arm64", - runOn: "rhel90-arm64-small", - disabledOpenSslSharedConfig: true, - mVersion: "7.0.x" -}, { - displayName: "RHEL 9.0 arm64", - runOn: "rhel90-arm64-small", - disabledOpenSslSharedConfig: true, - sharedOpenSsl: "openssl3", - mVersion: "7.0.x" -}, { - displayName: "RHEL 9.3 arm64", - runOn: "rhel93-arm64-small", - disabledOpenSslSharedConfig: true, - mVersion: "stable" -}, { - displayName: "RHEL 9.3 arm64", - runOn: "rhel93-arm64-small", - disabledOpenSslSharedConfig: true, - sharedOpenSsl: "openssl3", - mVersion: "stable" -}, { - displayName: "RHEL 8 PPC", - runOn: "rhel8-power-small", - mVersion: "stable" -}, { - displayName: "RHEL 7 s390x", - runOn: "rhel7-zseries-large", - mVersion: "6.0.x" -}, { - displayName: "RHEL 8 s390x", - runOn: "rhel8-zseries-small", - mVersion: "stable" -}, { - displayName: "MacOS 14 x64", - runOn: "macos-14", - executableOsId: "darwin-x64", - mVersion: "stable" -}, { - displayName: "MacOS 14 arm64", - runOn: "macos-14-arm64", - executableOsId: "darwin-arm64", - mVersion: "stable" -}].map(({displayName, ...rest}) => { +const ALL_E2E_TEST_BUILD_VARIANTS = [ + { + displayName: "RHEL 7.0 x64", + runOn: "rhel70-build", + isBuild: true, + name: "linux_x64", + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "RHEL 8.0 x64", + runOn: "rhel80-build", + isBuild: true, + name: "linux_x64_rhel8", + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "RHEL 7.0 x64", + runOn: "rhel70-build", + isBuild: true, + name: "linux_x64_openssl11", + executableOsId: "linux-x64-openssl11", + sharedOpenSsl: "openssl11", + mVersion: "stable" + }, + { + displayName: "RHEL 8.0 x64", + runOn: "rhel80-build", + isBuild: true, + name: "linux_x64_openssl11_rhel8", + executableOsId: "linux-x64-openssl11", + sharedOpenSsl: "openssl11", + mVersion: "stable" + }, + { + displayName: "RHEL 7.0 x64", + runOn: "rhel70-build", + isBuild: true, + name: "linux_x64_openssl3", + executableOsId: "linux-x64-openssl3", + sharedOpenSsl: "openssl3", + mVersion: "stable" + }, + { + displayName: "RHEL 8.0 x64", + runOn: "rhel80-build", + isBuild: true, + name: "linux_x64_openssl3_rhel8", + executableOsId: "linux-x64-openssl3", + sharedOpenSsl: "openssl3", + mVersion: "stable" + }, + { + displayName: "Amazon 2 arm64", + runOn: "amazon2-arm64-large", + isBuild: true, + name: "linux_arm64", + executableOsId: "linux-arm64", + mVersion: "stable" + }, + { + displayName: "Amazon 2 arm64", + runOn: "amazon2-arm64-large", + isBuild: true, + name: "linux_arm64_openssl11", + executableOsId: "linux-arm64-openssl11", + sharedOpenSsl: "openssl11", + mVersion: "stable" + }, + { + displayName: "Amazon 2 arm64", + runOn: "amazon2-arm64-large", + isBuild: true, + name: "linux_arm64_openssl3", + executableOsId: "linux-arm64-openssl3", + sharedOpenSsl: "openssl3", + mVersion: "stable" + }, + { + displayName: "RHEL 8 PPC", + runOn: "rhel8-power-small", + isBuild: true, + name: "linux_ppc64le", + executableOsId: "linux-ppc64le", + mVersion: "stable" + }, + { + displayName: "RHEL 7 s390x", + runOn: "rhel7-zseries-large", + isBuild: true, + name: "linux_s390x", + executableOsId: "linux-s390x", + mVersion: "stable" + }, + { + displayName: "RHEL 7.0 x64", + runOn: "rhel70-large", + executableOsId: "linux-x64", + mVersion: "7.0.x" + }, + { + displayName: "RHEL 7.6 x64", + runOn: "rhel76-large", + executableOsId: "linux-x64", + mVersion: "7.0.x" + }, + { + displayName: "RHEL 8.0 x64", + runOn: "rhel80-small", + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "RHEL 9.0 x64", + runOn: "rhel90-small", + disabledOpenSslSharedConfig: true, + executableOsId: "linux-x64", + mVersion: "7.0.x" + }, + { + displayName: "RHEL 9.3 x64", + runOn: "rhel93-small", + disabledOpenSslSharedConfig: true, + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "RHEL 8.3 x64", + runOn: "rhel83-fips", + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "RHEL 8.3 x64", + runOn: "rhel83-fips", + sharedOpenSsl: "openssl11", + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "RHEL 8.3 x64", + runOn: "rhel83-fips", + fips: true, + sharedOpenSsl: "openssl11", + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "RHEL 9.3 x64", + runOn: "rhel93-fips", + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "RHEL 9.3 x64", + runOn: "rhel93-fips", + sharedOpenSsl: "openssl3", + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "RHEL 9.3 x64", + runOn: "rhel93-fips", + fips: true, + sharedOpenSsl: "openssl3", + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "Ubuntu 18.04 x64", + runOn: "ubuntu1804-large", + executableOsId: "linux-x64", + mVersion: "6.0.x" + }, + { + displayName: "Ubuntu 20.04 x64", + runOn: "ubuntu2004-small", + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "Ubuntu 20.04 x64", + runOn: "ubuntu2004-small", + sharedOpenSsl: "openssl11", + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "Ubuntu 22.04 x64", + runOn: "ubuntu2204-small", + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "Ubuntu 22.04 x64", + runOn: "ubuntu2204-small", + sharedOpenSsl: "openssl3", + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "Ubuntu 24.04 x64", + runOn: "ubuntu2404-small", + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "Ubuntu 24.04 x64", + runOn: "ubuntu2404-small", + sharedOpenSsl: "openssl3", + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "Debian 10 x64", + runOn: "debian10-small", + executableOsId: "linux-x64", + mVersion: "6.0.x" + }, + { + displayName: "Debian 10 x64", + runOn: "debian10-small", + sharedOpenSsl: "openssl11", + executableOsId: "linux-x64", + mVersion: "6.0.x" + }, + { + displayName: "Debian 11 x64", + runOn: "debian11-small", + executableOsId: "linux-x64", + mVersion: "7.0.x" + }, + { + displayName: "Debian 11 x64", + runOn: "debian11-small", + sharedOpenSsl: "openssl11", + executableOsId: "linux-x64", + mVersion: "7.0.x" + }, + { + displayName: "Amazon Linux 2 x64", + runOn: "amazon2-large", + executableOsId: "linux-x64", + mVersion: "7.0.x" + }, + { + displayName: "Amazon Linux 2023 x64", + runOn: "amazon2023.0-small", + disabledOpenSslSharedConfig: true, + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "SLES 12 x64", + runOn: "suse12-sp5-large", + executableOsId: "linux-x64", + mVersion: "7.0.x" + }, + { + displayName: "SLES 15 x64", + runOn: "suse15sp4-small", + executableOsId: "linux-x64", + mVersion: "stable" + }, + { + displayName: "Ubuntu 18.04 arm64", + runOn: "ubuntu1804-arm64-large", + mVersion: "6.0.x" + }, + { + displayName: "Ubuntu 20.04 arm64", + runOn: "ubuntu2004-arm64-small", + mVersion: "stable" + }, + { + displayName: "Ubuntu 20.04 arm64", + runOn: "ubuntu2004-arm64-small", + sharedOpenSsl: "openssl11", + mVersion: "stable" + }, + { + displayName: "Ubuntu 22.04 arm64", + runOn: "ubuntu2204-arm64-small", + mVersion: "stable" + }, + { + displayName: "Ubuntu 22.04 arm64", + runOn: "ubuntu2204-arm64-small", + sharedOpenSsl: "openssl3", + mVersion: "stable" + }, + { + displayName: "Ubuntu 24.04 arm64", + runOn: "ubuntu2404-arm64-small", + mVersion: "stable" + }, + { + displayName: "Ubuntu 24.04 arm64", + runOn: "ubuntu2404-arm64-small", + sharedOpenSsl: "openssl3", + mVersion: "stable" + }, + { + displayName: "Amazon Linux 2 arm64", + runOn: "amazon2-arm64-large", + mVersion: "7.0.x" + }, + { + displayName: "Amazon Linux 2023 arm64", + runOn: "amazon2023.0-arm64-small", + disabledOpenSslSharedConfig: true, + mVersion: "stable" + }, + { + displayName: "RHEL 8.2 arm64", + runOn: "rhel82-arm64-small", + mVersion: "stable" + }, + { + displayName: "RHEL 9.0 arm64", + runOn: "rhel90-arm64-small", + disabledOpenSslSharedConfig: true, + mVersion: "7.0.x" + }, + { + displayName: "RHEL 9.0 arm64", + runOn: "rhel90-arm64-small", + disabledOpenSslSharedConfig: true, + sharedOpenSsl: "openssl3", + mVersion: "7.0.x" + }, + { + displayName: "RHEL 9.3 arm64", + runOn: "rhel93-arm64-small", + disabledOpenSslSharedConfig: true, + mVersion: "stable" + }, + { + displayName: "RHEL 9.3 arm64", + runOn: "rhel93-arm64-small", + disabledOpenSslSharedConfig: true, + sharedOpenSsl: "openssl3", + mVersion: "stable" + }, + { + displayName: "RHEL 8 PPC", + runOn: "rhel8-power-small", + mVersion: "stable" + }, + { + displayName: "RHEL 7 s390x", + runOn: "rhel7-zseries-large", + mVersion: "6.0.x" + }, + { + displayName: "RHEL 8 s390x", + runOn: "rhel8-zseries-small", + mVersion: "stable" + }, + { + displayName: "MacOS 14 x64", + runOn: "macos-14", + executableOsId: "darwin-x64", + mVersion: "stable" + }, + { + displayName: "MacOS 14 arm64", + runOn: "macos-14-arm64", + executableOsId: "darwin-arm64", + mVersion: "stable" + } +].map(({displayName, ...rest}) => { const {fips, sharedOpenSsl, isBuild, mVersion, runOn, executableOsId, name} = rest; - const id = (name ?? executableOsId ?? runOn).replaceAll('-', '_'); + const id = (name ?? runOn ?? executableOsId).replaceAll('-', '_'); + + const variantName = [ + isBuild ? `build` : 'e2e_tests', + id, + !id.includes('openssl') ? sharedOpenSsl : undefined, + mVersion != 'stable' ? `m${mVersion.replaceAll('.', '')}` : undefined, + fips, + ].filter(text => text).join('_'); + + const formattedDisplayName = [ + displayName, + mVersion != 'stable' ? mVersion.replaceAll('.', '') : undefined, + sharedOpenSsl, + fips ? 'FIPS' : undefined, + isBuild ? '(Build)' : '(E2E tests)' + ].filter(text => text).join(' '); + + let compileBuildVariant = RELEASE_PACKAGE_MATRIX.find((pkg) => pkg.executableOsId == executableOsId)?.compileBuildVariant; + // We have a separate build variant for win32 + if (compileBuildVariant == 'win32') compileBuildVariant = 'build_win32'; + return ({ ...rest, - name: `${isBuild ? `build` : 'e2e_tests'}_${id}${sharedOpenSsl && !id.includes('openssl') ? `_${sharedOpenSsl}` : ''}${mVersion != 'stable' ? `_${mVersion.replaceAll('.', '')}` : ''}${fips ? `_${fips}` : ''}`, - displayName: `${displayName}${mVersion != 'stable' ? ` m${mVersion.replaceAll('.', '')}` : ''}${sharedOpenSsl ? ` ${sharedOpenSsl}` : ''}${fips ? ' FIPS' : ''} (${isBuild ? 'build' : 'E2E tests'})` + displayName: formattedDisplayName, + name: variantName, + compileBuildVariant, }); }); @@ -1549,10 +1662,15 @@ tasks: ### # E2E TESTS ### - - name: e2e_tests + # Some tests reuse the same compilation build variant, so we create those variations of tasks to set those dependencies. + <% for (const compileBuildVariant of ['', 'build_linux_x64', 'darwin', 'darwin_arm64', 'build_win32']) { %> + - name: e2e_tests<% out(compileBuildVariant ? `_${compileBuildVariant}` : '') %> tags: ["e2e-test"] depends_on: - name: compile_artifact + <% if (compileBuildVariant != '') { %> + variant: <% out(compileBuildVariant) %> + <% } %> commands: - func: checkout - func: install @@ -1567,10 +1685,13 @@ tasks: mongosh_server_test_version: ${mongosh_server_test_version} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests + - name: perf_tests<% out(compileBuildVariant ? `_${compileBuildVariant}` : '') %> tags: ["perf-test"] depends_on: - name: compile_artifact + <% if (compileBuildVariant != '') { %> + variant: <% out(compileBuildVariant) %> + <% } %> commands: - func: checkout - func: install @@ -1580,7 +1701,8 @@ tasks: vars: executable_os_id: ${executable_os_id} - func: run_perf_tests - + <% } %> + ### # EXECUTABLE CONNECTIVITY TESTS ### @@ -1865,7 +1987,16 @@ buildvariants: mongosh_server_test_version: "<% out(variant.mVersion) %>-enterprise" mongosh_test_e2e_force_fips: "<% out(variant.fips ? '1' : '') %>" tasks: - <% for (const task of variant.isBuild ? ['compile_artifact'] : ['compile_artifact', 'e2e_tests', 'perf_tests']) { %> + <% + let tasks = []; + if (variant.isBuild || !variant.compileBuildVariant || variant.compileBuildVariant == variant.name) { + tasks.push('compile_artifact'); + } + if (!variant.isBuild) { + tasks.push(`e2e_tests${variant.compileBuildVariant ? `_${variant.compileBuildVariant}` : ''}`) + tasks.push(`perf_tests${variant.compileBuildVariant ? `_${variant.compileBuildVariant}` : ''}`) + } + for (const task of tasks) { %> - name: <% out(task) %> <% } %> <% } %> @@ -1876,7 +2007,7 @@ buildvariants: executable_os_id: darwin-x64 tasks: - name: compile_artifact - - name: e2e_tests_darwin_x64 + - name: e2e_tests_darwin - name: package_artifact_darwin_x64 - name: sign_artifact_darwin_x64 - name: package_artifact_darwin_arm64 @@ -1957,7 +2088,7 @@ buildvariants: expansions: executable_os_id: win32 tasks: - - name: e2e_tests_win32 + - name: e2e_tests_build_win32 - name: package_artifact_win32_x64 - name: package_artifact_win32msi_x64 - name: build_win32 @@ -2087,6 +2218,6 @@ buildvariants: display_name: "Performance Tests" run_on: rhel90-dbx-perf-large tasks: - - name: perf_tests + - name: perf_tests_build_linux_x64 expansions: executable_os_id: linux_x64 From b168637f7b59456aeec069687b973f9471e91335 Mon Sep 17 00:00:00 2001 From: gagik Date: Thu, 12 Dec 2024 14:59:37 +0100 Subject: [PATCH 07/24] Share all build variants --- .evergreen.yml | 135 ++++++++++++++++-------------------- .evergreen/evergreen.yml.in | 21 +++++- 2 files changed, 79 insertions(+), 77 deletions(-) diff --git a/.evergreen.yml b/.evergreen.yml index d74b6de35..1edc61a9a 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -8275,10 +8275,11 @@ tasks: # E2E TESTS ### # Some tests reuse the same compilation build variant, so we create those variations of tasks to set those dependencies. - - name: e2e_tests + - name: e2e_tests_build_linux_x64 tags: ["e2e-test"] depends_on: - name: compile_artifact + variant: build_linux_x64 commands: - func: checkout - func: install @@ -8293,10 +8294,11 @@ tasks: mongosh_server_test_version: ${mongosh_server_test_version} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests + - name: perf_tests_build_linux_x64 tags: ["perf-test"] depends_on: - name: compile_artifact + variant: build_linux_x64 commands: - func: checkout - func: install @@ -8306,11 +8308,11 @@ tasks: vars: executable_os_id: ${executable_os_id} - func: run_perf_tests - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_build_linux_arm64 tags: ["e2e-test"] depends_on: - name: compile_artifact - variant: build_linux_x64 + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -8325,11 +8327,11 @@ tasks: mongosh_server_test_version: ${mongosh_server_test_version} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests_build_linux_x64 + - name: perf_tests_build_linux_arm64 tags: ["perf-test"] depends_on: - name: compile_artifact - variant: build_linux_x64 + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -14820,7 +14822,7 @@ buildvariants: - name: e2e_tests_build_linux_x64 - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel93_small - display_name: "RHEL 9.3 x64 (E2E tests)" + display_name: "RHEL 9.3 x64 small (E2E tests)" run_on: rhel93-small tags: [] expansions: @@ -15110,239 +15112,222 @@ buildvariants: run_on: ubuntu1804-arm64-large tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-arm64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_arm64 + - name: perf_tests_build_linux_arm64 - name: e2e_tests_ubuntu2004_arm64_small display_name: "Ubuntu 20.04 arm64 (E2E tests)" run_on: ubuntu2004-arm64-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-arm64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_arm64 + - name: perf_tests_build_linux_arm64 - name: e2e_tests_ubuntu2004_arm64_small_openssl11 display_name: "Ubuntu 20.04 arm64 openssl11 (E2E tests)" run_on: ubuntu2004-arm64-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-arm64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_arm64 + - name: perf_tests_build_linux_arm64 - name: e2e_tests_ubuntu2204_arm64_small display_name: "Ubuntu 22.04 arm64 (E2E tests)" run_on: ubuntu2204-arm64-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-arm64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_arm64 + - name: perf_tests_build_linux_arm64 - name: e2e_tests_ubuntu2204_arm64_small_openssl3 display_name: "Ubuntu 22.04 arm64 openssl3 (E2E tests)" run_on: ubuntu2204-arm64-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-arm64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_arm64 + - name: perf_tests_build_linux_arm64 - name: e2e_tests_ubuntu2404_arm64_small display_name: "Ubuntu 24.04 arm64 (E2E tests)" run_on: ubuntu2404-arm64-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-arm64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_arm64 + - name: perf_tests_build_linux_arm64 - name: e2e_tests_ubuntu2404_arm64_small_openssl3 display_name: "Ubuntu 24.04 arm64 openssl3 (E2E tests)" run_on: ubuntu2404-arm64-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-arm64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_arm64 + - name: perf_tests_build_linux_arm64 - name: e2e_tests_amazon2_arm64_large_m70x display_name: "Amazon Linux 2 arm64 70x (E2E tests)" run_on: amazon2-arm64-large tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-arm64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_arm64 + - name: perf_tests_build_linux_arm64 - name: e2e_tests_amazon2023.0_arm64_small display_name: "Amazon Linux 2023 arm64 (E2E tests)" run_on: amazon2023.0-arm64-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-arm64" disable_openssl_shared_config_for_bundled_openssl: true node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_arm64 + - name: perf_tests_build_linux_arm64 - name: e2e_tests_rhel82_arm64_small display_name: "RHEL 8.2 arm64 (E2E tests)" run_on: rhel82-arm64-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-arm64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_arm64 + - name: perf_tests_build_linux_arm64 - name: e2e_tests_rhel90_arm64_small_m70x display_name: "RHEL 9.0 arm64 70x (E2E tests)" run_on: rhel90-arm64-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-arm64" disable_openssl_shared_config_for_bundled_openssl: true node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_arm64 + - name: perf_tests_build_linux_arm64 - name: e2e_tests_rhel90_arm64_small_openssl3_m70x display_name: "RHEL 9.0 arm64 70x openssl3 (E2E tests)" run_on: rhel90-arm64-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-arm64" disable_openssl_shared_config_for_bundled_openssl: true node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_arm64 + - name: perf_tests_build_linux_arm64 - name: e2e_tests_rhel93_arm64_small display_name: "RHEL 9.3 arm64 (E2E tests)" run_on: rhel93-arm64-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-arm64" disable_openssl_shared_config_for_bundled_openssl: true node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_arm64 + - name: perf_tests_build_linux_arm64 - name: e2e_tests_rhel93_arm64_small_openssl3 display_name: "RHEL 9.3 arm64 openssl3 (E2E tests)" run_on: rhel93-arm64-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-arm64" disable_openssl_shared_config_for_bundled_openssl: true node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_arm64 + - name: perf_tests_build_linux_arm64 - name: e2e_tests_rhel8_power_small display_name: "RHEL 8 PPC (E2E tests)" run_on: rhel8-power-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel7_zseries_large_m60x display_name: "RHEL 7 s390x 60x (E2E tests)" run_on: rhel7-zseries-large tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel8_zseries_small display_name: "RHEL 8 s390x (E2E tests)" run_on: rhel8-zseries-small tags: [] expansions: - executable_os_id: "" + executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: compile_artifact - - name: e2e_tests - - name: perf_tests + - name: e2e_tests_build_linux_x64 + - name: perf_tests_build_linux_x64 - name: e2e_tests_macos_14 display_name: "MacOS 14 x64 (E2E tests)" run_on: macos-14 diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index a57e50e85..e82453fae 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -199,7 +199,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ mVersion: "7.0.x" }, { - displayName: "RHEL 9.3 x64", + displayName: "RHEL 9.3 x64 small", runOn: "rhel93-small", disabledOpenSslSharedConfig: true, executableOsId: "linux-x64", @@ -346,61 +346,72 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "Ubuntu 18.04 arm64", runOn: "ubuntu1804-arm64-large", + executableOsId: "linux-arm64", mVersion: "6.0.x" }, { displayName: "Ubuntu 20.04 arm64", runOn: "ubuntu2004-arm64-small", + executableOsId: "linux-arm64", mVersion: "stable" }, { displayName: "Ubuntu 20.04 arm64", runOn: "ubuntu2004-arm64-small", sharedOpenSsl: "openssl11", + executableOsId: "linux-arm64", mVersion: "stable" }, { displayName: "Ubuntu 22.04 arm64", runOn: "ubuntu2204-arm64-small", + executableOsId: "linux-arm64", mVersion: "stable" }, { displayName: "Ubuntu 22.04 arm64", runOn: "ubuntu2204-arm64-small", sharedOpenSsl: "openssl3", + executableOsId: "linux-arm64", mVersion: "stable" }, { displayName: "Ubuntu 24.04 arm64", runOn: "ubuntu2404-arm64-small", + executableOsId: "linux-arm64", mVersion: "stable" }, { displayName: "Ubuntu 24.04 arm64", runOn: "ubuntu2404-arm64-small", sharedOpenSsl: "openssl3", + executableOsId: "linux-arm64", mVersion: "stable" }, { displayName: "Amazon Linux 2 arm64", runOn: "amazon2-arm64-large", + executableOsId: "linux-arm64", mVersion: "7.0.x" }, { displayName: "Amazon Linux 2023 arm64", runOn: "amazon2023.0-arm64-small", disabledOpenSslSharedConfig: true, + executableOsId: "linux-arm64", mVersion: "stable" }, { displayName: "RHEL 8.2 arm64", runOn: "rhel82-arm64-small", + executableOsId: "linux-arm64", mVersion: "stable" }, { displayName: "RHEL 9.0 arm64", runOn: "rhel90-arm64-small", disabledOpenSslSharedConfig: true, + executableOsId: "linux-arm64", mVersion: "7.0.x" }, { @@ -408,12 +419,14 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ runOn: "rhel90-arm64-small", disabledOpenSslSharedConfig: true, sharedOpenSsl: "openssl3", + executableOsId: "linux-arm64", mVersion: "7.0.x" }, { displayName: "RHEL 9.3 arm64", runOn: "rhel93-arm64-small", disabledOpenSslSharedConfig: true, + executableOsId: "linux-arm64", mVersion: "stable" }, { @@ -421,21 +434,25 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ runOn: "rhel93-arm64-small", disabledOpenSslSharedConfig: true, sharedOpenSsl: "openssl3", + executableOsId: "linux-arm64", mVersion: "stable" }, { displayName: "RHEL 8 PPC", runOn: "rhel8-power-small", + executableOsId: "linux-x64", mVersion: "stable" }, { displayName: "RHEL 7 s390x", runOn: "rhel7-zseries-large", + executableOsId: "linux-x64", mVersion: "6.0.x" }, { displayName: "RHEL 8 s390x", runOn: "rhel8-zseries-small", + executableOsId: "linux-x64", mVersion: "stable" }, { @@ -1663,7 +1680,7 @@ tasks: # E2E TESTS ### # Some tests reuse the same compilation build variant, so we create those variations of tasks to set those dependencies. - <% for (const compileBuildVariant of ['', 'build_linux_x64', 'darwin', 'darwin_arm64', 'build_win32']) { %> + <% for (const compileBuildVariant of ['build_linux_x64', 'build_linux_arm64', 'darwin', 'darwin_arm64', 'build_win32']) { %> - name: e2e_tests<% out(compileBuildVariant ? `_${compileBuildVariant}` : '') %> tags: ["e2e-test"] depends_on: From 9a878c485112bdf5c15bd110ae4d9837fbef2f0d Mon Sep 17 00:00:00 2001 From: gagik Date: Fri, 13 Dec 2024 00:58:59 +0100 Subject: [PATCH 08/24] delete redundant perf tests --- .evergreen.yml | 113 ++---------------------------------- .evergreen/evergreen.yml.in | 17 ++---- 2 files changed, 11 insertions(+), 119 deletions(-) diff --git a/.evergreen.yml b/.evergreen.yml index 1edc61a9a..dbe025495 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -8274,7 +8274,7 @@ tasks: ### # E2E TESTS ### - # Some tests reuse the same compilation build variant, so we create those variations of tasks to set those dependencies. + # Tests reuse the same compilation build variant, so we create those variations based on this. - name: e2e_tests_build_linux_x64 tags: ["e2e-test"] depends_on: @@ -8294,20 +8294,6 @@ tasks: mongosh_server_test_version: ${mongosh_server_test_version} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests_build_linux_x64 - tags: ["perf-test"] - depends_on: - - name: compile_artifact - variant: build_linux_x64 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: ${executable_os_id} - - func: run_perf_tests - name: e2e_tests_build_linux_arm64 tags: ["e2e-test"] depends_on: @@ -8327,20 +8313,6 @@ tasks: mongosh_server_test_version: ${mongosh_server_test_version} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests_build_linux_arm64 - tags: ["perf-test"] - depends_on: - - name: compile_artifact - variant: build_linux_arm64 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: ${executable_os_id} - - func: run_perf_tests - name: e2e_tests_darwin tags: ["e2e-test"] depends_on: @@ -8360,20 +8332,6 @@ tasks: mongosh_server_test_version: ${mongosh_server_test_version} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests_darwin - tags: ["perf-test"] - depends_on: - - name: compile_artifact - variant: darwin - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: ${executable_os_id} - - func: run_perf_tests - name: e2e_tests_darwin_arm64 tags: ["e2e-test"] depends_on: @@ -8393,20 +8351,6 @@ tasks: mongosh_server_test_version: ${mongosh_server_test_version} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests_darwin_arm64 - tags: ["perf-test"] - depends_on: - - name: compile_artifact - variant: darwin_arm64 - commands: - - func: checkout - - func: install - vars: - node_js_version: "20.18.1" - - func: download_compiled_artifact - vars: - executable_os_id: ${executable_os_id} - - func: run_perf_tests - name: e2e_tests_build_win32 tags: ["e2e-test"] depends_on: @@ -8426,11 +8370,11 @@ tasks: mongosh_server_test_version: ${mongosh_server_test_version} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests_build_win32 + - name: perf_tests tags: ["perf-test"] depends_on: - name: compile_artifact - variant: build_win32 + variant: build_linux_x64 commands: - func: checkout - func: install @@ -8438,7 +8382,7 @@ tasks: node_js_version: "20.18.1" - func: download_compiled_artifact vars: - executable_os_id: ${executable_os_id} + executable_os_id: "linux-x64" - func: run_perf_tests ### @@ -14781,7 +14725,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel76_large_m70x display_name: "RHEL 7.6 x64 70x (E2E tests)" run_on: rhel76-large @@ -14794,7 +14737,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel80_small display_name: "RHEL 8.0 x64 (E2E tests)" run_on: rhel80-small @@ -14807,7 +14749,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel90_small_m70x display_name: "RHEL 9.0 x64 70x (E2E tests)" run_on: rhel90-small @@ -14820,7 +14761,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel93_small display_name: "RHEL 9.3 x64 small (E2E tests)" run_on: rhel93-small @@ -14833,7 +14773,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel83_fips display_name: "RHEL 8.3 x64 (E2E tests)" run_on: rhel83-fips @@ -14846,7 +14785,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel83_fips_openssl11 display_name: "RHEL 8.3 x64 openssl11 (E2E tests)" run_on: rhel83-fips @@ -14859,7 +14797,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel83_fips_openssl11_true display_name: "RHEL 8.3 x64 openssl11 FIPS (E2E tests)" run_on: rhel83-fips @@ -14872,7 +14809,6 @@ buildvariants: mongosh_test_e2e_force_fips: "1" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel93_fips display_name: "RHEL 9.3 x64 (E2E tests)" run_on: rhel93-fips @@ -14885,7 +14821,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel93_fips_openssl3 display_name: "RHEL 9.3 x64 openssl3 (E2E tests)" run_on: rhel93-fips @@ -14898,7 +14833,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel93_fips_openssl3_true display_name: "RHEL 9.3 x64 openssl3 FIPS (E2E tests)" run_on: rhel93-fips @@ -14911,7 +14845,6 @@ buildvariants: mongosh_test_e2e_force_fips: "1" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_ubuntu1804_large_m60x display_name: "Ubuntu 18.04 x64 60x (E2E tests)" run_on: ubuntu1804-large @@ -14924,7 +14857,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_ubuntu2004_small display_name: "Ubuntu 20.04 x64 (E2E tests)" run_on: ubuntu2004-small @@ -14937,7 +14869,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_ubuntu2004_small_openssl11 display_name: "Ubuntu 20.04 x64 openssl11 (E2E tests)" run_on: ubuntu2004-small @@ -14950,7 +14881,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_ubuntu2204_small display_name: "Ubuntu 22.04 x64 (E2E tests)" run_on: ubuntu2204-small @@ -14963,7 +14893,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_ubuntu2204_small_openssl3 display_name: "Ubuntu 22.04 x64 openssl3 (E2E tests)" run_on: ubuntu2204-small @@ -14976,7 +14905,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_ubuntu2404_small display_name: "Ubuntu 24.04 x64 (E2E tests)" run_on: ubuntu2404-small @@ -14989,7 +14917,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_ubuntu2404_small_openssl3 display_name: "Ubuntu 24.04 x64 openssl3 (E2E tests)" run_on: ubuntu2404-small @@ -15002,7 +14929,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_debian10_small_m60x display_name: "Debian 10 x64 60x (E2E tests)" run_on: debian10-small @@ -15015,7 +14941,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_debian10_small_openssl11_m60x display_name: "Debian 10 x64 60x openssl11 (E2E tests)" run_on: debian10-small @@ -15028,7 +14953,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_debian11_small_m70x display_name: "Debian 11 x64 70x (E2E tests)" run_on: debian11-small @@ -15041,7 +14965,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_debian11_small_openssl11_m70x display_name: "Debian 11 x64 70x openssl11 (E2E tests)" run_on: debian11-small @@ -15054,7 +14977,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_amazon2_large_m70x display_name: "Amazon Linux 2 x64 70x (E2E tests)" run_on: amazon2-large @@ -15067,7 +14989,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_amazon2023.0_small display_name: "Amazon Linux 2023 x64 (E2E tests)" run_on: amazon2023.0-small @@ -15080,7 +15001,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_suse12_sp5_large_m70x display_name: "SLES 12 x64 70x (E2E tests)" run_on: suse12-sp5-large @@ -15093,7 +15013,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_suse15sp4_small display_name: "SLES 15 x64 (E2E tests)" run_on: suse15sp4-small @@ -15106,7 +15025,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_ubuntu1804_arm64_large_m60x display_name: "Ubuntu 18.04 arm64 60x (E2E tests)" run_on: ubuntu1804-arm64-large @@ -15119,7 +15037,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_arm64 - - name: perf_tests_build_linux_arm64 - name: e2e_tests_ubuntu2004_arm64_small display_name: "Ubuntu 20.04 arm64 (E2E tests)" run_on: ubuntu2004-arm64-small @@ -15132,7 +15049,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_arm64 - - name: perf_tests_build_linux_arm64 - name: e2e_tests_ubuntu2004_arm64_small_openssl11 display_name: "Ubuntu 20.04 arm64 openssl11 (E2E tests)" run_on: ubuntu2004-arm64-small @@ -15145,7 +15061,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_arm64 - - name: perf_tests_build_linux_arm64 - name: e2e_tests_ubuntu2204_arm64_small display_name: "Ubuntu 22.04 arm64 (E2E tests)" run_on: ubuntu2204-arm64-small @@ -15158,7 +15073,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_arm64 - - name: perf_tests_build_linux_arm64 - name: e2e_tests_ubuntu2204_arm64_small_openssl3 display_name: "Ubuntu 22.04 arm64 openssl3 (E2E tests)" run_on: ubuntu2204-arm64-small @@ -15171,7 +15085,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_arm64 - - name: perf_tests_build_linux_arm64 - name: e2e_tests_ubuntu2404_arm64_small display_name: "Ubuntu 24.04 arm64 (E2E tests)" run_on: ubuntu2404-arm64-small @@ -15184,7 +15097,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_arm64 - - name: perf_tests_build_linux_arm64 - name: e2e_tests_ubuntu2404_arm64_small_openssl3 display_name: "Ubuntu 24.04 arm64 openssl3 (E2E tests)" run_on: ubuntu2404-arm64-small @@ -15197,7 +15109,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_arm64 - - name: perf_tests_build_linux_arm64 - name: e2e_tests_amazon2_arm64_large_m70x display_name: "Amazon Linux 2 arm64 70x (E2E tests)" run_on: amazon2-arm64-large @@ -15210,7 +15121,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_arm64 - - name: perf_tests_build_linux_arm64 - name: e2e_tests_amazon2023.0_arm64_small display_name: "Amazon Linux 2023 arm64 (E2E tests)" run_on: amazon2023.0-arm64-small @@ -15223,7 +15133,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_arm64 - - name: perf_tests_build_linux_arm64 - name: e2e_tests_rhel82_arm64_small display_name: "RHEL 8.2 arm64 (E2E tests)" run_on: rhel82-arm64-small @@ -15236,7 +15145,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_arm64 - - name: perf_tests_build_linux_arm64 - name: e2e_tests_rhel90_arm64_small_m70x display_name: "RHEL 9.0 arm64 70x (E2E tests)" run_on: rhel90-arm64-small @@ -15249,7 +15157,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_arm64 - - name: perf_tests_build_linux_arm64 - name: e2e_tests_rhel90_arm64_small_openssl3_m70x display_name: "RHEL 9.0 arm64 70x openssl3 (E2E tests)" run_on: rhel90-arm64-small @@ -15262,7 +15169,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_arm64 - - name: perf_tests_build_linux_arm64 - name: e2e_tests_rhel93_arm64_small display_name: "RHEL 9.3 arm64 (E2E tests)" run_on: rhel93-arm64-small @@ -15275,7 +15181,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_arm64 - - name: perf_tests_build_linux_arm64 - name: e2e_tests_rhel93_arm64_small_openssl3 display_name: "RHEL 9.3 arm64 openssl3 (E2E tests)" run_on: rhel93-arm64-small @@ -15288,7 +15193,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_arm64 - - name: perf_tests_build_linux_arm64 - name: e2e_tests_rhel8_power_small display_name: "RHEL 8 PPC (E2E tests)" run_on: rhel8-power-small @@ -15301,7 +15205,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel7_zseries_large_m60x display_name: "RHEL 7 s390x 60x (E2E tests)" run_on: rhel7-zseries-large @@ -15314,7 +15217,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_rhel8_zseries_small display_name: "RHEL 8 s390x (E2E tests)" run_on: rhel8-zseries-small @@ -15327,7 +15229,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_build_linux_x64 - - name: perf_tests_build_linux_x64 - name: e2e_tests_macos_14 display_name: "MacOS 14 x64 (E2E tests)" run_on: macos-14 @@ -15340,7 +15241,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_darwin - - name: perf_tests_darwin - name: e2e_tests_macos_14_arm64 display_name: "MacOS 14 arm64 (E2E tests)" run_on: macos-14-arm64 @@ -15353,7 +15253,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_darwin_arm64 - - name: perf_tests_darwin_arm64 - name: darwin display_name: "MacOS Big Sur" run_on: macos-11 @@ -15709,6 +15608,4 @@ buildvariants: display_name: "Performance Tests" run_on: rhel90-dbx-perf-large tasks: - - name: perf_tests_build_linux_x64 - expansions: - executable_os_id: linux_x64 + - name: perf_tests diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index e82453fae..7028d6c77 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -1679,7 +1679,7 @@ tasks: ### # E2E TESTS ### - # Some tests reuse the same compilation build variant, so we create those variations of tasks to set those dependencies. + # Tests reuse the same compilation build variant, so we create those variations based on this. <% for (const compileBuildVariant of ['build_linux_x64', 'build_linux_arm64', 'darwin', 'darwin_arm64', 'build_win32']) { %> - name: e2e_tests<% out(compileBuildVariant ? `_${compileBuildVariant}` : '') %> tags: ["e2e-test"] @@ -1702,13 +1702,12 @@ tasks: mongosh_server_test_version: ${mongosh_server_test_version} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: perf_tests<% out(compileBuildVariant ? `_${compileBuildVariant}` : '') %> + <% } %> + - name: perf_tests tags: ["perf-test"] depends_on: - name: compile_artifact - <% if (compileBuildVariant != '') { %> - variant: <% out(compileBuildVariant) %> - <% } %> + variant: build_linux_x64 commands: - func: checkout - func: install @@ -1716,9 +1715,8 @@ tasks: node_js_version: "<% out(NODE_JS_VERSION_20) %>" - func: download_compiled_artifact vars: - executable_os_id: ${executable_os_id} + executable_os_id: "linux-x64" - func: run_perf_tests - <% } %> ### # EXECUTABLE CONNECTIVITY TESTS @@ -2011,7 +2009,6 @@ buildvariants: } if (!variant.isBuild) { tasks.push(`e2e_tests${variant.compileBuildVariant ? `_${variant.compileBuildVariant}` : ''}`) - tasks.push(`perf_tests${variant.compileBuildVariant ? `_${variant.compileBuildVariant}` : ''}`) } for (const task of tasks) { %> - name: <% out(task) %> @@ -2235,6 +2232,4 @@ buildvariants: display_name: "Performance Tests" run_on: rhel90-dbx-perf-large tasks: - - name: perf_tests_build_linux_x64 - expansions: - executable_os_id: linux_x64 + - name: perf_tests From aa0e4d4e31448c2868df0656fb3ca33b583edb57 Mon Sep 17 00:00:00 2001 From: gagik Date: Fri, 13 Dec 2024 01:04:47 +0100 Subject: [PATCH 09/24] remove build from e2e variant names --- .evergreen.yml | 94 ++++++++++++++++++------------------- .evergreen/evergreen.yml.in | 6 +-- 2 files changed, 50 insertions(+), 50 deletions(-) diff --git a/.evergreen.yml b/.evergreen.yml index dbe025495..39b2158f1 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -8275,7 +8275,7 @@ tasks: # E2E TESTS ### # Tests reuse the same compilation build variant, so we create those variations based on this. - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 tags: ["e2e-test"] depends_on: - name: compile_artifact @@ -8294,7 +8294,7 @@ tasks: mongosh_server_test_version: ${mongosh_server_test_version} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_build_linux_arm64 + - name: e2e_tests_linux_arm64 tags: ["e2e-test"] depends_on: - name: compile_artifact @@ -8351,7 +8351,7 @@ tasks: mongosh_server_test_version: ${mongosh_server_test_version} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - - name: e2e_tests_build_win32 + - name: e2e_tests_win32 tags: ["e2e-test"] depends_on: - name: compile_artifact @@ -14724,7 +14724,7 @@ buildvariants: mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_rhel76_large_m70x display_name: "RHEL 7.6 x64 70x (E2E tests)" run_on: rhel76-large @@ -14736,7 +14736,7 @@ buildvariants: mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_rhel80_small display_name: "RHEL 8.0 x64 (E2E tests)" run_on: rhel80-small @@ -14748,7 +14748,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_rhel90_small_m70x display_name: "RHEL 9.0 x64 70x (E2E tests)" run_on: rhel90-small @@ -14760,7 +14760,7 @@ buildvariants: mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_rhel93_small display_name: "RHEL 9.3 x64 small (E2E tests)" run_on: rhel93-small @@ -14772,7 +14772,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_rhel83_fips display_name: "RHEL 8.3 x64 (E2E tests)" run_on: rhel83-fips @@ -14784,7 +14784,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_rhel83_fips_openssl11 display_name: "RHEL 8.3 x64 openssl11 (E2E tests)" run_on: rhel83-fips @@ -14796,7 +14796,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_rhel83_fips_openssl11_true display_name: "RHEL 8.3 x64 openssl11 FIPS (E2E tests)" run_on: rhel83-fips @@ -14808,7 +14808,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "1" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_rhel93_fips display_name: "RHEL 9.3 x64 (E2E tests)" run_on: rhel93-fips @@ -14820,7 +14820,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_rhel93_fips_openssl3 display_name: "RHEL 9.3 x64 openssl3 (E2E tests)" run_on: rhel93-fips @@ -14832,7 +14832,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_rhel93_fips_openssl3_true display_name: "RHEL 9.3 x64 openssl3 FIPS (E2E tests)" run_on: rhel93-fips @@ -14844,7 +14844,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "1" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_ubuntu1804_large_m60x display_name: "Ubuntu 18.04 x64 60x (E2E tests)" run_on: ubuntu1804-large @@ -14856,7 +14856,7 @@ buildvariants: mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_ubuntu2004_small display_name: "Ubuntu 20.04 x64 (E2E tests)" run_on: ubuntu2004-small @@ -14868,7 +14868,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_ubuntu2004_small_openssl11 display_name: "Ubuntu 20.04 x64 openssl11 (E2E tests)" run_on: ubuntu2004-small @@ -14880,7 +14880,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_ubuntu2204_small display_name: "Ubuntu 22.04 x64 (E2E tests)" run_on: ubuntu2204-small @@ -14892,7 +14892,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_ubuntu2204_small_openssl3 display_name: "Ubuntu 22.04 x64 openssl3 (E2E tests)" run_on: ubuntu2204-small @@ -14904,7 +14904,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_ubuntu2404_small display_name: "Ubuntu 24.04 x64 (E2E tests)" run_on: ubuntu2404-small @@ -14916,7 +14916,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_ubuntu2404_small_openssl3 display_name: "Ubuntu 24.04 x64 openssl3 (E2E tests)" run_on: ubuntu2404-small @@ -14928,7 +14928,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_debian10_small_m60x display_name: "Debian 10 x64 60x (E2E tests)" run_on: debian10-small @@ -14940,7 +14940,7 @@ buildvariants: mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_debian10_small_openssl11_m60x display_name: "Debian 10 x64 60x openssl11 (E2E tests)" run_on: debian10-small @@ -14952,7 +14952,7 @@ buildvariants: mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_debian11_small_m70x display_name: "Debian 11 x64 70x (E2E tests)" run_on: debian11-small @@ -14964,7 +14964,7 @@ buildvariants: mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_debian11_small_openssl11_m70x display_name: "Debian 11 x64 70x openssl11 (E2E tests)" run_on: debian11-small @@ -14976,7 +14976,7 @@ buildvariants: mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_amazon2_large_m70x display_name: "Amazon Linux 2 x64 70x (E2E tests)" run_on: amazon2-large @@ -14988,7 +14988,7 @@ buildvariants: mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_amazon2023.0_small display_name: "Amazon Linux 2023 x64 (E2E tests)" run_on: amazon2023.0-small @@ -15000,7 +15000,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_suse12_sp5_large_m70x display_name: "SLES 12 x64 70x (E2E tests)" run_on: suse12-sp5-large @@ -15012,7 +15012,7 @@ buildvariants: mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_suse15sp4_small display_name: "SLES 15 x64 (E2E tests)" run_on: suse15sp4-small @@ -15024,7 +15024,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_ubuntu1804_arm64_large_m60x display_name: "Ubuntu 18.04 arm64 60x (E2E tests)" run_on: ubuntu1804-arm64-large @@ -15036,7 +15036,7 @@ buildvariants: mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_arm64 + - name: e2e_tests_linux_arm64 - name: e2e_tests_ubuntu2004_arm64_small display_name: "Ubuntu 20.04 arm64 (E2E tests)" run_on: ubuntu2004-arm64-small @@ -15048,7 +15048,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_arm64 + - name: e2e_tests_linux_arm64 - name: e2e_tests_ubuntu2004_arm64_small_openssl11 display_name: "Ubuntu 20.04 arm64 openssl11 (E2E tests)" run_on: ubuntu2004-arm64-small @@ -15060,7 +15060,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_arm64 + - name: e2e_tests_linux_arm64 - name: e2e_tests_ubuntu2204_arm64_small display_name: "Ubuntu 22.04 arm64 (E2E tests)" run_on: ubuntu2204-arm64-small @@ -15072,7 +15072,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_arm64 + - name: e2e_tests_linux_arm64 - name: e2e_tests_ubuntu2204_arm64_small_openssl3 display_name: "Ubuntu 22.04 arm64 openssl3 (E2E tests)" run_on: ubuntu2204-arm64-small @@ -15084,7 +15084,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_arm64 + - name: e2e_tests_linux_arm64 - name: e2e_tests_ubuntu2404_arm64_small display_name: "Ubuntu 24.04 arm64 (E2E tests)" run_on: ubuntu2404-arm64-small @@ -15096,7 +15096,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_arm64 + - name: e2e_tests_linux_arm64 - name: e2e_tests_ubuntu2404_arm64_small_openssl3 display_name: "Ubuntu 24.04 arm64 openssl3 (E2E tests)" run_on: ubuntu2404-arm64-small @@ -15108,7 +15108,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_arm64 + - name: e2e_tests_linux_arm64 - name: e2e_tests_amazon2_arm64_large_m70x display_name: "Amazon Linux 2 arm64 70x (E2E tests)" run_on: amazon2-arm64-large @@ -15120,7 +15120,7 @@ buildvariants: mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_arm64 + - name: e2e_tests_linux_arm64 - name: e2e_tests_amazon2023.0_arm64_small display_name: "Amazon Linux 2023 arm64 (E2E tests)" run_on: amazon2023.0-arm64-small @@ -15132,7 +15132,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_arm64 + - name: e2e_tests_linux_arm64 - name: e2e_tests_rhel82_arm64_small display_name: "RHEL 8.2 arm64 (E2E tests)" run_on: rhel82-arm64-small @@ -15144,7 +15144,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_arm64 + - name: e2e_tests_linux_arm64 - name: e2e_tests_rhel90_arm64_small_m70x display_name: "RHEL 9.0 arm64 70x (E2E tests)" run_on: rhel90-arm64-small @@ -15156,7 +15156,7 @@ buildvariants: mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_arm64 + - name: e2e_tests_linux_arm64 - name: e2e_tests_rhel90_arm64_small_openssl3_m70x display_name: "RHEL 9.0 arm64 70x openssl3 (E2E tests)" run_on: rhel90-arm64-small @@ -15168,7 +15168,7 @@ buildvariants: mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_arm64 + - name: e2e_tests_linux_arm64 - name: e2e_tests_rhel93_arm64_small display_name: "RHEL 9.3 arm64 (E2E tests)" run_on: rhel93-arm64-small @@ -15180,7 +15180,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_arm64 + - name: e2e_tests_linux_arm64 - name: e2e_tests_rhel93_arm64_small_openssl3 display_name: "RHEL 9.3 arm64 openssl3 (E2E tests)" run_on: rhel93-arm64-small @@ -15192,7 +15192,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_arm64 + - name: e2e_tests_linux_arm64 - name: e2e_tests_rhel8_power_small display_name: "RHEL 8 PPC (E2E tests)" run_on: rhel8-power-small @@ -15204,7 +15204,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_rhel7_zseries_large_m60x display_name: "RHEL 7 s390x 60x (E2E tests)" run_on: rhel7-zseries-large @@ -15216,7 +15216,7 @@ buildvariants: mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_rhel8_zseries_small display_name: "RHEL 8 s390x (E2E tests)" run_on: rhel8-zseries-small @@ -15228,7 +15228,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_build_linux_x64 + - name: e2e_tests_linux_x64 - name: e2e_tests_macos_14 display_name: "MacOS 14 x64 (E2E tests)" run_on: macos-14 @@ -15409,7 +15409,7 @@ buildvariants: expansions: executable_os_id: win32 tasks: - - name: e2e_tests_build_win32 + - name: e2e_tests_win32 - name: package_artifact_win32_x64 - name: package_artifact_win32msi_x64 - name: build_win32 diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index 7028d6c77..fefeffd86 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -1681,7 +1681,7 @@ tasks: ### # Tests reuse the same compilation build variant, so we create those variations based on this. <% for (const compileBuildVariant of ['build_linux_x64', 'build_linux_arm64', 'darwin', 'darwin_arm64', 'build_win32']) { %> - - name: e2e_tests<% out(compileBuildVariant ? `_${compileBuildVariant}` : '') %> + - name: e2e_tests<% out(compileBuildVariant ? `_${compileBuildVariant.replace('build_', '')}` : '') %> tags: ["e2e-test"] depends_on: - name: compile_artifact @@ -2008,7 +2008,7 @@ buildvariants: tasks.push('compile_artifact'); } if (!variant.isBuild) { - tasks.push(`e2e_tests${variant.compileBuildVariant ? `_${variant.compileBuildVariant}` : ''}`) + tasks.push(`e2e_tests${variant.compileBuildVariant ? `_${variant.compileBuildVariant.replace('build_', '')}` : ''}`) } for (const task of tasks) { %> - name: <% out(task) %> @@ -2102,7 +2102,7 @@ buildvariants: expansions: executable_os_id: win32 tasks: - - name: e2e_tests_build_win32 + - name: e2e_tests_win32 - name: package_artifact_win32_x64 - name: package_artifact_win32msi_x64 - name: build_win32 From 0deb77179fd22b5bc47471b747cd8f95562c4c83 Mon Sep 17 00:00:00 2001 From: gagik Date: Fri, 13 Dec 2024 01:15:39 +0100 Subject: [PATCH 10/24] add tags --- .evergreen.yml | 76 +++++++++++++-------------- .evergreen/evergreen.yml.in | 100 +++++++++++++++++++++++++++++++++++- 2 files changed, 136 insertions(+), 40 deletions(-) diff --git a/.evergreen.yml b/.evergreen.yml index 39b2158f1..b10a3eaf5 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -8276,7 +8276,7 @@ tasks: ### # Tests reuse the same compilation build variant, so we create those variations based on this. - name: e2e_tests_linux_x64 - tags: ["e2e-test"] + tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] depends_on: - name: compile_artifact variant: build_linux_x64 @@ -8295,7 +8295,7 @@ tasks: mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - name: e2e_tests_linux_arm64 - tags: ["e2e-test"] + tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] depends_on: - name: compile_artifact variant: build_linux_arm64 @@ -8314,7 +8314,7 @@ tasks: mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - name: e2e_tests_darwin - tags: ["e2e-test"] + tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] depends_on: - name: compile_artifact variant: darwin @@ -8333,7 +8333,7 @@ tasks: mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - name: e2e_tests_darwin_arm64 - tags: ["e2e-test"] + tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] depends_on: - name: compile_artifact variant: darwin_arm64 @@ -8352,7 +8352,7 @@ tasks: mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - name: e2e_tests_win32 - tags: ["e2e-test"] + tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] depends_on: - name: compile_artifact variant: build_win32 @@ -14584,7 +14584,7 @@ buildvariants: - name: build_linux_x64 display_name: "RHEL 7.0 x64 (Build)" run_on: rhel70-build - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14596,7 +14596,7 @@ buildvariants: - name: build_linux_x64_rhel8 display_name: "RHEL 8.0 x64 (Build)" run_on: rhel80-build - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14608,7 +14608,7 @@ buildvariants: - name: build_linux_x64_openssl11 display_name: "RHEL 7.0 x64 openssl11 (Build)" run_on: rhel70-build - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64-openssl11" disable_openssl_shared_config_for_bundled_openssl: false @@ -14620,7 +14620,7 @@ buildvariants: - name: build_linux_x64_openssl11_rhel8 display_name: "RHEL 8.0 x64 openssl11 (Build)" run_on: rhel80-build - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64-openssl11" disable_openssl_shared_config_for_bundled_openssl: false @@ -14632,7 +14632,7 @@ buildvariants: - name: build_linux_x64_openssl3 display_name: "RHEL 7.0 x64 openssl3 (Build)" run_on: rhel70-build - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64-openssl3" disable_openssl_shared_config_for_bundled_openssl: false @@ -14644,7 +14644,7 @@ buildvariants: - name: build_linux_x64_openssl3_rhel8 display_name: "RHEL 8.0 x64 openssl3 (Build)" run_on: rhel80-build - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64-openssl3" disable_openssl_shared_config_for_bundled_openssl: false @@ -14716,7 +14716,7 @@ buildvariants: - name: e2e_tests_rhel70_large_m70x display_name: "RHEL 7.0 x64 70x (E2E tests)" run_on: rhel70-large - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14728,7 +14728,7 @@ buildvariants: - name: e2e_tests_rhel76_large_m70x display_name: "RHEL 7.6 x64 70x (E2E tests)" run_on: rhel76-large - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14740,7 +14740,7 @@ buildvariants: - name: e2e_tests_rhel80_small display_name: "RHEL 8.0 x64 (E2E tests)" run_on: rhel80-small - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14752,7 +14752,7 @@ buildvariants: - name: e2e_tests_rhel90_small_m70x display_name: "RHEL 9.0 x64 70x (E2E tests)" run_on: rhel90-small - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: true @@ -14762,9 +14762,9 @@ buildvariants: tasks: - name: e2e_tests_linux_x64 - name: e2e_tests_rhel93_small - display_name: "RHEL 9.3 x64 small (E2E tests)" + display_name: "RHEL 9.3 x64 (E2E tests)" run_on: rhel93-small - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: true @@ -14776,7 +14776,7 @@ buildvariants: - name: e2e_tests_rhel83_fips display_name: "RHEL 8.3 x64 (E2E tests)" run_on: rhel83-fips - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14788,7 +14788,7 @@ buildvariants: - name: e2e_tests_rhel83_fips_openssl11 display_name: "RHEL 8.3 x64 openssl11 (E2E tests)" run_on: rhel83-fips - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14800,7 +14800,7 @@ buildvariants: - name: e2e_tests_rhel83_fips_openssl11_true display_name: "RHEL 8.3 x64 openssl11 FIPS (E2E tests)" run_on: rhel83-fips - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14812,7 +14812,7 @@ buildvariants: - name: e2e_tests_rhel93_fips display_name: "RHEL 9.3 x64 (E2E tests)" run_on: rhel93-fips - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14824,7 +14824,7 @@ buildvariants: - name: e2e_tests_rhel93_fips_openssl3 display_name: "RHEL 9.3 x64 openssl3 (E2E tests)" run_on: rhel93-fips - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14836,7 +14836,7 @@ buildvariants: - name: e2e_tests_rhel93_fips_openssl3_true display_name: "RHEL 9.3 x64 openssl3 FIPS (E2E tests)" run_on: rhel93-fips - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14848,7 +14848,7 @@ buildvariants: - name: e2e_tests_ubuntu1804_large_m60x display_name: "Ubuntu 18.04 x64 60x (E2E tests)" run_on: ubuntu1804-large - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14860,7 +14860,7 @@ buildvariants: - name: e2e_tests_ubuntu2004_small display_name: "Ubuntu 20.04 x64 (E2E tests)" run_on: ubuntu2004-small - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14872,7 +14872,7 @@ buildvariants: - name: e2e_tests_ubuntu2004_small_openssl11 display_name: "Ubuntu 20.04 x64 openssl11 (E2E tests)" run_on: ubuntu2004-small - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14884,7 +14884,7 @@ buildvariants: - name: e2e_tests_ubuntu2204_small display_name: "Ubuntu 22.04 x64 (E2E tests)" run_on: ubuntu2204-small - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14896,7 +14896,7 @@ buildvariants: - name: e2e_tests_ubuntu2204_small_openssl3 display_name: "Ubuntu 22.04 x64 openssl3 (E2E tests)" run_on: ubuntu2204-small - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14908,7 +14908,7 @@ buildvariants: - name: e2e_tests_ubuntu2404_small display_name: "Ubuntu 24.04 x64 (E2E tests)" run_on: ubuntu2404-small - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14920,7 +14920,7 @@ buildvariants: - name: e2e_tests_ubuntu2404_small_openssl3 display_name: "Ubuntu 24.04 x64 openssl3 (E2E tests)" run_on: ubuntu2404-small - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14932,7 +14932,7 @@ buildvariants: - name: e2e_tests_debian10_small_m60x display_name: "Debian 10 x64 60x (E2E tests)" run_on: debian10-small - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14944,7 +14944,7 @@ buildvariants: - name: e2e_tests_debian10_small_openssl11_m60x display_name: "Debian 10 x64 60x openssl11 (E2E tests)" run_on: debian10-small - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14956,7 +14956,7 @@ buildvariants: - name: e2e_tests_debian11_small_m70x display_name: "Debian 11 x64 70x (E2E tests)" run_on: debian11-small - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14968,7 +14968,7 @@ buildvariants: - name: e2e_tests_debian11_small_openssl11_m70x display_name: "Debian 11 x64 70x openssl11 (E2E tests)" run_on: debian11-small - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14980,7 +14980,7 @@ buildvariants: - name: e2e_tests_amazon2_large_m70x display_name: "Amazon Linux 2 x64 70x (E2E tests)" run_on: amazon2-large - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -14992,7 +14992,7 @@ buildvariants: - name: e2e_tests_amazon2023.0_small display_name: "Amazon Linux 2023 x64 (E2E tests)" run_on: amazon2023.0-small - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: true @@ -15004,7 +15004,7 @@ buildvariants: - name: e2e_tests_suse12_sp5_large_m70x display_name: "SLES 12 x64 70x (E2E tests)" run_on: suse12-sp5-large - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false @@ -15016,7 +15016,7 @@ buildvariants: - name: e2e_tests_suse15sp4_small display_name: "SLES 15 x64 (E2E tests)" run_on: suse15sp4-small - tags: [] + tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" disable_openssl_shared_config_for_bundled_openssl: false diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index fefeffd86..b1ac509de 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -82,6 +82,9 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "RHEL 7.0 x64", runOn: "rhel70-build", + tags: [ + "nightly-driver" + ], isBuild: true, name: "linux_x64", executableOsId: "linux-x64", @@ -90,6 +93,9 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "RHEL 8.0 x64", runOn: "rhel80-build", + tags: [ + "nightly-driver" + ], isBuild: true, name: "linux_x64_rhel8", executableOsId: "linux-x64", @@ -98,6 +104,9 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "RHEL 7.0 x64", runOn: "rhel70-build", + tags: [ + "nightly-driver" + ], isBuild: true, name: "linux_x64_openssl11", executableOsId: "linux-x64-openssl11", @@ -107,6 +116,9 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "RHEL 8.0 x64", runOn: "rhel80-build", + tags: [ + "nightly-driver" + ], isBuild: true, name: "linux_x64_openssl11_rhel8", executableOsId: "linux-x64-openssl11", @@ -116,6 +128,9 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "RHEL 7.0 x64", runOn: "rhel70-build", + tags: [ + "nightly-driver" + ], isBuild: true, name: "linux_x64_openssl3", executableOsId: "linux-x64-openssl3", @@ -125,6 +140,9 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "RHEL 8.0 x64", runOn: "rhel80-build", + tags: [ + "nightly-driver" + ], isBuild: true, name: "linux_x64_openssl3_rhel8", executableOsId: "linux-x64-openssl3", @@ -176,31 +194,46 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "RHEL 7.0 x64", runOn: "rhel70-large", + tags: [ + "nightly-driver" + ], executableOsId: "linux-x64", mVersion: "7.0.x" }, { displayName: "RHEL 7.6 x64", runOn: "rhel76-large", + tags: [ + "nightly-driver" + ], executableOsId: "linux-x64", mVersion: "7.0.x" }, { displayName: "RHEL 8.0 x64", runOn: "rhel80-small", + tags: [ + "nightly-driver" + ], executableOsId: "linux-x64", mVersion: "stable" }, { displayName: "RHEL 9.0 x64", runOn: "rhel90-small", + tags: [ + "nightly-driver" + ], disabledOpenSslSharedConfig: true, executableOsId: "linux-x64", mVersion: "7.0.x" }, { - displayName: "RHEL 9.3 x64 small", + displayName: "RHEL 9.3 x64", runOn: "rhel93-small", + tags: [ + "nightly-driver" + ], disabledOpenSslSharedConfig: true, executableOsId: "linux-x64", mVersion: "stable" @@ -208,12 +241,18 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "RHEL 8.3 x64", runOn: "rhel83-fips", + tags: [ + "nightly-driver" + ], executableOsId: "linux-x64", mVersion: "stable" }, { displayName: "RHEL 8.3 x64", runOn: "rhel83-fips", + tags: [ + "nightly-driver" + ], sharedOpenSsl: "openssl11", executableOsId: "linux-x64", mVersion: "stable" @@ -221,6 +260,9 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "RHEL 8.3 x64", runOn: "rhel83-fips", + tags: [ + "nightly-driver" + ], fips: true, sharedOpenSsl: "openssl11", executableOsId: "linux-x64", @@ -229,12 +271,18 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "RHEL 9.3 x64", runOn: "rhel93-fips", + tags: [ + "nightly-driver" + ], executableOsId: "linux-x64", mVersion: "stable" }, { displayName: "RHEL 9.3 x64", runOn: "rhel93-fips", + tags: [ + "nightly-driver" + ], sharedOpenSsl: "openssl3", executableOsId: "linux-x64", mVersion: "stable" @@ -242,6 +290,9 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "RHEL 9.3 x64", runOn: "rhel93-fips", + tags: [ + "nightly-driver" + ], fips: true, sharedOpenSsl: "openssl3", executableOsId: "linux-x64", @@ -250,18 +301,27 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "Ubuntu 18.04 x64", runOn: "ubuntu1804-large", + tags: [ + "nightly-driver" + ], executableOsId: "linux-x64", mVersion: "6.0.x" }, { displayName: "Ubuntu 20.04 x64", runOn: "ubuntu2004-small", + tags: [ + "nightly-driver" + ], executableOsId: "linux-x64", mVersion: "stable" }, { displayName: "Ubuntu 20.04 x64", runOn: "ubuntu2004-small", + tags: [ + "nightly-driver" + ], sharedOpenSsl: "openssl11", executableOsId: "linux-x64", mVersion: "stable" @@ -269,12 +329,18 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "Ubuntu 22.04 x64", runOn: "ubuntu2204-small", + tags: [ + "nightly-driver" + ], executableOsId: "linux-x64", mVersion: "stable" }, { displayName: "Ubuntu 22.04 x64", runOn: "ubuntu2204-small", + tags: [ + "nightly-driver" + ], sharedOpenSsl: "openssl3", executableOsId: "linux-x64", mVersion: "stable" @@ -282,12 +348,18 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "Ubuntu 24.04 x64", runOn: "ubuntu2404-small", + tags: [ + "nightly-driver" + ], executableOsId: "linux-x64", mVersion: "stable" }, { displayName: "Ubuntu 24.04 x64", runOn: "ubuntu2404-small", + tags: [ + "nightly-driver" + ], sharedOpenSsl: "openssl3", executableOsId: "linux-x64", mVersion: "stable" @@ -295,12 +367,18 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "Debian 10 x64", runOn: "debian10-small", + tags: [ + "nightly-driver" + ], executableOsId: "linux-x64", mVersion: "6.0.x" }, { displayName: "Debian 10 x64", runOn: "debian10-small", + tags: [ + "nightly-driver" + ], sharedOpenSsl: "openssl11", executableOsId: "linux-x64", mVersion: "6.0.x" @@ -308,12 +386,18 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "Debian 11 x64", runOn: "debian11-small", + tags: [ + "nightly-driver" + ], executableOsId: "linux-x64", mVersion: "7.0.x" }, { displayName: "Debian 11 x64", runOn: "debian11-small", + tags: [ + "nightly-driver" + ], sharedOpenSsl: "openssl11", executableOsId: "linux-x64", mVersion: "7.0.x" @@ -321,12 +405,18 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "Amazon Linux 2 x64", runOn: "amazon2-large", + tags: [ + "nightly-driver" + ], executableOsId: "linux-x64", mVersion: "7.0.x" }, { displayName: "Amazon Linux 2023 x64", runOn: "amazon2023.0-small", + tags: [ + "nightly-driver" + ], disabledOpenSslSharedConfig: true, executableOsId: "linux-x64", mVersion: "stable" @@ -334,12 +424,18 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "SLES 12 x64", runOn: "suse12-sp5-large", + tags: [ + "nightly-driver" + ], executableOsId: "linux-x64", mVersion: "7.0.x" }, { displayName: "SLES 15 x64", runOn: "suse15sp4-small", + tags: [ + "nightly-driver" + ], executableOsId: "linux-x64", mVersion: "stable" }, @@ -1682,7 +1778,7 @@ tasks: # Tests reuse the same compilation build variant, so we create those variations based on this. <% for (const compileBuildVariant of ['build_linux_x64', 'build_linux_arm64', 'darwin', 'darwin_arm64', 'build_win32']) { %> - name: e2e_tests<% out(compileBuildVariant ? `_${compileBuildVariant.replace('build_', '')}` : '') %> - tags: ["e2e-test"] + tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] depends_on: - name: compile_artifact <% if (compileBuildVariant != '') { %> From e394c308b2e423d62a51b0990fd5a3ac122275f1 Mon Sep 17 00:00:00 2001 From: gagik Date: Mon, 16 Dec 2024 13:26:40 +0100 Subject: [PATCH 11/24] fix openssl versioning --- .evergreen.yml | 56 ++++++++++++++++++------------------- .evergreen/evergreen.yml.in | 46 +++++++++++++++--------------- 2 files changed, 51 insertions(+), 51 deletions(-) diff --git a/.evergreen.yml b/.evergreen.yml index 45b661bb4..a839a8226 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -14779,25 +14779,25 @@ buildvariants: run_on: rhel83-fips tags: ["nightly-driver"] expansions: - executable_os_id: "linux-x64" + executable_os_id: "linux-x64-openssl11" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_x64_openssl11 - name: e2e_tests_rhel83_fips_openssl11_true display_name: "RHEL 8.3 x64 openssl11 FIPS (E2E tests)" run_on: rhel83-fips tags: ["nightly-driver"] expansions: - executable_os_id: "linux-x64" + executable_os_id: "linux-x64-openssl11" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "1" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_x64_openssl11 - name: e2e_tests_rhel93_fips display_name: "RHEL 9.3 x64 (E2E tests)" run_on: rhel93-fips @@ -14815,25 +14815,25 @@ buildvariants: run_on: rhel93-fips tags: ["nightly-driver"] expansions: - executable_os_id: "linux-x64" + executable_os_id: "linux-x64-openssl3" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_x64_openssl3 - name: e2e_tests_rhel93_fips_openssl3_true display_name: "RHEL 9.3 x64 openssl3 FIPS (E2E tests)" run_on: rhel93-fips tags: ["nightly-driver"] expansions: - executable_os_id: "linux-x64" + executable_os_id: "linux-x64-openssl3" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "1" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_x64_openssl3 - name: e2e_tests_ubuntu1804_large_m60x display_name: "Ubuntu 18.04 x64 60x (E2E tests)" run_on: ubuntu1804-large @@ -14863,13 +14863,13 @@ buildvariants: run_on: ubuntu2004-small tags: ["nightly-driver"] expansions: - executable_os_id: "linux-x64" + executable_os_id: "linux-x64-openssl11" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_x64_openssl11 - name: e2e_tests_ubuntu2204_small display_name: "Ubuntu 22.04 x64 (E2E tests)" run_on: ubuntu2204-small @@ -14887,13 +14887,13 @@ buildvariants: run_on: ubuntu2204-small tags: ["nightly-driver"] expansions: - executable_os_id: "linux-x64" + executable_os_id: "linux-x64-openssl3" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_x64_openssl3 - name: e2e_tests_ubuntu2404_small display_name: "Ubuntu 24.04 x64 (E2E tests)" run_on: ubuntu2404-small @@ -14911,13 +14911,13 @@ buildvariants: run_on: ubuntu2404-small tags: ["nightly-driver"] expansions: - executable_os_id: "linux-x64" + executable_os_id: "linux-x64-openssl3" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_x64_openssl3 - name: e2e_tests_debian10_small_m60x display_name: "Debian 10 x64 60x (E2E tests)" run_on: debian10-small @@ -14935,13 +14935,13 @@ buildvariants: run_on: debian10-small tags: ["nightly-driver"] expansions: - executable_os_id: "linux-x64" + executable_os_id: "linux-x64-openssl11" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_x64_openssl11 - name: e2e_tests_debian11_small_m70x display_name: "Debian 11 x64 70x (E2E tests)" run_on: debian11-small @@ -14959,13 +14959,13 @@ buildvariants: run_on: debian11-small tags: ["nightly-driver"] expansions: - executable_os_id: "linux-x64" + executable_os_id: "linux-x64-openssl11" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_x64_openssl11 - name: e2e_tests_amazon2_large_m70x display_name: "Amazon Linux 2 x64 70x (E2E tests)" run_on: amazon2-large @@ -15043,13 +15043,13 @@ buildvariants: run_on: ubuntu2004-arm64-small tags: [] expansions: - executable_os_id: "linux-arm64" + executable_os_id: "linux-arm64-openssl11" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_arm64 + - name: e2e_tests_linux_arm64_openssl11 - name: e2e_tests_ubuntu2204_arm64_small display_name: "Ubuntu 22.04 arm64 (E2E tests)" run_on: ubuntu2204-arm64-small @@ -15067,13 +15067,13 @@ buildvariants: run_on: ubuntu2204-arm64-small tags: [] expansions: - executable_os_id: "linux-arm64" + executable_os_id: "linux-arm64-openssl3" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_arm64 + - name: e2e_tests_linux_arm64_openssl3 - name: e2e_tests_ubuntu2404_arm64_small display_name: "Ubuntu 24.04 arm64 (E2E tests)" run_on: ubuntu2404-arm64-small @@ -15091,13 +15091,13 @@ buildvariants: run_on: ubuntu2404-arm64-small tags: [] expansions: - executable_os_id: "linux-arm64" + executable_os_id: "linux-arm64-openssl3" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_arm64 + - name: e2e_tests_linux_arm64_openssl3 - name: e2e_tests_amazon2_arm64_large_m70x display_name: "Amazon Linux 2 arm64 70x (E2E tests)" run_on: amazon2-arm64-large @@ -15151,13 +15151,13 @@ buildvariants: run_on: rhel90-arm64-small tags: [] expansions: - executable_os_id: "linux-arm64" + executable_os_id: "linux-arm64-openssl3" disable_openssl_shared_config_for_bundled_openssl: true node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_arm64 + - name: e2e_tests_linux_arm64_openssl3 - name: e2e_tests_rhel93_arm64_small display_name: "RHEL 9.3 arm64 (E2E tests)" run_on: rhel93-arm64-small @@ -15175,13 +15175,13 @@ buildvariants: run_on: rhel93-arm64-small tags: [] expansions: - executable_os_id: "linux-arm64" + executable_os_id: "linux-arm64-openssl3" disable_openssl_shared_config_for_bundled_openssl: true node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_arm64 + - name: e2e_tests_linux_arm64_openssl3 - name: e2e_tests_rhel8_power_small display_name: "RHEL 8 PPC (E2E tests)" run_on: rhel8-power-small diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index b0bf5160d..e85188fc6 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -224,7 +224,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ tags: [ "nightly-driver" ], - disabledOpenSslSharedConfig: true, + disableOpenSslSharedConfig: true, executableOsId: "linux-x64", mVersion: "7.0.x" }, @@ -234,7 +234,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ tags: [ "nightly-driver" ], - disabledOpenSslSharedConfig: true, + disableOpenSslSharedConfig: true, executableOsId: "linux-x64", mVersion: "stable" }, @@ -254,7 +254,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ "nightly-driver" ], sharedOpenSsl: "openssl11", - executableOsId: "linux-x64", + executableOsId: "linux-x64-openssl11", mVersion: "stable" }, { @@ -265,7 +265,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ ], fips: true, sharedOpenSsl: "openssl11", - executableOsId: "linux-x64", + executableOsId: "linux-x64-openssl11", mVersion: "stable" }, { @@ -284,7 +284,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ "nightly-driver" ], sharedOpenSsl: "openssl3", - executableOsId: "linux-x64", + executableOsId: "linux-x64-openssl3", mVersion: "stable" }, { @@ -295,7 +295,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ ], fips: true, sharedOpenSsl: "openssl3", - executableOsId: "linux-x64", + executableOsId: "linux-x64-openssl3", mVersion: "stable" }, { @@ -323,7 +323,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ "nightly-driver" ], sharedOpenSsl: "openssl11", - executableOsId: "linux-x64", + executableOsId: "linux-x64-openssl11", mVersion: "stable" }, { @@ -342,7 +342,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ "nightly-driver" ], sharedOpenSsl: "openssl3", - executableOsId: "linux-x64", + executableOsId: "linux-x64-openssl3", mVersion: "stable" }, { @@ -361,7 +361,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ "nightly-driver" ], sharedOpenSsl: "openssl3", - executableOsId: "linux-x64", + executableOsId: "linux-x64-openssl3", mVersion: "stable" }, { @@ -380,7 +380,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ "nightly-driver" ], sharedOpenSsl: "openssl11", - executableOsId: "linux-x64", + executableOsId: "linux-x64-openssl11", mVersion: "6.0.x" }, { @@ -399,7 +399,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ "nightly-driver" ], sharedOpenSsl: "openssl11", - executableOsId: "linux-x64", + executableOsId: "linux-x64-openssl11", mVersion: "7.0.x" }, { @@ -417,7 +417,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ tags: [ "nightly-driver" ], - disabledOpenSslSharedConfig: true, + disableOpenSslSharedConfig: true, executableOsId: "linux-x64", mVersion: "stable" }, @@ -455,7 +455,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ displayName: "Ubuntu 20.04 arm64", runOn: "ubuntu2004-arm64-small", sharedOpenSsl: "openssl11", - executableOsId: "linux-arm64", + executableOsId: "linux-arm64-openssl11", mVersion: "stable" }, { @@ -468,7 +468,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ displayName: "Ubuntu 22.04 arm64", runOn: "ubuntu2204-arm64-small", sharedOpenSsl: "openssl3", - executableOsId: "linux-arm64", + executableOsId: "linux-arm64-openssl3", mVersion: "stable" }, { @@ -481,7 +481,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ displayName: "Ubuntu 24.04 arm64", runOn: "ubuntu2404-arm64-small", sharedOpenSsl: "openssl3", - executableOsId: "linux-arm64", + executableOsId: "linux-arm64-openssl3", mVersion: "stable" }, { @@ -493,7 +493,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "Amazon Linux 2023 arm64", runOn: "amazon2023.0-arm64-small", - disabledOpenSslSharedConfig: true, + disableOpenSslSharedConfig: true, executableOsId: "linux-arm64", mVersion: "stable" }, @@ -506,31 +506,31 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "RHEL 9.0 arm64", runOn: "rhel90-arm64-small", - disabledOpenSslSharedConfig: true, + disableOpenSslSharedConfig: true, executableOsId: "linux-arm64", mVersion: "7.0.x" }, { displayName: "RHEL 9.0 arm64", runOn: "rhel90-arm64-small", - disabledOpenSslSharedConfig: true, + disableOpenSslSharedConfig: true, sharedOpenSsl: "openssl3", - executableOsId: "linux-arm64", + executableOsId: "linux-arm64-openssl3", mVersion: "7.0.x" }, { displayName: "RHEL 9.3 arm64", runOn: "rhel93-arm64-small", - disabledOpenSslSharedConfig: true, + disableOpenSslSharedConfig: true, executableOsId: "linux-arm64", mVersion: "stable" }, { displayName: "RHEL 9.3 arm64", runOn: "rhel93-arm64-small", - disabledOpenSslSharedConfig: true, + disableOpenSslSharedConfig: true, sharedOpenSsl: "openssl3", - executableOsId: "linux-arm64", + executableOsId: "linux-arm64-openssl3", mVersion: "stable" }, { @@ -2082,7 +2082,7 @@ buildvariants: tags: <% out([...(variant.tags ?? [])]) %> expansions: executable_os_id: "<% out(variant.executableOsId || '') %>" - disable_openssl_shared_config_for_bundled_openssl: <% out(variant.disabledOpenSslSharedConfig || false) %> + disable_openssl_shared_config_for_bundled_openssl: <% out(variant.disableOpenSslSharedConfig || false) %> node_js_version: "<% out(NODE_JS_VERSION_20) %>" mongosh_server_test_version: "<% out(variant.mVersion) %>-enterprise" mongosh_test_e2e_force_fips: "<% out(variant.fips ? '1' : '') %>" From 947c47a976200fe5bc9b8c374e2b38a878dc61f0 Mon Sep 17 00:00:00 2001 From: gagik Date: Mon, 16 Dec 2024 13:37:58 +0100 Subject: [PATCH 12/24] remove from evergreen build variant --- .evergreen.yml | 78 ++++++++++++++++---------------- .evergreen/evergreen.yml.in | 6 +-- config/release-package-matrix.js | 8 ++-- 3 files changed, 46 insertions(+), 46 deletions(-) diff --git a/.evergreen.yml b/.evergreen.yml index a839a8226..acaed4abe 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -8476,7 +8476,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_x64_openssl11 + variant: build_linux_x64 commands: - func: checkout - func: install @@ -8495,7 +8495,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_x64_openssl11 + variant: build_linux_x64 commands: - func: checkout - func: install @@ -8514,7 +8514,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_x64_openssl3 + variant: build_linux_x64 commands: - func: checkout - func: install @@ -8533,7 +8533,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_x64_openssl3 + variant: build_linux_x64 commands: - func: checkout - func: install @@ -8552,7 +8552,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_x64_openssl3 + variant: build_linux_x64 commands: - func: checkout - func: install @@ -8666,7 +8666,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_arm64_openssl11 + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -8685,7 +8685,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_arm64_openssl11 + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -8704,7 +8704,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_arm64_openssl3 + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -8723,7 +8723,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_arm64_openssl3 + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -8742,7 +8742,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_arm64_openssl3 + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -9180,7 +9180,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_x64_openssl11 + variant: build_linux_x64 commands: - func: checkout - func: install @@ -9263,7 +9263,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_x64_openssl11 + variant: build_linux_x64 commands: - func: checkout - func: install @@ -9346,7 +9346,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_x64_openssl11 + variant: build_linux_x64 commands: - func: checkout - func: install @@ -9429,7 +9429,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_x64_openssl3 + variant: build_linux_x64 commands: - func: checkout - func: install @@ -9512,7 +9512,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_x64_openssl3 + variant: build_linux_x64 commands: - func: checkout - func: install @@ -9595,7 +9595,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_x64_openssl3 + variant: build_linux_x64 commands: - func: checkout - func: install @@ -9927,7 +9927,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_arm64_openssl11 + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -10010,7 +10010,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_arm64_openssl11 + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -10093,7 +10093,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_arm64_openssl11 + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -10176,7 +10176,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_arm64_openssl3 + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -10259,7 +10259,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_arm64_openssl3 + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -10342,7 +10342,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_arm64_openssl3 + variant: build_linux_arm64 commands: - func: checkout - func: install @@ -14623,7 +14623,7 @@ buildvariants: run_on: rhel70-build tags: ["nightly-driver"] expansions: - executable_os_id: "linux-x64-openssl3" + executable_os_id: "linux-x64-openssl3-openssl3" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" @@ -14635,7 +14635,7 @@ buildvariants: run_on: rhel80-build tags: ["nightly-driver"] expansions: - executable_os_id: "linux-x64-openssl3" + executable_os_id: "linux-x64-openssl3-openssl3" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" @@ -14671,7 +14671,7 @@ buildvariants: run_on: amazon2-arm64-large tags: [] expansions: - executable_os_id: "linux-arm64-openssl3" + executable_os_id: "linux-arm64-openssl3-openssl3" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" @@ -14785,7 +14785,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_x64_openssl11 + - name: e2e_tests_linux_x64 - name: e2e_tests_rhel83_fips_openssl11_true display_name: "RHEL 8.3 x64 openssl11 FIPS (E2E tests)" run_on: rhel83-fips @@ -14797,7 +14797,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "1" tasks: - - name: e2e_tests_linux_x64_openssl11 + - name: e2e_tests_linux_x64 - name: e2e_tests_rhel93_fips display_name: "RHEL 9.3 x64 (E2E tests)" run_on: rhel93-fips @@ -14821,7 +14821,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_x64_openssl3 + - name: e2e_tests_linux_x64 - name: e2e_tests_rhel93_fips_openssl3_true display_name: "RHEL 9.3 x64 openssl3 FIPS (E2E tests)" run_on: rhel93-fips @@ -14833,7 +14833,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "1" tasks: - - name: e2e_tests_linux_x64_openssl3 + - name: e2e_tests_linux_x64 - name: e2e_tests_ubuntu1804_large_m60x display_name: "Ubuntu 18.04 x64 60x (E2E tests)" run_on: ubuntu1804-large @@ -14869,7 +14869,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_x64_openssl11 + - name: e2e_tests_linux_x64 - name: e2e_tests_ubuntu2204_small display_name: "Ubuntu 22.04 x64 (E2E tests)" run_on: ubuntu2204-small @@ -14893,7 +14893,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_x64_openssl3 + - name: e2e_tests_linux_x64 - name: e2e_tests_ubuntu2404_small display_name: "Ubuntu 24.04 x64 (E2E tests)" run_on: ubuntu2404-small @@ -14917,7 +14917,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_x64_openssl3 + - name: e2e_tests_linux_x64 - name: e2e_tests_debian10_small_m60x display_name: "Debian 10 x64 60x (E2E tests)" run_on: debian10-small @@ -14941,7 +14941,7 @@ buildvariants: mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_x64_openssl11 + - name: e2e_tests_linux_x64 - name: e2e_tests_debian11_small_m70x display_name: "Debian 11 x64 70x (E2E tests)" run_on: debian11-small @@ -14965,7 +14965,7 @@ buildvariants: mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_x64_openssl11 + - name: e2e_tests_linux_x64 - name: e2e_tests_amazon2_large_m70x display_name: "Amazon Linux 2 x64 70x (E2E tests)" run_on: amazon2-large @@ -15049,7 +15049,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_arm64_openssl11 + - name: e2e_tests_linux_arm64 - name: e2e_tests_ubuntu2204_arm64_small display_name: "Ubuntu 22.04 arm64 (E2E tests)" run_on: ubuntu2204-arm64-small @@ -15073,7 +15073,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_arm64_openssl3 + - name: e2e_tests_linux_arm64 - name: e2e_tests_ubuntu2404_arm64_small display_name: "Ubuntu 24.04 arm64 (E2E tests)" run_on: ubuntu2404-arm64-small @@ -15097,7 +15097,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_arm64_openssl3 + - name: e2e_tests_linux_arm64 - name: e2e_tests_amazon2_arm64_large_m70x display_name: "Amazon Linux 2 arm64 70x (E2E tests)" run_on: amazon2-arm64-large @@ -15157,7 +15157,7 @@ buildvariants: mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_arm64_openssl3 + - name: e2e_tests_linux_arm64 - name: e2e_tests_rhel93_arm64_small display_name: "RHEL 9.3 arm64 (E2E tests)" run_on: rhel93-arm64-small @@ -15181,7 +15181,7 @@ buildvariants: mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_arm64_openssl3 + - name: e2e_tests_linux_arm64 - name: e2e_tests_rhel8_power_small display_name: "RHEL 8 PPC (E2E tests)" run_on: rhel8-power-small diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index e85188fc6..e625d5a89 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -133,7 +133,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ ], isBuild: true, name: "linux_x64_openssl3", - executableOsId: "linux-x64-openssl3", + executableOsId: "linux-x64-openssl3-openssl3", sharedOpenSsl: "openssl3", mVersion: "stable" }, @@ -145,7 +145,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ ], isBuild: true, name: "linux_x64_openssl3_rhel8", - executableOsId: "linux-x64-openssl3", + executableOsId: "linux-x64-openssl3-openssl3", sharedOpenSsl: "openssl3", mVersion: "stable" }, @@ -171,7 +171,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ runOn: "amazon2-arm64-large", isBuild: true, name: "linux_arm64_openssl3", - executableOsId: "linux-arm64-openssl3", + executableOsId: "linux-arm64-openssl3-openssl3", sharedOpenSsl: "openssl3", mVersion: "stable" }, diff --git a/config/release-package-matrix.js b/config/release-package-matrix.js index a222b0880..71671cf3e 100644 --- a/config/release-package-matrix.js +++ b/config/release-package-matrix.js @@ -135,7 +135,7 @@ exports.RELEASE_PACKAGE_MATRIX = [ }, { executableOsId: 'linux-x64-openssl11', - compileBuildVariant: 'build_linux_x64_openssl11', + compileBuildVariant: 'build_linux_x64', kerberosConnectivityTestDockerfiles: [...krbConnTestsOpenSSL11], packages: [ { @@ -178,7 +178,7 @@ exports.RELEASE_PACKAGE_MATRIX = [ }, { executableOsId: 'linux-x64-openssl3', - compileBuildVariant: 'build_linux_x64_openssl3', + compileBuildVariant: 'build_linux_x64', kerberosConnectivityTestDockerfiles: [...krbConnTestsOpenSSL3], packages: [ { @@ -273,7 +273,7 @@ exports.RELEASE_PACKAGE_MATRIX = [ }, { executableOsId: 'linux-arm64-openssl11', - compileBuildVariant: 'build_linux_arm64_openssl11', + compileBuildVariant: 'build_linux_arm64', kerberosConnectivityTestDockerfiles: [...krbConnTestsOpenSSL11], packages: [ { @@ -315,7 +315,7 @@ exports.RELEASE_PACKAGE_MATRIX = [ }, { executableOsId: 'linux-arm64-openssl3', - compileBuildVariant: 'build_linux_arm64_openssl3', + compileBuildVariant: 'build_linux_arm64', kerberosConnectivityTestDockerfiles: [...krbConnTestsOpenSSL3], packages: [ { From 21085394771e8c0829e600d3ce1446d6090364a4 Mon Sep 17 00:00:00 2001 From: gagik Date: Mon, 16 Dec 2024 13:38:50 +0100 Subject: [PATCH 13/24] remove double openssl --- .evergreen.yml | 6 +++--- .evergreen/evergreen.yml.in | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.evergreen.yml b/.evergreen.yml index acaed4abe..6fdaf6ab6 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -14623,7 +14623,7 @@ buildvariants: run_on: rhel70-build tags: ["nightly-driver"] expansions: - executable_os_id: "linux-x64-openssl3-openssl3" + executable_os_id: "linux-x64-openssl3" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" @@ -14635,7 +14635,7 @@ buildvariants: run_on: rhel80-build tags: ["nightly-driver"] expansions: - executable_os_id: "linux-x64-openssl3-openssl3" + executable_os_id: "linux-x64-openssl3" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" @@ -14671,7 +14671,7 @@ buildvariants: run_on: amazon2-arm64-large tags: [] expansions: - executable_os_id: "linux-arm64-openssl3-openssl3" + executable_os_id: "linux-arm64-openssl3" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index e625d5a89..e85188fc6 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -133,7 +133,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ ], isBuild: true, name: "linux_x64_openssl3", - executableOsId: "linux-x64-openssl3-openssl3", + executableOsId: "linux-x64-openssl3", sharedOpenSsl: "openssl3", mVersion: "stable" }, @@ -145,7 +145,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ ], isBuild: true, name: "linux_x64_openssl3_rhel8", - executableOsId: "linux-x64-openssl3-openssl3", + executableOsId: "linux-x64-openssl3", sharedOpenSsl: "openssl3", mVersion: "stable" }, @@ -171,7 +171,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ runOn: "amazon2-arm64-large", isBuild: true, name: "linux_arm64_openssl3", - executableOsId: "linux-arm64-openssl3-openssl3", + executableOsId: "linux-arm64-openssl3", sharedOpenSsl: "openssl3", mVersion: "stable" }, From 0fa58f957bbf12e9a798f01c581ea74e02b50047 Mon Sep 17 00:00:00 2001 From: gagik Date: Mon, 16 Dec 2024 16:12:48 +0100 Subject: [PATCH 14/24] add default values for manually typed variants --- .evergreen.yml | 12 ++++++++++++ .evergreen/evergreen.yml.in | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/.evergreen.yml b/.evergreen.yml index 6fdaf6ab6..a8a6da60c 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -15247,6 +15247,9 @@ buildvariants: run_on: macos-11 expansions: executable_os_id: darwin-x64 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - name: e2e_tests_darwin @@ -15259,6 +15262,9 @@ buildvariants: run_on: macos-11-arm64 expansions: executable_os_id: darwin-arm64 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - name: e2e_tests_darwin_arm64 @@ -15396,6 +15402,9 @@ buildvariants: run_on: windows-vsCurrent-small expansions: executable_os_id: win32 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_win32 - name: package_artifact_win32_x64 @@ -15405,6 +15414,9 @@ buildvariants: run_on: windows-vsCurrent-large expansions: executable_os_id: win32 + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index e85188fc6..a933b2d9e 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -2104,6 +2104,9 @@ buildvariants: run_on: macos-11 expansions: executable_os_id: darwin-x64 + node_js_version: "<% out(NODE_JS_VERSION_20) %>" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - name: e2e_tests_darwin @@ -2116,6 +2119,9 @@ buildvariants: run_on: macos-11-arm64 expansions: executable_os_id: darwin-arm64 + node_js_version: "<% out(NODE_JS_VERSION_20) %>" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - name: e2e_tests_darwin_arm64 @@ -2185,6 +2191,9 @@ buildvariants: run_on: windows-vsCurrent-small expansions: executable_os_id: win32 + node_js_version: "<% out(NODE_JS_VERSION_20) %>" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_win32 - name: package_artifact_win32_x64 @@ -2194,6 +2203,9 @@ buildvariants: run_on: windows-vsCurrent-large expansions: executable_os_id: win32 + node_js_version: "<% out(NODE_JS_VERSION_20) %>" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact From c6548c7f7abc6c9b5f08cb367d18428c78a5872b Mon Sep 17 00:00:00 2001 From: gagik Date: Mon, 16 Dec 2024 17:17:44 +0100 Subject: [PATCH 15/24] move everything to the array --- .evergreen.yml | 100 +++++++++++++--------- .evergreen/evergreen.yml.in | 137 ++++++++++++++++--------------- config/release-package-matrix.js | 4 +- 3 files changed, 131 insertions(+), 110 deletions(-) diff --git a/.evergreen.yml b/.evergreen.yml index a8a6da60c..884118a6b 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -8306,7 +8306,7 @@ tasks: tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] depends_on: - name: compile_artifact - variant: darwin + variant: build_darwin commands: - func: checkout - func: install @@ -8325,7 +8325,7 @@ tasks: tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] depends_on: - name: compile_artifact - variant: darwin_arm64 + variant: build_darwin_arm64 commands: - func: checkout - func: install @@ -8765,7 +8765,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: darwin + variant: build_darwin commands: - func: checkout - func: install @@ -8848,7 +8848,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: darwin_arm64 + variant: build_darwin_arm64 commands: - func: checkout - func: install @@ -14594,7 +14594,7 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - - name: build_linux_x64_openssl11 + - name: build_linux_x64_openssl11_openssl11 display_name: "RHEL 7.0 x64 openssl11 (Build)" run_on: rhel70-build tags: ["nightly-driver"] @@ -14606,7 +14606,7 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - - name: build_linux_x64_openssl11_rhel8 + - name: build_linux_x64_openssl11_rhel8_openssl11 display_name: "RHEL 8.0 x64 openssl11 (Build)" run_on: rhel80-build tags: ["nightly-driver"] @@ -14618,7 +14618,7 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - - name: build_linux_x64_openssl3 + - name: build_linux_x64_openssl3_openssl3 display_name: "RHEL 7.0 x64 openssl3 (Build)" run_on: rhel70-build tags: ["nightly-driver"] @@ -14630,7 +14630,7 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - - name: build_linux_x64_openssl3_rhel8 + - name: build_linux_x64_openssl3_rhel8_openssl3 display_name: "RHEL 8.0 x64 openssl3 (Build)" run_on: rhel80-build tags: ["nightly-driver"] @@ -14654,7 +14654,7 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - - name: build_linux_arm64_openssl11 + - name: build_linux_arm64_openssl11_openssl11 display_name: "Amazon 2 arm64 openssl11 (Build)" run_on: amazon2-arm64-large tags: [] @@ -14666,7 +14666,7 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - - name: build_linux_arm64_openssl3 + - name: build_linux_arm64_openssl3_openssl3 display_name: "Amazon 2 arm64 openssl3 (Build)" run_on: amazon2-arm64-large tags: [] @@ -15242,32 +15242,72 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_darwin_arm64 - - name: darwin - display_name: "MacOS Big Sur" + - name: build_darwin + display_name: "MacOS Big Sur (Build)" run_on: macos-11 + tags: [] expansions: - executable_os_id: darwin-x64 + executable_os_id: "darwin-x64" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - - name: e2e_tests_darwin + - name: build_darwin_arm64 + display_name: "MacOS Big Sur arm64 (Build)" + run_on: macos-11-arm64 + tags: [] + expansions: + executable_os_id: "darwin-x64" + disable_openssl_shared_config_for_bundled_openssl: false + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: compile_artifact + - name: e2e_tests_darwin_arm64 + display_name: "MacOS Big Sur arm64 (E2E tests)" + run_on: macos-11-arm64 + tags: [] + expansions: + executable_os_id: "darwin-arm64" + disable_openssl_shared_config_for_bundled_openssl: false + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests_darwin_arm64 - name: package_artifact_darwin_x64 - name: sign_artifact_darwin_x64 - name: package_artifact_darwin_arm64 - name: sign_artifact_darwin_arm64 - - name: darwin_arm64 - display_name: "MacOS Big Sur (arm64)" - run_on: macos-11-arm64 + - name: build_win32 + display_name: "Windows VS 2022 (Build)" + run_on: windows-vsCurrent-large + tags: [] expansions: - executable_os_id: darwin-arm64 + executable_os_id: "win32" + disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - - name: e2e_tests_darwin_arm64 + - name: e2e_tests_windows_vsCurrent_small + display_name: "Windows VS 2022 (E2E tests)" + run_on: windows-vsCurrent-small + tags: [] + expansions: + executable_os_id: "win32" + disable_openssl_shared_config_for_bundled_openssl: false + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests_win32 + - name: package_artifact_win32_x64 + - name: package_artifact_win32msi_x64 - name: linux_compile display_name: "Ubuntu 20.04 x64 (Compile and Check)" @@ -15397,28 +15437,6 @@ buildvariants: tasks: - name: verify_artifact_darwin_arm64 - name: verify_artifact_darwin_x64 - - name: win32 - display_name: "Windows VS 2022" - run_on: windows-vsCurrent-small - expansions: - executable_os_id: win32 - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - tasks: - - name: e2e_tests_win32 - - name: package_artifact_win32_x64 - - name: package_artifact_win32msi_x64 - - name: build_win32 - display_name: "Windows VS 2022 (build)" - run_on: windows-vsCurrent-large - expansions: - executable_os_id: win32 - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - tasks: - - name: compile_artifact - name: pkg_smoke_tests_docker_x64 display_name: "package smoke (x64 Docker)" diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index a933b2d9e..618f05717 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -85,7 +85,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ tags: [ "nightly-driver" ], - isBuild: true, + isBuildOnly: true, name: "linux_x64", executableOsId: "linux-x64", mVersion: "stable" @@ -96,7 +96,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ tags: [ "nightly-driver" ], - isBuild: true, + isBuildOnly: true, name: "linux_x64_rhel8", executableOsId: "linux-x64", mVersion: "stable" @@ -107,7 +107,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ tags: [ "nightly-driver" ], - isBuild: true, + isBuildOnly: true, name: "linux_x64_openssl11", executableOsId: "linux-x64-openssl11", sharedOpenSsl: "openssl11", @@ -119,7 +119,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ tags: [ "nightly-driver" ], - isBuild: true, + isBuildOnly: true, name: "linux_x64_openssl11_rhel8", executableOsId: "linux-x64-openssl11", sharedOpenSsl: "openssl11", @@ -131,7 +131,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ tags: [ "nightly-driver" ], - isBuild: true, + isBuildOnly: true, name: "linux_x64_openssl3", executableOsId: "linux-x64-openssl3", sharedOpenSsl: "openssl3", @@ -143,7 +143,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ tags: [ "nightly-driver" ], - isBuild: true, + isBuildOnly: true, name: "linux_x64_openssl3_rhel8", executableOsId: "linux-x64-openssl3", sharedOpenSsl: "openssl3", @@ -152,7 +152,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "Amazon 2 arm64", runOn: "amazon2-arm64-large", - isBuild: true, + isBuildOnly: true, name: "linux_arm64", executableOsId: "linux-arm64", mVersion: "stable" @@ -160,7 +160,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "Amazon 2 arm64", runOn: "amazon2-arm64-large", - isBuild: true, + isBuildOnly: true, name: "linux_arm64_openssl11", executableOsId: "linux-arm64-openssl11", sharedOpenSsl: "openssl11", @@ -169,7 +169,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "Amazon 2 arm64", runOn: "amazon2-arm64-large", - isBuild: true, + isBuildOnly: true, name: "linux_arm64_openssl3", executableOsId: "linux-arm64-openssl3", sharedOpenSsl: "openssl3", @@ -178,7 +178,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "RHEL 8 PPC", runOn: "rhel8-power-small", - isBuild: true, + isBuildOnly: true, name: "linux_ppc64le", executableOsId: "linux-ppc64le", mVersion: "stable" @@ -186,7 +186,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ { displayName: "RHEL 7 s390x", runOn: "rhel7-zseries-large", - isBuild: true, + isBuildOnly: true, name: "linux_s390x", executableOsId: "linux-s390x", mVersion: "stable" @@ -562,15 +562,62 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ runOn: "macos-14-arm64", executableOsId: "darwin-arm64", mVersion: "stable" - } + }, + { + isBuildOnly: true, + displayName: "MacOS Big Sur", + name: "darwin", + runOn: "macos-11", + executableOsId: "darwin-x64", + mVersion: "stable", + }, + { + isBuildOnly: true, + displayName: "MacOS Big Sur arm64", + runOn: "macos-11-arm64", + name: "darwin_arm64", + executableOsId: "darwin-x64", + mVersion: "stable", + }, + { + displayName: "MacOS Big Sur arm64", + runOn: "macos-11-arm64", + name: "darwin_arm64", + executableOsId: "darwin-arm64", + mVersion: "stable", + additionalTasks: [ + "package_artifact_darwin_x64", + "sign_artifact_darwin_x64", + "package_artifact_darwin_arm64", + "sign_artifact_darwin_arm64" + ] + }, + { + isBuildOnly: true, + name: "win32", + displayName: "Windows VS 2022", + runOn: "windows-vsCurrent-large", + executableOsId: "win32", + mVersion: "stable", + }, + { + displayName: "Windows VS 2022", + runOn: "windows-vsCurrent-small", + executableOsId: "win32", + mVersion: "stable", + additionalTasks: [ + "package_artifact_win32_x64", + "package_artifact_win32msi_x64", + ] + }, ].map(({displayName, ...rest}) => { - const {fips, sharedOpenSsl, isBuild, mVersion, runOn, executableOsId, name} = rest; + const {fips, sharedOpenSsl, isBuildOnly, mVersion, runOn, executableOsId, name} = rest; const id = (name ?? runOn ?? executableOsId).replaceAll('-', '_'); const variantName = [ - isBuild ? `build` : 'e2e_tests', + isBuildOnly ? `build` : 'e2e_tests', id, - !id.includes('openssl') ? sharedOpenSsl : undefined, + sharedOpenSsl, mVersion != 'stable' ? `m${mVersion.replaceAll('.', '')}` : undefined, fips, ].filter(text => text).join('_'); @@ -580,7 +627,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ mVersion != 'stable' ? mVersion.replaceAll('.', '') : undefined, sharedOpenSsl, fips ? 'FIPS' : undefined, - isBuild ? '(Build)' : '(E2E tests)' + isBuildOnly ? '(Build)' : '(E2E tests)' ].filter(text => text).join(' '); let compileBuildVariant = RELEASE_PACKAGE_MATRIX.find((pkg) => pkg.executableOsId == executableOsId)?.compileBuildVariant; @@ -589,6 +636,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ return ({ ...rest, + id, displayName: formattedDisplayName, name: variantName, compileBuildVariant, @@ -1765,7 +1813,7 @@ tasks: # E2E TESTS ### # Tests reuse the same compilation build variant, so we create those variations based on this. - <% for (const compileBuildVariant of ['build_linux_x64', 'build_linux_arm64', 'darwin', 'darwin_arm64', 'build_win32']) { %> + <% for (const compileBuildVariant of ['build_linux_x64', 'build_linux_arm64', 'build_darwin', 'build_darwin_arm64', 'build_win32']) { %> - name: e2e_tests<% out(compileBuildVariant ? `_${compileBuildVariant.replace('build_', '')}` : '') %> tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] depends_on: @@ -2089,42 +2137,19 @@ buildvariants: tasks: <% let tasks = []; - if (variant.isBuild || !variant.compileBuildVariant || variant.compileBuildVariant == variant.name) { + if (variant.isBuildOnly || !variant.compileBuildVariant || variant.compileBuildVariant == variant.id) { tasks.push('compile_artifact'); } - if (!variant.isBuild) { + if (!variant.isBuildOnly) { tasks.push(`e2e_tests${variant.compileBuildVariant ? `_${variant.compileBuildVariant.replace('build_', '')}` : ''}`) } + if (variant.additionalTasks) { + tasks.push(...variant.additionalTasks); + } for (const task of tasks) { %> - name: <% out(task) %> <% } %> <% } %> - - name: darwin - display_name: "MacOS Big Sur" - run_on: macos-11 - expansions: - executable_os_id: darwin-x64 - node_js_version: "<% out(NODE_JS_VERSION_20) %>" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - tasks: - - name: compile_artifact - - name: e2e_tests_darwin - - name: package_artifact_darwin_x64 - - name: sign_artifact_darwin_x64 - - name: package_artifact_darwin_arm64 - - name: sign_artifact_darwin_arm64 - - name: darwin_arm64 - display_name: "MacOS Big Sur (arm64)" - run_on: macos-11-arm64 - expansions: - executable_os_id: darwin-arm64 - node_js_version: "<% out(NODE_JS_VERSION_20) %>" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - tasks: - - name: compile_artifact - - name: e2e_tests_darwin_arm64 - name: linux_compile display_name: "Ubuntu 20.04 x64 (Compile and Check)" @@ -2186,28 +2211,6 @@ buildvariants: tasks: - name: verify_artifact_darwin_arm64 - name: verify_artifact_darwin_x64 - - name: win32 - display_name: "Windows VS 2022" - run_on: windows-vsCurrent-small - expansions: - executable_os_id: win32 - node_js_version: "<% out(NODE_JS_VERSION_20) %>" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - tasks: - - name: e2e_tests_win32 - - name: package_artifact_win32_x64 - - name: package_artifact_win32msi_x64 - - name: build_win32 - display_name: "Windows VS 2022 (build)" - run_on: windows-vsCurrent-large - expansions: - executable_os_id: win32 - node_js_version: "<% out(NODE_JS_VERSION_20) %>" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - tasks: - - name: compile_artifact - name: pkg_smoke_tests_docker_x64 display_name: "package smoke (x64 Docker)" diff --git a/config/release-package-matrix.js b/config/release-package-matrix.js index 71671cf3e..21ffdc97b 100644 --- a/config/release-package-matrix.js +++ b/config/release-package-matrix.js @@ -50,7 +50,7 @@ const krbConnTestsOpenSSL3 = ['node20', 'rocky9', 'ubuntu2204']; exports.RELEASE_PACKAGE_MATRIX = [ { executableOsId: 'darwin-x64', - compileBuildVariant: 'darwin', + compileBuildVariant: 'build_darwin', packages: [ { name: 'darwin-x64', @@ -64,7 +64,7 @@ exports.RELEASE_PACKAGE_MATRIX = [ }, { executableOsId: 'darwin-arm64', - compileBuildVariant: 'darwin_arm64', + compileBuildVariant: 'build_darwin_arm64', packages: [ { name: 'darwin-arm64', From 33349338726f70e77395ee7aaf39d2deb39e21fb Mon Sep 17 00:00:00 2001 From: gagik Date: Mon, 16 Dec 2024 17:32:39 +0100 Subject: [PATCH 16/24] add missing big sur test --- .evergreen.yml | 12 ++++++++++++ .evergreen/evergreen.yml.in | 9 +++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/.evergreen.yml b/.evergreen.yml index 884118a6b..74706f882 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -15254,6 +15254,18 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact + - name: e2e_tests_darwin + display_name: "MacOS Big Sur (E2E tests)" + run_on: macos-11 + tags: [] + expansions: + executable_os_id: "darwin-x64" + disable_openssl_shared_config_for_bundled_openssl: false + node_js_version: "20.18.1" + mongosh_server_test_version: "stable-enterprise" + mongosh_test_e2e_force_fips: "" + tasks: + - name: e2e_tests_darwin - name: build_darwin_arm64 display_name: "MacOS Big Sur arm64 (Build)" run_on: macos-11-arm64 diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index 618f05717..fa4352fa8 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -571,6 +571,13 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ executableOsId: "darwin-x64", mVersion: "stable", }, + { + displayName: "MacOS Big Sur", + name: "darwin", + runOn: "macos-11", + executableOsId: "darwin-x64", + mVersion: "stable", + }, { isBuildOnly: true, displayName: "MacOS Big Sur arm64", @@ -631,8 +638,6 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ ].filter(text => text).join(' '); let compileBuildVariant = RELEASE_PACKAGE_MATRIX.find((pkg) => pkg.executableOsId == executableOsId)?.compileBuildVariant; - // We have a separate build variant for win32 - if (compileBuildVariant == 'win32') compileBuildVariant = 'build_win32'; return ({ ...rest, From 169d7d23ff997953df01351de90214c6a34597f4 Mon Sep 17 00:00:00 2001 From: gagik Date: Tue, 17 Dec 2024 10:40:00 +0100 Subject: [PATCH 17/24] add ssl expansions --- .evergreen.yml | 20 ++++++++++++++++++++ .evergreen/evergreen.yml.in | 3 +++ 2 files changed, 23 insertions(+) diff --git a/.evergreen.yml b/.evergreen.yml index 74706f882..789427c84 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -14604,6 +14604,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" + mongosh_shared_openssl: "openssl11" tasks: - name: compile_artifact - name: build_linux_x64_openssl11_rhel8_openssl11 @@ -14616,6 +14617,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" + mongosh_shared_openssl: "openssl11" tasks: - name: compile_artifact - name: build_linux_x64_openssl3_openssl3 @@ -14628,6 +14630,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" + mongosh_shared_openssl: "openssl3" tasks: - name: compile_artifact - name: build_linux_x64_openssl3_rhel8_openssl3 @@ -14640,6 +14643,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" + mongosh_shared_openssl: "openssl3" tasks: - name: compile_artifact - name: build_linux_arm64 @@ -14664,6 +14668,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" + mongosh_shared_openssl: "openssl11" tasks: - name: compile_artifact - name: build_linux_arm64_openssl3_openssl3 @@ -14676,6 +14681,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" + mongosh_shared_openssl: "openssl3" tasks: - name: compile_artifact - name: build_linux_ppc64le @@ -14784,6 +14790,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" + mongosh_shared_openssl: "openssl11" tasks: - name: e2e_tests_linux_x64 - name: e2e_tests_rhel83_fips_openssl11_true @@ -14796,6 +14803,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "1" + mongosh_shared_openssl: "openssl11" tasks: - name: e2e_tests_linux_x64 - name: e2e_tests_rhel93_fips @@ -14820,6 +14828,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" + mongosh_shared_openssl: "openssl3" tasks: - name: e2e_tests_linux_x64 - name: e2e_tests_rhel93_fips_openssl3_true @@ -14832,6 +14841,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "1" + mongosh_shared_openssl: "openssl3" tasks: - name: e2e_tests_linux_x64 - name: e2e_tests_ubuntu1804_large_m60x @@ -14868,6 +14878,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" + mongosh_shared_openssl: "openssl11" tasks: - name: e2e_tests_linux_x64 - name: e2e_tests_ubuntu2204_small @@ -14892,6 +14903,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" + mongosh_shared_openssl: "openssl3" tasks: - name: e2e_tests_linux_x64 - name: e2e_tests_ubuntu2404_small @@ -14916,6 +14928,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" + mongosh_shared_openssl: "openssl3" tasks: - name: e2e_tests_linux_x64 - name: e2e_tests_debian10_small_m60x @@ -14940,6 +14953,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" + mongosh_shared_openssl: "openssl11" tasks: - name: e2e_tests_linux_x64 - name: e2e_tests_debian11_small_m70x @@ -14964,6 +14978,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" + mongosh_shared_openssl: "openssl11" tasks: - name: e2e_tests_linux_x64 - name: e2e_tests_amazon2_large_m70x @@ -15048,6 +15063,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" + mongosh_shared_openssl: "openssl11" tasks: - name: e2e_tests_linux_arm64 - name: e2e_tests_ubuntu2204_arm64_small @@ -15072,6 +15088,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" + mongosh_shared_openssl: "openssl3" tasks: - name: e2e_tests_linux_arm64 - name: e2e_tests_ubuntu2404_arm64_small @@ -15096,6 +15113,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" + mongosh_shared_openssl: "openssl3" tasks: - name: e2e_tests_linux_arm64 - name: e2e_tests_amazon2_arm64_large_m70x @@ -15156,6 +15174,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" + mongosh_shared_openssl: "openssl3" tasks: - name: e2e_tests_linux_arm64 - name: e2e_tests_rhel93_arm64_small @@ -15180,6 +15199,7 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" + mongosh_shared_openssl: "openssl3" tasks: - name: e2e_tests_linux_arm64 - name: e2e_tests_rhel8_power_small diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index fa4352fa8..625f2fca3 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -2139,6 +2139,9 @@ buildvariants: node_js_version: "<% out(NODE_JS_VERSION_20) %>" mongosh_server_test_version: "<% out(variant.mVersion) %>-enterprise" mongosh_test_e2e_force_fips: "<% out(variant.fips ? '1' : '') %>" + <% if (variant.sharedOpenSsl) { %> + mongosh_shared_openssl: "<% out(variant.sharedOpenSsl) %>" + <% } %> tasks: <% let tasks = []; From eb4aedb5b045d33ddd52c9e2872189bdc82426ce Mon Sep 17 00:00:00 2001 From: gagik Date: Tue, 17 Dec 2024 10:48:52 +0100 Subject: [PATCH 18/24] pass as variable --- .evergreen/evergreen.yml.in | 1 + 1 file changed, 1 insertion(+) diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index 625f2fca3..f76175fbe 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -1838,6 +1838,7 @@ tasks: vars: node_js_version: ${node_js_version} mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_shared_openssl: ${mongosh_shared_openssl} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} <% } %> From 56f4d97db8bdf7b26c8a97b96de8a68e231b5245 Mon Sep 17 00:00:00 2001 From: gagik Date: Tue, 17 Dec 2024 11:21:05 +0100 Subject: [PATCH 19/24] use compile build variant and fix macos build --- .evergreen.yml | 17 +++++++++++------ .evergreen/evergreen.yml.in | 4 ++-- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.evergreen.yml b/.evergreen.yml index 789427c84..2fe834a0a 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -8276,11 +8276,12 @@ tasks: node_js_version: ${node_js_version} - func: download_compiled_artifact vars: - executable_os_id: ${executable_os_id} + executable_os_id: build_linux_x64 - func: run_e2e_tests vars: node_js_version: ${node_js_version} mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_shared_openssl: ${mongosh_shared_openssl} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - name: e2e_tests_linux_arm64 @@ -8295,11 +8296,12 @@ tasks: node_js_version: ${node_js_version} - func: download_compiled_artifact vars: - executable_os_id: ${executable_os_id} + executable_os_id: build_linux_arm64 - func: run_e2e_tests vars: node_js_version: ${node_js_version} mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_shared_openssl: ${mongosh_shared_openssl} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - name: e2e_tests_darwin @@ -8314,11 +8316,12 @@ tasks: node_js_version: ${node_js_version} - func: download_compiled_artifact vars: - executable_os_id: ${executable_os_id} + executable_os_id: build_darwin - func: run_e2e_tests vars: node_js_version: ${node_js_version} mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_shared_openssl: ${mongosh_shared_openssl} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - name: e2e_tests_darwin_arm64 @@ -8333,11 +8336,12 @@ tasks: node_js_version: ${node_js_version} - func: download_compiled_artifact vars: - executable_os_id: ${executable_os_id} + executable_os_id: build_darwin_arm64 - func: run_e2e_tests vars: node_js_version: ${node_js_version} mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_shared_openssl: ${mongosh_shared_openssl} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - name: e2e_tests_win32 @@ -8352,11 +8356,12 @@ tasks: node_js_version: ${node_js_version} - func: download_compiled_artifact vars: - executable_os_id: ${executable_os_id} + executable_os_id: build_win32 - func: run_e2e_tests vars: node_js_version: ${node_js_version} mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_shared_openssl: ${mongosh_shared_openssl} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - name: perf_tests @@ -15291,7 +15296,7 @@ buildvariants: run_on: macos-11-arm64 tags: [] expansions: - executable_os_id: "darwin-x64" + executable_os_id: "darwin-arm64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index f76175fbe..cff89b445 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -583,7 +583,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ displayName: "MacOS Big Sur arm64", runOn: "macos-11-arm64", name: "darwin_arm64", - executableOsId: "darwin-x64", + executableOsId: "darwin-arm64", mVersion: "stable", }, { @@ -1833,7 +1833,7 @@ tasks: node_js_version: ${node_js_version} - func: download_compiled_artifact vars: - executable_os_id: ${executable_os_id} + executable_os_id: <% out(compileBuildVariant) %> - func: run_e2e_tests vars: node_js_version: ${node_js_version} From 3cc584efa935a50380564ae219e7ef4ac1736c00 Mon Sep 17 00:00:00 2001 From: gagik Date: Tue, 17 Dec 2024 11:26:33 +0100 Subject: [PATCH 20/24] derive executable OS ID from name --- .evergreen.yml | 12 ++++++------ .evergreen/evergreen.yml.in | 11 +++++++---- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.evergreen.yml b/.evergreen.yml index 2fe834a0a..f014b1975 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -8276,7 +8276,7 @@ tasks: node_js_version: ${node_js_version} - func: download_compiled_artifact vars: - executable_os_id: build_linux_x64 + executable_os_id: linux-x64 - func: run_e2e_tests vars: node_js_version: ${node_js_version} @@ -8296,7 +8296,7 @@ tasks: node_js_version: ${node_js_version} - func: download_compiled_artifact vars: - executable_os_id: build_linux_arm64 + executable_os_id: linux-arm64 - func: run_e2e_tests vars: node_js_version: ${node_js_version} @@ -8316,7 +8316,7 @@ tasks: node_js_version: ${node_js_version} - func: download_compiled_artifact vars: - executable_os_id: build_darwin + executable_os_id: darwin-x64 - func: run_e2e_tests vars: node_js_version: ${node_js_version} @@ -8336,7 +8336,7 @@ tasks: node_js_version: ${node_js_version} - func: download_compiled_artifact vars: - executable_os_id: build_darwin_arm64 + executable_os_id: darwin-arm64 - func: run_e2e_tests vars: node_js_version: ${node_js_version} @@ -8356,7 +8356,7 @@ tasks: node_js_version: ${node_js_version} - func: download_compiled_artifact vars: - executable_os_id: build_win32 + executable_os_id: win32 - func: run_e2e_tests vars: node_js_version: ${node_js_version} @@ -15296,7 +15296,7 @@ buildvariants: run_on: macos-11-arm64 tags: [] expansions: - executable_os_id: "darwin-arm64" + executable_os_id: "darwin-x64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index cff89b445..cf03c9449 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -583,7 +583,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ displayName: "MacOS Big Sur arm64", runOn: "macos-11-arm64", name: "darwin_arm64", - executableOsId: "darwin-arm64", + executableOsId: "darwin-x64", mVersion: "stable", }, { @@ -1818,8 +1818,11 @@ tasks: # E2E TESTS ### # Tests reuse the same compilation build variant, so we create those variations based on this. - <% for (const compileBuildVariant of ['build_linux_x64', 'build_linux_arm64', 'build_darwin', 'build_darwin_arm64', 'build_win32']) { %> - - name: e2e_tests<% out(compileBuildVariant ? `_${compileBuildVariant.replace('build_', '')}` : '') %> + <% for (const compileBuildVariant of ['build_linux_x64', 'build_linux_arm64', 'build_darwin', 'build_darwin_arm64', 'build_win32']) { + const platformName = compileBuildVariant.replace('build_', ''); + const executableOsId = platformName == 'darwin' ? 'darwin-x64' : platformName.replaceAll('_', '-'); + %> + - name: e2e_tests_<% out(platformName) %> tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] depends_on: - name: compile_artifact @@ -1833,7 +1836,7 @@ tasks: node_js_version: ${node_js_version} - func: download_compiled_artifact vars: - executable_os_id: <% out(compileBuildVariant) %> + executable_os_id: <% out(executableOsId) %> - func: run_e2e_tests vars: node_js_version: ${node_js_version} From e5400699845f8f4b397e57eaf4454cee57f77d3e Mon Sep 17 00:00:00 2001 From: gagik Date: Tue, 17 Dec 2024 12:24:41 +0100 Subject: [PATCH 21/24] fix darwin typo --- .evergreen.yml | 2 +- .evergreen/evergreen.yml.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.evergreen.yml b/.evergreen.yml index f014b1975..54080052b 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -15296,7 +15296,7 @@ buildvariants: run_on: macos-11-arm64 tags: [] expansions: - executable_os_id: "darwin-x64" + executable_os_id: "darwin-arm64" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index cf03c9449..548fbc104 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -583,7 +583,7 @@ const ALL_E2E_TEST_BUILD_VARIANTS = [ displayName: "MacOS Big Sur arm64", runOn: "macos-11-arm64", name: "darwin_arm64", - executableOsId: "darwin-x64", + executableOsId: "darwin-arm64", mVersion: "stable", }, { From c650f8e27e16f0be2f59a4f27d22e2049e0f7ba1 Mon Sep 17 00:00:00 2001 From: gagik Date: Tue, 17 Dec 2024 18:04:11 +0100 Subject: [PATCH 22/24] separate build and move files --- .evergreen.yml | 334 +++++---- .evergreen/evergreen.yml.in | 638 +----------------- .../variants/compile-build-variants.d.ts | 8 + .evergreen/variants/compile-build-variants.js | 98 +++ .../variants/e2e-tests-build-variants.d.ts | 12 + .../variants/e2e-tests-build-variants.js | 396 +++++++++++ 6 files changed, 763 insertions(+), 723 deletions(-) create mode 100644 .evergreen/variants/compile-build-variants.d.ts create mode 100644 .evergreen/variants/compile-build-variants.js create mode 100644 .evergreen/variants/e2e-tests-build-variants.d.ts create mode 100644 .evergreen/variants/e2e-tests-build-variants.js diff --git a/.evergreen.yml b/.evergreen.yml index 54080052b..b67f4b6ef 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -8281,7 +8281,101 @@ tasks: vars: node_js_version: ${node_js_version} mongosh_server_test_version: ${mongosh_server_test_version} - mongosh_shared_openssl: ${mongosh_shared_openssl} + mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} + disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} + - name: e2e_tests_linux_x64_rhel8 + tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] + depends_on: + - name: compile_artifact + variant: build_linux_x64_rhel8 + commands: + - func: checkout + - func: install + vars: + node_js_version: ${node_js_version} + - func: download_compiled_artifact + vars: + executable_os_id: linux-x64-rhel8 + - func: run_e2e_tests + vars: + node_js_version: ${node_js_version} + mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} + disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} + - name: e2e_tests_linux_x64_openssl11 + tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] + depends_on: + - name: compile_artifact + variant: build_linux_x64_openssl11 + commands: + - func: checkout + - func: install + vars: + node_js_version: ${node_js_version} + - func: download_compiled_artifact + vars: + executable_os_id: linux-x64-openssl11 + - func: run_e2e_tests + vars: + node_js_version: ${node_js_version} + mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} + disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} + - name: e2e_tests_linux_x64_openssl11_rhel8 + tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] + depends_on: + - name: compile_artifact + variant: build_linux_x64_openssl11_rhel8 + commands: + - func: checkout + - func: install + vars: + node_js_version: ${node_js_version} + - func: download_compiled_artifact + vars: + executable_os_id: linux-x64-openssl11-rhel8 + - func: run_e2e_tests + vars: + node_js_version: ${node_js_version} + mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} + disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} + - name: e2e_tests_linux_x64_openssl3 + tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] + depends_on: + - name: compile_artifact + variant: build_linux_x64_openssl3 + commands: + - func: checkout + - func: install + vars: + node_js_version: ${node_js_version} + - func: download_compiled_artifact + vars: + executable_os_id: linux-x64-openssl3 + - func: run_e2e_tests + vars: + node_js_version: ${node_js_version} + mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} + disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} + - name: e2e_tests_linux_x64_openssl3_rhel8 + tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] + depends_on: + - name: compile_artifact + variant: build_linux_x64_openssl3_rhel8 + commands: + - func: checkout + - func: install + vars: + node_js_version: ${node_js_version} + - func: download_compiled_artifact + vars: + executable_os_id: linux-x64-openssl3-rhel8 + - func: run_e2e_tests + vars: + node_js_version: ${node_js_version} + mongosh_server_test_version: ${mongosh_server_test_version} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - name: e2e_tests_linux_arm64 @@ -8301,7 +8395,82 @@ tasks: vars: node_js_version: ${node_js_version} mongosh_server_test_version: ${mongosh_server_test_version} - mongosh_shared_openssl: ${mongosh_shared_openssl} + mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} + disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} + - name: e2e_tests_linux_arm64_openssl11 + tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] + depends_on: + - name: compile_artifact + variant: build_linux_arm64_openssl11 + commands: + - func: checkout + - func: install + vars: + node_js_version: ${node_js_version} + - func: download_compiled_artifact + vars: + executable_os_id: linux-arm64-openssl11 + - func: run_e2e_tests + vars: + node_js_version: ${node_js_version} + mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} + disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} + - name: e2e_tests_linux_arm64_openssl3 + tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] + depends_on: + - name: compile_artifact + variant: build_linux_arm64_openssl3 + commands: + - func: checkout + - func: install + vars: + node_js_version: ${node_js_version} + - func: download_compiled_artifact + vars: + executable_os_id: linux-arm64-openssl3 + - func: run_e2e_tests + vars: + node_js_version: ${node_js_version} + mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} + disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} + - name: e2e_tests_linux_ppc64le + tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] + depends_on: + - name: compile_artifact + variant: build_linux_ppc64le + commands: + - func: checkout + - func: install + vars: + node_js_version: ${node_js_version} + - func: download_compiled_artifact + vars: + executable_os_id: linux-ppc64le + - func: run_e2e_tests + vars: + node_js_version: ${node_js_version} + mongosh_server_test_version: ${mongosh_server_test_version} + mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} + disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} + - name: e2e_tests_linux_s390x + tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] + depends_on: + - name: compile_artifact + variant: build_linux_s390x + commands: + - func: checkout + - func: install + vars: + node_js_version: ${node_js_version} + - func: download_compiled_artifact + vars: + executable_os_id: linux-s390x + - func: run_e2e_tests + vars: + node_js_version: ${node_js_version} + mongosh_server_test_version: ${mongosh_server_test_version} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - name: e2e_tests_darwin @@ -8321,7 +8490,6 @@ tasks: vars: node_js_version: ${node_js_version} mongosh_server_test_version: ${mongosh_server_test_version} - mongosh_shared_openssl: ${mongosh_shared_openssl} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - name: e2e_tests_darwin_arm64 @@ -8341,7 +8509,6 @@ tasks: vars: node_js_version: ${node_js_version} mongosh_server_test_version: ${mongosh_server_test_version} - mongosh_shared_openssl: ${mongosh_shared_openssl} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - name: e2e_tests_win32 @@ -8361,7 +8528,6 @@ tasks: vars: node_js_version: ${node_js_version} mongosh_server_test_version: ${mongosh_server_test_version} - mongosh_shared_openssl: ${mongosh_shared_openssl} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} - name: perf_tests @@ -14578,139 +14744,119 @@ buildvariants: - name: build_linux_x64 display_name: "RHEL 7.0 x64 (Build)" run_on: rhel70-build - tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" - disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - name: build_linux_x64_rhel8 display_name: "RHEL 8.0 x64 (Build)" run_on: rhel80-build - tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64" - disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - - name: build_linux_x64_openssl11_openssl11 + - name: build_linux_x64_openssl11 display_name: "RHEL 7.0 x64 openssl11 (Build)" run_on: rhel70-build - tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64-openssl11" - disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" mongosh_shared_openssl: "openssl11" tasks: - name: compile_artifact - - name: build_linux_x64_openssl11_rhel8_openssl11 + - name: build_linux_x64_openssl11_rhel8 display_name: "RHEL 8.0 x64 openssl11 (Build)" run_on: rhel80-build - tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64-openssl11" - disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" mongosh_shared_openssl: "openssl11" tasks: - name: compile_artifact - - name: build_linux_x64_openssl3_openssl3 + - name: build_linux_x64_openssl3 display_name: "RHEL 7.0 x64 openssl3 (Build)" run_on: rhel70-build - tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64-openssl3" - disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" mongosh_shared_openssl: "openssl3" tasks: - name: compile_artifact - - name: build_linux_x64_openssl3_rhel8_openssl3 + - name: build_linux_x64_openssl3_rhel8 display_name: "RHEL 8.0 x64 openssl3 (Build)" run_on: rhel80-build - tags: ["nightly-driver"] expansions: executable_os_id: "linux-x64-openssl3" - disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" mongosh_shared_openssl: "openssl3" tasks: - name: compile_artifact - name: build_linux_arm64 display_name: "Amazon 2 arm64 (Build)" run_on: amazon2-arm64-large - tags: [] expansions: executable_os_id: "linux-arm64" - disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - - name: build_linux_arm64_openssl11_openssl11 + - name: build_linux_arm64_openssl11 display_name: "Amazon 2 arm64 openssl11 (Build)" run_on: amazon2-arm64-large - tags: [] expansions: executable_os_id: "linux-arm64-openssl11" - disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" mongosh_shared_openssl: "openssl11" tasks: - name: compile_artifact - - name: build_linux_arm64_openssl3_openssl3 + - name: build_linux_arm64_openssl3 display_name: "Amazon 2 arm64 openssl3 (Build)" run_on: amazon2-arm64-large - tags: [] expansions: executable_os_id: "linux-arm64-openssl3" - disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" mongosh_shared_openssl: "openssl3" tasks: - name: compile_artifact - name: build_linux_ppc64le display_name: "RHEL 8 PPC (Build)" run_on: rhel8-power-small - tags: [] expansions: executable_os_id: "linux-ppc64le" - disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" tasks: - name: compile_artifact - name: build_linux_s390x display_name: "RHEL 7 s390x (Build)" run_on: rhel7-zseries-large - tags: [] expansions: executable_os_id: "linux-s390x" - disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" + tasks: + - name: compile_artifact + - name: build_darwin + display_name: "MacOS Big Sur (Build)" + run_on: macos-11 + expansions: + executable_os_id: "darwin-x64" + node_js_version: "20.18.1" + tasks: + - name: compile_artifact + - name: build_darwin_arm64 + display_name: "MacOS Big Sur arm64 (Build)" + run_on: macos-11-arm64 + expansions: + executable_os_id: "darwin-arm64" + node_js_version: "20.18.1" + tasks: + - name: compile_artifact + - name: build_win32 + display_name: "Windows VS 2022 (Build)" + run_on: windows-vsCurrent-large + expansions: + executable_os_id: "win32" + node_js_version: "20.18.1" tasks: - name: compile_artifact - name: e2e_tests_rhel70_large_m70x @@ -14795,9 +14941,8 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" - mongosh_shared_openssl: "openssl11" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_x64_openssl11 - name: e2e_tests_rhel83_fips_openssl11_true display_name: "RHEL 8.3 x64 openssl11 FIPS (E2E tests)" run_on: rhel83-fips @@ -14808,9 +14953,8 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "1" - mongosh_shared_openssl: "openssl11" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_x64_openssl11 - name: e2e_tests_rhel93_fips display_name: "RHEL 9.3 x64 (E2E tests)" run_on: rhel93-fips @@ -14833,9 +14977,8 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" - mongosh_shared_openssl: "openssl3" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_x64_openssl3 - name: e2e_tests_rhel93_fips_openssl3_true display_name: "RHEL 9.3 x64 openssl3 FIPS (E2E tests)" run_on: rhel93-fips @@ -14846,9 +14989,8 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "1" - mongosh_shared_openssl: "openssl3" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_x64_openssl3 - name: e2e_tests_ubuntu1804_large_m60x display_name: "Ubuntu 18.04 x64 60x (E2E tests)" run_on: ubuntu1804-large @@ -14883,9 +15025,8 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" - mongosh_shared_openssl: "openssl11" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_x64_openssl11 - name: e2e_tests_ubuntu2204_small display_name: "Ubuntu 22.04 x64 (E2E tests)" run_on: ubuntu2204-small @@ -14908,9 +15049,8 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" - mongosh_shared_openssl: "openssl3" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_x64_openssl3 - name: e2e_tests_ubuntu2404_small display_name: "Ubuntu 24.04 x64 (E2E tests)" run_on: ubuntu2404-small @@ -14933,9 +15073,8 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" - mongosh_shared_openssl: "openssl3" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_x64_openssl3 - name: e2e_tests_debian10_small_m60x display_name: "Debian 10 x64 60x (E2E tests)" run_on: debian10-small @@ -14958,9 +15097,8 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" - mongosh_shared_openssl: "openssl11" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_x64_openssl11 - name: e2e_tests_debian11_small_m70x display_name: "Debian 11 x64 70x (E2E tests)" run_on: debian11-small @@ -14983,9 +15121,8 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" - mongosh_shared_openssl: "openssl11" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_x64_openssl11 - name: e2e_tests_amazon2_large_m70x display_name: "Amazon Linux 2 x64 70x (E2E tests)" run_on: amazon2-large @@ -15068,9 +15205,8 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" - mongosh_shared_openssl: "openssl11" tasks: - - name: e2e_tests_linux_arm64 + - name: e2e_tests_linux_arm64_openssl11 - name: e2e_tests_ubuntu2204_arm64_small display_name: "Ubuntu 22.04 arm64 (E2E tests)" run_on: ubuntu2204-arm64-small @@ -15093,9 +15229,8 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" - mongosh_shared_openssl: "openssl3" tasks: - - name: e2e_tests_linux_arm64 + - name: e2e_tests_linux_arm64_openssl3 - name: e2e_tests_ubuntu2404_arm64_small display_name: "Ubuntu 24.04 arm64 (E2E tests)" run_on: ubuntu2404-arm64-small @@ -15118,9 +15253,8 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" - mongosh_shared_openssl: "openssl3" tasks: - - name: e2e_tests_linux_arm64 + - name: e2e_tests_linux_arm64_openssl3 - name: e2e_tests_amazon2_arm64_large_m70x display_name: "Amazon Linux 2 arm64 70x (E2E tests)" run_on: amazon2-arm64-large @@ -15179,9 +15313,8 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "7.0.x-enterprise" mongosh_test_e2e_force_fips: "" - mongosh_shared_openssl: "openssl3" tasks: - - name: e2e_tests_linux_arm64 + - name: e2e_tests_linux_arm64_openssl3 - name: e2e_tests_rhel93_arm64_small display_name: "RHEL 9.3 arm64 (E2E tests)" run_on: rhel93-arm64-small @@ -15204,9 +15337,8 @@ buildvariants: node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" - mongosh_shared_openssl: "openssl3" tasks: - - name: e2e_tests_linux_arm64 + - name: e2e_tests_linux_arm64_openssl3 - name: e2e_tests_rhel8_power_small display_name: "RHEL 8 PPC (E2E tests)" run_on: rhel8-power-small @@ -15267,18 +15399,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_darwin_arm64 - - name: build_darwin - display_name: "MacOS Big Sur (Build)" - run_on: macos-11 - tags: [] - expansions: - executable_os_id: "darwin-x64" - disable_openssl_shared_config_for_bundled_openssl: false - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - tasks: - - name: compile_artifact - name: e2e_tests_darwin display_name: "MacOS Big Sur (E2E tests)" run_on: macos-11 @@ -15291,18 +15411,6 @@ buildvariants: mongosh_test_e2e_force_fips: "" tasks: - name: e2e_tests_darwin - - name: build_darwin_arm64 - display_name: "MacOS Big Sur arm64 (Build)" - run_on: macos-11-arm64 - tags: [] - expansions: - executable_os_id: "darwin-arm64" - disable_openssl_shared_config_for_bundled_openssl: false - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - tasks: - - name: compile_artifact - name: e2e_tests_darwin_arm64 display_name: "MacOS Big Sur arm64 (E2E tests)" run_on: macos-11-arm64 @@ -15319,18 +15427,6 @@ buildvariants: - name: sign_artifact_darwin_x64 - name: package_artifact_darwin_arm64 - name: sign_artifact_darwin_arm64 - - name: build_win32 - display_name: "Windows VS 2022 (Build)" - run_on: windows-vsCurrent-large - tags: [] - expansions: - executable_os_id: "win32" - disable_openssl_shared_config_for_bundled_openssl: false - node_js_version: "20.18.1" - mongosh_server_test_version: "stable-enterprise" - mongosh_test_e2e_force_fips: "" - tasks: - - name: compile_artifact - name: e2e_tests_windows_vsCurrent_small display_name: "Windows VS 2022 (E2E tests)" run_on: windows-vsCurrent-small diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index 548fbc104..a0412499f 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -32,8 +32,6 @@ const MONGOSH_PACKAGES = fs.readdirSync(pathToPackages, { withFileTypes: true }) ...(JSON.parse(fs.readFileSync(path.join(pathToPackages, d.name, 'package.json'))).mongosh || {}) })); -const ALL_UNIT_TEST_BUILD_VARIANTS = []; -const ALL_UNIT_TESTS = []; const platformToDetails = { 'darwin': { displayName: 'MacOS 14 arm64', runOn: 'macos-14-arm64', executableOsId: 'darwin-arm64' }, 'linux': { displayName: 'Ubuntu 20.04 x64', runOn: 'ubuntu2004-small', executableOsId: 'darwin-arm64', tags: ["nightly-driver"]}, @@ -41,10 +39,13 @@ const platformToDetails = { } const defaultVariants = ['darwin', 'linux', 'win32']; +const UNIT_TESTS_BUILD_VARIANTS = []; +const UNIT_TESTS = []; + for (const { shortName: nShort, versionSpec: nVersion, skipNodeVersionCheck } of NODE_VERSIONS) { for (const platform of defaultVariants) { const platformDetails = platformToDetails[platform]; - ALL_UNIT_TEST_BUILD_VARIANTS.push({ + UNIT_TESTS_BUILD_VARIANTS.push({ ...platformDetails, name: `${platform}-n${nShort}`, displayName: `${platformDetails.displayName} n${nShort} (Unit tests)`, @@ -62,7 +63,7 @@ for (const { shortName: nShort, versionSpec: nVersion, skipNodeVersionCheck } of // Unit tests on macOS use arm64 and therefore require 6.0+ continue; } - ALL_UNIT_TEST_BUILD_VARIANTS.push({ + UNIT_TESTS_BUILD_VARIANTS.push({ ...platformDetails, name: `tests_${platform}-m${mShort}_n${nShort}`, id: `${platform}-m${mShort}_n${nShort}`, @@ -76,584 +77,12 @@ for (const { shortName: nShort, versionSpec: nVersion, skipNodeVersionCheck } of } } -const { RELEASE_PACKAGE_MATRIX } = require('../config/release-package-matrix'); - -const ALL_E2E_TEST_BUILD_VARIANTS = [ - { - displayName: "RHEL 7.0 x64", - runOn: "rhel70-build", - tags: [ - "nightly-driver" - ], - isBuildOnly: true, - name: "linux_x64", - executableOsId: "linux-x64", - mVersion: "stable" - }, - { - displayName: "RHEL 8.0 x64", - runOn: "rhel80-build", - tags: [ - "nightly-driver" - ], - isBuildOnly: true, - name: "linux_x64_rhel8", - executableOsId: "linux-x64", - mVersion: "stable" - }, - { - displayName: "RHEL 7.0 x64", - runOn: "rhel70-build", - tags: [ - "nightly-driver" - ], - isBuildOnly: true, - name: "linux_x64_openssl11", - executableOsId: "linux-x64-openssl11", - sharedOpenSsl: "openssl11", - mVersion: "stable" - }, - { - displayName: "RHEL 8.0 x64", - runOn: "rhel80-build", - tags: [ - "nightly-driver" - ], - isBuildOnly: true, - name: "linux_x64_openssl11_rhel8", - executableOsId: "linux-x64-openssl11", - sharedOpenSsl: "openssl11", - mVersion: "stable" - }, - { - displayName: "RHEL 7.0 x64", - runOn: "rhel70-build", - tags: [ - "nightly-driver" - ], - isBuildOnly: true, - name: "linux_x64_openssl3", - executableOsId: "linux-x64-openssl3", - sharedOpenSsl: "openssl3", - mVersion: "stable" - }, - { - displayName: "RHEL 8.0 x64", - runOn: "rhel80-build", - tags: [ - "nightly-driver" - ], - isBuildOnly: true, - name: "linux_x64_openssl3_rhel8", - executableOsId: "linux-x64-openssl3", - sharedOpenSsl: "openssl3", - mVersion: "stable" - }, - { - displayName: "Amazon 2 arm64", - runOn: "amazon2-arm64-large", - isBuildOnly: true, - name: "linux_arm64", - executableOsId: "linux-arm64", - mVersion: "stable" - }, - { - displayName: "Amazon 2 arm64", - runOn: "amazon2-arm64-large", - isBuildOnly: true, - name: "linux_arm64_openssl11", - executableOsId: "linux-arm64-openssl11", - sharedOpenSsl: "openssl11", - mVersion: "stable" - }, - { - displayName: "Amazon 2 arm64", - runOn: "amazon2-arm64-large", - isBuildOnly: true, - name: "linux_arm64_openssl3", - executableOsId: "linux-arm64-openssl3", - sharedOpenSsl: "openssl3", - mVersion: "stable" - }, - { - displayName: "RHEL 8 PPC", - runOn: "rhel8-power-small", - isBuildOnly: true, - name: "linux_ppc64le", - executableOsId: "linux-ppc64le", - mVersion: "stable" - }, - { - displayName: "RHEL 7 s390x", - runOn: "rhel7-zseries-large", - isBuildOnly: true, - name: "linux_s390x", - executableOsId: "linux-s390x", - mVersion: "stable" - }, - { - displayName: "RHEL 7.0 x64", - runOn: "rhel70-large", - tags: [ - "nightly-driver" - ], - executableOsId: "linux-x64", - mVersion: "7.0.x" - }, - { - displayName: "RHEL 7.6 x64", - runOn: "rhel76-large", - tags: [ - "nightly-driver" - ], - executableOsId: "linux-x64", - mVersion: "7.0.x" - }, - { - displayName: "RHEL 8.0 x64", - runOn: "rhel80-small", - tags: [ - "nightly-driver" - ], - executableOsId: "linux-x64", - mVersion: "stable" - }, - { - displayName: "RHEL 9.0 x64", - runOn: "rhel90-small", - tags: [ - "nightly-driver" - ], - disableOpenSslSharedConfig: true, - executableOsId: "linux-x64", - mVersion: "7.0.x" - }, - { - displayName: "RHEL 9.3 x64", - runOn: "rhel93-small", - tags: [ - "nightly-driver" - ], - disableOpenSslSharedConfig: true, - executableOsId: "linux-x64", - mVersion: "stable" - }, - { - displayName: "RHEL 8.3 x64", - runOn: "rhel83-fips", - tags: [ - "nightly-driver" - ], - executableOsId: "linux-x64", - mVersion: "stable" - }, - { - displayName: "RHEL 8.3 x64", - runOn: "rhel83-fips", - tags: [ - "nightly-driver" - ], - sharedOpenSsl: "openssl11", - executableOsId: "linux-x64-openssl11", - mVersion: "stable" - }, - { - displayName: "RHEL 8.3 x64", - runOn: "rhel83-fips", - tags: [ - "nightly-driver" - ], - fips: true, - sharedOpenSsl: "openssl11", - executableOsId: "linux-x64-openssl11", - mVersion: "stable" - }, - { - displayName: "RHEL 9.3 x64", - runOn: "rhel93-fips", - tags: [ - "nightly-driver" - ], - executableOsId: "linux-x64", - mVersion: "stable" - }, - { - displayName: "RHEL 9.3 x64", - runOn: "rhel93-fips", - tags: [ - "nightly-driver" - ], - sharedOpenSsl: "openssl3", - executableOsId: "linux-x64-openssl3", - mVersion: "stable" - }, - { - displayName: "RHEL 9.3 x64", - runOn: "rhel93-fips", - tags: [ - "nightly-driver" - ], - fips: true, - sharedOpenSsl: "openssl3", - executableOsId: "linux-x64-openssl3", - mVersion: "stable" - }, - { - displayName: "Ubuntu 18.04 x64", - runOn: "ubuntu1804-large", - tags: [ - "nightly-driver" - ], - executableOsId: "linux-x64", - mVersion: "6.0.x" - }, - { - displayName: "Ubuntu 20.04 x64", - runOn: "ubuntu2004-small", - tags: [ - "nightly-driver" - ], - executableOsId: "linux-x64", - mVersion: "stable" - }, - { - displayName: "Ubuntu 20.04 x64", - runOn: "ubuntu2004-small", - tags: [ - "nightly-driver" - ], - sharedOpenSsl: "openssl11", - executableOsId: "linux-x64-openssl11", - mVersion: "stable" - }, - { - displayName: "Ubuntu 22.04 x64", - runOn: "ubuntu2204-small", - tags: [ - "nightly-driver" - ], - executableOsId: "linux-x64", - mVersion: "stable" - }, - { - displayName: "Ubuntu 22.04 x64", - runOn: "ubuntu2204-small", - tags: [ - "nightly-driver" - ], - sharedOpenSsl: "openssl3", - executableOsId: "linux-x64-openssl3", - mVersion: "stable" - }, - { - displayName: "Ubuntu 24.04 x64", - runOn: "ubuntu2404-small", - tags: [ - "nightly-driver" - ], - executableOsId: "linux-x64", - mVersion: "stable" - }, - { - displayName: "Ubuntu 24.04 x64", - runOn: "ubuntu2404-small", - tags: [ - "nightly-driver" - ], - sharedOpenSsl: "openssl3", - executableOsId: "linux-x64-openssl3", - mVersion: "stable" - }, - { - displayName: "Debian 10 x64", - runOn: "debian10-small", - tags: [ - "nightly-driver" - ], - executableOsId: "linux-x64", - mVersion: "6.0.x" - }, - { - displayName: "Debian 10 x64", - runOn: "debian10-small", - tags: [ - "nightly-driver" - ], - sharedOpenSsl: "openssl11", - executableOsId: "linux-x64-openssl11", - mVersion: "6.0.x" - }, - { - displayName: "Debian 11 x64", - runOn: "debian11-small", - tags: [ - "nightly-driver" - ], - executableOsId: "linux-x64", - mVersion: "7.0.x" - }, - { - displayName: "Debian 11 x64", - runOn: "debian11-small", - tags: [ - "nightly-driver" - ], - sharedOpenSsl: "openssl11", - executableOsId: "linux-x64-openssl11", - mVersion: "7.0.x" - }, - { - displayName: "Amazon Linux 2 x64", - runOn: "amazon2-large", - tags: [ - "nightly-driver" - ], - executableOsId: "linux-x64", - mVersion: "7.0.x" - }, - { - displayName: "Amazon Linux 2023 x64", - runOn: "amazon2023.0-small", - tags: [ - "nightly-driver" - ], - disableOpenSslSharedConfig: true, - executableOsId: "linux-x64", - mVersion: "stable" - }, - { - displayName: "SLES 12 x64", - runOn: "suse12-sp5-large", - tags: [ - "nightly-driver" - ], - executableOsId: "linux-x64", - mVersion: "7.0.x" - }, - { - displayName: "SLES 15 x64", - runOn: "suse15sp4-small", - tags: [ - "nightly-driver" - ], - executableOsId: "linux-x64", - mVersion: "stable" - }, - { - displayName: "Ubuntu 18.04 arm64", - runOn: "ubuntu1804-arm64-large", - executableOsId: "linux-arm64", - mVersion: "6.0.x" - }, - { - displayName: "Ubuntu 20.04 arm64", - runOn: "ubuntu2004-arm64-small", - executableOsId: "linux-arm64", - mVersion: "stable" - }, - { - displayName: "Ubuntu 20.04 arm64", - runOn: "ubuntu2004-arm64-small", - sharedOpenSsl: "openssl11", - executableOsId: "linux-arm64-openssl11", - mVersion: "stable" - }, - { - displayName: "Ubuntu 22.04 arm64", - runOn: "ubuntu2204-arm64-small", - executableOsId: "linux-arm64", - mVersion: "stable" - }, - { - displayName: "Ubuntu 22.04 arm64", - runOn: "ubuntu2204-arm64-small", - sharedOpenSsl: "openssl3", - executableOsId: "linux-arm64-openssl3", - mVersion: "stable" - }, - { - displayName: "Ubuntu 24.04 arm64", - runOn: "ubuntu2404-arm64-small", - executableOsId: "linux-arm64", - mVersion: "stable" - }, - { - displayName: "Ubuntu 24.04 arm64", - runOn: "ubuntu2404-arm64-small", - sharedOpenSsl: "openssl3", - executableOsId: "linux-arm64-openssl3", - mVersion: "stable" - }, - { - displayName: "Amazon Linux 2 arm64", - runOn: "amazon2-arm64-large", - executableOsId: "linux-arm64", - mVersion: "7.0.x" - }, - { - displayName: "Amazon Linux 2023 arm64", - runOn: "amazon2023.0-arm64-small", - disableOpenSslSharedConfig: true, - executableOsId: "linux-arm64", - mVersion: "stable" - }, - { - displayName: "RHEL 8.2 arm64", - runOn: "rhel82-arm64-small", - executableOsId: "linux-arm64", - mVersion: "stable" - }, - { - displayName: "RHEL 9.0 arm64", - runOn: "rhel90-arm64-small", - disableOpenSslSharedConfig: true, - executableOsId: "linux-arm64", - mVersion: "7.0.x" - }, - { - displayName: "RHEL 9.0 arm64", - runOn: "rhel90-arm64-small", - disableOpenSslSharedConfig: true, - sharedOpenSsl: "openssl3", - executableOsId: "linux-arm64-openssl3", - mVersion: "7.0.x" - }, - { - displayName: "RHEL 9.3 arm64", - runOn: "rhel93-arm64-small", - disableOpenSslSharedConfig: true, - executableOsId: "linux-arm64", - mVersion: "stable" - }, - { - displayName: "RHEL 9.3 arm64", - runOn: "rhel93-arm64-small", - disableOpenSslSharedConfig: true, - sharedOpenSsl: "openssl3", - executableOsId: "linux-arm64-openssl3", - mVersion: "stable" - }, - { - displayName: "RHEL 8 PPC", - runOn: "rhel8-power-small", - executableOsId: "linux-x64", - mVersion: "stable" - }, - { - displayName: "RHEL 7 s390x", - runOn: "rhel7-zseries-large", - executableOsId: "linux-x64", - mVersion: "6.0.x" - }, - { - displayName: "RHEL 8 s390x", - runOn: "rhel8-zseries-small", - executableOsId: "linux-x64", - mVersion: "stable" - }, - { - displayName: "MacOS 14 x64", - runOn: "macos-14", - executableOsId: "darwin-x64", - mVersion: "stable" - }, - { - displayName: "MacOS 14 arm64", - runOn: "macos-14-arm64", - executableOsId: "darwin-arm64", - mVersion: "stable" - }, - { - isBuildOnly: true, - displayName: "MacOS Big Sur", - name: "darwin", - runOn: "macos-11", - executableOsId: "darwin-x64", - mVersion: "stable", - }, - { - displayName: "MacOS Big Sur", - name: "darwin", - runOn: "macos-11", - executableOsId: "darwin-x64", - mVersion: "stable", - }, - { - isBuildOnly: true, - displayName: "MacOS Big Sur arm64", - runOn: "macos-11-arm64", - name: "darwin_arm64", - executableOsId: "darwin-arm64", - mVersion: "stable", - }, - { - displayName: "MacOS Big Sur arm64", - runOn: "macos-11-arm64", - name: "darwin_arm64", - executableOsId: "darwin-arm64", - mVersion: "stable", - additionalTasks: [ - "package_artifact_darwin_x64", - "sign_artifact_darwin_x64", - "package_artifact_darwin_arm64", - "sign_artifact_darwin_arm64" - ] - }, - { - isBuildOnly: true, - name: "win32", - displayName: "Windows VS 2022", - runOn: "windows-vsCurrent-large", - executableOsId: "win32", - mVersion: "stable", - }, - { - displayName: "Windows VS 2022", - runOn: "windows-vsCurrent-small", - executableOsId: "win32", - mVersion: "stable", - additionalTasks: [ - "package_artifact_win32_x64", - "package_artifact_win32msi_x64", - ] - }, -].map(({displayName, ...rest}) => { - const {fips, sharedOpenSsl, isBuildOnly, mVersion, runOn, executableOsId, name} = rest; - const id = (name ?? runOn ?? executableOsId).replaceAll('-', '_'); - - const variantName = [ - isBuildOnly ? `build` : 'e2e_tests', - id, - sharedOpenSsl, - mVersion != 'stable' ? `m${mVersion.replaceAll('.', '')}` : undefined, - fips, - ].filter(text => text).join('_'); - - const formattedDisplayName = [ - displayName, - mVersion != 'stable' ? mVersion.replaceAll('.', '') : undefined, - sharedOpenSsl, - fips ? 'FIPS' : undefined, - isBuildOnly ? '(Build)' : '(E2E tests)' - ].filter(text => text).join(' '); - - let compileBuildVariant = RELEASE_PACKAGE_MATRIX.find((pkg) => pkg.executableOsId == executableOsId)?.compileBuildVariant; - - return ({ - ...rest, - id, - displayName: formattedDisplayName, - name: variantName, - compileBuildVariant, - }); -}); - for (const packageInfo of MONGOSH_PACKAGES) { const id = `${packageInfo.name.replace(/-/g, '_')}`; const variants = packageInfo.variants ?? defaultVariants - ALL_UNIT_TESTS.push({ + UNIT_TESTS.push({ id, packageName: packageInfo.name, unitTestsOnly: packageInfo.unitTestsOnly, @@ -661,6 +90,9 @@ for (const packageInfo of MONGOSH_PACKAGES) { }); } +const { E2E_TESTS_BUILD_VARIANTS } = require('./variants/e2e-tests-build-variants') +const { COMPILE_BUILD_VARIANTS } = require('./variants/compile-build-variants') +const { RELEASE_PACKAGE_MATRIX } = require('../config/release-package-matrix') %> @@ -875,8 +307,8 @@ functions: content_type: application/x-gzip check_coverage: - <% for (let variant of ALL_UNIT_TEST_BUILD_VARIANTS) { - for (let unitTest of ALL_UNIT_TESTS.filter(t => t.variants.includes(variant.platform) && (!t.unitTestsOnly || (t.unitTestsOnly && variant.runWithUnitTestsOnly)))) { + <% for (let variant of UNIT_TESTS_BUILD_VARIANTS) { + for (let unitTest of UNIT_TESTS.filter(t => t.variants.includes(variant.platform) && (!t.unitTestsOnly || (t.unitTestsOnly && variant.runWithUnitTestsOnly)))) { let buildVariant = variant.id; %> - command: s3.get @@ -1713,7 +1145,7 @@ tasks: # UNIT TESTS # E.g. test_m60xc_n16 stands for mongod 6.0.x, community edition, Node.js 16 ### - <% for (const { id, packageName } of ALL_UNIT_TESTS) { %> + <% for (const { id, packageName } of UNIT_TESTS) { %> - name: test_<% out(id) %> tags: ["assigned_to_jira_team_mongosh_mongosh","unit-test"] depends_on: @@ -1818,17 +1250,15 @@ tasks: # E2E TESTS ### # Tests reuse the same compilation build variant, so we create those variations based on this. - <% for (const compileBuildVariant of ['build_linux_x64', 'build_linux_arm64', 'build_darwin', 'build_darwin_arm64', 'build_win32']) { - const platformName = compileBuildVariant.replace('build_', ''); + <% for (const compileBuildVariant of COMPILE_BUILD_VARIANTS) { + const platformName = compileBuildVariant.name.replace('build_', ''); const executableOsId = platformName == 'darwin' ? 'darwin-x64' : platformName.replaceAll('_', '-'); %> - name: e2e_tests_<% out(platformName) %> tags: ["e2e-test", "assigned_to_jira_team_mongosh_mongosh"] depends_on: - name: compile_artifact - <% if (compileBuildVariant != '') { %> - variant: <% out(compileBuildVariant) %> - <% } %> + variant: <% out(compileBuildVariant.name) %> commands: - func: checkout - func: install @@ -1841,7 +1271,6 @@ tasks: vars: node_js_version: ${node_js_version} mongosh_server_test_version: ${mongosh_server_test_version} - mongosh_shared_openssl: ${mongosh_shared_openssl} mongosh_test_e2e_force_fips: ${mongosh_test_e2e_force_fips} disable_openssl_shared_config_for_bundled_openssl: ${disable_openssl_shared_config_for_bundled_openssl|false} <% } %> @@ -2117,47 +1546,48 @@ tasks: # Need to run builds for every possible build variant. buildvariants: - <% for (const variant of ALL_UNIT_TEST_BUILD_VARIANTS) { %> + <% for (const variant of UNIT_TESTS_BUILD_VARIANTS) { %> - name: <% out(variant.name) %> display_name: "<% out(variant.displayName) %>" run_on: <% out(variant.runOn) %> tags: <% out(variant.tags) %> expansions: - executable_os_id: <% out(variant.executableOsId) || '' %> + executable_os_id: <% out(variant.executableOsId) %> mongosh_server_test_version: "<% out(variant.mVersion || '') %>" node_js_version: "<% out(variant.nVersion) %>" mongosh_skip_node_version_check: "<% out(variant.skipNodeVersionCheck) %>" tasks: - <% for (const test of ALL_UNIT_TESTS.filter(test => test.variants.includes(variant.platform))) { %> + <% for (const test of UNIT_TESTS.filter(test => test.variants.includes(variant.platform))) { %> - name: test_<% out(test.id) %> <% } %> <% } %> - <% for (const variant of ALL_E2E_TEST_BUILD_VARIANTS) { %> + <% for (const variant of COMPILE_BUILD_VARIANTS) { %> + - name: <% out(variant.name) %> + display_name: "<% out(variant.displayName) %>" + run_on: <% out(variant.runOn) %> + expansions: + executable_os_id: "<% out(variant.executableOsId) %>" + node_js_version: "<% out(NODE_JS_VERSION_20) %>" + <% if (variant.sharedOpenSsl) { %> + mongosh_shared_openssl: "<% out(variant.sharedOpenSsl) %>" + <% } %> + tasks: + - name: compile_artifact + <% } %> + <% for (const variant of E2E_TESTS_BUILD_VARIANTS) { %> - name: <% out(variant.name) %> display_name: "<% out(variant.displayName) %>" run_on: <% out(variant.runOn) %> tags: <% out([...(variant.tags ?? [])]) %> expansions: - executable_os_id: "<% out(variant.executableOsId || '') %>" + executable_os_id: "<% out(variant.executableOsId) %>" disable_openssl_shared_config_for_bundled_openssl: <% out(variant.disableOpenSslSharedConfig || false) %> node_js_version: "<% out(NODE_JS_VERSION_20) %>" mongosh_server_test_version: "<% out(variant.mVersion) %>-enterprise" mongosh_test_e2e_force_fips: "<% out(variant.fips ? '1' : '') %>" - <% if (variant.sharedOpenSsl) { %> - mongosh_shared_openssl: "<% out(variant.sharedOpenSsl) %>" - <% } %> tasks: <% - let tasks = []; - if (variant.isBuildOnly || !variant.compileBuildVariant || variant.compileBuildVariant == variant.id) { - tasks.push('compile_artifact'); - } - if (!variant.isBuildOnly) { - tasks.push(`e2e_tests${variant.compileBuildVariant ? `_${variant.compileBuildVariant.replace('build_', '')}` : ''}`) - } - if (variant.additionalTasks) { - tasks.push(...variant.additionalTasks); - } + let tasks = [`e2e_tests_${variant.compileBuildVariant.replace('build_', '')}`, ...(variant.additionalTasks ?? [])]; for (const task of tasks) { %> - name: <% out(task) %> <% } %> diff --git a/.evergreen/variants/compile-build-variants.d.ts b/.evergreen/variants/compile-build-variants.d.ts new file mode 100644 index 000000000..1d0c853f8 --- /dev/null +++ b/.evergreen/variants/compile-build-variants.d.ts @@ -0,0 +1,8 @@ +export type CompileBuildVariantDefinition = { + name: string; + displayName: string; + runOn: string; + executableOsId: string; + id?: string; + sharedOpenSsl?: string; +}; diff --git a/.evergreen/variants/compile-build-variants.js b/.evergreen/variants/compile-build-variants.js new file mode 100644 index 000000000..fbdeb991e --- /dev/null +++ b/.evergreen/variants/compile-build-variants.js @@ -0,0 +1,98 @@ +// @ts-check + +/** @type {(import("./compile-build-variants").CompileBuildVariantDefinition)[]} */ +exports.COMPILE_BUILD_VARIANTS = [ + { + displayName: "RHEL 7.0 x64", + runOn: "rhel70-build", + executableOsId: "linux-x64", + }, + { + displayName: "RHEL 8.0 x64", + runOn: "rhel80-build", + id: "linux_x64_rhel8", + executableOsId: "linux-x64", + }, + { + displayName: "RHEL 7.0 x64", + runOn: "rhel70-build", + executableOsId: "linux-x64-openssl11", + sharedOpenSsl: "openssl11", + }, + { + displayName: "RHEL 8.0 x64", + runOn: "rhel80-build", + id: "linux_x64_openssl11_rhel8", + executableOsId: "linux-x64-openssl11", + sharedOpenSsl: "openssl11", + }, + { + displayName: "RHEL 7.0 x64", + runOn: "rhel70-build", + executableOsId: "linux-x64-openssl3", + sharedOpenSsl: "openssl3", + }, + { + displayName: "RHEL 8.0 x64", + runOn: "rhel80-build", + id: "linux_x64_openssl3_rhel8", + executableOsId: "linux-x64-openssl3", + sharedOpenSsl: "openssl3", + }, + { + displayName: "Amazon 2 arm64", + runOn: "amazon2-arm64-large", + executableOsId: "linux-arm64", + }, + { + displayName: "Amazon 2 arm64", + runOn: "amazon2-arm64-large", + executableOsId: "linux-arm64-openssl11", + sharedOpenSsl: "openssl11", + }, + { + displayName: "Amazon 2 arm64", + runOn: "amazon2-arm64-large", + executableOsId: "linux-arm64-openssl3", + sharedOpenSsl: "openssl3", + }, + { + displayName: "RHEL 8 PPC", + runOn: "rhel8-power-small", + executableOsId: "linux-ppc64le", + }, + { + displayName: "RHEL 7 s390x", + runOn: "rhel7-zseries-large", + executableOsId: "linux-s390x", + }, + { + displayName: "MacOS Big Sur", + id: "darwin", + runOn: "macos-11", + executableOsId: "darwin-x64", + }, + { + displayName: "MacOS Big Sur arm64", + runOn: "macos-11-arm64", + executableOsId: "darwin-arm64", + }, + { + id: "win32", + displayName: "Windows VS 2022", + runOn: "windows-vsCurrent-large", + executableOsId: "win32", + }, +].map((buildVariant) => { + const { displayName, sharedOpenSsl, id, executableOsId } = buildVariant; + const formattedDisplayName = [displayName, sharedOpenSsl, "(Build)"] + .filter((text) => text) + .join(" "); + + return { + ...buildVariant, + id, + displayName: formattedDisplayName, + name: `build_${id ?? executableOsId.replaceAll("-", "_")}`, + }; +}); diff --git a/.evergreen/variants/e2e-tests-build-variants.d.ts b/.evergreen/variants/e2e-tests-build-variants.d.ts new file mode 100644 index 000000000..8a877de57 --- /dev/null +++ b/.evergreen/variants/e2e-tests-build-variants.d.ts @@ -0,0 +1,12 @@ +export type E2ETestsBuildVariantDefinition = { + displayName: string; + name: string; + compileBuildVariant: string; + runOn: string; + executableOsId: string; + mVersion: string; + tags?: string[]; + disableOpenSslSharedConfig?: boolean; + fips?: boolean; + additionalTasks?: string[]; +}; diff --git a/.evergreen/variants/e2e-tests-build-variants.js b/.evergreen/variants/e2e-tests-build-variants.js new file mode 100644 index 000000000..a73d76d1d --- /dev/null +++ b/.evergreen/variants/e2e-tests-build-variants.js @@ -0,0 +1,396 @@ +const { COMPILE_BUILD_VARIANTS } = require("./compile-build-variants.js"); + +//@ts-check + +/** @type {(import("./e2e-tests-build-variants.js").E2ETestsBuildVariantDefinition)[]} */ +exports.E2E_TESTS_BUILD_VARIANTS = [ + { + displayName: "RHEL 7.0 x64", + runOn: "rhel70-large", + tags: ["nightly-driver"], + executableOsId: "linux-x64", + mVersion: "7.0.x", + }, + { + displayName: "RHEL 7.6 x64", + runOn: "rhel76-large", + tags: ["nightly-driver"], + executableOsId: "linux-x64", + mVersion: "7.0.x", + }, + { + displayName: "RHEL 8.0 x64", + runOn: "rhel80-small", + tags: ["nightly-driver"], + executableOsId: "linux-x64", + mVersion: "stable", + }, + { + displayName: "RHEL 9.0 x64", + runOn: "rhel90-small", + tags: ["nightly-driver"], + disableOpenSslSharedConfig: true, + executableOsId: "linux-x64", + mVersion: "7.0.x", + }, + { + displayName: "RHEL 9.3 x64", + runOn: "rhel93-small", + tags: ["nightly-driver"], + disableOpenSslSharedConfig: true, + executableOsId: "linux-x64", + mVersion: "stable", + }, + { + displayName: "RHEL 8.3 x64", + runOn: "rhel83-fips", + tags: ["nightly-driver"], + executableOsId: "linux-x64", + mVersion: "stable", + }, + { + displayName: "RHEL 8.3 x64", + runOn: "rhel83-fips", + tags: ["nightly-driver"], + sharedOpenSsl: "openssl11", + executableOsId: "linux-x64-openssl11", + mVersion: "stable", + }, + { + displayName: "RHEL 8.3 x64", + runOn: "rhel83-fips", + tags: ["nightly-driver"], + fips: true, + sharedOpenSsl: "openssl11", + executableOsId: "linux-x64-openssl11", + mVersion: "stable", + }, + { + displayName: "RHEL 9.3 x64", + runOn: "rhel93-fips", + tags: ["nightly-driver"], + executableOsId: "linux-x64", + mVersion: "stable", + }, + { + displayName: "RHEL 9.3 x64", + runOn: "rhel93-fips", + tags: ["nightly-driver"], + sharedOpenSsl: "openssl3", + executableOsId: "linux-x64-openssl3", + mVersion: "stable", + }, + { + displayName: "RHEL 9.3 x64", + runOn: "rhel93-fips", + tags: ["nightly-driver"], + fips: true, + sharedOpenSsl: "openssl3", + executableOsId: "linux-x64-openssl3", + mVersion: "stable", + }, + { + displayName: "Ubuntu 18.04 x64", + runOn: "ubuntu1804-large", + tags: ["nightly-driver"], + executableOsId: "linux-x64", + mVersion: "6.0.x", + }, + { + displayName: "Ubuntu 20.04 x64", + runOn: "ubuntu2004-small", + tags: ["nightly-driver"], + executableOsId: "linux-x64", + mVersion: "stable", + }, + { + displayName: "Ubuntu 20.04 x64", + runOn: "ubuntu2004-small", + tags: ["nightly-driver"], + sharedOpenSsl: "openssl11", + executableOsId: "linux-x64-openssl11", + mVersion: "stable", + }, + { + displayName: "Ubuntu 22.04 x64", + runOn: "ubuntu2204-small", + tags: ["nightly-driver"], + executableOsId: "linux-x64", + mVersion: "stable", + }, + { + displayName: "Ubuntu 22.04 x64", + runOn: "ubuntu2204-small", + tags: ["nightly-driver"], + sharedOpenSsl: "openssl3", + executableOsId: "linux-x64-openssl3", + mVersion: "stable", + }, + { + displayName: "Ubuntu 24.04 x64", + runOn: "ubuntu2404-small", + tags: ["nightly-driver"], + executableOsId: "linux-x64", + mVersion: "stable", + }, + { + displayName: "Ubuntu 24.04 x64", + runOn: "ubuntu2404-small", + tags: ["nightly-driver"], + sharedOpenSsl: "openssl3", + executableOsId: "linux-x64-openssl3", + mVersion: "stable", + }, + { + displayName: "Debian 10 x64", + runOn: "debian10-small", + tags: ["nightly-driver"], + executableOsId: "linux-x64", + mVersion: "6.0.x", + }, + { + displayName: "Debian 10 x64", + runOn: "debian10-small", + tags: ["nightly-driver"], + sharedOpenSsl: "openssl11", + executableOsId: "linux-x64-openssl11", + mVersion: "6.0.x", + }, + { + displayName: "Debian 11 x64", + runOn: "debian11-small", + tags: ["nightly-driver"], + executableOsId: "linux-x64", + mVersion: "7.0.x", + }, + { + displayName: "Debian 11 x64", + runOn: "debian11-small", + tags: ["nightly-driver"], + sharedOpenSsl: "openssl11", + executableOsId: "linux-x64-openssl11", + mVersion: "7.0.x", + }, + { + displayName: "Amazon Linux 2 x64", + runOn: "amazon2-large", + tags: ["nightly-driver"], + executableOsId: "linux-x64", + mVersion: "7.0.x", + }, + { + displayName: "Amazon Linux 2023 x64", + runOn: "amazon2023.0-small", + tags: ["nightly-driver"], + disableOpenSslSharedConfig: true, + executableOsId: "linux-x64", + mVersion: "stable", + }, + { + displayName: "SLES 12 x64", + runOn: "suse12-sp5-large", + tags: ["nightly-driver"], + executableOsId: "linux-x64", + mVersion: "7.0.x", + }, + { + displayName: "SLES 15 x64", + runOn: "suse15sp4-small", + tags: ["nightly-driver"], + executableOsId: "linux-x64", + mVersion: "stable", + }, + { + displayName: "Ubuntu 18.04 arm64", + runOn: "ubuntu1804-arm64-large", + executableOsId: "linux-arm64", + mVersion: "6.0.x", + }, + { + displayName: "Ubuntu 20.04 arm64", + runOn: "ubuntu2004-arm64-small", + executableOsId: "linux-arm64", + mVersion: "stable", + }, + { + displayName: "Ubuntu 20.04 arm64", + runOn: "ubuntu2004-arm64-small", + sharedOpenSsl: "openssl11", + executableOsId: "linux-arm64-openssl11", + mVersion: "stable", + }, + { + displayName: "Ubuntu 22.04 arm64", + runOn: "ubuntu2204-arm64-small", + executableOsId: "linux-arm64", + mVersion: "stable", + }, + { + displayName: "Ubuntu 22.04 arm64", + runOn: "ubuntu2204-arm64-small", + sharedOpenSsl: "openssl3", + executableOsId: "linux-arm64-openssl3", + mVersion: "stable", + }, + { + displayName: "Ubuntu 24.04 arm64", + runOn: "ubuntu2404-arm64-small", + executableOsId: "linux-arm64", + mVersion: "stable", + }, + { + displayName: "Ubuntu 24.04 arm64", + runOn: "ubuntu2404-arm64-small", + sharedOpenSsl: "openssl3", + executableOsId: "linux-arm64-openssl3", + mVersion: "stable", + }, + { + displayName: "Amazon Linux 2 arm64", + runOn: "amazon2-arm64-large", + executableOsId: "linux-arm64", + mVersion: "7.0.x", + }, + { + displayName: "Amazon Linux 2023 arm64", + runOn: "amazon2023.0-arm64-small", + disableOpenSslSharedConfig: true, + executableOsId: "linux-arm64", + mVersion: "stable", + }, + { + displayName: "RHEL 8.2 arm64", + runOn: "rhel82-arm64-small", + executableOsId: "linux-arm64", + mVersion: "stable", + }, + { + displayName: "RHEL 9.0 arm64", + runOn: "rhel90-arm64-small", + disableOpenSslSharedConfig: true, + executableOsId: "linux-arm64", + mVersion: "7.0.x", + }, + { + displayName: "RHEL 9.0 arm64", + runOn: "rhel90-arm64-small", + disableOpenSslSharedConfig: true, + sharedOpenSsl: "openssl3", + executableOsId: "linux-arm64-openssl3", + mVersion: "7.0.x", + }, + { + displayName: "RHEL 9.3 arm64", + runOn: "rhel93-arm64-small", + disableOpenSslSharedConfig: true, + executableOsId: "linux-arm64", + mVersion: "stable", + }, + { + displayName: "RHEL 9.3 arm64", + runOn: "rhel93-arm64-small", + disableOpenSslSharedConfig: true, + sharedOpenSsl: "openssl3", + executableOsId: "linux-arm64-openssl3", + mVersion: "stable", + }, + { + displayName: "RHEL 8 PPC", + runOn: "rhel8-power-small", + executableOsId: "linux-x64", + mVersion: "stable", + }, + { + displayName: "RHEL 7 s390x", + runOn: "rhel7-zseries-large", + executableOsId: "linux-x64", + mVersion: "6.0.x", + }, + { + displayName: "RHEL 8 s390x", + runOn: "rhel8-zseries-small", + executableOsId: "linux-x64", + mVersion: "stable", + }, + { + displayName: "MacOS 14 x64", + runOn: "macos-14", + executableOsId: "darwin-x64", + mVersion: "stable", + }, + { + displayName: "MacOS 14 arm64", + runOn: "macos-14-arm64", + executableOsId: "darwin-arm64", + mVersion: "stable", + }, + { + displayName: "MacOS Big Sur", + id: "darwin", + runOn: "macos-11", + executableOsId: "darwin-x64", + mVersion: "stable", + }, + { + displayName: "MacOS Big Sur arm64", + runOn: "macos-11-arm64", + id: "darwin_arm64", + executableOsId: "darwin-arm64", + mVersion: "stable", + additionalTasks: [ + "package_artifact_darwin_x64", + "sign_artifact_darwin_x64", + "package_artifact_darwin_arm64", + "sign_artifact_darwin_arm64", + ], + }, + { + displayName: "Windows VS 2022", + runOn: "windows-vsCurrent-small", + executableOsId: "win32", + mVersion: "stable", + additionalTasks: [ + "package_artifact_win32_x64", + "package_artifact_win32msi_x64", + ], + }, +].map((buildVariant) => { + const { displayName, fips, sharedOpenSsl, mVersion, runOn, executableOsId } = + buildVariant; + let id = (buildVariant.id ?? runOn ?? executableOsId).replaceAll("-", "_"); + + const name = [ + "e2e_tests", + id, + sharedOpenSsl, + mVersion != "stable" ? `m${mVersion.replaceAll(".", "")}` : undefined, + fips, + ] + .filter((text) => text) + .join("_"); + + const formattedDisplayName = [ + displayName, + mVersion != "stable" ? mVersion.replaceAll(".", "") : undefined, + sharedOpenSsl, + fips ? "FIPS" : undefined, + "(E2E tests)", + ] + .filter((text) => text) + .join(" "); + + let compileBuildVariant = COMPILE_BUILD_VARIANTS.find( + (pkg) => pkg.executableOsId == executableOsId + )?.name; + + if (!compileBuildVariant) + throw new Error(`Compile build variant not found for ${executableOsId}`); + + return { + ...buildVariant, + id, + displayName: formattedDisplayName, + name, + compileBuildVariant, + }; +}); From 26e52fe8c57088390a69de5dafd59c1e1833f934 Mon Sep 17 00:00:00 2001 From: gagik Date: Tue, 17 Dec 2024 18:06:37 +0100 Subject: [PATCH 23/24] rename to build variants --- .../{variants => build-variants}/compile-build-variants.d.ts | 0 .evergreen/{variants => build-variants}/compile-build-variants.js | 0 .../{variants => build-variants}/e2e-tests-build-variants.d.ts | 0 .../{variants => build-variants}/e2e-tests-build-variants.js | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename .evergreen/{variants => build-variants}/compile-build-variants.d.ts (100%) rename .evergreen/{variants => build-variants}/compile-build-variants.js (100%) rename .evergreen/{variants => build-variants}/e2e-tests-build-variants.d.ts (100%) rename .evergreen/{variants => build-variants}/e2e-tests-build-variants.js (100%) diff --git a/.evergreen/variants/compile-build-variants.d.ts b/.evergreen/build-variants/compile-build-variants.d.ts similarity index 100% rename from .evergreen/variants/compile-build-variants.d.ts rename to .evergreen/build-variants/compile-build-variants.d.ts diff --git a/.evergreen/variants/compile-build-variants.js b/.evergreen/build-variants/compile-build-variants.js similarity index 100% rename from .evergreen/variants/compile-build-variants.js rename to .evergreen/build-variants/compile-build-variants.js diff --git a/.evergreen/variants/e2e-tests-build-variants.d.ts b/.evergreen/build-variants/e2e-tests-build-variants.d.ts similarity index 100% rename from .evergreen/variants/e2e-tests-build-variants.d.ts rename to .evergreen/build-variants/e2e-tests-build-variants.d.ts diff --git a/.evergreen/variants/e2e-tests-build-variants.js b/.evergreen/build-variants/e2e-tests-build-variants.js similarity index 100% rename from .evergreen/variants/e2e-tests-build-variants.js rename to .evergreen/build-variants/e2e-tests-build-variants.js From 3b6e7874eb1cae9d356f760a9c1b386352c89fc9 Mon Sep 17 00:00:00 2001 From: gagik Date: Tue, 17 Dec 2024 19:34:24 +0100 Subject: [PATCH 24/24] fix broken tests --- .evergreen.yml | 56 +++++++++---------- .../e2e-tests-build-variants.js | 6 +- .evergreen/evergreen.yml.in | 4 +- config/release-package-matrix.js | 8 +-- 4 files changed, 37 insertions(+), 37 deletions(-) diff --git a/.evergreen.yml b/.evergreen.yml index 3cd9f11e2..9ae59e486 100644 --- a/.evergreen.yml +++ b/.evergreen.yml @@ -5329,7 +5329,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_x64 + variant: build_linux_x64_openssl11 commands: - func: checkout - func: install @@ -5348,7 +5348,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_x64 + variant: build_linux_x64_openssl11 commands: - func: checkout - func: install @@ -5367,7 +5367,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_x64 + variant: build_linux_x64_openssl3 commands: - func: checkout - func: install @@ -5386,7 +5386,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_x64 + variant: build_linux_x64_openssl3 commands: - func: checkout - func: install @@ -5405,7 +5405,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_x64 + variant: build_linux_x64_openssl3 commands: - func: checkout - func: install @@ -5519,7 +5519,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_arm64 + variant: build_linux_arm64_openssl11 commands: - func: checkout - func: install @@ -5538,7 +5538,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_arm64 + variant: build_linux_arm64_openssl11 commands: - func: checkout - func: install @@ -5557,7 +5557,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_arm64 + variant: build_linux_arm64_openssl3 commands: - func: checkout - func: install @@ -5576,7 +5576,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_arm64 + variant: build_linux_arm64_openssl3 commands: - func: checkout - func: install @@ -5595,7 +5595,7 @@ tasks: tags: ["connectivity-test"] depends_on: - name: compile_artifact - variant: build_linux_arm64 + variant: build_linux_arm64_openssl3 commands: - func: checkout - func: install @@ -6033,7 +6033,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_x64 + variant: build_linux_x64_openssl11 commands: - func: checkout - func: install @@ -6116,7 +6116,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_x64 + variant: build_linux_x64_openssl11 commands: - func: checkout - func: install @@ -6199,7 +6199,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_x64 + variant: build_linux_x64_openssl11 commands: - func: checkout - func: install @@ -6282,7 +6282,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_x64 + variant: build_linux_x64_openssl3 commands: - func: checkout - func: install @@ -6365,7 +6365,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_x64 + variant: build_linux_x64_openssl3 commands: - func: checkout - func: install @@ -6448,7 +6448,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_x64 + variant: build_linux_x64_openssl3 commands: - func: checkout - func: install @@ -6780,7 +6780,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_arm64 + variant: build_linux_arm64_openssl11 commands: - func: checkout - func: install @@ -6863,7 +6863,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_arm64 + variant: build_linux_arm64_openssl11 commands: - func: checkout - func: install @@ -6946,7 +6946,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_arm64 + variant: build_linux_arm64_openssl11 commands: - func: checkout - func: install @@ -7029,7 +7029,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_arm64 + variant: build_linux_arm64_openssl3 commands: - func: checkout - func: install @@ -7112,7 +7112,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_arm64 + variant: build_linux_arm64_openssl3 commands: - func: checkout - func: install @@ -7195,7 +7195,7 @@ tasks: tags: ["add-sbom-task"] depends_on: - name: compile_artifact - variant: build_linux_arm64 + variant: build_linux_arm64_openssl3 commands: - func: checkout - func: install @@ -10920,37 +10920,37 @@ buildvariants: run_on: rhel8-power-small tags: [] expansions: - executable_os_id: "linux-x64" + executable_os_id: "linux-ppc64le" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_ppc64le - name: e2e_tests_rhel7_zseries_large_m60x display_name: "RHEL 7 s390x 60x (E2E tests)" run_on: rhel7-zseries-large tags: [] expansions: - executable_os_id: "linux-x64" + executable_os_id: "linux-s390x" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "6.0.x-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_s390x - name: e2e_tests_rhel8_zseries_small display_name: "RHEL 8 s390x (E2E tests)" run_on: rhel8-zseries-small tags: [] expansions: - executable_os_id: "linux-x64" + executable_os_id: "linux-s390x" disable_openssl_shared_config_for_bundled_openssl: false node_js_version: "20.18.1" mongosh_server_test_version: "stable-enterprise" mongosh_test_e2e_force_fips: "" tasks: - - name: e2e_tests_linux_x64 + - name: e2e_tests_linux_s390x - name: e2e_tests_macos_14 display_name: "MacOS 14 x64 (E2E tests)" run_on: macos-14 diff --git a/.evergreen/build-variants/e2e-tests-build-variants.js b/.evergreen/build-variants/e2e-tests-build-variants.js index a73d76d1d..c44d090da 100644 --- a/.evergreen/build-variants/e2e-tests-build-variants.js +++ b/.evergreen/build-variants/e2e-tests-build-variants.js @@ -297,19 +297,19 @@ exports.E2E_TESTS_BUILD_VARIANTS = [ { displayName: "RHEL 8 PPC", runOn: "rhel8-power-small", - executableOsId: "linux-x64", + executableOsId: "linux-ppc64le", mVersion: "stable", }, { displayName: "RHEL 7 s390x", runOn: "rhel7-zseries-large", - executableOsId: "linux-x64", + executableOsId: "linux-s390x", mVersion: "6.0.x", }, { displayName: "RHEL 8 s390x", runOn: "rhel8-zseries-small", - executableOsId: "linux-x64", + executableOsId: "linux-s390x", mVersion: "stable", }, { diff --git a/.evergreen/evergreen.yml.in b/.evergreen/evergreen.yml.in index 27ab343fe..a319c8c6b 100644 --- a/.evergreen/evergreen.yml.in +++ b/.evergreen/evergreen.yml.in @@ -88,8 +88,8 @@ for (const packageInfo of MONGOSH_PACKAGES) { }); } -const { E2E_TESTS_BUILD_VARIANTS } = require('./variants/e2e-tests-build-variants') -const { COMPILE_BUILD_VARIANTS } = require('./variants/compile-build-variants') +const { E2E_TESTS_BUILD_VARIANTS } = require('./build-variants/e2e-tests-build-variants') +const { COMPILE_BUILD_VARIANTS } = require('./build-variants/compile-build-variants') const { RELEASE_PACKAGE_MATRIX } = require('../config/release-package-matrix') diff --git a/config/release-package-matrix.js b/config/release-package-matrix.js index 21ffdc97b..e132d3525 100644 --- a/config/release-package-matrix.js +++ b/config/release-package-matrix.js @@ -135,7 +135,7 @@ exports.RELEASE_PACKAGE_MATRIX = [ }, { executableOsId: 'linux-x64-openssl11', - compileBuildVariant: 'build_linux_x64', + compileBuildVariant: 'build_linux_x64_openssl11', kerberosConnectivityTestDockerfiles: [...krbConnTestsOpenSSL11], packages: [ { @@ -178,7 +178,7 @@ exports.RELEASE_PACKAGE_MATRIX = [ }, { executableOsId: 'linux-x64-openssl3', - compileBuildVariant: 'build_linux_x64', + compileBuildVariant: 'build_linux_x64_openssl3', kerberosConnectivityTestDockerfiles: [...krbConnTestsOpenSSL3], packages: [ { @@ -273,7 +273,7 @@ exports.RELEASE_PACKAGE_MATRIX = [ }, { executableOsId: 'linux-arm64-openssl11', - compileBuildVariant: 'build_linux_arm64', + compileBuildVariant: 'build_linux_arm64_openssl11', kerberosConnectivityTestDockerfiles: [...krbConnTestsOpenSSL11], packages: [ { @@ -315,7 +315,7 @@ exports.RELEASE_PACKAGE_MATRIX = [ }, { executableOsId: 'linux-arm64-openssl3', - compileBuildVariant: 'build_linux_arm64', + compileBuildVariant: 'build_linux_arm64_openssl3', kerberosConnectivityTestDockerfiles: [...krbConnTestsOpenSSL3], packages: [ {