@@ -195,7 +195,6 @@ functions:
195195
196196 run-tests :
197197 - command : subprocess.exec
198- type : test
199198 params :
200199 binary : bash
201200 env :
@@ -216,6 +215,7 @@ functions:
216215 args : [*task-runner, setup-test]
217216 - command : subprocess.exec
218217 type : test
218+ retry_on_failure : true
219219 params :
220220 binary : bash
221221 args : [*task-runner, "${DEFAULT_TASK}" ]
@@ -231,28 +231,6 @@ functions:
231231 HEAD_SHA : " ${github_commit}"
232232 args : [*task-runner, api-report]
233233
234- " add PR labels " :
235- - command : subprocess.exec
236- type : test
237- params :
238- binary : bash
239- add_expansions_to_env : true
240- env :
241- COMMIT : " ${github_commit}"
242- PR_TASK : apply-labels
243- args : [*task-runner, pr-task]
244-
245- " add PR reviewer " :
246- - command : subprocess.exec
247- type : test
248- params :
249- binary : bash
250- add_expansions_to_env : true
251- env :
252- COMMIT : " ${github_commit}"
253- PR_TASK : assign-reviewer
254- args : [*task-runner, pr-task]
255-
256234 " backport pr " :
257235 - command : subprocess.exec
258236 type : test
@@ -297,12 +275,24 @@ functions:
297275 echo "Response Body: $response_body"
298276 echo "HTTP Status: $http_status"
299277
278+ send-perf-pr-comment :
279+ - command : subprocess.exec
280+ type : test
281+ params :
282+ binary : bash
283+ add_expansions_to_env : true
284+ env :
285+ VERSION_ID : ${version_id}
286+ BASE_SHA : " ${revision}"
287+ HEAD_SHA : " ${github_commit}"
288+ include_expansions_in_env : [PERF_URI_PRIVATE_ENDPOINT]
289+ args : [*task-runner, perf-pr-comment]
290+
300291 run-enterprise-auth-tests :
301292 - command : ec2.assume_role
302293 params :
303294 role_arn : " ${aws_test_secrets_role}"
304295 - command : subprocess.exec
305- type : test
306296 params :
307297 binary : bash
308298 include_expansions_in_env : [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN]
@@ -311,6 +301,7 @@ functions:
311301 args : [*task-runner, setup-test]
312302 - command : subprocess.exec
313303 type : test
304+ retry_on_failure : true
314305 params :
315306 binary : bash
316307 args : [*task-runner, --silent, evg-test-enterprise-auth]
@@ -320,7 +311,6 @@ functions:
320311 params :
321312 role_arn : " ${aws_test_secrets_role}"
322313 - command : subprocess.exec
323- type : test
324314 params :
325315 binary : bash
326316 include_expansions_in_env : [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN]
@@ -329,6 +319,7 @@ functions:
329319 args : [*task-runner, setup-test]
330320 - command : subprocess.exec
331321 type : test
322+ retry_on_failure : true
332323 params :
333324 binary : bash
334325 args : [*task-runner, --silent, evg-test-enterprise-auth]
@@ -338,7 +329,6 @@ functions:
338329 params :
339330 role_arn : " ${aws_test_secrets_role}"
340331 - command : subprocess.exec
341- type : test
342332 params :
343333 binary : bash
344334 include_expansions_in_env : [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN]
@@ -347,13 +337,13 @@ functions:
347337 args : [*task-runner, setup-test]
348338 - command : subprocess.exec
349339 type : test
340+ retry_on_failure : true
350341 params :
351342 binary : bash
352343 args : [*task-runner, test-atlas-connect]
353344
354345 run-ocsp-test :
355346 - command : subprocess.exec
356- type : test
357347 params :
358348 binary : bash
359349 env :
@@ -364,14 +354,14 @@ functions:
364354 args : [*task-runner, setup-test]
365355 - command : subprocess.exec
366356 type : test
357+ retry_on_failure : true
367358 params :
368359 binary : bash
369360 include_expansions_in_env : [OCSP_TLS_SHOULD_SUCCEED]
370361 args : [*task-runner, evg-test-ocsp]
371362
372363 run-versioned-api-test :
373364 - command : subprocess.exec
374- type : test
375365 params :
376366 binary : bash
377367 env :
@@ -381,13 +371,13 @@ functions:
381371 args : [*task-runner, setup-test]
382372 - command : subprocess.exec
383373 type : test
374+ retry_on_failure : true
384375 params :
385376 binary : bash
386377 args : [*task-runner, evg-test-versioned-api]
387378
388379 run-load-balancer-tests :
389380 - command : subprocess.exec
390- type : test
391381 params :
392382 binary : bash
393383 include_expansions_in_env : [SINGLE_MONGOS_LB_URI, MULTI_MONGOS_LB_URI, AUTH, SSL, MONGO_GO_DRIVER_COMPRESSOR]
@@ -396,13 +386,13 @@ functions:
396386 args : [*task-runner, setup-test]
397387 - command : subprocess.exec
398388 type : test
389+ retry_on_failure : true
399390 params :
400391 binary : bash
401392 args : [*task-runner, evg-test-load-balancers]
402393
403394 run-atlas-data-lake-test :
404395 - command : subprocess.exec
405- type : test
406396 params :
407397 binary : " bash"
408398 env :
@@ -413,6 +403,7 @@ functions:
413403 args : [*task-runner, setup-test]
414404 - command : subprocess.exec
415405 type : test
406+ retry_on_failure : true
416407 params :
417408 binary : " bash"
418409 args : [*task-runner, evg-test-atlas-data-lake]
@@ -595,7 +586,6 @@ functions:
595586
596587 run-kms-tls-test :
597588 - command : subprocess.exec
598- type : test
599589 params :
600590 binary : " bash"
601591 env :
@@ -605,14 +595,14 @@ functions:
605595 args : [*task-runner, setup-test]
606596 - command : subprocess.exec
607597 type : test
598+ retry_on_failure : true
608599 params :
609600 binary : " bash"
610601 include_expansions_in_env : [KMS_TLS_TESTCASE]
611602 args : [*task-runner, evg-test-kms]
612603
613604 run-kmip-tests :
614605 - command : subprocess.exec
615- type : test
616606 params :
617607 binary : " bash"
618608 env :
@@ -622,6 +612,7 @@ functions:
622612 args : [*task-runner, setup-test]
623613 - command : subprocess.exec
624614 type : test
615+ retry_on_failure : true
625616 params :
626617 binary : " bash"
627618 env :
@@ -630,7 +621,6 @@ functions:
630621
631622 run-retry-kms-requests :
632623 - command : subprocess.exec
633- type : test
634624 params :
635625 binary : " bash"
636626 env :
@@ -640,6 +630,7 @@ functions:
640630 args : [*task-runner, setup-test]
641631 - command : subprocess.exec
642632 type : test
633+ retry_on_failure : true
643634 params :
644635 binary : " bash"
645636 env :
@@ -670,12 +661,18 @@ tasks:
670661 binary : bash
671662 args : [*task-runner, check-fmt, check-license, check-modules, lint]
672663
664+ - name : govulncheck
665+ tags : ["static-analysis"]
666+ commands :
667+ - command : subprocess.exec
668+ params :
669+ binary : bash
670+ args : [*task-runner, govulncheck]
671+
673672 - name : pull-request-helpers
674673 allowed_requesters : ["patch", "github_pr"]
675674 commands :
676675 - func : assume-test-secrets-ec2-role
677- - func : " add PR reviewer"
678- - func : " add PR labels"
679676 - func : " create-api-report"
680677
681678 - name : backport-pr
@@ -698,7 +695,9 @@ tasks:
698695 params :
699696 binary : bash
700697 args : [*task-runner, driver-benchmark]
698+ - func : assume-test-secrets-ec2-role
701699 - func : send-perf-data
700+ - func : send-perf-pr-comment
702701
703702 - name : test-standalone-noauth-nossl
704703 tags : ["test", "standalone"]
@@ -2111,8 +2110,9 @@ task_groups:
21112110 params :
21122111 working_dir : src/go.mongodb.org/mongo-driver
21132112 binary : bash
2114- add_expansions_to_env : true
2113+ include_expansions_in_env : [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN]
21152114 env :
2115+ MONGODB_VERSION : ${VERSION}
21162116 LAMBDA_STACK_NAME : dbx-go-lambda
21172117 args :
21182118 - ${DRIVERS_TOOLS}/.evergreen/atlas/setup.sh
@@ -2137,12 +2137,14 @@ task_groups:
21372137 - name : test-search-index-task-group
21382138 setup_group :
21392139 - func : setup-system
2140+ - func : assume-test-secrets-ec2-role
21402141 - command : subprocess.exec
21412142 params :
21422143 working_dir : src/go.mongodb.org/mongo-driver
21432144 binary : bash
2145+ include_expansions_in_env : [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN]
21442146 env :
2145- MONGODB_VERSION : " 7.0 "
2147+ MONGODB_VERSION : ${VERSION}
21462148 LAMBDA_STACK_NAME : dbx-go-lambda
21472149 args :
21482150 - ${DRIVERS_TOOLS}/.evergreen/atlas/setup.sh
0 commit comments