[SERVER-28440] Add support to parse resmoke.py tags from a separate YAML file Created: 22/Mar/17  Updated: 06/Dec/17  Resolved: 05/Apr/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.5.6

Type: New Feature Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Jonathan Abrahams
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: TIG 2017-04-17
Participants:

 Description   

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.



 Comments   
Comment by Githook User [ 05/Apr/17 ]

Author:

{u'username': u'hptabster', u'name': u'Jonathan Abrahams', u'email': u'jonathan@mongodb.com'}

Message: SERVER-28440 Add support to parse resmoke.py tags from a separate YAML file
Branch: master
https://github.com/mongodb/mongo/commit/6b44ad3ae202332ad276105e2a505ae7baf91ab4

Comment by Githook User [ 05/Apr/17 ]

Author:

{u'username': u'hptabster', u'name': u'Jonathan Abrahams', u'email': u'jonathan@mongodb.com'}

Message: Revert "SERVER-28440 Add support to parse resmoke.py tags from a separate YAML file"

This reverts commit e0c09edaf7f3c42b098823c977a72cd7901012cd.
Branch: master
https://github.com/mongodb/mongo/commit/97691221bcf43245ddfd906766abc93bb617d2aa

Comment by Githook User [ 05/Apr/17 ]

Author:

{u'username': u'hptabster', u'name': u'Jonathan Abrahams', u'email': u'jonathan@mongodb.com'}

Message: SERVER-28440 Add support to parse resmoke.py tags from a separate YAML file
Branch: master
https://github.com/mongodb/mongo/commit/e0c09edaf7f3c42b098823c977a72cd7901012cd

Generated at Thu Feb 08 04:18:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.