Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-1539

Evergreen task teardown should stop mongo-orchestration

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      In DRIVERS-2991 we fixed "Address already in use" when starting mongo-orchestration but the underlying cause is that the phph 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:
            andreas.braun@mongodb.com Andreas Braun
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: