@@ -42,28 +42,15 @@ functions:
4242 # Make an evergreen expansion file with dynamic values
4343 - command : subprocess.exec
4444 params :
45- include_expansions_in_env : ["is_patch", "project", "version_id", "AUTH", "SSL", "test_encryption ", "test_encryption_pyopenssl ", "test_crypt_shared ", "test_pyopenssl ", "SETDEFAULTENCODING", "test_loadbalancer ", "test_serverless ", "SKIP_CSOT_TESTS", "MONGODB_STARTED", "DISABLE_TEST_COMMANDS", "GREEN_FRAMEWORK", "NO_EXT", "COVERAGE", "COMPRESSORS", "TEST_SUITES", " MONGODB_API_VERSION", "SKIP_HATCH ", "skip_crypt_shared", "VERSION", "TOPOLOGY", "STORAGE_ENGINE", "ORCHESTRATION_FILE", "REQUIRE_API_VERSION", "LOAD_BALANCER", "skip_web_identity_auth_test", "skip_ECS_auth_test"]
45+ include_expansions_in_env : ["is_patch", "project", "version_id", "AUTH", "SSL", "TEST_ENCRYPTION ", "TEST_ENCRYPTION_PYOPENSSL ", "TEST_CRYPT_SHARED ", "TEST_PYOPENSSL ", "SETDEFAULTENCODING", "TEST_LOADBALANCER ", "TEST_SEVERLESS ", "SKIP_CSOT_TESTS", "MONGODB_STARTED", "DISABLE_TEST_COMMANDS", "GREEN_FRAMEWORK", "NO_EXT", "COVERAGE", "COMPRESSORS", "MONGODB_API_VERSION", "skip_crypt_shared", "VERSION", "TOPOLOGY", "STORAGE_ENGINE", "ORCHESTRATION_FILE", "REQUIRE_API_VERSION", "LOAD_BALANCER", "skip_web_identity_auth_test", "skip_ECS_auth_test"]
4646 binary : bash
4747 working_dir : " src"
4848 args :
49- - .evergreen/scripts/configure-env .sh
49+ - .evergreen/scripts/setup-system .sh
5050 # Load the expansion file to make an evergreen variable with the current unique version
5151 - command : expansions.update
5252 params :
5353 file : src/expansion.yml
54- - command : subprocess.exec
55- params :
56- include_expansions_in_env : ["PROJECT_DIRECTORY", "DRIVERS_TOOLS"]
57- binary : bash
58- args :
59- - src/.evergreen/scripts/prepare-resources.sh
60- # Run drivers-evergreen-tools system setup
61- - command : subprocess.exec
62- params :
63- include_expansions_in_env : ["PROJECT_DIRECTORY", "DRIVERS_TOOLS"]
64- binary : bash
65- args :
66- - ${DRIVERS_TOOLS}/.evergreen/setup.sh
6754
6855 " upload coverage" :
6956 - command : ec2.assume_role
@@ -129,7 +116,6 @@ functions:
129116 content_type : text/html
130117 display_name : " Coverage Report HTML"
131118
132-
133119 " upload mo artifacts " :
134120 - command : ec2.assume_role
135121 params :
@@ -288,30 +274,22 @@ functions:
288274
289275 " run tests " :
290276 - command : subprocess.exec
277+ type : test
291278 params :
292- include_expansions_in_env : ["TEST_DATA_LAKE", "PYTHON_BINARY", "AUTH", "SSL", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE"]
279+ include_expansions_in_env : ["TEST_DATA_LAKE", "PYTHON_BINARY", "AUTH", "SSL",
280+ " AWS_ACCESS_KEY_ID" , "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN", "TEST_SUITES",
281+ " TEST_INDEX_MANAGEMENT" , "CRYPT_SHARED_LIB_PATH", "TEST_ENCRYPTION", "TEST_ENCRYPTION_PYOPENSSL",
282+ " TEST_CRYPT_SHARED" , "TEST_PYOPENSSL", "TEST_LOADBALANCER", "TEST_SEVERLESS", "MONGODB_URI"]
293283 binary : bash
294284 working_dir : " src"
295285 args :
296286 - .evergreen/scripts/setup-tests.sh
297- - command : subprocess.exec
298- params :
299- working_dir : " src"
300- binary : bash
301- background : true
302- include_expansions_in_env : ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
303- args :
304- - .evergreen/scripts/run-with-env.sh
305- - .evergreen/scripts/setup-encryption.sh
306287 - command : subprocess.exec
307288 type : test
308289 params :
309290 working_dir : " src"
310291 binary : bash
311- include_expansions_in_env : ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN", "PYTHON_BINARY", "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "SINGLE_MONGOS_LB_URI", "MULTI_MONGOS_LB_URI", "TEST_SUITES"]
312- args :
313- - .evergreen/scripts/run-with-env.sh
314- - .evergreen/scripts/run-tests.sh
292+ args : [.evergreen/just.sh, test-eg]
315293
316294 " run enterprise auth tests " :
317295 - command : subprocess.exec
@@ -345,13 +323,6 @@ functions:
345323 - ${DRIVERS_TOOLS}/.evergreen/auth_aws/setup-secrets.sh
346324
347325 " run aws auth test with regular aws credentials " :
348- - command : subprocess.exec
349- params :
350- include_expansions_in_env : ["TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE"]
351- binary : bash
352- working_dir : " src"
353- args :
354- - .evergreen/scripts/setup-tests.sh
355326 - command : subprocess.exec
356327 type : test
357328 params :
@@ -364,13 +335,6 @@ functions:
364335 - regular
365336
366337 " run aws auth test with assume role credentials " :
367- - command : subprocess.exec
368- params :
369- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
370- binary : bash
371- working_dir : " src"
372- args :
373- - .evergreen/scripts/setup-tests.sh
374338 - command : subprocess.exec
375339 type : test
376340 params :
@@ -383,13 +347,6 @@ functions:
383347 - assume-role
384348
385349 " run aws auth test with aws EC2 credentials " :
386- - command : subprocess.exec
387- params :
388- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
389- binary : bash
390- working_dir : " src"
391- args :
392- - .evergreen/scripts/setup-tests.sh
393350 - command : subprocess.exec
394351 type : test
395352 params :
@@ -402,13 +359,6 @@ functions:
402359 - ec2
403360
404361 " run aws auth test with aws web identity credentials " :
405- - command : subprocess.exec
406- params :
407- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
408- binary : bash
409- working_dir : " src"
410- args :
411- - .evergreen/scripts/setup-tests.sh
412362 - # Test with and without AWS_ROLE_SESSION_NAME set.
413363 - command : subprocess.exec
414364 type : test
@@ -434,13 +384,6 @@ functions:
434384 - web-identity
435385
436386 " run aws auth test with aws credentials as environment variables " :
437- - command : subprocess.exec
438- params :
439- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
440- binary : bash
441- working_dir : " src"
442- args :
443- - .evergreen/scripts/setup-tests.sh
444387 - command : subprocess.exec
445388 type : test
446389 params :
@@ -453,13 +396,6 @@ functions:
453396 - env-creds
454397
455398 " run aws auth test with aws credentials and session token as environment variables " :
456- - command : subprocess.exec
457- params :
458- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
459- binary : bash
460- working_dir : " src"
461- args :
462- - .evergreen/scripts/setup-tests.sh
463399 - command : subprocess.exec
464400 type : test
465401 params :
@@ -472,13 +408,6 @@ functions:
472408 - session-creds
473409
474410 " run oidc auth test with test credentials " :
475- - command : subprocess.exec
476- params :
477- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
478- binary : bash
479- working_dir : " src"
480- args :
481- - .evergreen/scripts/setup-tests.sh
482411 - command : subprocess.exec
483412 type : test
484413 params :
@@ -546,15 +475,6 @@ functions:
546475 args :
547476 - ${DRIVERS_TOOLS}/.evergreen/teardown.sh
548477
549- " install dependencies " :
550- - command : subprocess.exec
551- params :
552- binary : bash
553- working_dir : " src"
554- args :
555- - .evergreen/scripts/run-with-env.sh
556- - .evergreen/scripts/install-dependencies.sh
557-
558478 " assume ec2 role " :
559479 - command : ec2.assume_role
560480 params :
@@ -575,13 +495,6 @@ functions:
575495 file : atlas-expansion.yml
576496
577497 " run-ocsp-test " :
578- - command : subprocess.exec
579- params :
580- include_expansions_in_env : [ "TEST_DATA_LAKE", "TEST_INDEX_MANAGEMENT", "CRYPT_SHARED_LIB_PATH", "test_encryption", "test_encryption_pyopenssl", "test_crypt_shared", "test_pyopenssl", "test_loadbalancer", "test_serverless", "ORCHESTRATION_FILE" ]
581- binary : bash
582- working_dir : " src"
583- args :
584- - .evergreen/scripts/setup-tests.sh
585498 - command : subprocess.exec
586499 type : test
587500 params :
@@ -601,25 +514,6 @@ functions:
601514 args :
602515 - ${DRIVERS_TOOLS}/.evergreen/ocsp/setup.sh
603516
604- " run load-balancer " :
605- - command : subprocess.exec
606- params :
607- binary : bash
608- include_expansions_in_env : ["MONGODB_URI"]
609- args :
610- - src/.evergreen/scripts/run-with-env.sh
611- - src/.evergreen/scripts/run-load-balancer.sh
612- - command : expansions.update
613- params :
614- file : lb-expansion.yml
615-
616- " stop load-balancer " :
617- - command : subprocess.exec
618- params :
619- binary : bash
620- args :
621- - src/.evergreen/scripts/stop-load-balancer.sh
622-
623517 " teardown atlas " :
624518 - command : subprocess.exec
625519 params :
@@ -650,7 +544,6 @@ functions:
650544pre :
651545 - func : " fetch source"
652546 - func : " setup system"
653- - func : " install dependencies"
654547 - func : " assume ec2 role"
655548
656549post :
@@ -897,6 +790,7 @@ tasks:
897790 - func : " run tests"
898791 vars :
899792 TEST_INDEX_MANAGEMENT : " 1"
793+ AUTH : " auth"
900794
901795 - name : " mod-wsgi-standalone"
902796 tags : ["mod_wsgi"]
@@ -943,6 +837,15 @@ tasks:
943837 commands :
944838 - func : " run tests"
945839
840+ - name : " free-threading"
841+ tags : ["free-threading"]
842+ commands :
843+ - func : " bootstrap mongo-orchestration"
844+ vars :
845+ VERSION : " 8.0"
846+ TOPOLOGY : " replica_set"
847+ - func : " run tests"
848+
946849 - name : " atlas-connect"
947850 tags : ["atlas-connect"]
948851 commands :
@@ -958,7 +861,6 @@ tasks:
958861
959862 - name : " test-aws-lambda-deployed"
960863 commands :
961- - func : " install dependencies"
962864 - command : ec2.assume_role
963865 params :
964866 role_arn : ${LAMBDA_AWS_ROLE_ARN}
@@ -1510,7 +1412,7 @@ tasks:
15101412 - name : " testgcpkms-task"
15111413 commands :
15121414 - command : subprocess.exec
1513- type : setup
1415+ type : test
15141416 params :
15151417 working_dir : " src"
15161418 binary : bash
@@ -1538,6 +1440,7 @@ tasks:
15381440 - name : testazurekms-task
15391441 commands :
15401442 - command : subprocess.exec
1443+ type : test
15411444 params :
15421445 binary : bash
15431446 working_dir : src
@@ -1547,8 +1450,6 @@ tasks:
15471450
15481451 - name : testazurekms-fail-task
15491452 commands :
1550- - func : fetch source
1551- - func : setup system
15521453 - func : " bootstrap mongo-orchestration"
15531454 vars :
15541455 VERSION : " latest"
0 commit comments