Skip to content

Commit 259d36b

Browse files
committed
Merge branch 'main' into PYTHON-3636
2 parents 0ca6afd + 1d866b3 commit 259d36b

File tree

133 files changed

+972
-389
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+972
-389
lines changed

.evergreen/config.yml

Lines changed: 0 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -227,17 +227,6 @@ functions:
227227
args:
228228
- ${DRIVERS_TOOLS}/.evergreen/atlas_data_lake/run-mongohouse-image.sh
229229

230-
"run mod_wsgi tests":
231-
- command: subprocess.exec
232-
type: test
233-
params:
234-
include_expansions_in_env: [MOD_WSGI_VERSION, MOD_WSGI_EMBEDDED, "PYTHON_BINARY"]
235-
working_dir: "src"
236-
binary: bash
237-
args:
238-
- .evergreen/scripts/run-with-env.sh
239-
- .evergreen/scripts/run-mod-wsgi-tests.sh
240-
241230
"run doctests":
242231
- command: subprocess.exec
243232
type: test
@@ -315,16 +304,6 @@ functions:
315304
args:
316305
- ${DRIVERS_TOOLS}/.evergreen/atlas/teardown-atlas-cluster.sh
317306

318-
"run perf tests":
319-
- command: subprocess.exec
320-
type: test
321-
params:
322-
working_dir: "src"
323-
binary: bash
324-
args:
325-
- .evergreen/scripts/run-with-env.sh
326-
- .evergreen/scripts/run-perf-tests.sh
327-
328307
"attach benchmark test results":
329308
- command: attach.results
330309
params:
@@ -411,40 +390,6 @@ tasks:
411390
TEST_NAME: index_management
412391
AUTH: "auth"
413392

414-
- name: "mod-wsgi-standalone"
415-
tags: ["mod_wsgi"]
416-
commands:
417-
- func: "run server"
418-
vars:
419-
TOPOLOGY: "server"
420-
- func: "run mod_wsgi tests"
421-
422-
- name: "mod-wsgi-replica-set"
423-
tags: ["mod_wsgi"]
424-
commands:
425-
- func: "run server"
426-
vars:
427-
TOPOLOGY: "replica_set"
428-
- func: "run mod_wsgi tests"
429-
430-
- name: "mod-wsgi-embedded-mode-standalone"
431-
tags: ["mod_wsgi"]
432-
commands:
433-
- func: "run server"
434-
- func: "run mod_wsgi tests"
435-
vars:
436-
MOD_WSGI_EMBEDDED: "1"
437-
438-
- name: "mod-wsgi-embedded-mode-replica-set"
439-
tags: ["mod_wsgi"]
440-
commands:
441-
- func: "run server"
442-
vars:
443-
TOPOLOGY: "replica_set"
444-
- func: "run mod_wsgi tests"
445-
vars:
446-
MOD_WSGI_EMBEDDED: "1"
447-
448393
- name: "no-server"
449394
tags: ["no-server"]
450395
commands:
@@ -505,37 +450,6 @@ tasks:
505450
commands:
506451
- func: "download and merge coverage"
507452

508-
- name: "perf-6.0-standalone"
509-
tags: ["perf"]
510-
commands:
511-
- func: "run server"
512-
vars:
513-
VERSION: "v6.0-perf"
514-
- func: "run perf tests"
515-
- func: "attach benchmark test results"
516-
- func: "send dashboard data"
517-
518-
- name: "perf-6.0-standalone-ssl"
519-
tags: ["perf"]
520-
commands:
521-
- func: "run server"
522-
vars:
523-
VERSION: "v6.0-perf"
524-
SSL: "ssl"
525-
- func: "run perf tests"
526-
- func: "attach benchmark test results"
527-
- func: "send dashboard data"
528-
529-
- name: "perf-8.0-standalone"
530-
tags: ["perf"]
531-
commands:
532-
- func: "run server"
533-
vars:
534-
VERSION: "8.0"
535-
- func: "run perf tests"
536-
- func: "attach benchmark test results"
537-
- func: "send dashboard data"
538-
539453
- name: "check-import-time"
540454
tags: ["pr"]
541455
commands:
@@ -607,26 +521,3 @@ buildvariants:
607521
- rhel8.7-small
608522
tasks:
609523
- name: "backport-pr"
610-
611-
- name: "perf-tests"
612-
display_name: "Performance Benchmarks"
613-
batchtime: 10080 # 7 days
614-
run_on: rhel90-dbx-perf-large
615-
tasks:
616-
- name: "perf-6.0-standalone"
617-
- name: "perf-6.0-standalone-ssl"
618-
- name: "perf-8.0-standalone"
619-
620-
# Platform notes
621-
# i386 builds of OpenSSL or Cyrus SASL are not available
622-
# Debian 8.1 only supports MongoDB 3.4+
623-
# SUSE12 s390x is only supported by MongoDB 3.4+
624-
# No enterprise build for Archlinux, SSL not available
625-
# RHEL 7.6 and RHEL 8.4 only supports 3.6+.
626-
# RHEL 7 only supports 2.6+
627-
# RHEL 7.1 ppc64le is only supported by MongoDB 3.2+
628-
# RHEL 7.2 s390x is only supported by MongoDB 3.4+
629-
# Solaris MongoDB SSL builds are not available
630-
# Darwin MongoDB SSL builds are not available for 2.6
631-
# SUSE12 x86_64 is only supported by MongoDB 3.2+
632-
# vim: set et sw=2 ts=2 :

.evergreen/generated_configs/tasks.yml

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,48 @@ tasks:
775775
TEST_NAME: load_balancer
776776
tags: [load-balancer, noauth, nossl]
777777

778+
# Mod wsgi tests
779+
- name: mod-wsgi-standalone
780+
commands:
781+
- func: run server
782+
vars:
783+
TOPOLOGY: standalone
784+
- func: run tests
785+
vars:
786+
TEST_NAME: mod_wsgi
787+
SUB_TEST_NAME: standalone
788+
tags: [mod_wsgi]
789+
- name: mod-wsgi-replica-set
790+
commands:
791+
- func: run server
792+
vars:
793+
TOPOLOGY: replica_set
794+
- func: run tests
795+
vars:
796+
TEST_NAME: mod_wsgi
797+
SUB_TEST_NAME: standalone
798+
tags: [mod_wsgi]
799+
- name: mod-wsgi-embedded-mode-standalone
800+
commands:
801+
- func: run server
802+
vars:
803+
TOPOLOGY: standalone
804+
- func: run tests
805+
vars:
806+
TEST_NAME: mod_wsgi
807+
SUB_TEST_NAME: embedded
808+
tags: [mod_wsgi]
809+
- name: mod-wsgi-embedded-mode-replica-set
810+
commands:
811+
- func: run server
812+
vars:
813+
TOPOLOGY: replica_set
814+
- func: run tests
815+
vars:
816+
TEST_NAME: mod_wsgi
817+
SUB_TEST_NAME: embedded
818+
tags: [mod_wsgi]
819+
778820
# Ocsp tests
779821
- name: test-ocsp-ecdsa-valid-cert-server-does-not-staple
780822
commands:
@@ -1109,6 +1151,60 @@ tasks:
11091151
SUB_TEST_NAME: gke
11101152
tags: [auth_oidc, auth_oidc_remote]
11111153

1154+
# Perf tests
1155+
- name: perf-8.0-standalone-ssl
1156+
commands:
1157+
- func: run server
1158+
vars:
1159+
VERSION: v8.0-perf
1160+
SSL: ssl
1161+
- func: run tests
1162+
vars:
1163+
TEST_NAME: perf
1164+
SUB_TEST_NAME: sync
1165+
- func: attach benchmark test results
1166+
- func: send dashboard data
1167+
tags: [perf]
1168+
- name: perf-8.0-standalone-ssl-async
1169+
commands:
1170+
- func: run server
1171+
vars:
1172+
VERSION: v8.0-perf
1173+
SSL: ssl
1174+
- func: run tests
1175+
vars:
1176+
TEST_NAME: perf
1177+
SUB_TEST_NAME: async
1178+
- func: attach benchmark test results
1179+
- func: send dashboard data
1180+
tags: [perf]
1181+
- name: perf-8.0-standalone
1182+
commands:
1183+
- func: run server
1184+
vars:
1185+
VERSION: v8.0-perf
1186+
SSL: nossl
1187+
- func: run tests
1188+
vars:
1189+
TEST_NAME: perf
1190+
SUB_TEST_NAME: sync
1191+
- func: attach benchmark test results
1192+
- func: send dashboard data
1193+
tags: [perf]
1194+
- name: perf-8.0-standalone-async
1195+
commands:
1196+
- func: run server
1197+
vars:
1198+
VERSION: v8.0-perf
1199+
SSL: nossl
1200+
- func: run tests
1201+
vars:
1202+
TEST_NAME: perf
1203+
SUB_TEST_NAME: async
1204+
- func: attach benchmark test results
1205+
- func: send dashboard data
1206+
tags: [perf]
1207+
11121208
# Server tests
11131209
- name: test-4.0-standalone-auth-ssl-sync
11141210
commands:

.evergreen/generated_configs/variants.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -696,10 +696,7 @@ buildvariants:
696696
# Mod wsgi tests
697697
- name: mod_wsgi-ubuntu-22-python3.9
698698
tasks:
699-
- name: mod-wsgi-standalone
700-
- name: mod-wsgi-replica-set
701-
- name: mod-wsgi-embedded-mode-standalone
702-
- name: mod-wsgi-embedded-mode-replica-set
699+
- name: .mod_wsgi
703700
display_name: mod_wsgi Ubuntu-22 Python3.9
704701
run_on:
705702
- ubuntu2204-small
@@ -708,10 +705,7 @@ buildvariants:
708705
PYTHON_BINARY: /opt/python/3.9/bin/python3
709706
- name: mod_wsgi-ubuntu-22-python3.13
710707
tasks:
711-
- name: mod-wsgi-standalone
712-
- name: mod-wsgi-replica-set
713-
- name: mod-wsgi-embedded-mode-standalone
714-
- name: mod-wsgi-embedded-mode-replica-set
708+
- name: .mod_wsgi
715709
display_name: mod_wsgi Ubuntu-22 Python3.13
716710
run_on:
717711
- ubuntu2204-small
@@ -934,6 +928,15 @@ buildvariants:
934928
- windows-64-vsMulti-small
935929
batchtime: 10080
936930

931+
# Perf tests
932+
- name: performance-benchmarks
933+
tasks:
934+
- name: .perf
935+
display_name: Performance Benchmarks
936+
run_on:
937+
- rhel90-dbx-perf-large
938+
batchtime: 10080
939+
937940
# Pyopenssl tests
938941
- name: pyopenssl-macos-python3.9
939942
tasks:

.evergreen/run-perf-tests.sh

Lines changed: 0 additions & 19 deletions
This file was deleted.

.evergreen/run-tests.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ if [ -f "./secrets-export.sh" ]; then
3131
fi
3232

3333
# List the packages.
34-
PIP_QUIET=0 uv run ${UV_ARGS} --with pip pip list
34+
uv sync ${UV_ARGS} --reinstall
35+
uv pip list
3536

3637
# Start the test runner.
37-
uv run ${UV_ARGS} .evergreen/scripts/run_tests.py "$@"
38+
uv run .evergreen/scripts/run_tests.py "$@"
3839

3940
popd

0 commit comments

Comments
 (0)