lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: Build failed in Jenkins: lucene40-beaster #2079
Date Fri, 05 Oct 2012 20:41:36 GMT
Here's my idea, i have no way to tell if its working besides running a
lot of shellscripts running 'ant test' in loops at the same time :)

Index: lucene/ivy-settings.xml
===================================================================
--- lucene/ivy-settings.xml	(revision 1394624)
+++ lucene/ivy-settings.xml	(working copy)
@@ -26,6 +26,8 @@
   <include url="${ivy.default.settings.dir}/ivysettings-local.xml"/>
   <include url="${ivy.default.settings.dir}/ivysettings-main-chain.xml"/>

+  <caches lockStrategy="artifact-lock"/>
+
   <resolvers>
     <ibiblio name="sonatype-releases"
root="http://oss.sonatype.org/content/repositories/releases"
m2compatible="true" />



On Fri, Oct 5, 2012 at 4:31 PM, Robert Muir <rcmuir@gmail.com> wrote:
> Well it looks like a configuration bug:
>
> Ivy supports locking for this:
> http://ant.apache.org/ivy/history/latest-milestone/settings/lock-strategies.html
>
> But the default is "no-lock"
> http://ant.apache.org/ivy/history/latest-milestone/settings/caches.html
>
> I think we should investigate fixing lucene/ivy-settings.xml to use
> locking? failures like this are annoying
>
> On Fri, Oct 5, 2012 at 4:17 PM, Dawid Weiss
> <dawid.weiss@cs.put.poznan.pl> wrote:
>> This looks like an ivy bug to me -- seems to be overwriting the same
>> cache file so one of the parsers fails.
>>
>> Dawid
>>
>> On Fri, Oct 5, 2012 at 10:14 PM, Robert Muir <rcmuir@gmail.com> wrote:
>>> On Fri, Oct 5, 2012 at 4:08 PM,  <hudsonseviltwin@gmail.com> wrote:
>>>> BUILD FAILED
>>>> <http://sierranevada.servebeer.com/job/lucene40-beaster/ws/build.xml>:49:
The following error occurred while executing this line:
>>>> <http://sierranevada.servebeer.com/job/lucene40-beaster/ws/common-build.xml>:643:
The following error occurred while executing this line:
>>>> <http://sierranevada.servebeer.com/job/lucene40-beaster/ws/common-build.xml>:292:
impossible to ivy retrieve: java.lang.RuntimeException: problem during retrieve of org.apache.lucene#core-test-framework:
java.text.ParseException: failed to parse report: /home/rmuir/.ivy2/cache/org.apache.lucene-core-test-framework-default.xml:
Premature end of file.
>>>>         at org.apache.ivy.core.retrieve.RetrieveEngine.retrieve(RetrieveEngine.java:206)
>>>
>>> I've seen this a few times before, this is some bug in ivy (or the
>>> cache needs a different locking setup or something i dont understand).
>>>
>>> This probably happened because I'm also running 'ant test
>>> -Dtestcase=XXXX -Dtestmethod=YYYY' in a shellscript in a loop 1000
>>> times separately in another checkout on this machine.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>>> For additional commands, e-mail: dev-help@lucene.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message