From ed27bd052640df52c7a3c3c11a9e4db4d6d315c6 Mon Sep 17 00:00:00 2001 From: Sergey Zelenov Date: Mon, 10 Nov 2025 10:32:35 +0100 Subject: [PATCH 1/2] test(NODE-7283): add node 24 to ci --- .evergreen/ci_matrix_constants.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.evergreen/ci_matrix_constants.js b/.evergreen/ci_matrix_constants.js index 104de77faf8..9cd842304cb 100644 --- a/.evergreen/ci_matrix_constants.js +++ b/.evergreen/ci_matrix_constants.js @@ -1,7 +1,8 @@ const MONGODB_VERSIONS = ['latest', 'rapid', '8.0', '7.0', '6.0', '5.0', '4.4', '4.2']; const versions = [ { codeName: 'iron', versionNumber: '20.19.0' }, - { codeName: 'jod', versionNumber: 22 } + { codeName: 'jod', versionNumber: 22 }, + { codeName: 'krypton', versionNumber: 24 } ]; const NODE_VERSIONS = versions.map(({ versionNumber }) => versionNumber).sort(); const LOWEST_LTS = NODE_VERSIONS[0]; From b2a410c1559b8e5014aed1dd171790482c6cb09a Mon Sep 17 00:00:00 2001 From: Sergey Zelenov Date: Mon, 10 Nov 2025 10:49:16 +0100 Subject: [PATCH 2/2] regenerate config --- .evergreen/config.yml | 158 +++++++++++++++++++++++++++++++++++------- 1 file changed, 134 insertions(+), 24 deletions(-) diff --git a/.evergreen/config.yml b/.evergreen/config.yml index 83a382a225b..eeeb1582ef7 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -1611,7 +1611,7 @@ tasks: params: updates: - {key: VERSION, value: latest} - - {key: NODE_LTS_VERSION, value: '22'} + - {key: NODE_LTS_VERSION, value: '24'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -1626,7 +1626,7 @@ tasks: params: updates: - {key: VERSION, value: latest} - - {key: NODE_LTS_VERSION, value: '22'} + - {key: NODE_LTS_VERSION, value: '24'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -1641,7 +1641,7 @@ tasks: params: updates: - {key: VERSION, value: latest} - - {key: NODE_LTS_VERSION, value: '22'} + - {key: NODE_LTS_VERSION, value: '24'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -1656,7 +1656,7 @@ tasks: params: updates: - {key: VERSION, value: latest} - - {key: NODE_LTS_VERSION, value: '22'} + - {key: NODE_LTS_VERSION, value: '24'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -1671,7 +1671,7 @@ tasks: params: updates: - {key: VERSION, value: latest} - - {key: NODE_LTS_VERSION, value: '22'} + - {key: NODE_LTS_VERSION, value: '24'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -1686,7 +1686,7 @@ tasks: params: updates: - {key: VERSION, value: latest} - - {key: NODE_LTS_VERSION, value: '22'} + - {key: NODE_LTS_VERSION, value: '24'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -1701,7 +1701,7 @@ tasks: params: updates: - {key: VERSION, value: latest} - - {key: NODE_LTS_VERSION, value: '22'} + - {key: NODE_LTS_VERSION, value: '24'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -1716,7 +1716,7 @@ tasks: params: updates: - {key: VERSION, value: latest} - - {key: NODE_LTS_VERSION, value: '22'} + - {key: NODE_LTS_VERSION, value: '24'} - {key: AUTH, value: auth} - {key: ORCHESTRATION_FILE, value: auth-aws.json} - {key: TOPOLOGY, value: server} @@ -1841,6 +1841,17 @@ tasks: - {key: NODE_LTS_VERSION, value: '22'} - func: install dependencies - func: run unit tests + - name: run-unit-tests-node-24 + tags: + - unit-tests + commands: + - command: expansions.update + type: setup + params: + updates: + - {key: NODE_LTS_VERSION, value: '24'} + - func: install dependencies + - func: run unit tests - name: run-lint-checks tags: - lint-checks @@ -1849,7 +1860,7 @@ tasks: type: setup params: updates: - - {key: NODE_LTS_VERSION, value: '22'} + - {key: NODE_LTS_VERSION, value: '24'} - func: install dependencies - func: run lint checks - name: test-explicit-resource-management-feature-integration @@ -1862,7 +1873,7 @@ tasks: updates: - {key: VERSION, value: latest} - {key: TOPOLOGY, value: replica_set} - - {key: NODE_LTS_VERSION, value: '22'} + - {key: NODE_LTS_VERSION, value: '24'} - func: install dependencies - func: bootstrap mongo-orchestration - func: check resource management feature integration @@ -2467,7 +2478,7 @@ tasks: - {key: VERSION, value: latest} - {key: TOPOLOGY, value: sharded_cluster} - {key: AUTH, value: auth} - - {key: NODE_LTS_VERSION, value: '22'} + - {key: NODE_LTS_VERSION, value: '24'} - func: install dependencies - func: bootstrap mongo-orchestration - func: run tests @@ -2483,7 +2494,7 @@ tasks: - {key: VERSION, value: rapid} - {key: TOPOLOGY, value: sharded_cluster} - {key: AUTH, value: auth} - - {key: NODE_LTS_VERSION, value: '22'} + - {key: NODE_LTS_VERSION, value: '24'} - func: install dependencies - func: bootstrap mongo-orchestration - func: run tests @@ -2499,7 +2510,7 @@ tasks: - {key: VERSION, value: '8.0'} - {key: TOPOLOGY, value: sharded_cluster} - {key: AUTH, value: auth} - - {key: NODE_LTS_VERSION, value: '22'} + - {key: NODE_LTS_VERSION, value: '24'} - func: install dependencies - func: bootstrap mongo-orchestration - func: run tests @@ -2515,7 +2526,7 @@ tasks: - {key: VERSION, value: '7.0'} - {key: TOPOLOGY, value: sharded_cluster} - {key: AUTH, value: auth} - - {key: NODE_LTS_VERSION, value: '22'} + - {key: NODE_LTS_VERSION, value: '24'} - func: install dependencies - func: bootstrap mongo-orchestration - func: run tests @@ -2531,7 +2542,7 @@ tasks: - {key: VERSION, value: '6.0'} - {key: TOPOLOGY, value: sharded_cluster} - {key: AUTH, value: auth} - - {key: NODE_LTS_VERSION, value: '22'} + - {key: NODE_LTS_VERSION, value: '24'} - func: install dependencies - func: bootstrap mongo-orchestration - func: run tests @@ -2547,7 +2558,7 @@ tasks: - {key: VERSION, value: '5.0'} - {key: TOPOLOGY, value: sharded_cluster} - {key: AUTH, value: auth} - - {key: NODE_LTS_VERSION, value: '22'} + - {key: NODE_LTS_VERSION, value: '24'} - func: install dependencies - func: bootstrap mongo-orchestration - func: run tests @@ -2563,7 +2574,7 @@ tasks: - {key: VERSION, value: '4.4'} - {key: TOPOLOGY, value: sharded_cluster} - {key: AUTH, value: auth} - - {key: NODE_LTS_VERSION, value: '22'} + - {key: NODE_LTS_VERSION, value: '24'} - func: install dependencies - func: bootstrap mongo-orchestration - func: run tests @@ -2579,7 +2590,7 @@ tasks: - {key: VERSION, value: '4.2'} - {key: TOPOLOGY, value: sharded_cluster} - {key: AUTH, value: auth} - - {key: NODE_LTS_VERSION, value: '22'} + - {key: NODE_LTS_VERSION, value: '24'} - func: install dependencies - func: bootstrap mongo-orchestration - func: run tests @@ -2961,6 +2972,61 @@ buildvariants: - test-tls-support-5.0 - test-tls-support-4.4 - test-tls-support-4.2 + - name: rhel80-large-Node24 + display_name: rhel8 Node24 + run_on: rhel80-large + expansions: + NODE_LTS_VERSION: 24 + CLIENT_ENCRYPTION: 'true' + TEST_CSFLE: 'true' + tasks: + - test-latest-server + - test-latest-replica_set + - test-latest-sharded_cluster + - test-rapid-server + - test-rapid-replica_set + - test-rapid-sharded_cluster + - test-8.0-server + - test-8.0-replica_set + - test-8.0-sharded_cluster + - test-7.0-server + - test-7.0-replica_set + - test-7.0-sharded_cluster + - test-6.0-server + - test-6.0-replica_set + - test-6.0-sharded_cluster + - test-5.0-server + - test-5.0-replica_set + - test-5.0-sharded_cluster + - test-4.4-server + - test-4.4-replica_set + - test-4.4-sharded_cluster + - test-4.2-server + - test-4.2-replica_set + - test-4.2-sharded_cluster + - test-latest-server-v1-api + - test-x509-authentication + - test-atlas-connectivity + - test-5.0-load-balanced + - test-6.0-load-balanced + - test-7.0-load-balanced + - test-8.0-load-balanced + - test-rapid-load-balanced + - test-latest-load-balanced + - test-auth-kerberos + - test-auth-ldap + - test-socks5 + - test-socks5-csfle + - test-socks5-tls + - test-snappy-compression + - test-zstd-compression + - test-tls-support-latest + - test-tls-support-8.0 + - test-tls-support-7.0 + - test-tls-support-6.0 + - test-tls-support-5.0 + - test-tls-support-4.4 + - test-tls-support-4.2 - name: rhel80-large-node-latest display_name: rhel8 Node Latest run_on: rhel80-large @@ -3102,6 +3168,50 @@ buildvariants: - test-tls-support-5.0 - test-tls-support-4.4 - test-tls-support-4.2 + - name: windows-vsCurrent-large-Node24 + display_name: Windows Node24 + run_on: windows-vsCurrent-large + expansions: + NODE_LTS_VERSION: 24 + CLIENT_ENCRYPTION: 'false' + TEST_CSFLE: 'false' + tasks: + - test-latest-server + - test-latest-replica_set + - test-latest-sharded_cluster + - test-rapid-server + - test-rapid-replica_set + - test-rapid-sharded_cluster + - test-8.0-server + - test-8.0-replica_set + - test-8.0-sharded_cluster + - test-7.0-server + - test-7.0-replica_set + - test-7.0-sharded_cluster + - test-6.0-server + - test-6.0-replica_set + - test-6.0-sharded_cluster + - test-5.0-server + - test-5.0-replica_set + - test-5.0-sharded_cluster + - test-4.4-server + - test-4.4-replica_set + - test-4.4-sharded_cluster + - test-4.2-server + - test-4.2-replica_set + - test-4.2-sharded_cluster + - test-latest-server-v1-api + - test-socks5 + - test-socks5-tls + - test-snappy-compression + - test-zstd-compression + - test-tls-support-latest + - test-tls-support-8.0 + - test-tls-support-7.0 + - test-tls-support-6.0 + - test-tls-support-5.0 + - test-tls-support-4.4 + - test-tls-support-4.2 - name: rhel8-node20.19.0-test-csfle-mongocryptd display_name: rhel 8 Node20.19.0 test mongocryptd run_on: rhel80-large @@ -3118,8 +3228,8 @@ buildvariants: - test-5.0-csfle-mongocryptd - test-4.4-csfle-mongocryptd - test-4.2-csfle-mongocryptd - - name: rhel8-node22-test-csfle-mongocryptd - display_name: rhel 8 Node22 test mongocryptd + - name: rhel8-node24-test-csfle-mongocryptd + display_name: rhel 8 Node24 test mongocryptd run_on: rhel80-large expansions: CLIENT_ENCRYPTION: true @@ -3135,10 +3245,10 @@ buildvariants: - test-4.4-csfle-mongocryptd - test-4.2-csfle-mongocryptd - name: macos-14-arm64 - display_name: MacOS 14 ARM Node22 + display_name: MacOS 14 ARM Node24 run_on: macos-14-arm64 expansions: - NODE_LTS_VERSION: 22 + NODE_LTS_VERSION: 24 CLIENT_ENCRYPTION: true tasks: - test-rapid-server @@ -3158,7 +3268,7 @@ buildvariants: display_name: MONGODB-AWS Auth test run_on: ubuntu2004-small expansions: - NODE_LTS_VERSION: 22 + NODE_LTS_VERSION: 24 tasks: - aws-latest-auth-test-run-aws-auth-test-with-regular-aws-credentials - aws-latest-auth-test-run-aws-auth-test-with-assume-role-credentials @@ -3205,7 +3315,7 @@ buildvariants: display_name: MONGODB-OIDC Auth Tests run_on: ubuntu2004-small expansions: - NODE_LTS_VERSION: 22 + NODE_LTS_VERSION: 24 batchtime: 20160 tasks: - testtestoidc_task_group