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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.16
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2022-07-11
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
      

              Assignee:
              Benety Goh
              Reporter:
              Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: