@@ -120,19 +120,7 @@ functions:
120120 export ATLAS_FREE_TIER_URI="${atlas_free_tier_uri}"
121121 export ATLAS_TLS11_URI="${atlas_tls11_uri}"
122122 export ATLAS_TLS12_URI="${atlas_tls12_uri}"
123- export ATLAS_SERVERLESS_URI="${atlas_serverless_uri}"
124- export ATLAS_SERVERLESS_LB_URI="${atlas_serverless_lb_uri}"
125- export ATLAS_X509_CERT_BASE64="${atlas_x509_cert_base64}"
126- export ATLAS_X509_URI="${atlas_x509}"
127- export ATLAS_X509_DEV_CERT_BASE64="${atlas_x509_dev_cert_base64}"
128- export ATLAS_X509_DEV_URI="${atlas_x509_dev}"
129123 export RVM_RUBY="${RVM_RUBY}"
130-
131- export SERVERLESS_DRIVERS_GROUP="${SERVERLESS_DRIVERS_GROUP}"
132- export SERVERLESS_API_PUBLIC_KEY="${SERVERLESS_API_PUBLIC_KEY}"
133- export SERVERLESS_API_PRIVATE_KEY="${SERVERLESS_API_PRIVATE_KEY}"
134- export SERVERLESS_ATLAS_USER="${SERVERLESS_ATLAS_USER}"
135- export SERVERLESS_ATLAS_PASSWORD="${SERVERLESS_ATLAS_PASSWORD}"
136124 EOT
137125
138126 # See what we've done
@@ -191,7 +179,7 @@ functions:
191179 export AWS_DEFAULT_REGION="${fle_aws_region}"
192180 fi
193181 export CSOT_SPEC_TESTS=1
194- TEST_CMD="bundle exec rspec spec/spec_tests/client_side_operations_timeout_spec.rb" \
182+ TEST_CMD="bundle exec rspec spec/spec_tests/client_side_operations_timeout_spec.rb --format Rfc::Riff --format RspecJunitFormatter --out tmp/rspec.xml " \
195183 .evergreen/run-tests.sh
196184
197185 " export FLE credentials " :
@@ -353,7 +341,7 @@ functions:
353341 " upload test results " :
354342 - command : attach.xunit_results
355343 params :
356- file : ./src/rspec .xml
344+ file : ./src/tmp/* .xml
357345
358346 " delete private environment " :
359347 - command : shell.exec
@@ -364,17 +352,6 @@ functions:
364352 script : |
365353 rm -f .env.private
366354
367- " build and test docker image " :
368- - command : shell.exec
369- type : test
370- params :
371- shell : bash
372- working_dir : " src"
373- script : |
374- ${PREPARE_SHELL}
375- set -x
376- .evergreen/test-on-docker -d ${os} MONGODB_VERSION=${mongodb-version} TOPOLOGY=${topology} RVM_RUBY=${ruby} -s .evergreen/run-tests.sh TEST_CMD=true ${PRELOAD_ARG}
377-
378355 " run benchmarks " :
379356 - command : shell.exec
380357 type : test
@@ -405,23 +382,6 @@ functions:
405382 fi
406383 .evergreen/run-tests.sh
407384
408- " run tests via docker " :
409- - command : shell.exec
410- type : test
411- params :
412- shell : bash
413- working_dir : " src"
414- script : |
415- ${PREPARE_SHELL}
416- # Needed for generating temporary aws credentials.
417- if [ -n "${FLE}" ];
418- then
419- export AWS_ACCESS_KEY_ID="${fle_aws_key}"
420- export AWS_SECRET_ACCESS_KEY="${fle_aws_secret}"
421- export AWS_DEFAULT_REGION="${fle_aws_region}"
422- fi
423- .evergreen/run-tests-docker.sh
424-
425385 " run AWS auth tests " :
426386 - command : shell.exec
427387 type : test
@@ -442,16 +402,6 @@ functions:
442402 ${PREPARE_SHELL}
443403 .evergreen/run-tests-kerberos-unit.sh
444404
445- " run Kerberos integration tests " :
446- - command : shell.exec
447- type : test
448- params :
449- shell : bash
450- working_dir : " src"
451- script : |
452- ${PREPARE_SHELL}
453- .evergreen/run-tests-kerberos-integration.sh
454-
455405 " run Atlas tests " :
456406 - command : shell.exec
457407 type : test
@@ -471,24 +421,6 @@ functions:
471421 ATLAS_X509_DEV_URI="${atlas_x509_dev}" \
472422 .evergreen/run-tests-atlas.sh
473423
474- " run serverless tests " :
475- - command : shell.exec
476- type : test
477- params :
478- shell : bash
479- working_dir : " src"
480- script : |
481- ${PREPARE_SHELL}
482- # Needed for generating temporary aws credentials.
483- if [ -n "${FLE}" ];
484- then
485- export AWS_ACCESS_KEY_ID="${fle_aws_key}"
486- export AWS_SECRET_ACCESS_KEY="${fle_aws_secret}"
487- export AWS_DEFAULT_REGION="${fle_aws_region}"
488- fi
489-
490- CRYPT_SHARED_LIB_PATH="${CRYPT_SHARED_LIB_PATH}" SERVERLESS=1 SSL=ssl RVM_RUBY="${RVM_RUBY}" SINGLE_MONGOS="${SINGLE_MONGOS}" SERVERLESS_URI="${SERVERLESS_URI}" FLE="${FLE}" SERVERLESS_MONGODB_VERSION="${SERVERLESS_MONGODB_VERSION}" .evergreen/run-tests-serverless.sh
491-
492424pre :
493425 - func : " fetch source"
494426 - func : " create expansions"
@@ -498,39 +430,10 @@ post:
498430 # Removed, causing timeouts
499431 # - func: "upload working dir"
500432 - func : " upload mo artifacts"
501- # - func: "upload test results"
433+ - func : " upload test results"
502434 - func : " upload test results to s3"
503435
504436task_groups :
505- - name : serverless_task_group
506- setup_group_can_fail_task : true
507- setup_group_timeout_secs : 1800 # 30 minutes
508- setup_group :
509- - func : " fetch source"
510- - func : " create expansions"
511- - command : ec2.assume_role
512- params :
513- role_arn : ${aws_test_secrets_role}
514- - command : shell.exec
515- params :
516- shell : " bash"
517- script : |
518- ${PREPARE_SHELL}
519- bash ${DRIVERS_TOOLS}/.evergreen/serverless/setup-secrets.sh
520- bash ${DRIVERS_TOOLS}/.evergreen/serverless/create-instance.sh
521- - command : expansions.update
522- params :
523- file : serverless-expansion.yml
524- teardown_task :
525- - command : shell.exec
526- params :
527- script : |
528- ${PREPARE_SHELL}
529- bash ${DRIVERS_TOOLS}/.evergreen/serverless/delete-instance.sh
530- - func : " upload test results"
531- tasks :
532- - " test-serverless"
533-
534437 - name : testatlas_full_task_group
535438 setup_group_can_fail_task : true
536439 setup_group_timeout_secs : 1800 # 30 minutes
@@ -716,26 +619,12 @@ tasks:
716619 - name : " test-atlas"
717620 commands :
718621 - func : " run Atlas tests"
719- - name : " test-serverless"
720- commands :
721- - func : " export FLE credentials"
722- - func : " run serverless tests"
723- - name : " test-docker"
724- commands :
725- - func : " build and test docker image"
726622 - name : " test-mlaunch"
727623 commands :
728624 - func : " run tests"
729625 - name : " driver-bench"
730626 commands :
731627 - func : " run benchmarks"
732- - name : " test-via-docker"
733- commands :
734- - func : " run tests via docker"
735- - name : " test-kerberos-integration"
736- commands :
737- - func : " export Kerberos credentials"
738- - func : " run Kerberos integration tests"
739628 - name : " test-kerberos"
740629 commands :
741630 - func : " run Kerberos unit tests"
@@ -746,10 +635,6 @@ tasks:
746635 commands :
747636 - func : " export FLE credentials"
748637 - func : " run tests"
749- - name : " test-fle-via-docker"
750- commands :
751- - func : " export FLE credentials"
752- - func : " run tests via docker"
753638 - name : " test-aws-auth"
754639 commands :
755640 - func : " export AWS auth credentials"
@@ -876,11 +761,6 @@ axes:
876761 - id : " mongodb-version"
877762 display_name : MongoDB Version
878763 values :
879- - id : " latest"
880- display_name : " latest"
881- variables :
882- MONGODB_VERSION : " latest"
883- CRYPT_SHARED_VERSION : " latest"
884764 - id : " 8.0"
885765 display_name : " 8.0"
886766 variables :
@@ -1179,7 +1059,7 @@ axes:
11791059 values :
11801060 - id : mmapv1
11811061 display_name : MMAPv1
1182- run_on : ubuntu1804 -small
1062+ run_on : ubuntu2004 -small
11831063 variables :
11841064 MMAPV1 : ' true'
11851065
@@ -1294,7 +1174,7 @@ buildvariants:
12941174 matrix_spec :
12951175 auth-and-ssl : ["auth-and-ssl", "noauth-and-nossl"]
12961176 ruby : " ruby-3.3"
1297- mongodb-version : ["latest", " 8.0", "7.0"]
1177+ mongodb-version : ["8.0", "7.0"]
12981178 topology : ["standalone", "replica-set", "sharded-cluster"]
12991179 os : ubuntu2204
13001180 display_name : ${auth-and-ssl} ${ruby} db-${mongodb-version} ${topology}
@@ -1304,7 +1184,7 @@ buildvariants:
13041184 - matrix_name : " mongo-recent"
13051185 matrix_spec :
13061186 ruby : ["ruby-3.3", "ruby-3.2", "jruby-9.4"]
1307- mongodb-version : ["latest", " 8.0", "7.0"]
1187+ mongodb-version : ["8.0", "7.0"]
13081188 topology : ["standalone", "replica-set", "sharded-cluster"]
13091189 os : ubuntu2204
13101190 display_name : " ${mongodb-version} ${os} ${topology} ${auth-and-ssl} ${ruby}"
@@ -1323,28 +1203,18 @@ buildvariants:
13231203
13241204 - matrix_name : " mongo-5.x"
13251205 matrix_spec :
1326- ruby : ["ruby-3.3", "ruby-3.2", "jruby-9.4" ]
1206+ ruby : ["ruby-3.3", "ruby-3.2"]
13271207 mongodb-version : ['5.0']
13281208 topology : ["standalone", "replica-set", "sharded-cluster"]
1329- os : ubuntu1804
1209+ os : ubuntu2004
13301210 display_name : " ${mongodb-version} ${topology} ${auth-and-ssl} ${ruby}"
13311211 tasks :
13321212 - name : " test-mlaunch"
13331213
13341214 - matrix_name : " mongo-4.x"
13351215 matrix_spec :
13361216 ruby : ["ruby-3.0", "ruby-2.7"]
1337- mongodb-version : ['4.4', '4.2', '4.0']
1338- topology : ["standalone", "replica-set", "sharded-cluster"]
1339- os : ubuntu1804
1340- display_name : " ${mongodb-version} ${topology} ${auth-and-ssl} ${ruby}"
1341- tasks :
1342- - name : " test-mlaunch"
1343-
1344- - matrix_name : " mongo-3.6"
1345- matrix_spec :
1346- ruby : " ruby-2.7"
1347- mongodb-version : ['3.6']
1217+ mongodb-version : ['4.4', '4.2']
13481218 topology : ["standalone", "replica-set", "sharded-cluster"]
13491219 os : ubuntu1804
13501220 display_name : " ${mongodb-version} ${topology} ${auth-and-ssl} ${ruby}"
@@ -1416,17 +1286,6 @@ buildvariants:
14161286 tasks :
14171287 - name : " test-mlaunch"
14181288
1419- - matrix_name : mmapv1
1420- matrix_spec :
1421- ruby : " ruby-2.7"
1422- mongodb-version : ['3.6', '4.0']
1423- topology : ["standalone", "replica-set", "sharded-cluster"]
1424- storage-engine : mmapv1
1425- os : ubuntu1804
1426- display_name : " ${mongodb-version} ${topology} mmapv1 ${ruby}"
1427- tasks :
1428- - name : " test-mlaunch"
1429-
14301289 - matrix_name : " lint"
14311290 matrix_spec :
14321291 lint : on
@@ -1464,7 +1323,7 @@ buildvariants:
14641323 matrix_spec :
14651324 stress : on
14661325 ruby : " ruby-2.7"
1467- mongodb-version : ['4.2 ', '4.0', '3.6 ']
1326+ mongodb-version : ['4.4 ', '4.2 ']
14681327 topology : replica-set
14691328 os : ubuntu1804
14701329 display_name : " ${mongodb-version} ${topology} stress ${ruby}"
@@ -1913,10 +1772,11 @@ buildvariants:
19131772 tasks :
19141773 - name : test-atlas
19151774
1916- - matrix_name : " aws-lambda"
1917- matrix_spec :
1918- ruby : ' ruby-3.2'
1919- os : ubuntu2204
1920- display_name : " AWS Lambda"
1921- tasks :
1922- - name : test_aws_lambda_task_group
1775+ # https://jira.mongodb.org/browse/RUBY-3311
1776+ # - matrix_name: "aws-lambda"
1777+ # matrix_spec:
1778+ # ruby: 'ruby-3.2'
1779+ # os: ubuntu2204
1780+ # display_name: "AWS Lambda"
1781+ # tasks:
1782+ # - name: test_aws_lambda_task_group
0 commit comments