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

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

      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@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: