Tests failure in MDSAL southbound plugin


Magreth
 

Hi,

I am going through this wiki page, but after I execute "mvn clean install" in southbound directory I get errors below (Note: I took just the first error because all of them are related). It looks like this artifact is missing, any idea on how I should go about solving this? Thanks

Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 30.643 sec <<< FAILURE! - in org.opendaylight.odlparent.featuretest.SingleFeatureTest
installFeature(org.opendaylight.odlparent.featuretest.SingleFeatureTest)[repoUrl: file:/home/magrethmushi/workspace/ovsdb/southbound/southbound-features/target/classes/features.xml, Feature: odl-ovsdb-southbound-api 1.1.0-SNAPSHOT]  Time elapsed: 7.855 sec  <<< ERROR!
java.io.IOException: Error resolving artifact org.opendaylight.yangtools.model:iana-if-type-2014-05-08:jar:2014.05.08.7-SNAPSHOT: Could not find artifact org.opendaylight.yangtools.model:iana-if-type-2014-05-08:jar:2014.05.08.7-SNAPSHOT
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:355)

--Magreth  


Edward Warnicke <hagbard@...>
 

Margreth,

What is the output of 

git status

and

git log -3

for your code base?

(I'm asking, because master *seems* to be OK right now... and so want to see where you are building from :) )

Ed

On Mon, Mar 30, 2015 at 4:51 PM, Magreth Mushi <mjmushi@...> wrote:
Hi,

I am going through this wiki page, but after I execute "mvn clean install" in southbound directory I get errors below (Note: I took just the first error because all of them are related). It looks like this artifact is missing, any idea on how I should go about solving this? Thanks

Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 30.643 sec <<< FAILURE! - in org.opendaylight.odlparent.featuretest.SingleFeatureTest
installFeature(org.opendaylight.odlparent.featuretest.SingleFeatureTest)[repoUrl: file:/home/magrethmushi/workspace/ovsdb/southbound/southbound-features/target/classes/features.xml, Feature: odl-ovsdb-southbound-api 1.1.0-SNAPSHOT]  Time elapsed: 7.855 sec  <<< ERROR!
java.io.IOException: Error resolving artifact org.opendaylight.yangtools.model:iana-if-type-2014-05-08:jar:2014.05.08.7-SNAPSHOT: Could not find artifact org.opendaylight.yangtools.model:iana-if-type-2014-05-08:jar:2014.05.08.7-SNAPSHOT
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:355)

--Magreth  

_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev



Magreth
 

Hi,
I cloned the project again, and it worked fine. Now I am developing my own MDSAL plugin, but importing ovsdb plugin and library bundles. I added dependencies in the POM file and also updated the features file. Unfortunately I am getting the errors like below, for both lib.message and plugin.api. Can someone shed some light on this? Appreciated.

Tests run: 4, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 84.134 sec <<< FAILURE! - in org.opendaylight.odlparent.featuretest.SingleFeatureTest
installFeature(org.opendaylight.odlparent.featuretest.SingleFeatureTest)[repoUrl: file:/home/magrethmushi/workspace/sanitycheck/sanitycheck-features/target/classes/features.xml, Feature: odl-sanitycheck-impl 1.1-SNAPSHOT]  Time elapsed: 20.48 sec  <<< ERROR!
org.osgi.framework.BundleException: Unresolved constraint in bundle org.opendaylight.sanitycheck.impl [185]: Unable to resolve 185.0: missing requirement [185.0] osgi.wiring.package; (osgi.wiring.package=org.opendaylight.ovsdb.lib.message) [caused by: Unable to resolve 191.0: missing requirement [191.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.felix.dm)(version>=3.0.0)(!(version>=4.0.0))) [caused by: Unable to resolve 197.0: missing requirement [197.0] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.service.metatype)(version>=1.1.0)(!(version>=2.0.0)))]]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)

On Mon, Mar 30, 2015 at 4:58 PM, Edward Warnicke <hagbard@...> wrote:
Margreth,

What is the output of 

git status

and

git log -3

for your code base?

(I'm asking, because master *seems* to be OK right now... and so want to see where you are building from :) )

Ed

On Mon, Mar 30, 2015 at 4:51 PM, Magreth Mushi <mjmushi@...> wrote:
Hi,

I am going through this wiki page, but after I execute "mvn clean install" in southbound directory I get errors below (Note: I took just the first error because all of them are related). It looks like this artifact is missing, any idea on how I should go about solving this? Thanks

Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 30.643 sec <<< FAILURE! - in org.opendaylight.odlparent.featuretest.SingleFeatureTest
installFeature(org.opendaylight.odlparent.featuretest.SingleFeatureTest)[repoUrl: file:/home/magrethmushi/workspace/ovsdb/southbound/southbound-features/target/classes/features.xml, Feature: odl-ovsdb-southbound-api 1.1.0-SNAPSHOT]  Time elapsed: 7.855 sec  <<< ERROR!
java.io.IOException: Error resolving artifact org.opendaylight.yangtools.model:iana-if-type-2014-05-08:jar:2014.05.08.7-SNAPSHOT: Could not find artifact org.opendaylight.yangtools.model:iana-if-type-2014-05-08:jar:2014.05.08.7-SNAPSHOT
at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:355)

--Magreth  

_______________________________________________
ovsdb-dev mailing list
ovsdb-dev@...
https://lists.opendaylight.org/mailman/listinfo/ovsdb-dev





--
--Magreth