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)

        Activity

        Hide
        tibor17 Tibor Digana added a comment -

        commit 9c78320b771bb0e607e9f60f2ef6a63937352fde

        Show
        tibor17 Tibor Digana added a comment - commit 9c78320b771bb0e607e9f60f2ef6a63937352fde
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build maven-surefire #1616 (See https://builds.apache.org/job/maven-surefire/1616/)
        SUREFIRE-1281 Fix permanently failing Surefire Windows Build (tibor17: rev 9c78320b771bb0e607e9f60f2ef6a63937352fde)

        • (edit) surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My3Test.java
        • (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire943ReportContentIT.java
        • (edit) surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My1Test.java
        • (edit) surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My2Test.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-surefire #1616 (See https://builds.apache.org/job/maven-surefire/1616/ ) SUREFIRE-1281 Fix permanently failing Surefire Windows Build (tibor17: rev 9c78320b771bb0e607e9f60f2ef6a63937352fde) (edit) surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My3Test.java (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire943ReportContentIT.java (edit) surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My1Test.java (edit) surefire-integration-tests/src/test/resources/surefire-943-report-content/src/test/java/org/sample/module/My2Test.java
        Hide
        tibor17 Tibor Digana added a comment -

        commit 689291f674061e85d48198acd5ae622da7697e48

        Show
        tibor17 Tibor Digana added a comment - commit 689291f674061e85d48198acd5ae622da7697e48
        Hide
        tibor17 Tibor Digana added a comment -

        commit 4b43807504d36d624ba9f72649fabd74579eceff

        Show
        tibor17 Tibor Digana added a comment - commit 4b43807504d36d624ba9f72649fabd74579eceff
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build maven-surefire #1633 (See https://builds.apache.org/job/maven-surefire/1633/)
        SUREFIRE-1281 Fix permanently failing Surefire Windows Build (tibor17: rev 4b43807504d36d624ba9f72649fabd74579eceff)

        • (edit) surefire-integration-tests/src/test/resources/fail-fast-testng/src/test/java/pkg/CTest.java
        • (edit) surefire-integration-tests/src/test/resources/fail-fast-testng/src/test/java/pkg/ATest.java
        • (edit) surefire-integration-tests/src/test/resources/fail-fast-testng/src/test/java/pkg/BTest.java
        • (edit) surefire-integration-tests/src/test/resources/fail-fast-junit/src/test/java/pkg/BTest.java
        • (edit) surefire-integration-tests/src/test/resources/fail-fast-testng/src/test/java/pkg/DTest.java
        • (edit) surefire-integration-tests/src/test/resources/fail-fast-junit/src/test/java/pkg/CTest.java
        • (edit) surefire-integration-tests/src/test/resources/fail-fast-junit/src/test/java/pkg/ATest.java
        • (edit) surefire-integration-tests/src/test/resources/fail-fast-junit/src/test/java/pkg/DTest.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-surefire #1633 (See https://builds.apache.org/job/maven-surefire/1633/ ) SUREFIRE-1281 Fix permanently failing Surefire Windows Build (tibor17: rev 4b43807504d36d624ba9f72649fabd74579eceff) (edit) surefire-integration-tests/src/test/resources/fail-fast-testng/src/test/java/pkg/CTest.java (edit) surefire-integration-tests/src/test/resources/fail-fast-testng/src/test/java/pkg/ATest.java (edit) surefire-integration-tests/src/test/resources/fail-fast-testng/src/test/java/pkg/BTest.java (edit) surefire-integration-tests/src/test/resources/fail-fast-junit/src/test/java/pkg/BTest.java (edit) surefire-integration-tests/src/test/resources/fail-fast-testng/src/test/java/pkg/DTest.java (edit) surefire-integration-tests/src/test/resources/fail-fast-junit/src/test/java/pkg/CTest.java (edit) surefire-integration-tests/src/test/resources/fail-fast-junit/src/test/java/pkg/ATest.java (edit) surefire-integration-tests/src/test/resources/fail-fast-junit/src/test/java/pkg/DTest.java
        Hide
        tibor17 Tibor Digana added a comment -

        commit f37a8d4dcb59b0ea8fd982f3d8db9b158088fa28

        Show
        tibor17 Tibor Digana added a comment - commit f37a8d4dcb59b0ea8fd982f3d8db9b158088fa28
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build maven-surefire #1634 (See https://builds.apache.org/job/maven-surefire/1634/)
        SUREFIRE-1281 Fix permanently failing Surefire Windows Build (tibor17: rev f37a8d4dcb59b0ea8fd982f3d8db9b158088fa28)

        • (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire747MethodParallelWithSuiteCountIT.java
        • (edit) surefire-integration-tests/src/test/resources/junit47-parallel-with-suite/src/test/java/surefire747/SuiteTest1.java
        • (edit) surefire-integration-tests/src/test/resources/junit47-parallel-with-suite/pom.xml
        • (edit) surefire-integration-tests/pom.xml
        • (edit) surefire-integration-tests/src/test/resources/junit47-parallel-with-suite/src/test/java/surefire747/SuiteTest2.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-surefire #1634 (See https://builds.apache.org/job/maven-surefire/1634/ ) SUREFIRE-1281 Fix permanently failing Surefire Windows Build (tibor17: rev f37a8d4dcb59b0ea8fd982f3d8db9b158088fa28) (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire747MethodParallelWithSuiteCountIT.java (edit) surefire-integration-tests/src/test/resources/junit47-parallel-with-suite/src/test/java/surefire747/SuiteTest1.java (edit) surefire-integration-tests/src/test/resources/junit47-parallel-with-suite/pom.xml (edit) surefire-integration-tests/pom.xml (edit) surefire-integration-tests/src/test/resources/junit47-parallel-with-suite/src/test/java/surefire747/SuiteTest2.java
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build maven-surefire-junit5 #8 (See https://builds.apache.org/job/maven-surefire-junit5/8/)
        SUREFIRE-1281 Fix permanently failing Surefire Windows Build (tibor17: rev 4b43807504d36d624ba9f72649fabd74579eceff)

        • (edit) surefire-integration-tests/src/test/resources/fail-fast-junit/src/test/java/pkg/ATest.java
        • (edit) surefire-integration-tests/src/test/resources/fail-fast-junit/src/test/java/pkg/BTest.java
        • (edit) surefire-integration-tests/src/test/resources/fail-fast-testng/src/test/java/pkg/BTest.java
        • (edit) surefire-integration-tests/src/test/resources/fail-fast-junit/src/test/java/pkg/DTest.java
        • (edit) surefire-integration-tests/src/test/resources/fail-fast-testng/src/test/java/pkg/ATest.java
        • (edit) surefire-integration-tests/src/test/resources/fail-fast-junit/src/test/java/pkg/CTest.java
        • (edit) surefire-integration-tests/src/test/resources/fail-fast-testng/src/test/java/pkg/CTest.java
        • (edit) surefire-integration-tests/src/test/resources/fail-fast-testng/src/test/java/pkg/DTest.java
          SUREFIRE-1281 Fix permanently failing Surefire Windows Build (tibor17: rev f37a8d4dcb59b0ea8fd982f3d8db9b158088fa28)
        • (edit) surefire-integration-tests/src/test/resources/junit47-parallel-with-suite/src/test/java/surefire747/SuiteTest2.java
        • (edit) surefire-integration-tests/pom.xml
        • (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire747MethodParallelWithSuiteCountIT.java
        • (edit) surefire-integration-tests/src/test/resources/junit47-parallel-with-suite/pom.xml
        • (edit) surefire-integration-tests/src/test/resources/junit47-parallel-with-suite/src/test/java/surefire747/SuiteTest1.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-surefire-junit5 #8 (See https://builds.apache.org/job/maven-surefire-junit5/8/ ) SUREFIRE-1281 Fix permanently failing Surefire Windows Build (tibor17: rev 4b43807504d36d624ba9f72649fabd74579eceff) (edit) surefire-integration-tests/src/test/resources/fail-fast-junit/src/test/java/pkg/ATest.java (edit) surefire-integration-tests/src/test/resources/fail-fast-junit/src/test/java/pkg/BTest.java (edit) surefire-integration-tests/src/test/resources/fail-fast-testng/src/test/java/pkg/BTest.java (edit) surefire-integration-tests/src/test/resources/fail-fast-junit/src/test/java/pkg/DTest.java (edit) surefire-integration-tests/src/test/resources/fail-fast-testng/src/test/java/pkg/ATest.java (edit) surefire-integration-tests/src/test/resources/fail-fast-junit/src/test/java/pkg/CTest.java (edit) surefire-integration-tests/src/test/resources/fail-fast-testng/src/test/java/pkg/CTest.java (edit) surefire-integration-tests/src/test/resources/fail-fast-testng/src/test/java/pkg/DTest.java SUREFIRE-1281 Fix permanently failing Surefire Windows Build (tibor17: rev f37a8d4dcb59b0ea8fd982f3d8db9b158088fa28) (edit) surefire-integration-tests/src/test/resources/junit47-parallel-with-suite/src/test/java/surefire747/SuiteTest2.java (edit) surefire-integration-tests/pom.xml (edit) surefire-integration-tests/src/test/java/org/apache/maven/surefire/its/jiras/Surefire747MethodParallelWithSuiteCountIT.java (edit) surefire-integration-tests/src/test/resources/junit47-parallel-with-suite/pom.xml (edit) surefire-integration-tests/src/test/resources/junit47-parallel-with-suite/src/test/java/surefire747/SuiteTest1.java

          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:

              Development