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

Version build errors are not exposed in API

    XMLWordPrintable

    Details

      Description

      If I go to https://evergreen.mongodb.com/version/mongoid_7.0.0_53e15f580edc4f281b826327ecbaff8e10d8c9a6 I see this error message:

       1 error in configuration file
      - 'mongoid-7.0.0' project's 'install dependencies' function contains no commands
      

      This information appears to be written into the page html, as follows:

      <script type="text/javascript">
        window.version = {"Version":{"id":"mongoid_7.0.0_53e15f580edc4f281b826327ecbaff8e10d8c9a6","create_time":"2020-02-14T19:34:54Z","start_time":"0001-01-01T00:00:00Z","finish_time":"0001-01-01T00:00:00Z","revision":"53e15f580edc4f281b826327ecbaff8e10d8c9a6","author":"Oleg Pudeyev","author_email":"39304720+p-mongo@users.noreply.github.com","message":"MONGOID-4833 omit testing on ruby-head for now (#4725)\n\nCo-authored-by: Oleg Pudeyev \u003cp@users.noreply.github.com\u003e","status":"created","order":114,"ignored":false,"owner_name":"mongodb","repo_name":"mongoid","branch_name":"7.0.0-stable","repo_kind":"github","identifier":"mongoid-7.0.0","remote_path":".evergreen/config.yml","requester":"gitter_request","errors":["'mongoid-7.0.0' project's 'install dependencies' function contains no commands"]},"Builds":[],"ActiveTasks":0,"repo_owner":"mongodb","repo_name":"mongoid","time_taken":0,"makespan":0};
        window.canEdit =  false ;
        window.plugins = {"manifest":null}
        window.jiraHost= "jira.mongodb.org"
        window.hasBanner =  false 
        window.user =  null 
      </script>
      

      When I retrieve this version via the API, it has no error information:

      (byebug) @version.info
      {"version_id"=>"mongoid_7.0.0_53e15f580edc4f281b826327ecbaff8e10d8c9a6", "create_time"=>"2020-02-14T19:34:54Z", "start_time"=>nil, "finish_time"=>nil, "revision"=>"53e15f580edc4f281b826327ecbaff8e10d8c9a6", "order"=>114, "project"=>"mongoid-7.0.0", "author"=>"Oleg Pudeyev", "author_email"=>"39304720+p-mongo@users.noreply.github.com", "message"=>"MONGOID-4833 omit testing on ruby-head for now (#4725)\n\nCo-authored-by: Oleg Pudeyev <p@users.noreply.github.com>", "status"=>"created", "repo"=>"mongoid", "branch"=>"7.0.0-stable", "build_variants_status"=>nil, "requester"=>"gitter_request"}
      

      Is there another place in API where this error information is exposed? If not can it be added to the API please?

        Attachments

          Activity

            People

            Assignee:
            annie.black Annie Black
            Reporter:
            oleg.pudeyev Oleg Pudeyev
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: