[CDRIVER-4645] Use or remove unused tasks in Evergreen config Created: 21/May/23  Updated: 11/Oct/23

Status: Backlog
Project: C Driver
Component/s: Evergreen Tools, tests
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Minor - P4
Reporter: Kevin Albertson Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: CDRIVER-2733

 Description   

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



 Comments   
Comment by Githook User [ 11/Oct/23 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CDRIVER-4645 migrate and run load balancer tests (#1414)

  • run simple_http_server.py on port 18000

Port 8000 conflicts with HAProxy started by run-load-balancer.sh in DET

  • update load_balancers specification tests

Update to commit https://github.com/mongodb/specifications/commit/5af2ab77a6e68a4528085504ab6bd1360d30a6c8 to fix test failure when an error is expected.

  • use `hello`, not `isMaster` in test failpoint
  • add new loadbalanced Evg config
  • remove legacy load balanced config
  • regenerate Evergreen config
  • Sort imports

Co-authored-by: Ezra Chung <88335979+eramongodb@users.noreply.github.com>
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/82d593a4e9f5980c50ebf8f24e869579a3b29256

Comment by Githook User [ 23/May/23 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CDRIVER-4645 add `mock-server-test` variant (#1277)

  • remove unused TOPOLOGY
  • remove `authentication-tests-openssl-static`
  • remove `debug-compile-asan-openssl-cse`

Seems redundant with `asan-cse-sasl-cyrus-openssl-ubuntu1804-clang-compile`

  • remove `debug-compile-sasl-darwinssl-cse`

Seems redundant with `cse-sasl-cyrus-darwinssl-macos-1100-clang-compile`.

  • remove `debug-compile-sasl-openssl-cse`

Seems redundant with `cse-sasl-cyrus-openssl-*` tasks.

  • remove `debug-compile-sasl-winssl`

Seems redundant with `sasl-cyrus-winssl-*` tasks.

  • remove `debug-compile-sasl-winssl-cse`

Seems redundant with `cse-sasl-cyrus-winssl-*` tasks.

  • add `TestSuite_CheckLive` to `/counters` tests
  • expect `hello` and OP_MSG for load balanced tests

CDRIVER-4193 changes to use OP_MSG and hello for handshake when in loadbalanced

  • add mock-server-test variant
  • remove `test-asan-memcheck-mock-server`

Replaced by the new `mock-server-test` task.

  • format test-mongoc-loadbalanced.c
  • move `match_loadBalanced` declarations up
Generated at Wed Feb 07 21:21:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.