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

Surefire: regular isolated classloader failures in parallelbuild

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.17, 2.18.1
    • None
    • classloading
    • None
    • SLES 3.0.80-0.7-default SMP x86_64 GNU/Linux
      windows server 2008 x64
      Maven 3.2.2, 3.2.3, 3.2.5
      Oracle HotSpot JDK 7u25/7u65/8u25

    Description

      We have a large project of 300+ modules which regularly fails with different kind of classloading issues in different places in surefire plugin. The issue is reproduced only with parallel build and is not reproduced in single threaded. This is a main contributor in build instability for us. All the not loaded dependnecies are actually present in dependency tree. I attached 3 different samples of how build fails.
      Surefire config:

                          <configuration>
                              <forkCount>0</forkCount>
                              <!--doesnt work in parrallel build. Causes build failures with error java.io.IOException: Stream Closed-->                      <redirectTestOutputToFile>false</redirectTestOutputToFile>
                              <useManifestOnlyJar>false</useManifestOnlyJar>
                          </configuration>
      

      maven cmd is like install -T 10
      Please advise how to sort this out - ready to run any provided diagnostic and evaluate any options.

      Thanks in advance, Alexander

      Attachments

        1. consoleText-3.txt
          13 kB
          Alexander Ashitkin
        2. consoleText-2.txt
          6 kB
          Alexander Ashitkin
        3. consoleText-1.txt
          7 kB
          Alexander Ashitkin

        Issue Links

          Activity

            People

              tibordigana Tibor Digana
              alex_ashitkin Alexander Ashitkin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: