<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:55:30 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-1419] Clustering: LeaderTest failure in sal-akka-raft</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1419</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;I&apos;m seeing failures in LeaderTest.java in my setup. &lt;br/&gt;
After executing &apos;mvn clean install&apos; in sal-akka-raft, I get:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18:test (default-test) on project sal-akka-raft: There are test failures.&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; &lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; Please refer to /home/ssaxena/Work/controller/opendaylight/md-sal/sal-akka-raft/target/surefire-reports for the individual test results.&lt;/p&gt;


&lt;p&gt;The output in .../sal-akka-raft/target/surefire-reports/org.opendaylight.controller.cluster.raft.behaviors.LeaderTest.txt:&lt;/p&gt;

&lt;p&gt;-------------------------------------------------------------------------------&lt;br/&gt;
Test set: org.opendaylight.controller.cluster.raft.behaviors.LeaderTest&lt;br/&gt;
-------------------------------------------------------------------------------&lt;br/&gt;
Tests run: 39, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 11.033 sec &amp;lt;&amp;lt;&amp;lt; FAILURE! - in org.opendaylight.controller.cluster.raft.behaviors.LeaderTest&lt;br/&gt;
testInitiateInstallSnapshot(org.opendaylight.controller.cluster.raft.behaviors.LeaderTest)  Time elapsed: 5.054 sec  &amp;lt;&amp;lt;&amp;lt; FAILURE!&lt;br/&gt;
java.lang.AssertionError: Did not receive message of type class org.opendaylight.controller.cluster.raft.messages.AppendEntries&lt;br/&gt;
	at org.junit.Assert.fail(Assert.java:88)&lt;br/&gt;
	at org.opendaylight.controller.cluster.raft.utils.MessageCollectorActor.expectFirstMatching(MessageCollectorActor.java:125)&lt;br/&gt;
	at org.opendaylight.controller.cluster.raft.utils.MessageCollectorActor.expectFirstMatching(MessageCollectorActor.java:108)&lt;br/&gt;
	at org.opendaylight.controller.cluster.raft.behaviors.LeaderTest.testInitiateInstallSnapshot(LeaderTest.java:617)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25973">CONTROLLER-1419</key>
            <summary>Clustering: LeaderTest failure in sal-akka-raft</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="tpantelis">Tom Pantelis</assignee>
                                    <reporter username="ShaleenS">Shaleen Saxena</reporter>
                        <labels>
                    </labels>
                <created>Mon, 31 Aug 2015 18:53:07 +0000</created>
                <updated>Sat, 31 Oct 2015 15:00:11 +0000</updated>
                            <resolved>Sat, 31 Oct 2015 15:00:11 +0000</resolved>
                                    <version>Lithium</version>
                                                    <component>clustering</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="51033" author="tpantelis" created="Sat, 31 Oct 2015 15:00:11 +0000"  >&lt;p&gt;I&apos;ve seen similar intermittent failure in various test cases in LeaderTest. It always happens when the leader sends the first AppendEntries to the follower however the message goes to dead letters, which normally occurs and/or is supposed to occur when an actor is killed. This seems to be a timing issue/bug in akka, possibly with ActorSelection - maybe the actor isn&apos;t in a state to receive messages yet. &lt;/p&gt;

&lt;p&gt;I came up with a solution in &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/29027&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/29027&lt;/a&gt; that appears to alleviate the issue as the LeaderTest ran successfully over 1000 times.&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>4223</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=4223]]></customfieldvalue>

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

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

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