[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-dev
Subject:    Re: FelixLoadApiBundleTest.testSimpleLogInAnOsgiContext failure
From:       Matt Sicker <boards () gmail ! com>
Date:       2016-04-28 2:36:18
Message-ID: CACmp6kqErZ2CzvGJ_8YK=mYQoxU5W22PTG4snmKFF7w0gg3_ig () mail ! gmail ! com
[Download RAW message or body]

Oh, I didn't notice it failed on there, too.

On 27 April 2016 at 19:57, Ralph Goers <ralph.goers@dslextreme.com> wrote:

> If it is a Windows issue why did the Jenkins build fail?
>
> Ralph
>
> On Apr 27, 2016, at 5:54 PM, Matt Sicker <boards@gmail.com> wrote:
>
> So maybe it's a Windows issue? Maybe we should get a Windows Jenkins job
> set up if possible.
>
> On 27 April 2016 at 19:06, Remko Popma <remko.popma@gmail.com> wrote:
>
>> Yes. Not sure if it's this exact error, but occasionally the build fails
>> on my Windows laptop because of something with Felix. "Unable to lock
>> bundle cache" looks  familiar. Restarting the build always fixes it.
>>
>> Sent from my iPhone
>>
>> On 2016/04/28, at 8:42, Gary Gregory <garydgregory@gmail.com> wrote:
>>
>> Hi,
>>
>> I've never seen this failure before:
>>
>> ERROR: Error creating bundle cache. (java.lang.Exception: Unable to lock
>> bundle cache: java.nio.channels.OverlappingFileLockException)
>> java.lang.Exception: Unable to lock bundle cache:
>> java.nio.channels.OverlappingFileLockException
>>         at
>> org.apache.felix.framework.cache.BundleCache.<init>(BundleCache.java:176)
>>         at org.apache.felix.framework.Felix.init(Felix.java:689)
>>         at org.apache.felix.framework.Felix.init(Felix.java:624)
>>         at
>> org.apache.logging.log4j.junit.OsgiRule.before(OsgiRule.java:52)
>>         at
>> org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)
>>         at org.junit.rules.RunRules.evaluate(RunRules.java:20)
>>         at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
>>         at
>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
>>         at
>> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
>>         at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
>>         at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
>>         at
>> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
>>         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
>>         at
>> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
>>         at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>>         at
>> org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
>>         at
>> org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
>>         at
>> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
>>         at
>> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
>>         at
>> org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
>>         at
>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
>>         at
>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
>> Tests run: 3, Failures: 0, Errors: 1, Skipped: 2, Time elapsed: 2.185 sec
>> <<< FAILURE! - in org.apache.logging.log4j.osgi.felix.FelixLoadApiBundleTest
>> testSimpleLogInAnOsgiContext(org.apache.logging.log4j.osgi.felix.FelixLoadApiBundleTest)
>>  Time elapsed: 0.044 sec  <<< ERROR!
>> org.osgi.framework.BundleException: Error creating bundle cache.
>> Caused by: java.lang.Exception: Unable to lock bundle cache:
>> java.nio.channels.OverlappingFileLockException
>>
>> Tests run: 3, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 2.812 sec
>> - in org.apache.logging.log4j.osgi.equinox.EquinoxLoadApiBundleTest
>>
>> Results :
>>
>> Tests in error:
>>   FelixLoadApiBundleTest.testSimpleLogInAnOsgiContext  » Bundle Error
>> creating bu...
>>
>> Anyone has any ideas?
>>
>> Gary
>> --
>> E-Mail: garydgregory@gmail.com | ggregory@apache.org
>> Java Persistence with Hibernate, Second Edition
>> <http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory
>>
>>
>
>
> --
> Matt Sicker <boards@gmail.com>
>
>
>


-- 
Matt Sicker <boards@gmail.com>

[Attachment #3 (text/html)]

<div dir="ltr">Oh, I didn&#39;t notice it failed on there, too.</div><div \
class="gmail_extra"><br><div class="gmail_quote">On 27 April 2016 at 19:57, Ralph \
Goers <span dir="ltr">&lt;<a href="mailto:ralph.goers@dslextreme.com" \
target="_blank">ralph.goers@dslextreme.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div style="word-wrap:break-word">If it is a Windows issue \
why did the Jenkins build fail?<span class="HOEnZb"><font \
color="#888888"><div><br></div><div>Ralph</div></font></span><div><div \
class="h5"><div><br><div><div><blockquote type="cite"><div>On Apr 27, 2016, at 5:54 \
PM, Matt Sicker &lt;<a href="mailto:boards@gmail.com" \
target="_blank">boards@gmail.com</a>&gt; wrote:</div><br><div><div dir="ltr">So maybe \
it&#39;s a Windows issue? Maybe we should get a Windows Jenkins job set up if \
possible.</div><div class="gmail_extra"><br><div class="gmail_quote">On 27 April 2016 \
at 19:06, Remko Popma <span dir="ltr">&lt;<a href="mailto:remko.popma@gmail.com" \
target="_blank">remko.popma@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="auto"><div>Yes. Not sure if it&#39;s this exact \
error, but occasionally the build fails on my Windows laptop because of something \
with Felix. &quot;Unable to lock bundle cache&quot; looks   familiar. Restarting the \
build always fixes it.  <br><br>Sent from my iPhone</div><div><div><div><br>On \
2016/04/28, at 8:42, Gary Gregory &lt;<a href="mailto:garydgregory@gmail.com" \
target="_blank">garydgregory@gmail.com</a>&gt; wrote:<br><br></div><blockquote \
type="cite"><div><div dir="ltr"><div>Hi,</div><div><br></div><div>I&#39;ve never seen \
this failure before:</div><div><br></div><div>ERROR: Error creating bundle cache. \
(java.lang.Exception: Unable to lock bundle cache: \
java.nio.channels.OverlappingFileLockException)</div><div>java.lang.Exception: Unable \
to lock bundle cache: java.nio.channels.OverlappingFileLockException</div><div>       \
at org.apache.felix.framework.cache.BundleCache.&lt;init&gt;(BundleCache.java:176)</div><div> \
at org.apache.felix.framework.Felix.init(Felix.java:689)</div><div>            at \
org.apache.felix.framework.Felix.init(Felix.java:624)</div><div>            at \
org.apache.logging.log4j.junit.OsgiRule.before(OsgiRule.java:52)</div><div>           \
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:46)</div><div>   \
at org.junit.rules.RunRules.evaluate(RunRules.java:20)</div><div>            at \
org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)</div><div>            \
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)</div><div> \
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)</div><div> \
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)</div><div>            \
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)</div><div>         \
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)</div><div>       \
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)</div><div>         \
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)</div><div>        \
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)</div><div>            at \
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)</div><div> \
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)</div><div> \
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)</div><div> \
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)</div><div> \
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)</div><div> \
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)</div><div> \
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)</div><div>Tests \
run: 3, Failures: 0, Errors: 1, Skipped: 2, Time elapsed: 2.185 sec &lt;&lt;&lt; \
FAILURE! - in org.apache.logging.log4j.osgi.felix.FelixLoadApiBundleTest</div><div>tes \
tSimpleLogInAnOsgiContext(org.apache.logging.log4j.osgi.felix.FelixLoadApiBundleTest) \
Time elapsed: 0.044 sec   &lt;&lt;&lt; \
ERROR!</div><div>org.osgi.framework.BundleException: Error creating bundle \
cache.</div><div>Caused by: java.lang.Exception: Unable to lock bundle cache: \
java.nio.channels.OverlappingFileLockException</div><div><br></div><div>Tests run: 3, \
Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 2.812 sec - in \
org.apache.logging.log4j.osgi.equinox.EquinoxLoadApiBundleTest</div><div><br></div><div>Results \
:</div><div><br></div><div>Tests in error:</div><div>   \
FelixLoadApiBundleTest.testSimpleLogInAnOsgiContext  » Bundle Error creating \
bu...</div><div><br></div><div>Anyone has any \
ideas?</div><div><br></div><div>Gary</div>-- <br><div><div dir="ltr">E-Mail: <a \
href="mailto:garydgregory@gmail.com" target="_blank">garydgregory@gmail.com</a> | <a \
href="mailto:ggregory@apache.org" target="_blank">ggregory@apache.org </a><br><a \
href="http://www.manning.com/bauer3/" target="_blank">Java Persistence with \
Hibernate, Second Edition</a><br><a href="http://www.manning.com/tahchiev/" \
target="_blank">JUnit in Action, Second Edition</a><br><a \
href="http://www.manning.com/templier/" target="_blank">Spring Batch in \
Action</a><br>Blog: <a href="http://garygregory.wordpress.com/" \
target="_blank">http://garygregory.wordpress.com</a> <br>Home: <a \
href="http://garygregory.com/" target="_blank">http://garygregory.com/</a><br>Tweet! \
<a href="http://twitter.com/GaryGregory" \
target="_blank">http://twitter.com/GaryGregory</a></div></div> </div>
</div></blockquote></div></div></div></blockquote></div><br><br \
clear="all"><div><br></div>-- <br><div>Matt Sicker &lt;<a \
href="mailto:boards@gmail.com" target="_blank">boards@gmail.com</a>&gt;</div> </div>
</div></blockquote></div><br></div></div></div></div></div></blockquote></div><br><br \
clear="all"><div><br></div>-- <br><div class="gmail_signature">Matt Sicker &lt;<a \
href="mailto:boards@gmail.com" target="_blank">boards@gmail.com</a>&gt;</div> </div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic