-
Type: Task
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Evergreen Tools, Testing
-
None
-
Not Needed
-
Proposal
- Use or remove unused tasks in Evergreen config
Background & Motivation
The C driver evergreen legacy config contains unused tasks.
This validate.py script can be used to print the tasks that are not used:
$ evergreen evaluate ./.evergreen/config.yml > evaluated.yml % python validate.py `tasks` not referenced in `buildvariants` or `task_groups`: -authentication-tests-openssl-static -debug-compile-asan-clang -debug-compile-asan-clang-openssl -debug-compile-asan-openssl-cse -debug-compile-compression -debug-compile-sasl-darwinssl-cse -debug-compile-sasl-nossl -debug-compile-sasl-openssl-cse -debug-compile-sasl-openssl-static-cse -debug-compile-sasl-winssl -debug-compile-sasl-winssl-cse -debug-compile-sspi-nossl -debug-compile-sspi-openssl -debug-compile-sspi-openssl-static -test-asan-memcheck-mock-server -test-aws-openssl-assume_role-5.0 -test-aws-openssl-ec2-5.0 -test-aws-openssl-ecs-5.0 -test-aws-openssl-lambda-5.0 -test-aws-openssl-regular-5.0 -test-latest-server-compression -test-loadbalanced-asan-auth-openssl-5.0 -test-loadbalanced-asan-auth-openssl-latest -test-loadbalanced-asan-noauth-nossl-5.0 -test-loadbalanced-asan-noauth-nossl-latest
This may result in loss of continuous test coverage: no test-loadbalanced- or mock-server tasks appear to be scheduled.
If a task is added, consider adding to a build variant with a distro recommended in Guidelines around Evergreen distros
If a task is added, consider migrating to the new non-legacy Evergreen config generator in .evergreen/config_generator