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

Fix permanently failing Surefire Windows Build

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.20
    • None
    • None
    • 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

            tibordigana Tibor Digana
            tibordigana Tibor Digana
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: