We have the following issue in the itests:

Tests in error:

checkInteractionOfHttpAndAriesAnnotationFeature(org.apache.karaf.itests.features.StandardFeaturesTest): Unresolved constraint in bundle org.apache.xbean.finder [190]: Unable to resolve 190.0: missing requirement [190.0] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=4.1.0))

installHttpWhiteboardFeature(org.apache.karaf.itests.features.StandardFeaturesTest): Unresolved constraint in bundle org.apache.xbean.finder [217]: Unable to resolve 217.0: missing requirement [217.0] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=4.1.0))

installWebConsoleFeature(org.apache.karaf.itests.features.StandardFeaturesTest): Unresolved constraint in bundle org.apache.xbean.finder [237]: Unable to resolve 237.0: missing requirement [237.0] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=4.1.0))


The issue comes from the Pax Web 3.0.4 update and a change in the Pax Web feature (whereas I fixed that, I gonna check with Achim why he changed the feature descriptor).

I'm fixing that and I will discuss with Achim.

Regards
JB

On 12/05/2013 05:07 PM, Jean-Baptiste Onofré wrote:
It worked in the beginning of this week. So I'm looking for the commit
that introduced this failure.

More over, I have a different itest failure on my machine.

Regards
JB

On 12/05/2013 05:04 PM, Andreas Pieber wrote:
Seams to be probem in RMI remoting. In [1] you find the exception. In [2]
you see a bug which might be connected to it. I only did a VERY short
googling. But this seams to be kind of the problem.

Kind regards,
Andreas

[1]
http://svn.apache.org/repos/asf/karaf/tags/karaf-2.3.0/tooling/exam/container/src/main/java/org/apache/karaf/tooling/exam/container/internal/RMIRegistry.java


[2] http://bugs.sun.com/view_bug.do?bug_id=7166687


On Thu, Dec 5, 2013 at 4:58 PM, David Bosschaert
<david.bosscha...@gmail.com
wrote:

Hi all,

I have updated to Java 7 on my Mac and am getting the errors below
with the itests [1]. They work fine for me on Linux. Also note that
all the other maven modules in karaf trunk test/pass fine for me.
Anyone an idea? I'm using the following Java:
   $ java -version
   java version "1.7.0_45"
   Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
   Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

Thanks,

David

[1] All the itests fail as follows:
java.util.ServiceConfigurationError:
org.ops4j.pax.exam.TestContainerFactory: Provider
org.ops4j.pax.exam.karaf.container.internal.KarafTestContainerFactory
could not be instantiated: java.lang.IllegalStateException: Cannot
select localhost. That usually not a good sign for networking..
at java.util.ServiceLoader.fail(ServiceLoader.java:224)
at java.util.ServiceLoader.access$100(ServiceLoader.java:181)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:377)
at java.util.ServiceLoader$1.next(ServiceLoader.java:445)
at
org.ops4j.pax.exam.spi.PaxExamRuntime.sanityCheck(PaxExamRuntime.java:172)

at
org.ops4j.pax.exam.spi.PaxExamRuntime.getTestContainerFactory(PaxExamRuntime.java:69)

at
org.ops4j.pax.exam.spi.reactors.ReactorManager.createsTestContainerFactory(ReactorManager.java:335)

at
org.ops4j.pax.exam.spi.reactors.ReactorManager.createReactor(ReactorManager.java:308)

at
org.ops4j.pax.exam.spi.reactors.ReactorManager.prepareReactor(ReactorManager.java:184)

at
org.ops4j.pax.exam.junit.impl.ProbeRunner.&lt;init&gt;(ProbeRunner.java:80)

at org.ops4j.pax.exam.junit.PaxExam.createDelegate(PaxExam.java:82)
at org.ops4j.pax.exam.junit.PaxExam.&lt;init&gt;(PaxExam.java:73)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at
org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:31)

at
org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:24)

at
org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)

at
org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:29)

at
org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:57)

at
org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:24)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)

at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)

at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)

at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)

at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)

at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)

at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Caused by: java.lang.IllegalStateException: Cannot select localhost.
That usually not a good sign for networking..
at
org.ops4j.pax.exam.karaf.container.internal.RMIRegistry.&lt;init&gt;(RMIRegistry.java:51)

at
org.ops4j.pax.exam.karaf.container.internal.KarafTestContainerFactory.&lt;init&gt;(KarafTestContainerFactory.java:46)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)

at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:374)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:373)
... 31 more




--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to