Skip to content

Commit cf603dd

Browse files
authored
Merge branch 'master' into PYTHON-4815
2 parents 700960a + 1ae0c39 commit cf603dd

File tree

7 files changed

+266
-84
lines changed

7 files changed

+266
-84
lines changed

.evergreen/config.yml

Lines changed: 194 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -2305,16 +2305,6 @@ axes:
23052305
variables:
23062306
COVERAGE: "coverage"
23072307

2308-
# Run pyopenssl tests?
2309-
- id: pyopenssl
2310-
display_name: "PyOpenSSL"
2311-
values:
2312-
- id: "enabled"
2313-
display_name: "PyOpenSSL"
2314-
variables:
2315-
test_pyopenssl: true
2316-
batchtime: 10080 # 7 days
2317-
23182308
- id: versionedApi
23192309
display_name: "versionedApi"
23202310
values:
@@ -2592,76 +2582,100 @@ buildvariants:
25922582
# Server tests for macOS Arm64.
25932583
- name: test-macos-arm64-py3.9-auth-ssl-sync
25942584
tasks:
2595-
- name: .standalone
2585+
- name: .standalone .6.0
2586+
- name: .standalone .7.0
2587+
- name: .standalone .8.0
2588+
- name: .standalone .rapid
2589+
- name: .standalone .latest
25962590
display_name: Test macOS Arm64 py3.9 Auth SSL Sync
25972591
run_on:
25982592
- macos-14-arm64
25992593
expansions:
26002594
AUTH: auth
26012595
SSL: ssl
26022596
TEST_SUITES: default
2603-
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
26042597
SKIP_CSOT_TESTS: "true"
2598+
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
26052599
- name: test-macos-arm64-py3.9-auth-ssl-async
26062600
tasks:
2607-
- name: .standalone
2601+
- name: .standalone .6.0
2602+
- name: .standalone .7.0
2603+
- name: .standalone .8.0
2604+
- name: .standalone .rapid
2605+
- name: .standalone .latest
26082606
display_name: Test macOS Arm64 py3.9 Auth SSL Async
26092607
run_on:
26102608
- macos-14-arm64
26112609
expansions:
26122610
AUTH: auth
26132611
SSL: ssl
26142612
TEST_SUITES: default_async
2615-
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
26162613
SKIP_CSOT_TESTS: "true"
2614+
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
26172615
- name: test-macos-arm64-py3.13-noauth-ssl-sync
26182616
tasks:
2619-
- name: .replica_set
2617+
- name: .replica_set .6.0
2618+
- name: .replica_set .7.0
2619+
- name: .replica_set .8.0
2620+
- name: .replica_set .rapid
2621+
- name: .replica_set .latest
26202622
display_name: Test macOS Arm64 py3.13 NoAuth SSL Sync
26212623
run_on:
26222624
- macos-14-arm64
26232625
expansions:
26242626
AUTH: noauth
26252627
SSL: ssl
26262628
TEST_SUITES: default
2627-
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3
26282629
SKIP_CSOT_TESTS: "true"
2630+
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3
26292631
- name: test-macos-arm64-py3.13-noauth-ssl-async
26302632
tasks:
2631-
- name: .replica_set
2633+
- name: .replica_set .6.0
2634+
- name: .replica_set .7.0
2635+
- name: .replica_set .8.0
2636+
- name: .replica_set .rapid
2637+
- name: .replica_set .latest
26322638
display_name: Test macOS Arm64 py3.13 NoAuth SSL Async
26332639
run_on:
26342640
- macos-14-arm64
26352641
expansions:
26362642
AUTH: noauth
26372643
SSL: ssl
26382644
TEST_SUITES: default_async
2639-
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3
26402645
SKIP_CSOT_TESTS: "true"
2646+
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.13/bin/python3
26412647
- name: test-macos-arm64-py3.9-noauth-nossl-sync
26422648
tasks:
2643-
- name: .sharded_cluster
2649+
- name: .sharded_cluster .6.0
2650+
- name: .sharded_cluster .7.0
2651+
- name: .sharded_cluster .8.0
2652+
- name: .sharded_cluster .rapid
2653+
- name: .sharded_cluster .latest
26442654
display_name: Test macOS Arm64 py3.9 NoAuth NoSSL Sync
26452655
run_on:
26462656
- macos-14-arm64
26472657
expansions:
26482658
AUTH: noauth
26492659
SSL: nossl
26502660
TEST_SUITES: default
2651-
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
26522661
SKIP_CSOT_TESTS: "true"
2662+
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
26532663
- name: test-macos-arm64-py3.9-noauth-nossl-async
26542664
tasks:
2655-
- name: .sharded_cluster
2665+
- name: .sharded_cluster .6.0
2666+
- name: .sharded_cluster .7.0
2667+
- name: .sharded_cluster .8.0
2668+
- name: .sharded_cluster .rapid
2669+
- name: .sharded_cluster .latest
26562670
display_name: Test macOS Arm64 py3.9 NoAuth NoSSL Async
26572671
run_on:
26582672
- macos-14-arm64
26592673
expansions:
26602674
AUTH: noauth
26612675
SSL: nossl
26622676
TEST_SUITES: default_async
2663-
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
26642677
SKIP_CSOT_TESTS: "true"
2678+
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
26652679

26662680
# Server tests for Windows.
26672681
- name: test-win64-py3.9-auth-ssl-sync
@@ -3194,6 +3208,164 @@ buildvariants:
31943208
COMPRESSORS: zstd
31953209
PYTHON_BINARY: /opt/python/pypy3.9/bin/python3
31963210

3211+
# Enterprise auth tests.
3212+
- name: enterprise-auth-macos-py3.9-auth
3213+
tasks:
3214+
- name: test-enterprise-auth
3215+
display_name: Enterprise Auth macOS py3.9 Auth
3216+
run_on:
3217+
- macos-14
3218+
expansions:
3219+
AUTH: auth
3220+
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
3221+
- name: enterprise-auth-rhel8-py3.10-auth
3222+
tasks:
3223+
- name: test-enterprise-auth
3224+
display_name: Enterprise Auth RHEL8 py3.10 Auth
3225+
run_on:
3226+
- rhel87-small
3227+
expansions:
3228+
AUTH: auth
3229+
PYTHON_BINARY: /opt/python/3.10/bin/python3
3230+
- name: enterprise-auth-rhel8-py3.11-auth
3231+
tasks:
3232+
- name: test-enterprise-auth
3233+
display_name: Enterprise Auth RHEL8 py3.11 Auth
3234+
run_on:
3235+
- rhel87-small
3236+
expansions:
3237+
AUTH: auth
3238+
PYTHON_BINARY: /opt/python/3.11/bin/python3
3239+
- name: enterprise-auth-rhel8-py3.12-auth
3240+
tasks:
3241+
- name: test-enterprise-auth
3242+
display_name: Enterprise Auth RHEL8 py3.12 Auth
3243+
run_on:
3244+
- rhel87-small
3245+
expansions:
3246+
AUTH: auth
3247+
PYTHON_BINARY: /opt/python/3.12/bin/python3
3248+
- name: enterprise-auth-win64-py3.13-auth
3249+
tasks:
3250+
- name: test-enterprise-auth
3251+
display_name: Enterprise Auth Win64 py3.13 Auth
3252+
run_on:
3253+
- windows-64-vsMulti-small
3254+
expansions:
3255+
AUTH: auth
3256+
PYTHON_BINARY: C:/python/Python313/python.exe
3257+
- name: enterprise-auth-rhel8-pypy3.9-auth
3258+
tasks:
3259+
- name: test-enterprise-auth
3260+
display_name: Enterprise Auth RHEL8 pypy3.9 Auth
3261+
run_on:
3262+
- rhel87-small
3263+
expansions:
3264+
AUTH: auth
3265+
PYTHON_BINARY: /opt/python/pypy3.9/bin/python3
3266+
- name: enterprise-auth-rhel8-pypy3.10-auth
3267+
tasks:
3268+
- name: test-enterprise-auth
3269+
display_name: Enterprise Auth RHEL8 pypy3.10 Auth
3270+
run_on:
3271+
- rhel87-small
3272+
expansions:
3273+
AUTH: auth
3274+
PYTHON_BINARY: /opt/python/pypy3.10/bin/python3
3275+
3276+
# PyOpenSSL tests.
3277+
- name: pyopenssl-macos-py3.9
3278+
tasks:
3279+
- name: .replica_set
3280+
- name: .7.0
3281+
display_name: PyOpenSSL macOS py3.9
3282+
run_on:
3283+
- macos-14
3284+
batchtime: 10080
3285+
expansions:
3286+
AUTH: noauth
3287+
test_pyopenssl: "true"
3288+
SSL: ssl
3289+
PYTHON_BINARY: /Library/Frameworks/Python.Framework/Versions/3.9/bin/python3
3290+
- name: pyopenssl-rhel8-py3.10
3291+
tasks:
3292+
- name: .replica_set
3293+
- name: .7.0
3294+
display_name: PyOpenSSL RHEL8 py3.10
3295+
run_on:
3296+
- rhel87-small
3297+
batchtime: 10080
3298+
expansions:
3299+
AUTH: auth
3300+
test_pyopenssl: "true"
3301+
SSL: ssl
3302+
PYTHON_BINARY: /opt/python/3.10/bin/python3
3303+
- name: pyopenssl-rhel8-py3.11
3304+
tasks:
3305+
- name: .replica_set
3306+
- name: .7.0
3307+
display_name: PyOpenSSL RHEL8 py3.11
3308+
run_on:
3309+
- rhel87-small
3310+
batchtime: 10080
3311+
expansions:
3312+
AUTH: auth
3313+
test_pyopenssl: "true"
3314+
SSL: ssl
3315+
PYTHON_BINARY: /opt/python/3.11/bin/python3
3316+
- name: pyopenssl-rhel8-py3.12
3317+
tasks:
3318+
- name: .replica_set
3319+
- name: .7.0
3320+
display_name: PyOpenSSL RHEL8 py3.12
3321+
run_on:
3322+
- rhel87-small
3323+
batchtime: 10080
3324+
expansions:
3325+
AUTH: auth
3326+
test_pyopenssl: "true"
3327+
SSL: ssl
3328+
PYTHON_BINARY: /opt/python/3.12/bin/python3
3329+
- name: pyopenssl-win64-py3.13
3330+
tasks:
3331+
- name: .replica_set
3332+
- name: .7.0
3333+
display_name: PyOpenSSL Win64 py3.13
3334+
run_on:
3335+
- windows-64-vsMulti-small
3336+
batchtime: 10080
3337+
expansions:
3338+
AUTH: auth
3339+
test_pyopenssl: "true"
3340+
SSL: ssl
3341+
PYTHON_BINARY: C:/python/Python313/python.exe
3342+
- name: pyopenssl-rhel8-pypy3.9
3343+
tasks:
3344+
- name: .replica_set
3345+
- name: .7.0
3346+
display_name: PyOpenSSL RHEL8 pypy3.9
3347+
run_on:
3348+
- rhel87-small
3349+
batchtime: 10080
3350+
expansions:
3351+
AUTH: auth
3352+
test_pyopenssl: "true"
3353+
SSL: ssl
3354+
PYTHON_BINARY: /opt/python/pypy3.9/bin/python3
3355+
- name: pyopenssl-rhel8-pypy3.10
3356+
tasks:
3357+
- name: .replica_set
3358+
- name: .7.0
3359+
display_name: PyOpenSSL RHEL8 pypy3.10
3360+
run_on:
3361+
- rhel87-small
3362+
batchtime: 10080
3363+
expansions:
3364+
AUTH: auth
3365+
test_pyopenssl: "true"
3366+
SSL: ssl
3367+
PYTHON_BINARY: /opt/python/pypy3.10/bin/python3
3368+
31973369
- matrix_name: "tests-fips"
31983370
matrix_spec:
31993371
platform:
@@ -3216,47 +3388,6 @@ buildvariants:
32163388
tasks:
32173389
- ".6.0"
32183390

3219-
- matrix_name: "tests-pyopenssl"
3220-
matrix_spec:
3221-
platform: rhel8
3222-
python-version: "*"
3223-
auth: "*"
3224-
ssl: "ssl"
3225-
pyopenssl: "*"
3226-
# Only test "noauth" with Python 3.9.
3227-
exclude_spec:
3228-
platform: rhel8
3229-
python-version: ["3.10", "3.11", "3.12", "3.13", "pypy3.9", "pypy3.10"]
3230-
auth: "noauth"
3231-
ssl: "ssl"
3232-
pyopenssl: "*"
3233-
display_name: "PyOpenSSL ${platform} ${python-version} ${auth}"
3234-
tasks:
3235-
- '.replica_set'
3236-
# Test standalone and sharded only on 7.0.
3237-
- '.7.0'
3238-
3239-
- matrix_name: "tests-pyopenssl-macOS"
3240-
matrix_spec:
3241-
platform: macos
3242-
auth: "auth"
3243-
ssl: "ssl"
3244-
pyopenssl: "*"
3245-
display_name: "PyOpenSSL ${platform} ${auth}"
3246-
tasks:
3247-
- '.replica_set'
3248-
3249-
- matrix_name: "tests-pyopenssl-windows"
3250-
matrix_spec:
3251-
platform: windows
3252-
python-version-windows: "*"
3253-
auth: "auth"
3254-
ssl: "ssl"
3255-
pyopenssl: "*"
3256-
display_name: "PyOpenSSL ${platform} ${python-version-windows} ${auth}"
3257-
tasks:
3258-
- '.replica_set'
3259-
32603391
- matrix_name: "tests-python-version-rhel8-without-c-extensions"
32613392
matrix_spec:
32623393
platform: rhel8
@@ -3350,24 +3481,6 @@ buildvariants:
33503481
tasks:
33513482
- ".latest"
33523483

3353-
- matrix_name: "test-linux-enterprise-auth"
3354-
matrix_spec:
3355-
platform: rhel8
3356-
python-version: "*"
3357-
auth: "auth"
3358-
display_name: "Enterprise ${auth} ${platform} ${python-version}"
3359-
tasks:
3360-
- name: "test-enterprise-auth"
3361-
3362-
- matrix_name: "tests-windows-enterprise-auth"
3363-
matrix_spec:
3364-
platform: windows
3365-
python-version-windows: "*"
3366-
auth: "auth"
3367-
display_name: "Enterprise ${auth} ${platform} ${python-version-windows}"
3368-
tasks:
3369-
- name: "test-enterprise-auth"
3370-
33713484
- matrix_name: "test-search-index-helpers"
33723485
matrix_spec:
33733486
platform: rhel8

.evergreen/run-tests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ if [ -n "$TEST_ENTERPRISE_AUTH" ]; then
9090
export GSSAPI_HOST=${SASL_HOST}
9191
export GSSAPI_PORT=${SASL_PORT}
9292
export GSSAPI_PRINCIPAL=${PRINCIPAL}
93+
94+
export TEST_SUITES="auth"
9395
fi
9496

9597
if [ -n "$TEST_LOADBALANCER" ]; then

0 commit comments

Comments
 (0)