<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:27:36 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-91] SingleFeatureTest fails to discover blueprint related problems for features which do not depend on the controller feature with the ODL specific blueprint extender</title>
                <link>https://jira.opendaylight.org/browse/ODLPARENT-91</link>
                <project id="10149" key="ODLPARENT">odlparent</project>
                    <description>&lt;p&gt;While fixing &lt;a href=&quot;https://jira.opendaylight.org/browse/INFRAUTILS-10&quot; title=&quot;infrautils-features4 cannot be added to karaf4 distribution&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INFRAUTILS-10&quot;&gt;&lt;del&gt;INFRAUTILS-10&lt;/del&gt;&lt;/a&gt; I&apos;ve realized that SingleFeatureTest does not actually discover blueprint related problems... &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.opendaylight.org/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; Or at the very least it can clearly miss some of them.&lt;/p&gt;

&lt;p&gt;For example, in that bug there was a BP XML with an invalid ref in a &amp;lt;service&amp;gt; and it missed that.. on looking more closely at the log, I believe what is happening is that TestBundleDiag currently only tests that bundles were installed and are &quot;active&quot;, but may be missing to explicitly wait for BP validation?&lt;/p&gt;

&lt;p&gt;What&apos;s curious is that SOMETIMES it hits them (which is was &lt;a href=&quot;https://jira.opendaylight.org/browse/INFRAUTILS-10&quot; title=&quot;infrautils-features4 cannot be added to karaf4 distribution&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INFRAUTILS-10&quot;&gt;&lt;del&gt;INFRAUTILS-10&lt;/del&gt;&lt;/a&gt; was all about; in &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/56611/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/56611/&lt;/a&gt; the problem was found, but that was in SFT of integration/distribution ... which technically is the same code - but I suspect it may be slower there, and thus hit it?  I think we have to await the same even in faster running individual feature tests, somehow.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22214">ODLPARENT-91</key>
            <summary>SingleFeatureTest fails to discover blueprint related problems for features which do not depend on the controller feature with the ODL specific blueprint extender</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <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="-1">Unassigned</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Mon, 8 May 2017 09:47:00 +0000</created>
                <updated>Thu, 25 Jun 2020 06:11:47 +0000</updated>
                            <resolved>Thu, 25 Jun 2020 06:11:47 +0000</resolved>
                                    <version>2.0.5</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="41993" author="vorburger" created="Mon, 8 May 2017 10:08:07 +0000"  >&lt;p&gt;The attached SFT org.opendaylight.odlparent.featuretest.SingleFeatureTest-output.txt log, as an example from infrautils/common/features/odl-infrautils-jobcoordinator on master (after merge of c/56024, before merge of c/56663/), illustrates the problem... we install e.g. jobcoordinator-impl and TestBundleDiag is happy with &quot;diag: Active &lt;/p&gt;
{Unknown=0, Starting=0, Active=79, GracePeriod=0, Failure=0, Installed=0, Resolved=2, Stopping=0, Waiting=0}
&lt;p&gt;&quot; and ends - but there never even was a &quot;BlueprintContainer for bundle org.opendaylight.infrautils.jobcoordinator-impl&quot; ... we probably have to wait for that, somehow.&lt;/p&gt;</comment>
                            <comment id="41994" author="vorburger" created="Mon, 8 May 2017 14:12:26 +0000"  >&lt;p&gt;&amp;gt; The attached SFT org.opendaylight.odlparent.featuretest.SingleFeatureTest&lt;/p&gt;

&lt;p&gt;I forgot to attach this file and don&apos;t actually have it anymore right now.&lt;/p&gt;

&lt;p&gt;&amp;gt; but may be missing to explicitly wait for BP validation?&lt;/p&gt;

&lt;p&gt;That wasn&apos;t it - this actually works - but the BP XML location can be confusing... normally in standard Karaf it&apos;s in OSGI-INF/blueprint/.  The ODL specific BP XML has to be in org/opendaylight/blueprint/ - but that, of course, only works if you have the bundle that does the ODL specific BP handling installed and already active in Karaf...&lt;/p&gt;

&lt;p&gt;... which in the case of &lt;a href=&quot;https://jira.opendaylight.org/browse/INFRAUTILS-10&quot; title=&quot;infrautils-features4 cannot be added to karaf4 distribution&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INFRAUTILS-10&quot;&gt;&lt;del&gt;INFRAUTILS-10&lt;/del&gt;&lt;/a&gt; it was NOT - it&apos;s an infrautils bundle and feature which does not require controller.  SFT should still work though.&lt;/p&gt;

&lt;p&gt;Basically, we have a problem with &quot;modularity&quot; dependencies in this case.&lt;/p&gt;

&lt;p&gt;&amp;gt; What&apos;s curious is that SOMETIMES it hits them&lt;/p&gt;

&lt;p&gt;This was because during the SFT of integration/distribution, the controller feature which includes the ODL blueprint extender bundle from controller is already installed.  In an infrautils SFT it is not, thus this problem.&lt;/p&gt;

&lt;p&gt;The combination of &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/54885/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/54885/&lt;/a&gt; and &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/56672/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/56672/&lt;/a&gt; together would fix this problem; I&apos;ve locally played with this and can confirm that if we do (both of) that, then SFT will find issues in such BP XML, as expected.&lt;/p&gt;</comment>
                    </comments>
                    <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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8397</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=8397]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10305"><![CDATA[Improvement]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10301"><![CDATA[Normal]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02393:</customfieldvalue>

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