Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2735

Let GitHub Actions run acceptance check in parallel

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.5.0
    • build

    Description

      Currently GitHub Actions workflows are configured to run all checks in parallel, except acceptance test. The rationale is that acceptance test takes the most time, and there is no reason to run it if a cheaper check catches some problem.

      I propose to let GitHub Actions run acceptance test in parallel to address the following concerns:

      1. Although acceptance test is the slowest (~60 minutes), unit test also takes quite some time (~20-25 minutes). Serializing these two checks increases the time to get feedback on PRs and commits by ~33-40%.
      2. For PRs and post-commit builds in forks, running all checks regardless of the result of independent checks allows authors to reduce the number of rounds they need to address any problems.
      3. For post-commit builds in Apache master, we expect all checks to pass. However, checks sometime fail eg. due to transient network errors. Skipping acceptance test due to such a problem in another check provides no benefit.

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m