Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.19
    • Fix Version/s: None
    • Component/s: Maven Surefire Plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.634
      Maven 3.0.4
      Oracle JDK1.7.0_15
      Maven goal: install
      Maven OPTS: -Xms512m -Xmx4096m -XX:MaxPermSize=2048m -XX:ReservedCodeCacheSize=256m

      Description

      Console Output:

      [INFO] --- maven-surefire-plugin:2.19:test (default-test) @ ourProject ---
      
      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running path.of.our.test.Test
      Running path.of.our.other.test.Test
      
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.517 sec - in path.of.our.test.Test
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.589 sec - in path.of.our.other.test.Test
      Results :
      
      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
      

      After this line the process hangs endlessly.

      A threadDump from the build Server shows the following:

      Thread 21340: (state = IN_NATIVE)
       - java.io.FileInputStream.readBytes(byte[], int, int) @bci=0 (Interpreted frame)
       - java.io.FileInputStream.read(byte[], int, int) @bci=4, line=242 (Interpreted frame)
       - java.io.BufferedInputStream.fill() @bci=175, line=235 (Interpreted frame)
       - java.io.BufferedInputStream.read() @bci=12, line=254 (Interpreted frame)
       - java.io.DataInputStream.readInt() @bci=4, line=387 (Interpreted frame)
       - org.apache.maven.surefire.booter.MasterProcessCommand.decode(java.io.DataInputStream) @bci=1, line=117 (Interpreted frame)
       - org.apache.maven.surefire.booter.MasterProcessReader.read(java.io.DataInputStream) @bci=1, line=421 (Interpreted frame)
       - org.apache.maven.surefire.booter.MasterProcessReader.access$800(org.apache.maven.surefire.booter.MasterProcessReader, java.io.DataInputStream) @bci=2, line=59 (Interpreted frame)
       - org.apache.maven.surefire.booter.MasterProcessReader$CommandRunnable.run() @bci=44, line=463 (Interpreted frame)
       - java.lang.Thread.run() @bci=11, line=722 (Interpreted frame)
      

      For me this looks like surefire is waiting for a file to read from..?

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: