logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject FelixLoadApiBundleTest.testSimpleLogInAnOsgiContext failure
Date Wed, 27 Apr 2016 23:42:55 GMT
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

Mime
View raw message