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

Cannot get links to artifacts for execution tasks from project and githash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v2018.11.01
    • Component/s: app
    • Labels:

      Description

      I spiraled a bit here trying to come up with different options. It's possible I've overlooked something.

      https://evergreen.mongodb.com/rest/v1/versions/mongodb_mongo_master_bc880e13829b89ee46c0715c5534c8ef1ac387f3/status lists the task ids for the "unittests!" display task and not the "unittests" execution task.

      https://evergreen.mongodb.com/rest/v1/tasks/mongodb_mongo_master_enterprise_rhel_62_64_bit_coverage_display_unittests!_bc880e13829b89ee46c0715c5534c8ef1ac387f3_18_08_02_18_14_03 reports "files": null as EVG-3283 originally described.

      https://evergreen.mongodb.com/rest/v2/tasks/mongodb_mongo_master_enterprise_rhel_62_64_bit_coverage_display_unittests!_bc880e13829b89ee46c0715c5534c8ef1ac387f3_18_08_02_18_14_03 reports "artifacts": null despite the changes from EVG-3283. It appears the artifacts are only listed in https://evergreen.mongodb.com/rest/v2/tasks/mongodb_mongo_master_enterprise_rhel_62_64_bit_coverage_unittests_bc880e13829b89ee46c0715c5534c8ef1ac387f3_18_08_02_18_14_03, which isn't listed by the /rest/v1/versions/<version_id>/status endpoint.

      I tried to use the /rest/v2/projects/<project_id>/revisions/<commit_hash>/tasks endpoint, but it didn't work for me. https://evergreen.mongodb.com/rest/v2/projects/mongodb-mongo-master/revisions/bc880e13829b89ee46c0715c5534c8ef1ac387f3/tasks returns

      {
        "status": 404,
        "error": "task from project 'mongodb-mongo-master' and commit 'bc880e13829b89ee46c0715c5534c8ef1ac387f3' not found"
      }
      

      as does https://evergreen.mongodb.com/rest/v2/projects/mongodb_mongo_master/revisions/bc880e13829b89ee46c0715c5534c8ef1ac387f3/tasks

      {
        "status": 404,
        "error": "task from project 'mongodb_mongo_master' and commit 'bc880e13829b89ee46c0715c5534c8ef1ac387f3' not found"
      }
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: