When not running a patch build, the "run tests" function in the etc/evergreen.yml project configuration should run resmoke.py once with
and a second time with
The promote_silent_failures.py script should be run on report_unreliable.json making it so that only if both executions of a test with an "retry_on_failure*" tag fail, would the task be marked as a failure.
Note: When the report_reliable.json is merged with the other report file using the combine_reports.py script, care should be taken to ensure the same test execution won't appear in the Evergreen sidebar multiple times as the combine_reports.py script will also be invoked as part of the "post" task with the changes from
Credit to ADAM Martin for this idea as a way to reduce the number of Evergreen task failures that the Build Baron needs to triage.