Uploaded image for project: 'bgpcep'
  1. bgpcep
  2. BGPCEP-335

Single feature tests fails due to "Uses constraint violation"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Bugzilla Migration
    • Bugzilla Migration
    • General
    • None
    • Operating System: All
      Platform: All

    • 4792
    • Highest

      installFeature(org.opendaylight.odlparent.featuretest.SingleFeatureTest)[repoUrl: file:/w/workspace/bgpcep-verify-beryllium/jdk/openjdk7/nodes/dynamic_verify/features/bgp/target/classes/features.xml, Feature: odl-bgpcep-bgp-openconfig 0.5.0-SNAPSHOT] Time elapsed: 35.921 sec <<< ERROR!
      java.lang.IllegalStateException: Can't install feature odl-bgpcep-bgp-openconfig/0.5.0-SNAPSHOT:
      Could not start bundle mvn:org.opendaylight.bgpcep/bgp-rib-impl/0.5.0-SNAPSHOT in feature(s) odl-bgpcep-bgp-rib-impl-0.5.0-SNAPSHOT: Uses constraint violation. Unable to resolve bundle revision org.opendaylight.bgpcep.bgp-rib-impl [208.0] because it is exposed to package 'io.netty.channel' from bundle revisions io.netty.transport [100.0] and io.netty.transport [152.0] via two dependency chains.

      Chain 1:
      org.opendaylight.bgpcep.bgp-rib-impl [208.0]
      import: (&(osgi.wiring.package=io.netty.channel)(version>=4.0.0)(!(version>=5.0.0)))

      export: osgi.wiring.package=io.netty.channel
      io.netty.transport [100.0]

      Chain 2:
      org.opendaylight.bgpcep.bgp-rib-impl [208.0]
      import: (&(osgi.wiring.package=org.opendaylight.protocol.bgp.rib.spi)(version>=0.5.0)(!(version>=1.0.0)))

      export: osgi.wiring.package=org.opendaylight.protocol.bgp.rib.spi; uses:=io.netty.channel
      org.opendaylight.bgpcep.bgp-rib-spi [202.0]
      import: (&(osgi.wiring.package=io.netty.channel)(version>=4.0.0)(!(version>=5.0.0)))

      export: osgi.wiring.package=io.netty.channel
      io.netty.transport [152.0]
      at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:388)
      at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:359)
      at Proxyc1a3dfd7_fa8a_47ca_b6ed_0abcf2441d12.installFeature(Unknown Source)
      at org.opendaylight.odlparent.featuretest.SingleFeatureTest.installFeature(SingleFeatureTest.java:244)
      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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
      at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at java.lang.Thread.run(Thread.java:745)

            milos.fabian@pantheon.tech Milos Fabian
            milos.fabian@pantheon.tech Milos Fabian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: