Hi,
I just tried migrating the lispflowmapping integration tests to use our
local Karaf 4 distribution instead of Karaf 3. The integration tests
use org.opendaylight.controller/mdsal-it-parent/1.5.0-SNAPSHOT as the
parent POM.
Unfortunately things don't work out of the box, the container doesn't come
up, and the error seems very similar to what we saw in the past (full logs
attached). Starting the Karaf 4 container manually works though, so I'm not
sure if this is PAX-EXAM related or somthing else.
2017-02-22 12:34:18,406 | ERROR | pool-1-thread-1 | BootFeaturesInstaller
| 7 - org.apache.karaf.features.core - 4.0.7 | Error installing
boot features
org.osgi.service.resolver.ResolutionException: Unable to resolve root:
missing requirement [root] osgi.identity;
osgi.identity=odl-lispflowmapping-msmr; type=karaf.feature;
version="[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT]";
filter:="(&(osgi.identity=odl-lispflowmapping-msmr)(type=karaf.feature)(version>=1.5.0.SNAPSHOT)(version<=1.5.0.SNAPSHOT))"
[caused by: Unable to resolve odl-lispflowmapping-msmr/1.5.0.SNAPSHOT:
missing requirement [odl-lispflowmapping-msmr/1.5.0.SNAPSHOT]
osgi.identity; osgi.identity=odl-lispflowmapping-mappingservice;
type=karaf.feature; version="[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT]" [caused by:
Unable to resolve odl-lispflowmapping-mappingservice/1.5.0.SNAPSHOT:
missing requirement [odl-lispflowmapping-mappingservice/1.5.0.SNAPSHOT]
osgi.identity; osgi.identity=odl-restconf; type=karaf.feature;
version="[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT]" [caused by: Unable to resolve
odl-restconf/1.5.0.SNAPSHOT: missing requirement
[odl-restconf/1.5.0.SNAPSHOT] osgi.identity;
osgi.identity=odl-restconf-noauth; type=karaf.feature;
version="[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT]" [caused by: Unable to resolve
odl-restconf-noauth/1.5.0.SNAPSHOT: missing requirement
[odl-restconf-noauth/1.5.0.SNAPSHOT] osgi.identity;
osgi.identity=odl-mdsal-broker; type=karaf.feature;
version="[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT]" [caused by: Unable to resolve
odl-mdsal-broker/1.5.0.SNAPSHOT: missing requirement
[odl-mdsal-broker/1.5.0.SNAPSHOT] osgi.identity;
osgi.identity=odl-mdsal-distributed-datastore; type=karaf.feature;
version="[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT]" [caused by: Unable to resolve
odl-mdsal-distributed-datastore/1.5.0.SNAPSHOT: missing requirement
[odl-mdsal-distributed-datastore/1.5.0.SNAPSHOT] osgi.identity;
osgi.identity=org.opendaylight.controller.sal-cluster-admin-impl;
type=osgi.bundle; version="[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT]";
resolution:=mandatory [caused by: Unable to resolve
org.opendaylight.controller.sal-cluster-admin-impl/1.5.0.SNAPSHOT: missing
requirement
[org.opendaylight.controller.sal-cluster-admin-impl/1.5.0.SNAPSHOT]
osgi.wiring.package;
filter:="(&(osgi.wiring.package=org.opendaylight.controller.cluster.datastore.utils)(version>=1.5.0)(!(version>=2.0.0)))"
[caused by: Unable to resolve
org.opendaylight.controller.sal-distributed-datastore/1.5.0.SNAPSHOT:
missing requirement
[org.opendaylight.controller.sal-distributed-datastore/1.5.0.SNAPSHOT]
osgi.wiring.package;
filter:="(&(osgi.wiring.package=org.opendaylight.controller.cluster.raft.client.messages)(version>=1.5.0)(!(version>=2.0.0)))"
[caused by: Unable to resolve
org.opendaylight.controller.sal-akka-raft/1.5.0.SNAPSHOT: missing
requirement [org.opendaylight.controller.sal-akka-raft/1.5.0.SNAPSHOT]
osgi.identity;
osgi.identity="root#odl-mdsal-clustering-commons-1.5.0.SNAPSHOT";
type=karaf.subsystem; version="[0,0.0.0]"; resolution:=mandatory [caused
by: Unable to resolve root#odl-mdsal-clustering-commons-1.5.0.SNAPSHOT:
missing requirement [root#odl-mdsal-clustering-commons-1.5.0.SNAPSHOT]
osgi.identity; osgi.identity=odl-mdsal-clustering-commons;
type=karaf.feature; version="[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT]" [caused by:
Unable to resolve odl-mdsal-clustering-commons/1.5.0.SNAPSHOT: missing
requirement [odl-mdsal-clustering-commons/1.5.0.SNAPSHOT] osgi.identity;
osgi.identity=odl-mdsal-broker-local; type=karaf.feature;
version="[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT]" [caused by: Unable to resolve
odl-mdsal-broker-local/1.5.0.SNAPSHOT: missing requirement
[odl-mdsal-broker-local/1.5.0.SNAPSHOT] osgi.identity;
osgi.identity=org.opendaylight.controller.blueprint; type=osgi.bundle;
version="[0.6.0.SNAPSHOT,0.6.0.SNAPSHOT]"; resolution:=mandatory [caused
by: Unable to resolve org.opendaylight.controller.blueprint/0.6.0.SNAPSHOT:
missing requirement [org.opendaylight.controller.blueprint/0.6.0.SNAPSHOT]
osgi.wiring.package;
filter:="(&(osgi.wiring.package=org.apache.aries.quiesce.manager)(version>=1.0.0)(!(version>=2.0.0)))"]]]]]]]]]]]]]
at
org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42)[7:org.apache.karaf.features.core:4.0.7]
at
org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:235)[7:org.apache.karaf.features.core:4.0.7]
at
org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:158)[7:org.apache.karaf.features.core:4.0.7]
at
org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:216)[7:org.apache.karaf.features.core:4.0.7]
at
org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:263)[7:org.apache.karaf.features.core:4.0.7]
at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1176)[7:org.apache.karaf.features.core:4.0.7]
at
org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1074)[7:org.apache.karaf.features.core:4.0.7]
at
java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
2017-02-22 12:36:25,612 | INFO | k Monitor Thread | Main
| - - | Data directory does not exist anymore, halting
And here's the patch that switches containers:
> git diff
diff --git a/integrationtest/pom.xml b/integrationtest/pom.xml
index ed0c5f9..0e5e17a 100644
--- a/integrationtest/pom.xml
+++ b/integrationtest/pom.xml
@@ -25,7 +25,7 @@ and is available at
http://www.eclipse.org/legal/epl-v10.html
<properties>
<skipITs>false</skipITs>
<karaf.distro.groupId>org.opendaylight.lispflowmapping</karaf.distro.groupId>
- <karaf.distro.artifactId>distribution-karaf</karaf.distro.artifactId>
+
<karaf.distro.artifactId>lispflowmapping-karaf</karaf.distro.artifactId>
<karaf.distro.version>1.5.0-SNAPSHOT</karaf.distro.version>
<karaf.distro.type>zip</karaf.distro.type>
</properties>
@@ -33,7 +33,7 @@ and is available at
http://www.eclipse.org/legal/epl-v10.html
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
- <artifactId>distribution-karaf</artifactId>
+ <artifactId>lispflowmapping-karaf</artifactId>
<version>${project.version}</version>
<type>zip</type>
</dependency>
diff --git
a/integrationtest/src/test/java/org/opendaylight/lispflowmapping/integrationtest/MappingServiceIntegrationTest.java
b/integrationtest/src/test/java/org/opendaylight/lispflowmapping/integrationtest/MappingServiceIntegrationTest.java
index 2503686..da38acc 100644
---
a/integrationtest/src/test/java/org/opendaylight/lispflowmapping/integrationtest/MappingServiceIntegrationTest.java
+++
b/integrationtest/src/test/java/org/opendaylight/lispflowmapping/integrationtest/MappingServiceIntegrationTest.java
@@ -183,7 +183,7 @@ public class MappingServiceIntegrationTest extends
AbstractMdsalTestBase {
public String getKarafDistro() {
return maven()
.groupId("org.opendaylight.lispflowmapping")
- .artifactId("distribution-karaf")
+ .artifactId("lispflowmapping-karaf")
.versionAsInProject()
.type("zip")
.getURL();
@@ -193,7 +193,7 @@ public class MappingServiceIntegrationTest extends
AbstractMdsalTestBase {
public MavenUrlReference getFeatureRepo() {
return maven()
.groupId("org.opendaylight.lispflowmapping")
- .artifactId("features-lispflowmapping")
+ .artifactId("features4-lispflowmapping")
.classifier("features")
.type("xml")
.versionAsInProject();
-------------------------------------------------------------------------------
Test set:
org.opendaylight.lispflowmapping.integrationtest.MappingServiceIntegrationTest
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 202.896 sec <<<
FAILURE! - in
org.opendaylight.lispflowmapping.integrationtest.MappingServiceIntegrationTest
org.opendaylight.lispflowmapping.integrationtest.MappingServiceIntegrationTest
Time elapsed: 202.268 sec <<< ERROR!
java.lang.RuntimeException: Cannot get the remote bundle context
at
org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.getRemoteBundleContext(RemoteBundleContextClientImpl.java:255)
at
org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.waitForState(RemoteBundleContextClientImpl.java:211)
at
org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.waitForState(KarafTestContainer.java:607)
at
org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.startKaraf(KarafTestContainer.java:241)
at
org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.start(KarafTestContainer.java:181)
at
org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.setUp(EagerSingleStagedReactor.java:86)
at
org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.beforeClass(EagerSingleStagedReactor.java:136)
at
org.ops4j.pax.exam.spi.reactors.ReactorManager.beforeClass(ReactorManager.java:448)
at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:97)
at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Caused by: java.rmi.NotBoundException: 8cbeae54-be5e-4fbb-96c2-dbbe37d51b56
at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:209)
at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
at
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:450)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:379)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at
org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.getRemoteBundleContext(RemoteBundleContextClientImpl.java:242)
... 16 more
org.opendaylight.lispflowmapping.integrationtest.MappingServiceIntegrationTest
Time elapsed: 202.896 sec <<< ERROR!
java.lang.RuntimeException: Container never came up
at
org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.stop(KarafTestContainer.java:577)
at
org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.tearDown(EagerSingleStagedReactor.java:118)
at
org.ops4j.pax.exam.spi.reactors.EagerSingleStagedReactor.afterClass(EagerSingleStagedReactor.java:132)
at
org.ops4j.pax.exam.spi.reactors.ReactorManager.afterClass(ReactorManager.java:432)
at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:107)
at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
Apache Karaf starting up. Press Enter to open the shell now...
12% [========> ]
25% [==================> ]
37% [==========================> ]
50% [====================================> ]
62% [============================================>
]2017-02-22 12:33:28,449 | INFO | 370-eaf48b37bd77 | fileinstall
| 5 - org.apache.felix.fileinstall - 3.5.4 | Creating configuration from
jmx.acl.java.lang.Memory.cfg
75% [======================================================> ]
87% [==============================================================> ]
100% [========================================================================]
2017-02-22 12:33:28,485 | INFO | 370-eaf48b37bd77 | Main
| - - | Karaf started in 1s. Bundle stats: 8 active, 8 total
Karaf started in 1s. Bundle stats: 8 active, 8 total
2017-02-22 12:33:56,090 | INFO | pool-1-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Adding features:
wrap/[0,0.0.0]
2017-02-22 12:33:56,204 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Changes to perform:
2017-02-22 12:33:56,204 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Region: root
2017-02-22 12:33:56,204 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Bundles to install:
2017-02-22 12:33:56,204 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
mvn:org.ops4j.pax.url/pax-url-wrap/2.4.7/jar/uber
2017-02-22 12:33:56,205 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Installing bundles:
2017-02-22 12:33:56,205 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
mvn:org.ops4j.pax.url/pax-url-wrap/2.4.7/jar/uber
2017-02-22 12:33:56,259 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Starting bundles:
2017-02-22 12:33:56,261 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
org.ops4j.pax.url.wrap/2.4.7
2017-02-22 12:33:56,268 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Done.
2017-02-22 12:33:56,273 | INFO | pool-1-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Adding features:
standard/[4.0.7,4.0.7],
odl-lispflowmapping-msmr/[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT], exam/[4.10.0,4.10.0],
test-dependencies/[0,0.0.0]
2017-02-22 12:33:56,375 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Changes to perform:
2017-02-22 12:33:56,376 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Region: root
2017-02-22 12:33:56,376 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Bundles to install:
2017-02-22 12:33:56,376 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jasypt/1.9.2_1
2017-02-22 12:33:56,376 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
mvn:org.ops4j.base/ops4j-base-spi/1.5.0
2017-02-22 12:33:56,376 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
mvn:org.ops4j.pax.jdbc/pax-jdbc/0.9.0
2017-02-22 12:33:56,376 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
mvn:org.ops4j.pax.jdbc/pax-jdbc-config/0.9.0
2017-02-22 12:33:56,376 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
mvn:org.osgi/org.osgi.service.jdbc/1.0.0
2017-02-22 12:33:56,376 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Installing bundles:
2017-02-22 12:33:56,376 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jasypt/1.9.2_1
2017-02-22 12:33:56,391 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
mvn:org.ops4j.base/ops4j-base-spi/1.5.0
2017-02-22 12:33:56,400 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
mvn:org.ops4j.pax.jdbc/pax-jdbc/0.9.0
2017-02-22 12:33:56,409 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
mvn:org.ops4j.pax.jdbc/pax-jdbc-config/0.9.0
2017-02-22 12:33:56,419 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
mvn:org.osgi/org.osgi.service.jdbc/1.0.0
2017-02-22 12:33:56,456 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Starting bundles:
2017-02-22 12:33:56,457 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | org.ops4j.base.spi/1.5.0
2017-02-22 12:33:56,457 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
org.apache.servicemix.bundles.jasypt/1.9.2.1
2017-02-22 12:33:56,458 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
org.osgi.service.jdbc/1.0.0.201505202023
2017-02-22 12:33:56,458 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | org.ops4j.pax.jdbc/0.9.0
2017-02-22 12:33:56,464 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
org.ops4j.pax.jdbc.config/0.9.0
2017-02-22 12:33:56,467 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Done.
2017-02-22 12:33:56,525 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Changes to perform:
2017-02-22 12:33:56,525 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Region: root
2017-02-22 12:33:56,525 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Bundles to install:
2017-02-22 12:33:56,526 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
mvn:org.apache.karaf.jdbc/org.apache.karaf.jdbc.core/4.0.7
2017-02-22 12:33:56,526 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Installing bundles:
2017-02-22 12:33:56,526 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
mvn:org.apache.karaf.jdbc/org.apache.karaf.jdbc.core/4.0.7
2017-02-22 12:33:56,564 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Starting bundles:
2017-02-22 12:33:56,565 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 |
org.apache.karaf.jdbc.core/4.0.7
2017-02-22 12:33:56,570 | INFO | pool-2-thread-1 | FeaturesServiceImpl
| 7 - org.apache.karaf.features.core - 4.0.7 | Done.
2017-02-22 12:34:18,406 | ERROR | pool-1-thread-1 | BootFeaturesInstaller
| 7 - org.apache.karaf.features.core - 4.0.7 | Error installing boot
features
org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing
requirement [root] osgi.identity; osgi.identity=odl-lispflowmapping-msmr;
type=karaf.feature; version="[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT]";
filter:="(&(osgi.identity=odl-lispflowmapping-msmr)(type=karaf.feature)(version>=1.5.0.SNAPSHOT)(version<=1.5.0.SNAPSHOT))"
[caused by: Unable to resolve odl-lispflowmapping-msmr/1.5.0.SNAPSHOT: missing
requirement [odl-lispflowmapping-msmr/1.5.0.SNAPSHOT] osgi.identity;
osgi.identity=odl-lispflowmapping-mappingservice; type=karaf.feature;
version="[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT]" [caused by: Unable to resolve
odl-lispflowmapping-mappingservice/1.5.0.SNAPSHOT: missing requirement
[odl-lispflowmapping-mappingservice/1.5.0.SNAPSHOT] osgi.identity;
osgi.identity=odl-restconf; type=karaf.feature;
version="[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT]" [caused by: Unable to resolve
odl-restconf/1.5.0.SNAPSHOT: missing requirement [odl-restconf/1.5.0.SNAPSHOT]
osgi.identity; osgi.identity=odl-restconf-noauth; type=karaf.feature;
version="[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT]" [caused by: Unable to resolve
odl-restconf-noauth/1.5.0.SNAPSHOT: missing requirement
[odl-restconf-noauth/1.5.0.SNAPSHOT] osgi.identity;
osgi.identity=odl-mdsal-broker; type=karaf.feature;
version="[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT]" [caused by: Unable to resolve
odl-mdsal-broker/1.5.0.SNAPSHOT: missing requirement
[odl-mdsal-broker/1.5.0.SNAPSHOT] osgi.identity;
osgi.identity=odl-mdsal-distributed-datastore; type=karaf.feature;
version="[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT]" [caused by: Unable to resolve
odl-mdsal-distributed-datastore/1.5.0.SNAPSHOT: missing requirement
[odl-mdsal-distributed-datastore/1.5.0.SNAPSHOT] osgi.identity;
osgi.identity=org.opendaylight.controller.sal-cluster-admin-impl;
type=osgi.bundle; version="[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT]";
resolution:=mandatory [caused by: Unable to resolve
org.opendaylight.controller.sal-cluster-admin-impl/1.5.0.SNAPSHOT: missing
requirement [org.opendaylight.controller.sal-cluster-admin-impl/1.5.0.SNAPSHOT]
osgi.wiring.package;
filter:="(&(osgi.wiring.package=org.opendaylight.controller.cluster.datastore.utils)(version>=1.5.0)(!(version>=2.0.0)))"
[caused by: Unable to resolve
org.opendaylight.controller.sal-distributed-datastore/1.5.0.SNAPSHOT: missing
requirement
[org.opendaylight.controller.sal-distributed-datastore/1.5.0.SNAPSHOT]
osgi.wiring.package;
filter:="(&(osgi.wiring.package=org.opendaylight.controller.cluster.raft.client.messages)(version>=1.5.0)(!(version>=2.0.0)))"
[caused by: Unable to resolve
org.opendaylight.controller.sal-akka-raft/1.5.0.SNAPSHOT: missing requirement
[org.opendaylight.controller.sal-akka-raft/1.5.0.SNAPSHOT] osgi.identity;
osgi.identity="root#odl-mdsal-clustering-commons-1.5.0.SNAPSHOT";
type=karaf.subsystem; version="[0,0.0.0]"; resolution:=mandatory [caused by:
Unable to resolve root#odl-mdsal-clustering-commons-1.5.0.SNAPSHOT: missing
requirement [root#odl-mdsal-clustering-commons-1.5.0.SNAPSHOT] osgi.identity;
osgi.identity=odl-mdsal-clustering-commons; type=karaf.feature;
version="[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT]" [caused by: Unable to resolve
odl-mdsal-clustering-commons/1.5.0.SNAPSHOT: missing requirement
[odl-mdsal-clustering-commons/1.5.0.SNAPSHOT] osgi.identity;
osgi.identity=odl-mdsal-broker-local; type=karaf.feature;
version="[1.5.0.SNAPSHOT,1.5.0.SNAPSHOT]" [caused by: Unable to resolve
odl-mdsal-broker-local/1.5.0.SNAPSHOT: missing requirement
[odl-mdsal-broker-local/1.5.0.SNAPSHOT] osgi.identity;
osgi.identity=org.opendaylight.controller.blueprint; type=osgi.bundle;
version="[0.6.0.SNAPSHOT,0.6.0.SNAPSHOT]"; resolution:=mandatory [caused by:
Unable to resolve org.opendaylight.controller.blueprint/0.6.0.SNAPSHOT: missing
requirement [org.opendaylight.controller.blueprint/0.6.0.SNAPSHOT]
osgi.wiring.package;
filter:="(&(osgi.wiring.package=org.apache.aries.quiesce.manager)(version>=1.0.0)(!(version>=2.0.0)))"]]]]]]]]]]]]]
at
org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42)[7:org.apache.karaf.features.core:4.0.7]
at
org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:235)[7:org.apache.karaf.features.core:4.0.7]
at
org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:158)[7:org.apache.karaf.features.core:4.0.7]
at
org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:216)[7:org.apache.karaf.features.core:4.0.7]
at
org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:263)[7:org.apache.karaf.features.core:4.0.7]
at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1176)[7:org.apache.karaf.features.core:4.0.7]
at
org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1074)[7:org.apache.karaf.features.core:4.0.7]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
2017-02-22 12:36:25,612 | INFO | k Monitor Thread | Main
| - - | Data directory does not exist anymore, halting
_______________________________________________
controller-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/controller-dev