<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:13:46 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>[BGPCEP-665] InstructionDeployerImplTest hangs periodically</title>
                <link>https://jira.opendaylight.org/browse/BGPCEP-665</link>
                <project id="10108" key="BGPCEP">bgpcep</project>
                    <description>&lt;p&gt;In autorelease-carbon job 266 and 275, this test hung for multiple hours (in 275 for at least 13 hours). We need to either fix this test or flag it with @Ignore to keep making progress.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23905">BGPCEP-665</key>
            <summary>InstructionDeployerImplTest hangs periodically</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="rovarga">Robert Varga</assignee>
                                    <reporter username="colindixon">Colin Dixon</reporter>
                        <labels>
                    </labels>
                <created>Fri, 28 Apr 2017 17:30:56 +0000</created>
                <updated>Sun, 3 Mar 2019 11:50:03 +0000</updated>
                            <resolved>Wed, 9 Aug 2017 13:32:13 +0000</resolved>
                                    <version>Bugzilla Migration</version>
                                    <fixVersion>Bugzilla Migration</fixVersion>
                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="46161" author="colin@colindixon.com" created="Fri, 28 Apr 2017 17:32:51 +0000"  >&lt;p&gt;Also see here:&lt;br/&gt;
&lt;a href=&quot;https://lists.opendaylight.org/pipermail/release/2017-April/010465.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.opendaylight.org/pipermail/release/2017-April/010465.html&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="46162" author="colin@colindixon.com" created="Fri, 28 Apr 2017 19:29:41 +0000"  >&lt;p&gt;Removes the test in stable/carbon:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/56282/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/56282/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&apos;m completely open to other solutions.&lt;/p&gt;</comment>
                            <comment id="46163" author="colin@colindixon.com" created="Mon, 1 May 2017 19:36:44 +0000"  >&lt;p&gt;An alternate fix would be to exclude the test from autorelease-carbon:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/56329/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/56329/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="46174" author="colin@colindixon.com" created="Mon, 1 May 2017 19:57:11 +0000"  >&lt;p&gt;Attachment org.opendaylight.bgpcep.programming.impl.InstructionDeployerImplTest-output.txt.gz has been added with description: surefire output for the test in autorelease-carbon job 285&lt;/p&gt;</comment>
                            <comment id="46164" author="colin@colindixon.com" created="Mon, 1 May 2017 22:26:13 +0000"  >&lt;p&gt;I merged the autorelease version. We&apos;ll see if it works.&lt;/p&gt;</comment>
                            <comment id="46165" author="colin@colindixon.com" created="Mon, 1 May 2017 22:56:21 +0000"  >&lt;p&gt;Anil Belur pointed out in the comments of the autorelease patch that it might not work because maven plugin configuration might not pass through when the build starts at the root autorelease pom.xml and then moves into &amp;lt;modules&amp;gt; which it isn&apos;t the parent of.&lt;/p&gt;

&lt;p&gt;I guess we&apos;ll likely find out in ~2 hours when either we&apos;ll be hung on the BGP test or not.&lt;/p&gt;</comment>
                            <comment id="46166" author="colin@colindixon.com" created="Tue, 2 May 2017 01:54:07 +0000"  >&lt;p&gt;As Anil Belur suspected, the patch to the autorelease Pom file did not actually suppress the test from running as you can see here:&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/job/autorelease-release-carbon/286/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/job/autorelease-release-carbon/286/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I guess we either need to find a way to put that config in the appropriate parent Pom (maybe as part of the autorelease process) or, more easily, get bgpcep to fix/disable the test.&lt;/p&gt;</comment>
                            <comment id="46167" author="askb" created="Tue, 2 May 2017 10:18:43 +0000"  >&lt;p&gt;As per Thanh&apos;s recommendation:&lt;/p&gt;

&lt;p&gt;I don&apos;t think patch 56329 will help. Maven uses inheritance to determine what plugin configuration to use. pom.xml inside of autorelease is not a parent pom of any projects which means the configuration stored there won&apos;t get read in by the module in bgpcep.&lt;/p&gt;

&lt;p&gt;We either have to disable it at the module level or at odlparent which is the top level parent pom of all projects.&lt;/p&gt;

&lt;p&gt;Therefore, I am reverting the original patch &lt;span class=&quot;error&quot;&gt;&amp;#91;3.&amp;#93;&lt;/span&gt; with &lt;span class=&quot;error&quot;&gt;&amp;#91;1.&amp;#93;&lt;/span&gt; and retrigger autorelease carbon, since we also have the issue resolved with the project test in &lt;span class=&quot;error&quot;&gt;&amp;#91;2.&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; &lt;a href=&quot;https://git.opendaylight.org/gerrit/56360&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/56360&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://git.opendaylight.org/gerrit/#/c/56282/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/56282/&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;3.&amp;#93;&lt;/span&gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/56329/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/56329/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="46168" author="colin@colindixon.com" created="Tue, 2 May 2017 16:50:08 +0000"  >&lt;p&gt;For what it&apos;s worth, this also fails periodically in the project&apos;s Merge Job:&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/Merge-Carbon/job/bgpcep-merge-carbon/lastFailedBuild/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/Merge-Carbon/job/bgpcep-merge-carbon/lastFailedBuild/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Shows that build #190 of of bgpcep-merge-carbon hung on this test.&lt;/p&gt;</comment>
                            <comment id="46169" author="colin@colindixon.com" created="Tue, 2 May 2017 16:50:28 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/Merge-Carbon/job/bgpcep-merge-carbon/190/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/Merge-Carbon/job/bgpcep-merge-carbon/190/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="46170" author="colin@colindixon.com" created="Tue, 2 May 2017 16:52:39 +0000"  >&lt;p&gt;Downgrading to critical as the test is now @Ignored by this patch:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/56282/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/56282/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="46171" author="cdgasparini" created="Sat, 6 May 2017 18:48:58 +0000"  >&lt;p&gt;dead lock is caused by AbstractConcurrentDataBrokerTest. &lt;br/&gt;
Debugging I see that it hangs when AbstractRegistrationTree#removeRegistration&lt;br/&gt;
is trying to take the log.&lt;/p&gt;

&lt;p&gt;Created a demo class and test to easily reproduce the issue.&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/56640/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/56640/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="46175" author="rovarga" created="Sat, 5 Aug 2017 17:16:01 +0000"  >&lt;p&gt;Attachment dump.txt has been added with description: Thread dump from the hang&lt;/p&gt;</comment>
                            <comment id="46172" author="rovarga" created="Sat, 5 Aug 2017 17:19:37 +0000"  >&lt;p&gt;Democlass locking is a problem here:&lt;/p&gt;

&lt;p&gt;&quot;main&quot; #1 prio=5 os_prio=0 tid=0x00007fe24000b000 nid=0x279e waiting on condition &lt;span class=&quot;error&quot;&gt;&amp;#91;0x00007fe248cb5000&amp;#93;&lt;/span&gt;&lt;br/&gt;
   java.lang.Thread.State: WAITING (parking)&lt;br/&gt;
        at sun.misc.Unsafe.park(Native Method)&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;parking to wait for  &amp;lt;0x00000000d9173978&amp;gt; (a java.util.concurrent.locks.StampedLock)&lt;br/&gt;
        at java.util.concurrent.locks.StampedLock.acquireWrite(StampedLock.java:1119)&lt;br/&gt;
        at java.util.concurrent.locks.StampedLock.writeLock(StampedLock.java:354)&lt;br/&gt;
        at java.util.concurrent.locks.StampedLock$WriteLockView.lock(StampedLock.java:899)&lt;br/&gt;
        at org.opendaylight.mdsal.dom.spi.AbstractRegistrationTree.removeRegistration(AbstractRegistrationTree.java:82)&lt;br/&gt;
        at org.opendaylight.controller.sal.core.spi.data.AbstractDOMStoreTreeChangePublisher.access$000(AbstractDOMStoreTreeChangePublisher.java:29)&lt;br/&gt;
        at org.opendaylight.controller.sal.core.spi.data.AbstractDOMStoreTreeChangePublisher$1.removeRegistration(AbstractDOMStoreTreeChangePublisher.java:78)&lt;br/&gt;
        at org.opendaylight.yangtools.concepts.AbstractRegistration.close(AbstractRegistration.java:43)&lt;br/&gt;
        at org.opendaylight.controller.md.sal.binding.impl.BindingDataTreeChangeListenerRegistration.removeRegistration(BindingDataTreeChangeListenerRegistration.java:26)&lt;br/&gt;
        at org.opendaylight.yangtools.concepts.AbstractRegistration.close(AbstractRegistration.java:43)&lt;br/&gt;
        at org.opendaylight.bgpcep.programming.impl.DemoClass.close(DemoClass.java:61)&lt;/li&gt;
	&lt;li&gt;locked &amp;lt;0x00000000dc795ea0&amp;gt; (a org.opendaylight.bgpcep.programming.impl.DemoClass)&lt;br/&gt;
        at org.opendaylight.bgpcep.programming.impl.DemoBugTest.testInstructionDeployer(DemoBugTest.java:20)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;(blocked to make modification to listeners)&lt;/p&gt;

&lt;p&gt;&quot;pool-2-thread-1&quot; #14 prio=5 os_prio=0 tid=0x00007fe241006800 nid=0x27c6 waiting for monitor entry &lt;span class=&quot;error&quot;&gt;&amp;#91;0x00007fe21d036000&amp;#93;&lt;/span&gt;&lt;br/&gt;
   java.lang.Thread.State: BLOCKED (on object monitor)&lt;br/&gt;
        at org.opendaylight.bgpcep.programming.impl.DemoClass.onDataTreeChanged(DemoClass.java)&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;waiting to lock &amp;lt;0x00000000dc795ea0&amp;gt; (a org.opendaylight.bgpcep.programming.impl.DemoClass)&lt;br/&gt;
        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMDataTreeChangeListenerAdapter.onDataTreeChanged(BindingDOMDataTreeChangeListenerAdapter.java:41)&lt;br/&gt;
        at org.opendaylight.controller.md.sal.dom.store.impl.InMemoryDOMStoreTreeChangePublisher.lambda$static$0(InMemoryDOMStoreTreeChangePublisher.java:36)&lt;br/&gt;
        at org.opendaylight.controller.md.sal.dom.store.impl.InMemoryDOMStoreTreeChangePublisher$$Lambda$60/402847244.invokeListener(Unknown Source)&lt;br/&gt;
        at org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager.lambda$null$0(QueuedNotificationManager.java:126)&lt;br/&gt;
        at org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager$$Lambda$74/1248860520.accept(Unknown Source)&lt;br/&gt;
        at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:397)&lt;br/&gt;
        at org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager.lambda$new$1(QueuedNotificationManager.java:124)&lt;br/&gt;
        at org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager$$Lambda$59/60254480.invokeListener(Unknown Source)&lt;br/&gt;
        at org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager$NotificationTask.invokeListener(QueuedNotificationManager.java:434)&lt;br/&gt;
        at org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager$NotificationTask.run(QueuedNotificationManager.java:421)&lt;br/&gt;
        at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:260)&lt;br/&gt;
        at org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager.runTask(QueuedNotificationManager.java:253)&lt;br/&gt;
        at org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager.submitNotifications(QueuedNotificationManager.java:203)&lt;br/&gt;
        at org.opendaylight.yangtools.util.concurrent.QueuedNotificationManager.submitNotification(QueuedNotificationManager.java:168)&lt;br/&gt;
        at org.opendaylight.controller.md.sal.dom.store.impl.InMemoryDOMStoreTreeChangePublisher.notifyListeners(InMemoryDOMStoreTreeChangePublisher.java:52)&lt;br/&gt;
        at org.opendaylight.controller.sal.core.spi.data.AbstractDOMStoreTreeChangePublisher.notifyNode(AbstractDOMStoreTreeChangePublisher.java:116)&lt;br/&gt;
        at org.opendaylight.controller.sal.core.spi.data.AbstractDOMStoreTreeChangePublisher.notifyNode(AbstractDOMStoreTreeChangePublisher.java:123)&lt;br/&gt;
        at org.opendaylight.controller.sal.core.spi.data.AbstractDOMStoreTreeChangePublisher.lookupAndNotify(AbstractDOMStoreTreeChangePublisher.java:104)&lt;br/&gt;
        at org.opendaylight.controller.sal.core.spi.data.AbstractDOMStoreTreeChangePublisher.processCandidateTree(AbstractDOMStoreTreeChangePublisher.java:65)&lt;br/&gt;
        at org.opendaylight.controller.md.sal.dom.store.impl.InMemoryDOMStoreTreeChangePublisher.publishChange(InMemoryDOMStoreTreeChangePublisher.java:77)&lt;/li&gt;
	&lt;li&gt;locked &amp;lt;0x00000000d91738a8&amp;gt; (a org.opendaylight.controller.md.sal.dom.store.impl.InMemoryDOMStoreTreeChangePublisher)&lt;br/&gt;
        at org.opendaylight.controller.md.sal.dom.store.impl.InMemoryDOMDataStore.commit(InMemoryDOMDataStore.java:245)&lt;/li&gt;
	&lt;li&gt;locked &amp;lt;0x00000000d91736a0&amp;gt; (a org.opendaylight.controller.md.sal.dom.store.impl.InMemoryDOMDataStore)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;(blocked to re-enter demo class)&lt;/p&gt;

&lt;p&gt;Which is a classic AB/BA deadlock. close() should not hold a lock (allowing DTCL to freely progress) when invoking registration.close(). It can take a lock prior to that to setup object state so that the DTCL turns into a no-op.&lt;/p&gt;</comment>
                            <comment id="46173" author="rovarga" created="Sat, 5 Aug 2017 18:06:08 +0000"  >&lt;p&gt;master: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/60317/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/60317/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="26183">CONTROLLER-1629</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13229" name="dump.txt" size="14201" author="rovarga" created="Sat, 5 Aug 2017 17:16:01 +0000"/>
                            <attachment id="13228" name="org.opendaylight.bgpcep.programming.impl.InstructionDeployerImplTest-output.txt.gz" size="224664" author="colindixon" created="Mon, 1 May 2017 19:57:11 +0000"/>
                    </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>8335</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=8335]]></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|i02dov:</customfieldvalue>

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