Add support to parse resmoke.py tags from a separate YAML file

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 3.5.6
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • TIG 2017-04-17
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      1. Add a new feature to resmoke.py to associate tests with tags based on the contents of a separate YAML file.

      selector: 
        js_test: 
          jstests/core/bench_test1.js: 
          - unreliable
      

      Note: This format may be extended to support the "cpp_unit_test" test kind in the future. (SERVER-22170)

      2. Add a --tagFile command line option to resmoke.py that defaults None. The resmoke.py invocation in the "run tests" function of etc/evergreen.yml project configuration will always specify --tagFile=etc/test_lifecycle.yml. (An etc/test_lifecycle.yml file that has the aforementioned structure, but doesn't specify any files should be committed alongside this work.)

      3. Update the filter_jstests() function in the selector.py module to additional find tags associated with a particular test file additional from the tag file.

            Assignee:
            Jonathan Abrahams (Inactive)
            Reporter:
            Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: