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

[4.4] evergreen.yml "scons lint" fails to handle empty string for is_patch variable

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.4.16
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2022-07-11

    Description

      The is_patch check in the scons lint task expects is_patch to be a non-empty string but this is no longer the case in light of recent changes in the CI system. As a result, for non-patch builds, this results in the following shell error:

       [2022/06/29 17:47:23.925] echo "Found mypy executable at '$MYPY'"
       [2022/06/29 17:47:23.925] export extra_flags=""
       [2022/06/29 17:47:23.925] if [[  == "true" ]]; then
       [2022/06/29 17:47:23.925] sh: line 39: conditional binary operator expected
      

      Attachments

        Issue Links

          Activity

            People

              benety.goh@mongodb.com Benety Goh
              benety.goh@mongodb.com Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: