Uploaded image for project: 'Evergreen'
  1. Evergreen
  2. EVG-6082

Evergreen patch command does not report the same errors as validate

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: app
    • Labels:

      Description

      If a project config references a distro that does not exist, evergreen validate will fail. However, evergreen patch succeeds. It should not.

      evergreen validate self-tests.yml
      WARNING: buildvariant 'ubuntu1604-arm64' in project '' references a non-existent distro 'ubuntu1604-arm-small'.
      Valid distros include:
      [...]
      

      evergreen patch -p mci -v ubuntu1604 -t all -y
      Patch successfully created.
       
      	     ID : 5cb0c6dc1e2d175b47dca8aa
      	Created : 2019-04-12 17:11:56.591 +0000 UTC
          Description : <none>
      	  Build : https://evergreen.mongodb.com/patch/5cb0c6dc1e2d175b47dca8aa
            Finalized : No
      

        Attachments

          Activity

            People

            Assignee:
            brian.samek Brian Samek
            Reporter:
            brian.samek Brian Samek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: