Return-Path: X-Original-To: apmail-builds-archive@minotaur.apache.org Delivered-To: apmail-builds-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A0E1610041 for ; Mon, 3 Jun 2013 19:12:24 +0000 (UTC) Received: (qmail 77055 invoked by uid 500); 3 Jun 2013 19:12:24 -0000 Delivered-To: apmail-builds-archive@apache.org Received: (qmail 76984 invoked by uid 500); 3 Jun 2013 19:12:24 -0000 Mailing-List: contact builds-help@apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: builds@apache.org Delivered-To: mailing list builds@apache.org Received: (qmail 76975 invoked by uid 99); 3 Jun 2013 19:12:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 19:12:24 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of andy.seaborne.apache@gmail.com designates 209.85.215.178 as permitted sender) Received: from [209.85.215.178] (HELO mail-ea0-f178.google.com) (209.85.215.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 19:12:19 +0000 Received: by mail-ea0-f178.google.com with SMTP id q15so48308ead.37 for ; Mon, 03 Jun 2013 12:11:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=01aXk+UQCyEP1a5G4FIO09LFQKiJHZDlER2vmXhklns=; b=PTmzCCvJD6tWH6j2vHYT+UvvSLh9IQXUoQRN9d6W2avLptZL0RoaiRR6qWUkHJBSGs GkEeF20ds5r5og8a+uAlMgZF/zZs5sf4Znpb6x4vdRtGurl/caL/DyvO2vtdEU0FHV5S 0ocUH4/Asg4Ugc3HfV6ic73NN56JXWYp0j4qx4ELUxYKNEmIt8Ra0gpvjRsh4ypo4NcF vcrHUPW/BAxVqLuA0MaAoge58bl2wRYKm9EwWUDiRerrs+LeAhmgISWd2xFi6IcfE5bE TP2dbKhWiweWYmjGoF53mOn1qAywVCeBXk1Lm9zb5T8vwd3+/nR5YdH//owPZl5D4dpu 08Zg== X-Received: by 10.14.69.199 with SMTP id n47mr7507742eed.11.1370286718285; Mon, 03 Jun 2013 12:11:58 -0700 (PDT) Received: from [192.168.0.72] (cpc37-aztw23-2-0-cust35.18-1.cable.virginmedia.com. [94.174.128.36]) by mx.google.com with ESMTPSA id bk1sm38586386eeb.5.2013.06.03.12.11.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Jun 2013 12:11:57 -0700 (PDT) Message-ID: <51ACEA7B.4000701@apache.org> Date: Mon, 03 Jun 2013 20:11:55 +0100 From: Andy Seaborne User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: builds@apache.org Subject: Re: exit code 143 from maven - cause? References: <519E5B6B.3020402@apache.org> <51AB09C0.8030006@apache.org> <011901ce5f71$f62d9a50$e288cef0$@apache.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Uwe - thanks for the suggestion. There's nothing that should cause jar modification but maybe the file timestamps are going wonky. The build is a plain and simple build; modules do use jars from earlier module builds but nothing that hasn't work for ages (years). A google search shows some cases of exit 143 for a variety of reasons but I don't see a consistent pattern and some simply don't apply to the setup here (e.g. MS windows). In the current period of SIGTERMisms (143 = 128+signal 15), ubuntu4 is the only machine involved. We have had intermittent occurrences before but not for a while and I can't see the history. It's never happened building locally. Andy On 02/06/13 14:50, Andreas Veithen wrote: > Interesting. How do you explain that the problem only occurs on > certain Ubuntu slaves? I have a build that is perfectly stable on > ubuntu1 and ubuntu3, but that starts failing with this error if I > allow it to run on other Ubuntu slaves. Note that this observation is > compatible with the fact that Andy reported the problem for ubuntu4. I > bet that if he looks in the build history he will not find any > instances of that problem for ubuntu1 and ubuntu3. > > Andreas > > On Sun, Jun 2, 2013 at 11:17 AM, Uwe Schindler wrote: >> This happens generally if something during the build changes a JAR file that is currently open by the VM (e.g. a Maven plugin). If you compile a maven plugin and then use it afterwards, you should split your maven build to do this in 2 separate maven invocations. This is a known bug to all JVMs: The native zlib code reading the JAR files segfaults if a JAR file changes while opened by a classloader. >> >> Otherwise: Fix Maven or the plugin that opens the JAR file to call URLClassLoader.close() if it detects Java 7. This can be done by doing instanceof Closeable on your classloader and then close it using a cast: >> >> If (classloader instanceof Closeable) { >> ((Closeable) classloader).close(); >> } >> >> E.g. see this example: http://goo.gl/e5XHe >> Of couse this would only work if you are using Java 7 to run Maven, the above code will do nothing on Java 6 and the bugs stays. >> >> Uwe >> >> ----- >> Uwe Schindler >> uschindler@apache.org >> Apache Lucene PMC Member / Committer >> Bremen, Germany >> http://lucene.apache.org/ >> >>> -----Original Message----- >>> From: Andy Seaborne [mailto:andy@apache.org] >>> Sent: Sunday, June 02, 2013 11:01 AM >>> To: builds@apache.org >>> Subject: Re: exit code 143 from maven - cause? >>> >>> On 23/05/13 19:09, Andy Seaborne wrote: >>>> Jena builds are getting exit code 143 from maven; the build seems to >>>> going just fine up to that point. >>>> >>>> Does any one have any clues/pointers as to how to fix this? >>>> >>>> The only consistent point seems to be ubuntu4 but that was working OK >>>> 2 days ago at build #653. >>>> >>>> The build is given 30 mins - it normally takes less than 5 mins. >>>> >>>> What the console shows is: extract from [1] >>>> >>>> ... ubuntu4 ... >>>> ... several modules ... >>>> ... end of surefire ... >>>> ---------------- >>>> >>>> Results : >>>> >>>> Tests run: 811, Failures: 0, Errors: 0, Skipped: 4 >>>> >>>> ERROR: Maven JVM terminated unexpectedly with exit code 143 Sending >>>> e-mails to: commits@jena.apache.org >>>> Finished: FAILURE >>>> --------------- >>>> >>>> and it stops there. When it's working, the next line after tests is >>>> >>>> --------------- >>>> [JENKINS] Recording test results >>>> --------------- >>>> >>>> Andy >>>> >>>> [1] >>>> https://builds.apache.org/view/H- >>> L/view/Jena/job/Jena__Development_Tes >>>> t/657/console >>>> >>>> >>> >>> We've had another couple of build failures in modules that haven't changed, >>> this time the job ends at: again, both on ubuntu4, everythign else OK. >>> >>> Any suggestions on how to investigate? >>> >>> Andy >>> >>> -------------------- >>> >>> Results : >>> >>> Tests run: 523, Failures: 0, Errors: 0, Skipped: 0 >>> >>> ERROR: Maven JVM terminated unexpectedly with exit code 143 >>> -------------------- >>> >>> or >>> >>> ------------------- >>> Results : >>> >>> Tests run: 28, Failures: 0, Errors: 0, Skipped: 0 >>> >>> [JENKINS] Recording test results >>> [INFO] >>> [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ jena-text --- [INFO] >>> Building jar: >>> >> text/target/jena-text-0.0.0-SNAPSHOT.jar> >>> [INFO] >>> [INFO] --- maven-site-plugin:3.0:attach-descriptor (attach-descriptor) @ >>> jena-text --- >>> ERROR: Maven JVM terminated unexpectedly with exit code 143 >>> ------------------- >>