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

The EVG cli is complaining about invalid fields (status)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • current_quarter
    • app

    Description

      Repro

      1. Run the following commands:

      git clone https://github.com/10gen/mms
       
      cd mms
       
      # Reproducible at this SHA, using the current evg cli (2020-04-15)
      git checkout c27242a8800c7a560576d4b43e616480cdcb9496
       
      #Delete this line https://github.com/10gen/mms/blob/d41fcb4fac5534d2b0146d7bbc91586432a41033/.evergreen.yml#L272
       
      # Validate
      evergreen validate ../.evergreen.yml
       
      WARNING: yaml: unmarshal errors:
        line 2866: field status not found in struct model.copyType
        ...
      

      Context

      It looks like the status field should exist:

      https://github.com/evergreen-ci/evergreen/blob/e41b1bdef0f6b0ca8140abe0885528a0333764c3/rest/model/task.go#L39

      (it also appear in the EVG wiki)

      and in this test
      https://github.com/evergreen-ci/evergreen/blob/e7afea271efe1673e5f6f16fa83f38cbd436f526/model/project_parser_test.go#L55

      Attachments

        Issue Links

          Activity

            People

              annie.black@mongodb.com Annie Black
              mihai.bojin@mongodb.com Mihai Bojin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: