Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-1287

Improve logging to understand why test run failed and report the right failed category

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.19.1
    • Backlog
    • Maven Surefire Plugin
    • None

    Description

      As part of our automated jenkins builds that run after every checkin, we have been seeing a lot of these failures:

      Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:2.19.1:verify (ParallelStatsEnabledTest) on project phoenix-core: There was a timeout or other error in the fork

      Sample run:
      https://builds.apache.org/job/Phoenix-master/1420/console

      Unfortunately that bit of error information doesn't really help. It would be good to know why exactly the fork timed out or failed. What we do know is that some of the tests in the Junit category ParallelStatsDisabledTest failed to complete. However, failsafe incorrectly reports the failed category as the first category that ran. In this case it happened to be ParallelStatsEnabledTest. Also to note is the fact that failsafe kicks off next category run even before all the tests in the current category have finished. I am not sure if that is by design or a bug.

      FYI, jamestaylor.

      Attachments

        Activity

          People

            tibordigana Tibor Digana
            samarthjain Samarth Jain
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated: