logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <ralph.go...@dslextreme.com>
Subject Re: FelixLoadApiBundleTest.testSimpleLogInAnOsgiContext failure
Date Thu, 28 Apr 2016 00:57:09 GMT
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 <mailto: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 <mailto: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 <mailto:garydgregory@gmail.com> | ggregory@apache.org
 <mailto: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 <http://garygregory.wordpress.com/>

>> Home: http://garygregory.com/ <http://garygregory.com/>
>> Tweet! http://twitter.com/GaryGregory <http://twitter.com/GaryGregory>
> 
> 
> -- 
> Matt Sicker <boards@gmail.com <mailto:boards@gmail.com>>


Mime
View raw message