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

Use pre_error_fails_task in etc/evergreen.yml

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Fully Compatible
    • DAG 2019-09-09
    • 2

      In Evergreen, 'pre' tasks are tasks that run at the start of all task execution. However, failures in these tasks are silently ignored by default. This can lead to tasks being in different states when they run if any of the 'pre' tasks fail.

      Evergreen has an option, pre_error_fails_task, that will cause failure in the 'pre' tasks to fail the task execution. Enabling this will allow us to avoid running tasks in a different state than they normally would be.


      As a server engineer,
      I want 'pre_error_fails_task' to be enabled in the evergreen configuration,
      So that I can know my tasks are running in a consistent state.


      AC:

      • pre_error_fails_task is enabled in etc/evergreen.yml.

            Assignee:
            lydia.stepanek@mongodb.com Lydia Stepanek (Inactive)
            Reporter:
            david.bradford@mongodb.com David Bradford (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: