<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:59 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>[CONTROLLER-1224] An attempt to push 5k paths to ODL SR3 through BGP exposed a  bug which causes the odl-restconf-noauth to hang on install approx 3% of the time</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1224</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Jozez Behran created a test job that repeatedly performs a small load test of Helium SR3 during attempt to push 5k paths to ODL through BGP. &lt;/p&gt;

&lt;p&gt;It exposes a bug which causes the odl-restconf-noauth to hang on install occasionally. &lt;/p&gt;


&lt;p&gt;He has captured a YourKit performance snapshot in the time when the test failed due to the hang so it is now possible to see what exactly is blocked and where.&lt;/p&gt;

&lt;p&gt;I&apos;ll add as attachment.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25778">CONTROLLER-1224</key>
            <summary>An attempt to push 5k paths to ODL SR3 through BGP exposed a  bug which causes the odl-restconf-noauth to hang on install approx 3% of the time</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="10001">Won&apos;t Do</resolution>
                                        <assignee username="jbehran@cisco.com">Jozef Behran</assignee>
                                    <reporter username="ricjhill@gmail.com">RichardHill</reporter>
                        <labels>
                    </labels>
                <created>Tue, 24 Mar 2015 16:40:27 +0000</created>
                <updated>Thu, 23 Jul 2015 09:49:33 +0000</updated>
                            <resolved>Thu, 23 Jul 2015 09:49:33 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>restconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="50326" author="ricjhill@gmail.com" created="Tue, 24 Mar 2015 16:51:30 +0000"  >&lt;p&gt;&lt;a href=&quot;https://drive.google.com/file/d/0ByXiyf4iY7RYbXZWdlVYdHV6clE/view?usp=sharing&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://drive.google.com/file/d/0ByXiyf4iY7RYbXZWdlVYdHV6clE/view?usp=sharing&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="50327" author="ricjhill@gmail.com" created="Tue, 24 Mar 2015 16:55:50 +0000"  >&lt;p&gt;Needs yourkit profiler to view&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://drive.google.com/file/d/0ByXiyf4iY7RYTjVQMFpNV2ExZmc/view?usp=sharing&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://drive.google.com/file/d/0ByXiyf4iY7RYTjVQMFpNV2ExZmc/view?usp=sharing&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;https://drive.google.com/file/d/0ByXiyf4iY7RYX2Y0c3hVdTF6NFU/view?usp=sharing&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://drive.google.com/file/d/0ByXiyf4iY7RYX2Y0c3hVdTF6NFU/view?usp=sharing&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="50328" author="ricjhill@gmail.com" created="Tue, 24 Mar 2015 17:33:14 +0000"  >

&lt;p&gt;This test executes a performance test of Helium SR3 on the following scenario:&lt;/p&gt;

&lt;p&gt;    Unclustered configuration&lt;br/&gt;
    Topology and RIB are both updated&lt;br/&gt;
    IMDS used&lt;br/&gt;
    5 k paths&lt;/p&gt;</comment>
                            <comment id="50329" author="ricjhill@gmail.com" created="Wed, 25 Mar 2015 07:35:11 +0000"  >&lt;p&gt;Investigation of profiling snapshot revealed the  suspicious  method  is &lt;br/&gt;
in file &quot;OsgiRegistry.java&quot;  OsgiRegistry.setOSGi.ServiceFinderIteratorProvider&lt;/p&gt;</comment>
                            <comment id="50330" author="jbehran@cisco.com" created="Wed, 25 Mar 2015 08:39:11 +0000"  >&lt;p&gt;My suspection is that odl-restconf-noauth is doing something wrong with the OSGi registry (or with the Karaf&apos;s InstallFeature functionality) and when the constellation of the bytes in the process happens to be just right, it hangs the whole thing.&lt;/p&gt;</comment>
                            <comment id="50331" author="jbehran@cisco.com" created="Wed, 25 Mar 2015 09:38:08 +0000"  >&lt;p&gt;I found the following:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;There is a thread with name pool-X-thread-Y (X and Y are some numbers that are differing from run to run) which is &quot;runnable&quot; and its stack trace looks like this:&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;  com.sun.jersey.core.osgi.OsgRegistry.setOSGiServiceFinderIteratorProvider()&lt;br/&gt;
    at OsgiRegistry.java:422&lt;br/&gt;
  org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(String, String, EnumSet)&lt;br/&gt;
    at FeaturesServiceImpl.java:362&lt;br/&gt;
  Proxy&amp;lt;some_horrible_number_in_GUID_format&amp;gt;.installFeature(String, String, EnumSet)&lt;br/&gt;
    at ??? (maybe somehow autogenerated ???)&lt;br/&gt;
  java.lang.Thread.run()&lt;/p&gt;

&lt;p&gt;  To me this thread seems to be the one trying to install odl-restconf-noauth&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;There is another thread with name pool-X-thread-Y (X and Y are some numbers that are differing from run to run and differing from the first thread) which is blocked here:&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;  com.sun.jersey.core.osgi.OsgiRegistry.getInstance()&lt;br/&gt;
    at OsgiRegistry.java:113&lt;br/&gt;
  org.eclipse.jetty.server.handler.ContextHandler.doStart()&lt;br/&gt;
    at ContextHandler.java:717&lt;br/&gt;
  org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doStart()&lt;br/&gt;
    at HttpServiceContext.java:222&lt;br/&gt;
  org.eclipse.jetty.util.component.AbstractLifeCycle.start()&lt;br/&gt;
    at AbstractLifeCycle.java:64&lt;br/&gt;
  org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start()&lt;br/&gt;
    at jettyServerImpl.java:197&lt;br/&gt;
  org.ops4j.pax.web.service.internal.HttpServiceStarted.end(HttpContext)&lt;br/&gt;
    at HttpServiceStarted.java:1032&lt;br/&gt;
  org.ops4j.pax.web.service.internal.HttpServiceProxy.end(HttpContext)&lt;br/&gt;
    at HttpServiceProxy.java:422&lt;br/&gt;
  org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.end()&lt;br/&gt;
    at RegisterWebAppVisitorWC.java:341&lt;br/&gt;
  org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebAppVisitor)&lt;br/&gt;
    at WebApp.java:678&lt;br/&gt;
  org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.register(WebAppDependencyHolder, HttpService)&lt;br/&gt;
    at WebAppPublisher.java:237&lt;br/&gt;
  org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.addingService(ServiceReference)&lt;br/&gt;
    at WebAppPublisher.java:182&lt;br/&gt;
  org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.addingService(ServiceReference)&lt;br/&gt;
    at WebAppPublisher.java:135&lt;br/&gt;
  org.osgi.util.tracker.ServiceTracker.open()&lt;br/&gt;
    at ServiceTracker.java:261&lt;br/&gt;
  org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebApp)&lt;br/&gt;
    at WebAppPublisher.java:101&lt;br/&gt;
  org.ops4j.pax.web.extender.war.internal.WebObserver.deploy(WebApp)&lt;br/&gt;
    at WebObserver.java:213&lt;br/&gt;
  org.ops4j.pax.web.extender.war.internal.WebObserver$1.doStart()&lt;br/&gt;
    at WebObserver.java:175&lt;br/&gt;
  org.ops4j.pax.web.extender.war.internal.extender.SimpleExtension.start()&lt;br/&gt;
    at SimpleExtension.java:58&lt;br/&gt;
  org.ops4j.pax.web.extender.war.internal.extender.AbstractExtender$1.run()&lt;br/&gt;
    at AbstractExtender.java:266&lt;br/&gt;
  java.lang.Thread.run()&lt;/p&gt;


&lt;p&gt;I am not sure about the purpose of this thread or why it is still hanging around here but in every failure I see it hung at exactly this one spot. I was not able to track this thread&apos;s stacktrace down in a snapshot of a build where the test passed though.&lt;/p&gt;</comment>
                            <comment id="50332" author="vdemcak@cisco.com" created="Mon, 13 Jul 2015 13:11:13 +0000"  >&lt;p&gt;Hi all.&lt;br/&gt;
I&apos;d like to ask for all steps for a possibility to reproduction the described behavior. Please provide some test inputs too (e.g. robot test path or file or something).&lt;br/&gt;
I&apos;d like to ask for a whole log file, because it could by a problem with loading required dependencies (follow J.Behran description) but in some step before. Did you try to reload odl-restconf-noauth in the described unexpected state?&lt;/p&gt;</comment>
                            <comment id="50333" author="ricjhill@gmail.com" created="Thu, 23 Jul 2015 09:35:16 +0000"  >&lt;p&gt;Hi Vaclav &lt;/p&gt;

&lt;p&gt;To clarify you want the test rerun with full logging and the log provided.&lt;/p&gt;</comment>
                            <comment id="50334" author="jbehran@cisco.com" created="Thu, 23 Jul 2015 09:49:33 +0000"  >&lt;p&gt;Testing for this bug requires running the test job for several days. Additionally, the full logging is most likely to cause this type of heisenbug to disappear. As Helium SR4 is the last release and its deadline is today, there is no time to even determine whether the bug is still there or not, let alone fixing it.&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>2891</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=2891]]></customfieldvalue>

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

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

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