Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-29640

buildscripts/update_test_lifecycle.py should remove tags for combinations that are no longer run in Evergreen

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.5.11
    • None
    • Testing Infrastructure
    • None
    • Fully Compatible
    • TIG 2017-07-10, TIG 2017-07-31

    Description

      With the initial version of buildscripts/update_test_lifecycle.py from SERVER-28786, tags for (test, task, variant, distro) combinations that no longer run in Evergreen will remain in the etc/test_lifecycle.yml file. We should make it possible for buildscripts/update_test_lifecycle.py to remove these tags when it generates a new version of the YAML file.

      More specifically, if a test is renamed or removed, then we should remove any tags for the test. This can be accomplished by iterating through all the tests that are tagged and removing any for which that os.path.isfile() returns false. We should additionally remove any tags mentioning Evergreen tasks, build variants, or distros that are renamed or removed. This can be accomplished by parsing all tags into their consistute parts via tag_str.split("|") and comparing against the current etc/evergreen.yml project configuration if that combination is no longer being run.

      Attachments

        Activity

          People

            yves.duhem Yves Duhem
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: