Hi all,
something changed - now I am getting this:
Tests in error:
Can't install feature odl-groupbasedpolicy-ise-adapter/0.4.0-SNAPSHOT:
Could not start bundle
mvn:org.opendaylight.groupbasedpolicy/groupbasedpolicy-ise-adapter/0.4.0-SNAPSHOT
in feature(s) odl-groupbasedpolicy-ise-adapter-0.4.0-SNAPSHOT: Uses constraint
violation. Unable to resolve bundle revision
org.opendaylight.groupbasedpolicy.ise-adapter [281.0] because it is exposed to
package 'javax.annotation' from bundle revisions
com.eclipsesource.jaxrs.jersey-all [280.0] and
org.apache.geronimo.specs.geronimo-annotation_1.1_spec [44.0] via two
dependency chains.
Chain 1:
org.opendaylight.groupbasedpolicy.ise-adapter [281.0]
import:
(&(osgi.wiring.package=javax.annotation)(version>=1.2.0)(!(version>=2.0.0)))
|
export: osgi.wiring.package=javax.annotation
com.eclipsesource.jaxrs.jersey-all [280.0]
Chain 2:
org.opendaylight.groupbasedpolicy.ise-adapter [281.0]
import:
(&(osgi.wiring.package=org.opendaylight.controller.config.api)(version>=0.5.0)(!(version>=1.0.0)))
|
export: osgi.wiring.package=org.opendaylight.controller.config.api;
uses:=org.opendaylight.yangtools.concepts
org.opendaylight.controller.config-api [198.0]
import:
(&(osgi.wiring.package=org.opendaylight.yangtools.concepts)(version>=1.0.0)(!(version>=2.0.0)))
|
export: osgi.wiring.package=org.opendaylight.yangtools.concepts;
uses:=javax.annotation
org.opendaylight.yangtools.concepts [145.0]
import: (osgi.wiring.package=javax.annotation)
|
export: osgi.wiring.package=javax.annotation
org.apache.geronimo.specs.geronimo-annotation_1.1_spec [44.0]
Thank you for help on this.
Regards,
Michal
________________________________
From: Dorani, Yakir <[email protected]>
Sent: Monday, July 25, 2016 10:29
To: Luis Gomez
Cc: Michal Rehak -X (mirehak - PANTHEON TECHNOLOGIES at Cisco);
[email protected]; Release
([email protected]); [email protected]
Subject: RE: [Odlparent-dev] single feature test: no such object in table
That’s what I meant (miswording on my side :)), my patch may reveal the actual
underlying exception.
From: Luis Gomez [mailto:[email protected]]
Sent: Sunday, July 24, 2016 8:48 PM
To: Dorani, Yakir <[email protected]>
Cc: Michal Rehak -X (mirehak - PANTHEON TECHNOLOGIES at Cisco)
<[email protected]>; [email protected]; Release
([email protected]) <[email protected]>;
[email protected]
Subject: Re: [Odlparent-dev] single feature test: no such object in table
I doubt it, your patch was merged 3 days after (22nd) the issue showed up
(19th), however your patch can surely help debugging the problem.
On Jul 24, 2016, at 12:49 AM, Dorani, Yakir
<[email protected]<mailto:[email protected]>> wrote:
This might be related to this recently merged fix:
https://git.opendaylight.org/gerrit/#/c/42244/
From:
[email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of Michal
Rehak -X (mirehak - PANTHEON TECHNOLOGIES at Cisco)
Sent: Thursday, July 21, 2016 4:28 PM
To:
[email protected]<mailto:[email protected]>;
Release
([email protected]<mailto:[email protected]>)
<[email protected]<mailto:[email protected]>>;
[email protected]<mailto:[email protected]>
Subject: [Odlparent-dev] single feature test: no such object in table
Hi all,
I hit an issue in a features subproject - when replaced a dependency I got
single feature test failed:
https://jenkins.opendaylight.org/releng/job/groupbasedpolicy-verify-boron/1015/jdk=openjdk8,nodes=centos7-java-builder-2c-8g/console
https://git.opendaylight.org/gerrit/#/c/41851/
The idea was to replace com.sun.jersey:jersey-client stuff in favor of
com.eclipsesource.jaxrs:jersey-all implementation. Unfortunately I found out
that in ODL there is no project by now where
mvn:com.eclipsesource.jaxrs/jersey-all/2.22.2 is involved at runtime.
Test result says :
no such object in table
Although sometimes the feature test ends up with message:
connection refused
Anyway the only suspicious thing I found is that jersey-all refers internally to
<groupId>javax.ws.rs<http://javax.ws.rs/></groupId>
<artifactId>javax.ws.rs<http://javax.ws.rs/>-api</artifactId>
<version>2.0</version>
but in odlparent we have
<groupId>javax.ws.rs<http://javax.ws.rs/></groupId>
<artifactId>javax.ws.rs<http://javax.ws.rs/>-api</artifactId>
<version>2.0.1</version>
Because of this I can not switch to jersey-all. Any ideas?
Thank you.
Regards,
Michal
_______________________________________________
Odlparent-dev mailing list
[email protected]<mailto:[email protected]>
https://lists.opendaylight.org/mailman/listinfo/odlparent-dev
_______________________________________________
controller-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/controller-dev