<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:27:40 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-115] Karaf is slow to start processing features after start</title>
                <link>https://jira.opendaylight.org/browse/ODLPARENT-115</link>
                <project id="10149" key="ODLPARENT">odlparent</project>
                    <description>&lt;p&gt;This was first reported as a comment &lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; to &lt;a href=&quot;https://jira.opendaylight.org/browse/ODLPARENT-86&quot; title=&quot;Milestore: upgrade karaf to 4.1.2 or later&quot; class=&quot;issue-link&quot; data-issue-key=&quot;ODLPARENT-86&quot;&gt;&lt;del&gt;ODLPARENT-86&lt;/del&gt;&lt;/a&gt; but that is a milestone bug as a possible fix, this is a separate description of current symptom.&lt;/p&gt;

&lt;p&gt;Compared to Carbon (Karaf 3), Nitrogen (Karaf 4) Distribution takes much longer to start. Probably the cause is the new way of generating features from pom files, and inefficient algorithm used when parsing feature repositories present in Distribution.&lt;/p&gt;

&lt;p&gt;An example is karaf.log &lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt; showing it took 4 minutes to parse feature repositories even though no odl feature was being installed at that time (only standard and wrap features):&lt;br/&gt;
2017-09-14 10:40:37,641 | INFO  | d95-9b2f61aab805 | Main                             |  -  -  | Karaf started in 0s. Bundle stats: 10 active, 10 total&lt;br/&gt;
2017-09-14 10:44:32,413 | INFO  | pool-1-thread-2  | FeaturesServiceImpl              | 6 - org.apache.karaf.features.core - 4.0.9 | Adding features: standard/&lt;span class=&quot;error&quot;&gt;&amp;#91;4.0.9,4.0.9&amp;#93;&lt;/span&gt;, wrap/&lt;span class=&quot;error&quot;&gt;&amp;#91;0,0.0.0&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;While this is just a performance regression, this has required a workaround &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; in distribution offline test job, and in the future this might also limit size of features able to finish SingleFeatureTest in time.&lt;/p&gt;

&lt;p&gt;As this is probably a bug inherited from Karaf project, version upgrade will be needed to fix this.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=8258#c3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=8258#c3&lt;/a&gt;&lt;br/&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/62903&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/62903&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/distribution-offline-nitrogen/41/karaf.log.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/distribution-offline-nitrogen/41/karaf.log.gz&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22238">ODLPARENT-115</key>
            <summary>Karaf is slow to start processing features after start</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="10004" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Verified</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="rovarga">Robert Varga</assignee>
                                    <reporter username="vrpolak">Vratko Polak</reporter>
                        <labels>
                    </labels>
                <created>Thu, 14 Sep 2017 10:54:16 +0000</created>
                <updated>Wed, 24 Jan 2018 14:26:41 +0000</updated>
                            <resolved>Mon, 9 Oct 2017 10:59:35 +0000</resolved>
                                    <version>2.0.5</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="42071" author="rovarga" created="Thu, 14 Sep 2017 11:36:57 +0000"  >&lt;p&gt;The problem is upstream. We need a 4.0.10 karaf release and integrate it. The following PR brings down the bood time from 102 to &amp;lt;3 seconds in my testing:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/apache/karaf/pull/366/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/apache/karaf/pull/366/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="42072" author="rovarga" created="Mon, 25 Sep 2017 10:19:45 +0000"  >&lt;p&gt;2.0.x: &lt;a href=&quot;https://git.opendaylight.org/gerrit/63485&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/63485&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="42073" author="rovarga" created="Thu, 28 Sep 2017 12:20:45 +0000"  >&lt;p&gt;Fixed in 2.0.5&lt;/p&gt;</comment>
                            <comment id="42074" author="vrpolak" created="Mon, 9 Oct 2017 10:59:35 +0000"  >&lt;p&gt;According to offline job console &lt;span class=&quot;error&quot;&gt;&amp;#91;5&amp;#93;&lt;/span&gt;, Nitrogen now takes 19 seconds to start without ODL features and 61 seconds to install odl-integration-all.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;5&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/distribution/job/distribution-offline-nitrogen/45/console&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/distribution/job/distribution-offline-nitrogen/45/console&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="22209">ODLPARENT-86</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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9161</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=9161]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10320"><![CDATA[Nitrogen]]></customfieldvalue>

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

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