[ 
https://jira.codehaus.org/browse/SUREFIRE-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=359922#comment-359922
 ] 

Tibor Digana edited comment on SUREFIRE-1132 at 12/29/14 7:10 AM:
------------------------------------------------------------------

Set trimStackTrace=false and retry. I would like to see full stack in reports.
It still looks like jvm issue.
Send the zip archive with erroneous project including target and sources.
The ideal situation would be to reproduce it on our side.
Does file:/d:/.m2/repository/junit/junit/4.11/junit-4.11.jar exist and the 
RunListener class exists? You can alternatively delete junit/4.11 folder in 
local repo and let the Maven download it again.

Opened jvm sources UrlClassLoader@366 and the class is not found as resource, 
ie. Resource res = ucp.getResource(path, false); is null.


was (Author: tibor17):
Set trimStackTrace=false and retry. I would like to see full stack in reports.
It still looks like jvm issue.
Send the zip archive with erroneous project including target and sources.
The ideal situation would be to reproduce it on our side.
Does file:/d:/.m2/repository/junit/junit/4.11/junit-4.11.jar exist and the 
RunListener class exists? You can alternatively delete junit/4.11 folder in 
local repo and let the Maven download it again.

Opened jvm sources UrlClassLoader@366 and the class is not found as resource 
Resource res = ucp.getResource(path, false);.

> Surefire: regular isolated classloader failures in parallelbuild
> ----------------------------------------------------------------
>
>                 Key: SUREFIRE-1132
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-1132
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: classloading
>    Affects Versions: 2.17
>         Environment: 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
>            Reporter: Alexander Ashitkin
>         Attachments: consoleText-1.txt, consoleText-2.txt, consoleText-3.txt
>
>
> 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:
> {code}
>                     <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>
> {code}
> 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



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to