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

Fix permanently failing Surefire Windows Build

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.20
    • Component/s: None
    • Labels:
      None
    • Environment:
      Jenkins

      Description

      1.
      https://builds.apache.org/job/maven-surefire-windows/org.apache.maven.surefire$surefire-integration-tests/1134/

      Error Message

      time for successful test is expected to be positive

      Stacktrace

      java.lang.AssertionError: time for successful test is expected to be positive
      at org.junit.Assert.fail(Assert.java:88)
      at org.junit.Assert.assertTrue(Assert.java:41)
      at org.apache.maven.surefire.its.jiras.Surefire943ReportContentIT.validate(Surefire943ReportContentIT.java:132)
      at org.apache.maven.surefire.its.jiras.Surefire943ReportContentIT.doTest(Surefire943ReportContentIT.java:69)
      at org.apache.maven.surefire.its.jiras.Surefire943ReportContentIT.test_noParallel(Surefire943ReportContentIT.java:39)

      2.
      https://builds.apache.org/job/maven-surefire-windows/1142/org.apache.maven.surefire$surefire-integration-tests/testReport/org.apache.maven.surefire.its/ForkModeTestNGIT/testForkModeOncePerThreadTwoThreads/

      Failed

      org.apache.maven.surefire.its.ForkModeTestNGIT.testForkModeOncePerThreadTwoThreads

      Error Message

      number of different pids is not as expected expected:<2> but was:<1>

      Stacktrace

      java.lang.AssertionError: number of different pids is not as expected expected:<2> but was:<1>
      at org.junit.Assert.fail(Assert.java:88)
      at org.junit.Assert.failNotEquals(Assert.java:834)
      at org.junit.Assert.assertEquals(Assert.java:645)
      at org.apache.maven.surefire.its.ForkModeIT.assertDifferentPids(ForkModeIT.java:171)
      at org.apache.maven.surefire.its.ForkModeIT.testForkModeOncePerThreadTwoThreads(ForkModeIT.java:105)

        Attachments

          Activity

            People

            • Assignee:
              tibor17 Tibor Digana
              Reporter:
              tibor17 Tibor Digana
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: