<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:48:09 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>[VTN-137] CSIT Failure in Mininet Ping test cases of VTN Manager for Beryllium and Boron</title>
                <link>https://jira.opendaylight.org/browse/VTN-137</link>
                <project id="10185" key="VTN">vtn</project>
                    <description>&lt;p&gt;In releng, sometimes CSIT test cases are failing in Mininet Ping test cases. Also failure in differnt functionality in each failing time. By analyzing log seems it&apos;s a path-fault issue.&lt;/p&gt;

&lt;p&gt;And this is occurs both in Beryllium and Boron.&lt;/p&gt;

&lt;p&gt;This issue occurs only in releng, it is not reproduced in local machine.&lt;/p&gt;

&lt;p&gt;Below is one of the scenarios in which Mininet Ping Test cases are failing due path-fault issue.&lt;/p&gt;

&lt;p&gt;Test scenario:&lt;br/&gt;
==============&lt;br/&gt;
CSIT for &quot;VBR IF Flowfilter&quot; with action &quot;vtn-set-vlan-pcp-action&quot;&lt;/p&gt;

&lt;p&gt;Topology used&lt;br/&gt;
=============&lt;br/&gt;
Created topology in mininet for Network with hosts in different vlan.&lt;br/&gt;
&lt;a href=&quot;https://wiki.opendaylight.org/view/OpenDaylight_Virtual_Tenant_Network_(VTN):Scripts:Mininet#Network_with_hosts_in_different_vlan&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/OpenDaylight_Virtual_Tenant_Network_(VTN):Scripts:Mininet#Network_with_hosts_in_different_vlan&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Following are the steps followed in the CSIT test script for both OF10 and OF13.&lt;/p&gt;

&lt;p&gt;1.	Create  Tenant1&lt;br/&gt;
2.	Create  vBridge1&lt;br/&gt;
3.	Create  interfaces(if1 and if2) in vBridge1&lt;br/&gt;
4.	Create portmapping for if1 and if2.&lt;br/&gt;
5.	Add flow condition to match h1, h3 ip address&lt;br/&gt;
6.	Add VTN flowfilter to set flow action &quot;vtn-set-vlan-pcp-action&quot;)&lt;br/&gt;
7.	Ping h1 and h3&lt;br/&gt;
8.	Verify ping Success ---&amp;gt; Here test case fails.&lt;br/&gt;
9.	Read the flow entries in mininet switch s2 to verify actions=mod_vlan_pcp is set or not.  --&amp;gt; Due to ping failure in before step here flow entry is not installed with vlan-pcp , so here also tets failure.&lt;/p&gt;

&lt;p&gt;The above failure is in the below link of jenkins releng,&lt;br/&gt;
&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/vtn-csit-1node-manager-only-beryllium/505/archives/log.html.gz#s1-s1-s6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/vtn-csit-1node-manager-only-beryllium/505/archives/log.html.gz#s1-s1-s6&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;I have analyzed the karaf.log for the above failure which is in below link,&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/vtn-csit-1node-manager-only-beryllium/505/archives/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/vtn-csit-1node-manager-only-beryllium/505/archives/karaf.log.gz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;From the above log i have observed, path-fault issue occur which makes vbridge status to down. Which in turn gives error while we ping between hosts.&lt;/p&gt;

&lt;p&gt;2016-07-21 07:56:54,660 | TRACE | Runner: VTN Main | VTNPassFilter                    | 177 - org.opendaylight.vtn.manager.implementation - 0.4.3.SNAPSHOT | vBridge-IF:Tenant1/vBridge1/if1%IN.1: Flow action was applied: VTNSetVlanPcpAction&lt;span class=&quot;error&quot;&gt;&amp;#91;pcp=6,order=1&amp;#93;&lt;/span&gt;&lt;br/&gt;
2016-07-21 07:56:54,660 | TRACE | Runner: VTN Main | VTNPassFilter                    | 177 - org.opendaylight.vtn.manager.implementation - 0.4.3.SNAPSHOT | vBridge-IF:Tenant1/vBridge1/if1%IN.1: Packet matched the condition: cond_1&lt;br/&gt;
2016-07-21 07:56:54,665 | TRACE | TN Flow Thread-0 | FlowAddContext                   | 177 - org.opendaylight.vtn.manager.implementation - 0.4.3.SNAPSHOT | Flow entry has been installed: flow=[id=7f5600000000002b-1, pri=10, timeout=(0,0), node=openflow:1, ingress=openflow:1:2, cond=&lt;/p&gt;
{DL_SRC=d6:6a:2d:b5:2e:96,DL_DST=2a:f9:1d:d3:fd:9e,DL_VLAN=200}
&lt;p&gt;, actions=&lt;/p&gt;
{OUTPUT(port=openflow:1:1, len=65535)}
&lt;p&gt;2016-07-21 07:56:54,666 | WARN  | on-dispatcher-70 | VTenantManager                   | 177 - org.opendaylight.vtn.manager.implementation - 0.4.3.SNAPSHOT | vBridge:Tenant1/vBridge1: Path fault: openflow:1 -&amp;gt; openflow:2&lt;br/&gt;
2016-07-21 07:56:54,666 | INFO  | on-dispatcher-70 | VTenantManager                   | 177 - org.opendaylight.vtn.manager.implementation - 0.4.3.SNAPSHOT | vBridge:Tenant1/vBridge1: vBridge status has been changed: old=&lt;/p&gt;
{state=UP, path-faults=0}
&lt;p&gt;, new=&lt;/p&gt;
{state=DOWN, path-faults=1}
&lt;p&gt;2016-07-21 07:56:54,667 | TRACE | TN Flow Thread-0 | FlowAddContext                   | 177 - org.opendaylight.vtn.manager.implementation - 0.4.3.SNAPSHOT | Flow entry has been installed: flow=[id=7f5600000000002b-0, pri=10, timeout=(300,0), node=openflow:2, ingress=openflow:2:3, cond=&lt;/p&gt;
{DL_SRC=d6:6a:2d:b5:2e:96,DL_DST=2a:f9:1d:d3:fd:9e,DL_VLAN=200}
&lt;p&gt;, actions=&lt;/p&gt;
{OUTPUT(port=openflow:2:1, len=65535)}</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26517">VTN-137</key>
            <summary>CSIT Failure in Mininet Ping test cases of VTN Manager for Beryllium and Boron</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="siva-karthik@hcl.com">Karthik Sivasamy</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 Jul 2016 13:13:31 +0000</created>
                <updated>Thu, 19 Oct 2017 21:25:09 +0000</updated>
                                            <version>unspecified</version>
                                                    <component>VTN Manager</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="53129" author="siva-karthik@hcl.com" created="Thu, 21 Jul 2016 13:42:36 +0000"  >&lt;p&gt;This failures occured in below jobs,&lt;/p&gt;

&lt;p&gt;1) &lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-csit-1node-manager-only-beryllium/505/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-csit-1node-manager-only-beryllium/505/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2) &lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/vtn-csit-1node-manager-only-boron/550/archives/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/vtn-csit-1node-manager-only-boron/550/archives/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;3) &lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/vtn-csit-1node-manager-all-beryllium/367/archives/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/vtn-csit-1node-manager-all-beryllium/367/archives/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;4) &lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/vtn-csit-3node-manager-all-boron/14/archives/odl1_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/vtn-csit-3node-manager-all-boron/14/archives/odl1_karaf.log.gz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;5)&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/vtn-csit-3node-manager-only-boron/29/archives/odl1_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/vtn-csit-3node-manager-only-boron/29/archives/odl1_karaf.log.gz&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53130" author="siva-karthik@hcl.com" created="Tue, 9 Aug 2016 03:39:58 +0000"  >&lt;p&gt;Pushed patch &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/42703/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/42703/&lt;/a&gt;.&lt;br/&gt;
In this patch, we have modified vlanmap topology, added topology wait time to increase wait time for topology updation, modified test cases for the new topology.&lt;/p&gt;

&lt;p&gt;Reason for the patch:&lt;br/&gt;
====================&lt;br/&gt;
We had seen the issue was due to delay in update of Inter-switch link connection. To verify we have modified topology which is same as other topology used in tests.&lt;/p&gt;

&lt;p&gt;Tested the above patch in Sandbox and issue is not reproduced.&lt;/p&gt;

&lt;p&gt;After the patch got merged, need to check in releng if the changes of topology solved the path-fault issue. If else need to investigate what makes topology issue in vlanmapping.&lt;/p&gt;</comment>
                            <comment id="53131" author="siva-karthik@hcl.com" created="Tue, 9 Aug 2016 03:53:00 +0000"  >&lt;p&gt;Patch Merged in Git on Aug 2nd.&lt;/p&gt;

&lt;p&gt;Checked releng jobs after the patch got merged, but still again path-fault issue reproduced in some releng jobs. Mainly in vtn-csit-3node-all-boron.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/releng/jenkins092/vtn-csit-3node-manager-all-boron/35/archives/log.html.gz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/jenkins092/vtn-csit-3node-manager-all-boron/35/archives/log.html.gz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To investigate further, Now we are trying to enable TRACE log for openflowplugin and reducing topology wait time lesser than default time 3000ms. &lt;/p&gt;

&lt;p&gt;Patch pushed to analyse the issue,&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/43210/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/43210/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53132" author="gvrangan" created="Wed, 24 Aug 2016 15:59:44 +0000"  >&lt;p&gt;Tests have been excluded tempororily. This will be taken up after release to analyze the problem again.&lt;/p&gt;</comment>
                            <comment id="53133" author="siva-karthik@hcl.com" created="Fri, 2 Dec 2016 10:28:23 +0000"  >&lt;p&gt;Pushed patch by enabling vlan-pcp test cases from vbrifflowfilter test file.&lt;/p&gt;

&lt;p&gt;Patch,&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/48911/2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/48911/2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Tested and Verified in sandbox with the below jobs, issue is not reproduced. All tests are working fine.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/sandbox/job/vtn-csit-1node-manager-only-boron/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/sandbox/job/vtn-csit-1node-manager-only-boron/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/sandbox/job/vtn-csit-3node-manager-all-boron/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/sandbox/job/vtn-csit-3node-manager-all-boron/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/sandbox/job/vtn-csit-3node-manager-only-boron/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/sandbox/job/vtn-csit-3node-manager-only-boron/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After the patch get merge, will wait few test to run in jenkins. IF the issue is not reproduced again will close this bug.&lt;/p&gt;</comment>
                            <comment id="53134" author="gvrangan" created="Wed, 11 Jan 2017 16:22:04 +0000"  >&lt;p&gt;Problem recreated here&lt;br/&gt;
hhttps://logs.opendaylight.org/releng/jenkins092/vtn-csit-3node-manager-all-boron/185/archives/log.html.gz#s1-s2-s7-t13&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>6245</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=6245]]></customfieldvalue>

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

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