[ https://jira.codehaus.org/browse/SUREFIRE-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=360516#comment-360516 ] Alexander Ashitkin commented on SUREFIRE-1132: ---------------------------------------------- Hi i amended forkCount to 1 and will evaluate the build. Meanwhile some additional info from me: * build is actually run on hotspot 7u65 * junit.jar last modfied is 26-Aug * i evaluated -XX:+AlwaysLockClassLoader - no positive evidence To make picture full - we also have strange failures on compile/testCompile phases, like: {code} 20:20:54 [ERROR] /D:/jenkins/work/workspace/..Request.java:[3,30] package ... does not exist 20:20:54 [ERROR] /D:/jenkins/work/workspace/..Request.java:[4,30] package ... does not exist 20:20:54 [ERROR] /D:/jenkins/work/workspace/..Request.java:[8,25] package ... does not exist 20:20:54 [ERROR] /D:/jenkins/work/workspace/..Request.java:[9,21] package org.joda.time does not exist 20:20:54 [ERROR] /D:/jenkins/work/workspace/..Request.java:[11,37] package com.google.common.base does not exist 20:20:54 [ERROR] /D:/jenkins/work/workspace/..Request.java:[11,1] static import only from classes and interfaces 20:20:54 [ERROR] /D:/jenkins/work/workspace/..Request.java:[12,37] package com.google.common.base does not exist 20:20:54 [ERROR] /D:/jenkins/work/workspace/..Request.java:[12,1] static import only from classes and interfaces {code} Assuming some generic classloading issue, surefire should obviously should hit that as an component which loads classes a lot. So maybe Surefire is impacted rather than cause. thank you > 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} > > 0 > false > false > > {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)