Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-6405

Evergreen task teardown should stop mongo-orchestration

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 2
    • Hide

      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.

      Show
      Create a copy of the Kickoff Template with the issue key (NODE-XXX) in the filename and share a link to the new doc via this field.

      In DRIVERS-2991 we fixed "Address already in use" when starting mongo-orchestration but the underlying cause is that the node driver is mistakenly not shutting down the MO server in Evergreen task teardown.

      For example, the python driver does this:

        "stop mongo-orchestration":
          - command: shell.exec
            params:
              script: |
                . src/.evergreen/scripts/env.sh
                set -o xtrace
                bash ${DRIVERS_TOOLS}/.evergreen/stop-orchestration.sh
      ...
      
      
      post:
      ...
        - func: "stop mongo-orchestration"
      

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: