<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:27:28 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-42] SingleFeatureTest failed to catch a missing required-capabilities</title>
                <link>https://jira.opendaylight.org/browse/ODLPARENT-42</link>
                <project id="10149" key="ODLPARENT">odlparent</project>
                    <description></description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22165">ODLPARENT-42</key>
            <summary>SingleFeatureTest failed to catch a missing required-capabilities</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="shague">Sam Hague</reporter>
                        <labels>
                    </labels>
                <created>Fri, 5 Aug 2016 12:52:59 +0000</created>
                <updated>Mon, 6 Sep 2021 09:31:03 +0000</updated>
                            <resolved>Mon, 6 Sep 2021 09:31:03 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="41849" author="shague@redhat.com" created="Fri, 5 Aug 2016 12:57:56 +0000"  >&lt;p&gt;A model was included in the required-capabilities section of a default-config.xml where the namespace was wrong. The SFT passed, but when loading with karaf it fails with the below:&lt;/p&gt;

&lt;p&gt;Unable to push configuration due to missing yang models. Yang models that are missing, but required by the configuration: &lt;span class=&quot;error&quot;&gt;&amp;#91;urn:opendaylight:genius:interfacemgr?module=odl-interface&amp;amp;revision=2016-04-06&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; is the patch where the wrong namespace is included. the value interfacemgr should have been interfacemanager. That model is from another project. The value used to be interfacemgr, but was changed to interfacemanager some time back. &lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt; was pushed to fix the issue.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/43145/2/vpnservice/dhcpservice/dhcpservice-impl/src/main/config/default-config.xml&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/43145/2/vpnservice/dhcpservice/dhcpservice-impl/src/main/config/default-config.xml&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/43230&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/43230&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="41850" author="rovarga" created="Mon, 31 Oct 2016 00:21:58 +0000"  >&lt;p&gt;This is a problem of packaging-versus-runtime. Packaging is correct, as all required artifacts were present &amp;#8211; which is really what SFT checks: all the bundles started successfully.&lt;/p&gt;

&lt;p&gt;Based on artifact dependency tree, SFT cannot be made cognizant of controller&apos;s config subsystem. That also means the problem should be fixed on the controller side &amp;#8211; somehow.&lt;/p&gt;

&lt;p&gt;I think this could be fixed in CSS by having a bundle, which would only start successfully once the initial configuration has been pushed successfully &amp;#8211; e.g. integrate with ConfigPusherImpl. The CSS would declare the bundle in its features, and it can fail to activate after some time &amp;#8211; thus forcing SFT (if it waits for all bundles to start). There may be a problem if karaf waits for the start before starting downstream features...&lt;/p&gt;</comment>
                            <comment id="41851" author="vrpolak" created="Thu, 3 Nov 2016 15:05:58 +0000"  >&lt;p&gt;As a workaround, distribution-check job installs odl-integration-all feature and then greps karaf.log for known failures. So if the configfile in question is pulled by odl-integration-all, semantic errors will fail the distribution-check job.&lt;/p&gt;

&lt;p&gt;An example of distribution-check job detecting such an error: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/47879/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/47879/1&lt;/a&gt;&lt;br/&gt;
An example of the job passing, because the affected feature is not included in integration:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/47890&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/47890&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="41852" author="vorburger" created="Wed, 18 Jan 2017 16:51:15 +0000"  >&lt;p&gt;&amp;gt; really what SFT checks: all the bundles started successfully&lt;/p&gt;

&lt;p&gt;actually SFT up to 2 days ago only checked that feature:install worked (e.g. no bad feature names), it didn&apos;t used to fully check that all the bundles really started successfully so far; but &lt;a href=&quot;https://lists.opendaylight.org/pipermail/dev/2017-January/003106.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/dev/2017-January/003106.html&lt;/a&gt; introduced that now (2 days ago).&lt;/p&gt;

&lt;p&gt;Now it checks both that all bundles are able to resolve, start AND that their Blueprint wiring managed to resolve.&lt;/p&gt;

&lt;p&gt;What&apos;s missing is checking that controller&apos;s config subsystem (CSS) managed to fully resolve - just like I&apos;ve done for Blueprint (actually I haven&apos;t &quot;done&quot; much, but I&apos;ve found a Karaf API for this).&lt;/p&gt;

&lt;p&gt;I&apos;m not sure if it&apos;s worth investing further in the controller&apos;s config subsystem (CSS), given that we&apos;re increasingly migrating everything off it and to BP, but if someone would like to, and know how to query CSS if it has &quot;fully resolved&quot;, then that could be added; either directly in the (new) BundleDiagInfos utility (but the problem would be that odlparent can&apos;t depend on controller..), or by controller somehow exposing it to Karaf&apos;s BundleService, like Blueprint does (I&apos;m assuming is extensible; it would need a bit more digging).&lt;/p&gt;</comment>
                            <comment id="41853" author="vorburger" created="Thu, 6 Apr 2017 23:17:03 +0000"  >&lt;p&gt;&amp;gt; missing is checking that controller&apos;s config subsystem (CSS) &lt;/p&gt;

&lt;p&gt;If someone ever does want to extend the SFT for this, I believe the code in netvirt statemanager&apos;s ConfigStateManager class removed in &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/54387/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/54387/&lt;/a&gt; may be of interest how to do this.&lt;/p&gt;</comment>
                            <comment id="69605" author="rovarga" created="Mon, 6 Sep 2021 09:31:03 +0000"  >&lt;p&gt;Config Subsystem is gone, we have proper Blueprint/SCR integration, hence this works now.&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>6345</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=6345]]></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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i022y7:</customfieldvalue>

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