[GODRIVER-127] Variables in evergreen yml not correctly passed to mongo-orchestration Created: 10/Nov/17  Updated: 28/Oct/23  Resolved: 20/Nov/17

Status: Closed
Project: Go Driver
Component/s: Testing
Affects Version/s: None
Fix Version/s: 0.0.1

Type: Bug Priority: Major - P3
Reporter: William Banfield Assignee: Samuel Rossi (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to GODRIVER-129 Add 3.6 to Evergreen testing matrix Closed
Epic Link: GODRIVER MongoDB 3.6 Server Support

 Description   

The evergreen function used to start mongo-orchesteration:

  bootstrap-mongo-orchestration:                                                
    - command: shell.exec                                                       
      params:                                                                   
        script: |                                                               
          ${PREPARE_SHELL}                                                      
          MONGODB_VERSION=${VERSION} TOPOLOGY=${TOPOLOGY} AUTH=${AUTH} SSL=${SSL} sh ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
    - command: expansions.update                                                
      params:                                                                   
        file: mo-expansion.yml 

This function requires variables VERSION,TOPOLOGY,AUTH, etc. to determine how to start the cluster.

Currently, we don't pass args to it, only to the run-tests function, and as a result are not correctly starting up the cluster we think were are.
Ex:

    - name: test-replicaset-auth-nossl                                          
      tags: ["test", "replicaset"]                                              
      commands:                                                                 
        - func: bootstrap-mongo-orchestration                                   
        - func: run-tests                                                       
          vars:                                                                 
            TOPOLOGY: "replica_set"                                             
            AUTH: "auth"                                                        
            SSL: "nossl"    



 Comments   
Comment by Githook User [ 27/Nov/17 ]

Author:

{'name': 'Saghm Rossi', 'username': 'saghm', 'email': 'saghmrossi@gmail.com'}

Message: GODRIVER-127 Variables in evergreen yml not correctly passed to mongo-orchestration
Branch: GODRIVER-33
https://github.com/10gen/mongo-go-driver/commit/c7c833211ba8b4abd6f89e76c840e257e4959325

Comment by Githook User [ 20/Nov/17 ]

Author:

{'name': 'Saghm Rossi', 'username': 'saghm', 'email': 'saghmrossi@gmail.com'}

Message: GODRIVER-127 Variables in evergreen yml not correctly passed to mongo-orchestration
Branch: master
https://github.com/10gen/mongo-go-driver/commit/4a88a602e63d6106044eb340a16037874d114e92

Generated at Thu Feb 08 08:33:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.