<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:27:44 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[ODLPARENT-136] SFT java.lang.ClassNotFoundException: org.osgi.service.resolver.ResolutionException</title>
                <link>https://jira.opendaylight.org/browse/ODLPARENT-136</link>
                <project id="10149" key="ODLPARENT">odlparent</project>
                    <description>&lt;p&gt;Since the odlparent 3.0.0 bump, e.g. &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/65514/6/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/65514/6/&lt;/a&gt; fails SFT with:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[INFO] --- maven-surefire-plugin:2.18.1:test (default) @ odl-infrautils-jobcoordinator ---
[INFO] Surefire report directory: /home/vorburger/dev/ODL/git/infrautils/common/features/odl-infrautils-jobcoordinator/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.opendaylight.odlparent.featuretest.SingleFeatureTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 11.829 sec &amp;lt;&amp;lt;&amp;lt; FAILURE! - in org.opendaylight.odlparent.featuretest.SingleFeatureTest
installFeatureCatchAndLog(org.opendaylight.odlparent.featuretest.SingleFeatureTest)[repoUrl: file:/home/vorburger/dev/ODL/git/infrautils/common/features/odl-infrautils-jobcoordinator/target/feature/feature.xml, Feature: odl-infrautils-jobcoordinator 1.3.0.SNAPSHOT]  Time elapsed: 11.514 sec  &amp;lt;&amp;lt;&amp;lt; ERROR!
java.lang.ClassNotFoundException: org.osgi.service.resolver.ResolutionException (no security manager: RMI class loader disabled)
	at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:396)
	at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:186)
	at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:637)
	at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:264)
	at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:219)
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1868)
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2042)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
	at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:563)
	at java.lang.Throwable.readObject(Throwable.java:914)
	at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1158)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2178)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287)
	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:433)
	at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:252)
	at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)
	at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
	at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
	at com.sun.proxy.$Proxy18.remoteCall(Unknown Source)
	at org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl$1.invoke(RemoteBundleContextClientImpl.java:102)
	at com.sun.proxy.$Proxy19.call(Unknown Source)
	at org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.call(RemoteBundleContextClientImpl.java:290)
	at org.ops4j.pax.exam.container.remote.RBCRemoteTarget.call(RBCRemoteTarget.java:60)
	at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.call(KarafTestContainer.java:652)
	at org.ops4j.pax.exam.spi.reactors.AllConfinedStagedReactor.invoke(AllConfinedStagedReactor.java:84)
	at org.ops4j.pax.exam.junit.impl.ProbeRunner$2.evaluate(ProbeRunner.java:267)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.ops4j.pax.exam.junit.impl.ProbeRunner.run(ProbeRunner.java:98)
	at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:93)
	at org.opendaylight.odlparent.featuretest.PerFeatureRunner.run(PerFeatureRunner.java:72)
	at org.opendaylight.odlparent.featuretest.PerRepoTestRunner.runChild(PerRepoTestRunner.java:153)
	at org.opendaylight.odlparent.featuretest.PerRepoTestRunner.runChild(PerRepoTestRunner.java:28)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	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)


Results :

Tests in error: 
  org.osgi.service.resolver.ResolutionException (no security manager: RMI class loader disabled)&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;instead of with:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[INFO] --- maven-surefire-plugin:2.18.1:test (default) @ odl-infrautils-jobcoordinator ---
[INFO] Surefire report directory: /w/workspace/infrautils-maven-verify-oxygen-mvn33-openjdk8/common/features/odl-infrautils-jobcoordinator/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.opendaylight.odlparent.featuretest.SingleFeatureTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 19.371 sec &amp;lt;&amp;lt;&amp;lt; FAILURE! - in org.opendaylight.odlparent.featuretest.SingleFeatureTest
installFeatureCatchAndLog(org.opendaylight.odlparent.featuretest.SingleFeatureTest)[repoUrl: file:/w/workspace/infrautils-maven-verify-oxygen-mvn33-openjdk8/common/features/odl-infrautils-jobcoordinator/target/feature/feature.xml, Feature: odl-infrautils-jobcoordinator 1.3.0.SNAPSHOT]  Time elapsed: 18.965 sec  &amp;lt;&amp;lt;&amp;lt; ERROR!
org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=odl-infrautils-jobcoordinator; type=karaf.feature; version=&quot;[1.3.0.SNAPSHOT,1.3.0.SNAPSHOT]&quot;; filter:=&quot;(&amp;amp;(osgi.identity=odl-infrautils-jobcoordinator)(type=karaf.feature)(version&amp;gt;=1.3.0.SNAPSHOT)(version&amp;lt;=1.3.0.SNAPSHOT))&quot; [caused by: Unable to resolve odl-infrautils-jobcoordinator/1.3.0.SNAPSHOT: missing requirement [odl-infrautils-jobcoordinator/1.3.0.SNAPSHOT] osgi.identity; osgi.identity=org.opendaylight.infrautils.jobcoordinator-impl; type=osgi.bundle; version=&quot;[1.3.0.SNAPSHOT,1.3.0.SNAPSHOT]&quot;; resolution:=mandatory [caused by: Unable to resolve org.opendaylight.infrautils.jobcoordinator-impl/1.3.0.SNAPSHOT: missing requirement [org.opendaylight.infrautils.jobcoordinator-impl/1.3.0.SNAPSHOT] osgi.service; effective:=active; filter:=&quot;(objectClass=org.opendaylight.infrautils.metrics.MetricProvider)&quot;]]
	at org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42)
	at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:391)
	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:377)
	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:349)
	at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:216)
	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:263)
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1188)
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1086)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)


Results :

Tests in error: 
  Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=odl-infrautils-jobcoordinator; type=karaf.feature; version=&quot;[1.3.0.SNAPSHOT,1.3.0.SNAPSHOT]&quot;; filter:=&quot;(&amp;amp;(osgi.identity=odl-infrautils-jobcoordinator)(type=karaf.feature)(version&amp;gt;=1.3.0.SNAPSHOT)(version&amp;lt;=1.3.0.SNAPSHOT))&quot; [caused by: Unable to resolve odl-infrautils-jobcoordinator/1.3.0.SNAPSHOT: missing requirement [odl-infrautils-jobcoordinator/1.3.0.SNAPSHOT] osgi.identity; osgi.identity=org.opendaylight.infrautils.jobcoordinator-impl; type=osgi.bundle; version=&quot;[1.3.0.SNAPSHOT,1.3.0.SNAPSHOT]&quot;; resolution:=mandatory [caused by: Unable to resolve org.opendaylight.infrautils.jobcoordinator-impl/1.3.0.SNAPSHOT: missing requirement [org.opendaylight.infrautils.jobcoordinator-impl/1.3.0.SNAPSHOT] osgi.service; effective:=active; filter:=&quot;(objectClass=org.opendaylight.infrautils.metrics.MetricProvider)&quot;]]&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;which is &lt;b&gt;hell of a lot less clear&lt;/b&gt; &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; than it should and used to be... like it&apos;s basically impossible to figure out what&apos;s wrong!&lt;/p&gt;</description>
                <environment></environment>
        <key id="29081">ODLPARENT-136</key>
            <summary>SFT java.lang.ClassNotFoundException: org.osgi.service.resolver.ResolutionException</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.opendaylight.org/images/icons/priorities/blocker.svg">Highest</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="vorburger">Michael Vorburger</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Jan 2018 22:30:25 +0000</created>
                <updated>Fri, 15 Mar 2019 17:42:54 +0000</updated>
                            <resolved>Wed, 13 Jun 2018 13:45:47 +0000</resolved>
                                                    <fixVersion>3.0.4</fixVersion>
                    <fixVersion>3.1.2</fixVersion>
                    <fixVersion>4.0.0</fixVersion>
                                    <component>SFT</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="60737" author="vorburger" created="Tue, 16 Jan 2018 22:38:02 +0000"  >&lt;p&gt;This is because the &lt;tt&gt;org.osgi.service.resolver.ResolutionException&lt;/tt&gt; must be available both in the &lt;em&gt;karaf-server-system-under-test-jvm&lt;/em&gt; (where it occurs) as well as in the &lt;em&gt;pax-exam-driver-client-jvm&lt;/em&gt; (into where it gets sent to via RMI!) in order for the de-serialization to work... but for some reason (I cannot find anymore which change in odlparent caused this... can you?) it is not available on client anymore, with odlparent 3.0.0.&lt;/p&gt;

&lt;p&gt;It&apos;s easy enough to add; available in &lt;tt&gt;org.osgi.compendium&lt;/tt&gt;&#160;as well as &lt;tt&gt;felix.framwork&lt;/tt&gt;.. I&apos;ve tested that adding &lt;tt&gt;osgi.compendium&lt;/tt&gt; directly to an odl-something POM with single-feature-parent does the trick.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/67220/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/67220/&lt;/a&gt; does (hopefully) the equivalent in odlparent.&lt;/p&gt;</comment>
                            <comment id="63415" author="vorburger" created="Tue, 12 Jun 2018 23:51:00 +0000"  >&lt;p&gt;I&apos;ve&#160;experienced e.g. in &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/72223/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;c/72223&lt;/a&gt;&#160;or &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/72904/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;c/72904&lt;/a&gt;&#160;that this actually was not&#160;correctly (&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/67220/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;c/67220&lt;/a&gt;) fixed in odlparent 3.0.3 - so re-opening to get the new fix &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/72910/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;c/72910&lt;/a&gt;, which I&apos;ve now verified is correct, into all x3 open odlparent branches... with Fix Versions changed accordingly.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="30047">TSC-117</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i039k7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>