<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:37 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-1070] Clustering: Robot integration tests failing</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1070</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;The clustering integration tests have been failing for a while now. The &quot;010 Credential Authentication&quot; AAA test always fails - I assume this is an issue with the test setup.&lt;/p&gt;

&lt;p&gt;Of more concern are the sporadic failures, specifically &quot;Inventory Scalability OF10&quot;. An example can be seen at&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/integration/job/integration-master-csit-cluster-min/198/robot/report/log.html#s1-s6-s1-t4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/integration/job/integration-master-csit-cluster-min/198/robot/report/log.html#s1-s6-s1-t4&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The &quot;Get Stats for a node&quot; test case looks for &quot;flow-capable-node-connector-statistics&quot; in the REST output. This query is repeated for 2 minutes waiting for it to exceed.&lt;/p&gt;

&lt;p&gt;In looking at the karaf.log, it appears the following OptimisticLockFailedException corresponds to the test time out failure:&lt;/p&gt;

&lt;p&gt;2014-12-12 15:30:56,993 | WARN  | lt-dispatcher-30 | InMemoryDOMDataStore             | 145 - org.opendaylight.controller.sal-inmemory-datastore - 1.2.0.SNAPSHOT | Store Tx: member-1-shard-inventory-operational-441 Conflicting modification for /(urn:opendaylight:inventory?revision=2013-08-19)nodes/node/node[&lt;/p&gt;
{(urn:opendaylight:inventory?revision=2013-08-19)id=openflow:2}
&lt;p&gt;].&lt;br/&gt;
2014-12-12 15:30:56,994 | WARN  | lt-dispatcher-70 | ConcurrentDOMDataBroker          | 139 - org.opendaylight.controller.sal-broker-impl - 1.2.0.SNAPSHOT | Tx: DOM-CHAIN-0-217 Error during phase CAN_COMMIT, starting Abort&lt;br/&gt;
java.util.concurrent.ExecutionException: OptimisticLockFailedException&lt;/p&gt;
{message=Optimistic lock failed., errorList=[RpcError [message=Optimistic lock failed., severity=ERROR, errorType=APPLICATION, tag=resource-denied, applicationTag=null, info=null, cause=org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node was deleted by other transaction.]]}
&lt;p&gt;        at com.google.common.util.concurrent.Futures$ImmediateFailedFuture.get(Futures.java:183)&lt;span class=&quot;error&quot;&gt;&amp;#91;52:com.google.guava:14.0.1&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.ShardCommitCoordinator.doCanCommit(ShardCommitCoordinator.java:138)&lt;span class=&quot;error&quot;&gt;&amp;#91;259:org.opendaylight.controller.sal-distributed-datastore:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.ShardCommitCoordinator.handleCanCommit(ShardCommitCoordinator.java:128)&lt;span class=&quot;error&quot;&gt;&amp;#91;259:org.opendaylight.controller.sal-distributed-datastore:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.Shard.handleCanCommitTransaction(Shard.java:389)&lt;span class=&quot;error&quot;&gt;&amp;#91;259:org.opendaylight.controller.sal-distributed-datastore:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;...&lt;/p&gt;

&lt;p&gt;2014-12-12 15:30:57,003 | WARN  | ds-oper-thread-0 | StatisticsManagerImpl            | 153 - org.opendaylight.controller.md.statistics-manager - 1.2.0.SNAPSHOT | Unhandled exception during processing statistics. Restarting transaction chain.&lt;br/&gt;
...&lt;br/&gt;
2014-12-12 15:30:57,003 | WARN  | CommitFutures-2  | StatisticsManagerImpl            | 153 - org.opendaylight.controller.md.statistics-manager - 1.2.0.SNAPSHOT | Failed to export Flow Capable Statistics, Transaction DOM-CHAIN-0-217 failed.&lt;br/&gt;
OptimisticLockFailedException&lt;/p&gt;
{message=Optimistic lock failed., errorList=[RpcError [message=Optimistic lock failed., severity=ERROR, errorType=APPLICATION, tag=resource-denied, applicationTag=null, info=null, cause=org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node was deleted by other transaction.]]}

&lt;p&gt;Note the &quot;Node was deleted by other transaction.&quot; error message. This appears to indicate some code (StatisticsManager?) is supposed to put stats under an OF node (id=openflow:2) but some parent node doesn&apos;t exist (probably the &quot;openflow:2&quot; Node itself), either because:&lt;br/&gt;
   1) it was deleted&lt;br/&gt;
   2) it hadn&apos;t been inserted yet&lt;br/&gt;
   3) a previous insert was attempted but failed&lt;/p&gt;

&lt;p&gt;It doesn&apos;t appear to be #3 because I don&apos;t see any previous commit failures in the log.&lt;/p&gt;

&lt;p&gt;There are also sporadic failures in &quot;Compatible.AD SAL NSF OF10&quot; - &lt;a href=&quot;https://jenkins.opendaylight.org/integration/job/integration-master-csit-cluster-min/205/robot/report/log.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/integration/job/integration-master-csit-cluster-min/205/robot/report/log.html&lt;/a&gt; - where &quot;FlowProgrammer.Check flow in flow stats&quot; and &quot;StatisticsManager.get port stats&quot; fail.&lt;/p&gt;

&lt;p&gt;These same tests have not been failing without clustering.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25624">CONTROLLER-1070</key>
            <summary>Clustering: Robot integration tests failing</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="tpantelis">Tom Pantelis</assignee>
                                    <reporter username="tpantelis">Tom Pantelis</reporter>
                        <labels>
                    </labels>
                <created>Mon, 15 Dec 2014 16:56:11 +0000</created>
                <updated>Sat, 24 Jan 2015 05:16:03 +0000</updated>
                            <resolved>Sat, 24 Jan 2015 05:16:03 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="49948" author="tpantelis" created="Mon, 5 Jan 2015 23:08:52 +0000"  >&lt;p&gt;The OptimisticLockFailedExceptions occur w/o clustering as well and aren&apos;t related to the test failures. &lt;/p&gt;

&lt;p&gt;Anil identified an issue in the StatisticsManager that is fixed by &lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=2551&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=2551&lt;/a&gt;. This appears to be the cause of the  intermittent test failures. The issue is actually not related to clustering although the failures only seemed to occur with clustering enabled; maybe just coincidence or clustering changes the timing of things to increase the chance for test failures. &lt;/p&gt;

&lt;p&gt;I&apos;ll leave this open for a bit to verify the integration tests succeed.&lt;/p&gt;</comment>
                            <comment id="49949" author="tpantelis" created="Sat, 24 Jan 2015 05:16:03 +0000"  >&lt;p&gt;There&apos;s still intermittent test failures but I&apos;ve also seen similar failures in the integration-master-csit-compatible-min tests w/o clustering.&lt;/p&gt;

&lt;p&gt;Closing this bug...&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>2516</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=2516]]></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="10315"><![CDATA[Lithium]]></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|i02oav:</customfieldvalue>

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