From issues-return-99364-apmail-maven-issues-archive=maven.apache.org@maven.apache.org Thu Jan 1 21:06:38 2015 Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 38450C77C for ; Thu, 1 Jan 2015 21:06:38 +0000 (UTC) Received: (qmail 18197 invoked by uid 500); 1 Jan 2015 21:06:38 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 18135 invoked by uid 500); 1 Jan 2015 21:06:38 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 18122 invoked by uid 99); 1 Jan 2015 21:06:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jan 2015 21:06:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [199.193.192.100] (HELO codehaus01.managed.contegix.com) (199.193.192.100) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jan 2015 21:06:12 +0000 Received: from codehaus01 (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 4CDBEB116D for ; Thu, 1 Jan 2015 15:06:10 -0600 (CST) Date: Thu, 1 Jan 2015 15:06:10 -0600 (CST) From: "Alexander Ashitkin (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] (SUREFIRE-1132) Surefire: regular isolated classloader failures in parallelbuild MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 22cf62d5d84cf5bea94eb3b65e0ebd09 X-Virus-Checked: Checked by ClamAV on apache.org [ 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)