Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-32296

Check for resmoke_exit_code in evergreen.yml fails in dash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.1
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      TIG 2018-1-15

      Description

      The work for SERVER-32121 uses the following check:

      if [[ $resmoke_exit_code = 74 ]]; then
      ...
      

      The [[ condition is not supported in dash, which is the default shell on Ubuntu. Suggested changes are:

      • Change test to use [
      • Set the shell to bash for "run tests"

        Attachments

          Activity

            People

            Assignee:
            kevin.albertson Kevin Albertson
            Reporter:
            jonathan.abrahams Jonathan Abrahams
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: