<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:48:06 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-121] CSIT for VTN Manager failed to test flow filter</title>
                <link>https://jira.opendaylight.org/browse/VTN-121</link>
                <project id="10185" key="VTN">vtn</project>
                    <description>&lt;p&gt;The following CSIT for Beryllium VTN Manager occasional failed to test flow filter functions.&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-csit-1node-manager-all-beryllium/&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-all-beryllium/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For example, there was one failure on the build #81.&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-csit-1node-manager-all-beryllium/81/robot/report/log.html&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-all-beryllium/81/robot/report/log.html&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-csit-1node-manager-all-beryllium/81/robot/report/log.html#s1-s1-s3-t19-k1&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-all-beryllium/81/robot/report/log.html#s1-s1-s3-t19-k1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For example, there was one failure on the build #82.&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-csit-1node-manager-all-beryllium/82/&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-all-beryllium/82/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-csit-1node-manager-all-beryllium/82/robot/report/log.html#s1-s2-s4-t19-k1&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-all-beryllium/82/robot/report/log.html#s1-s2-s4-t19-k1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The CSIT configures flow filters, and sends packets which match the flow filters.&lt;br/&gt;
After that, the CSIT checks if flow entries for the flow filters are correctly created.&lt;br/&gt;
However, the CSIT found that the flow entries were not created.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26501">VTN-121</key>
            <summary>CSIT for VTN Manager failed to test flow filter</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="siva-karthik@hcl.com">Karthik Sivasamy</assignee>
                                    <reporter username="Hideyuki1985">Hideyuki Tai</reporter>
                        <labels>
                    </labels>
                <created>Wed, 17 Feb 2016 17:56:22 +0000</created>
                <updated>Tue, 22 Mar 2016 09:57:57 +0000</updated>
                            <resolved>Tue, 22 Mar 2016 09:57:57 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>VTN Manager</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="53090" author="hideyuki.tai@necam.com" created="Wed, 17 Feb 2016 19:52:04 +0000"  >&lt;p&gt;It seems to me that there were other applications which installed flow entries during the tests.&lt;/p&gt;

&lt;p&gt;The following page shows flow entries during failed test case.&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-csit-1node-manager-all-beryllium/81/robot/report/log.html#s1-s1-s3-t19-k1-k20-k1-k1-k3-k1-k1&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-all-beryllium/81/robot/report/log.html#s1-s1-s3-t19-k1-k20-k1-k1-k3-k1-k1&lt;/a&gt;&lt;br/&gt;
However, it seems to me that these flow entries are different from what VTN Manager installs.&lt;br/&gt;
I guess other application installed these flow entries.&lt;br/&gt;
I guess that is related to the failure (&lt;a href=&quot;https://jira.opendaylight.org/browse/VTN-121&quot; title=&quot;CSIT for VTN Manager failed to test flow filter&quot; class=&quot;issue-link&quot; data-issue-key=&quot;VTN-121&quot;&gt;&lt;del&gt;VTN-121&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;For your information, the following page shows flow entries while this test case worked well. &lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-csit-1node-manager-all-beryllium/82/robot/report/log.html#s1-s1-s3-t19-k1-k1-k1-k1-k2&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-all-beryllium/82/robot/report/log.html#s1-s1-s3-t19-k1-k1-k1-k1-k2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53091" author="hideyuki.tai@necam.com" created="Wed, 17 Feb 2016 20:10:38 +0000"  >&lt;p&gt;Reading the karaf.log on the CSIT, I&apos;ve noticed that SFC OFL2 Renderer and NetVirt was installed. These are applications which install flow entries into OpenFlow switches.&lt;/p&gt;


&lt;p&gt;And, I&apos;ve found the following patch which, I guess, would fix the issue.&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/34780/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/34780/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let&apos;s wait for the merge of the patch, and see if the same failure happens after the merge.&lt;/p&gt;</comment>
                            <comment id="53092" author="hideyuki.tai@necam.com" created="Wed, 24 Feb 2016 19:11:47 +0000"  >&lt;p&gt;The error have not occurred in the CSIT for beryllium since the following patch is merged into the beryllium branch of the distribution group.&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/34780/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/34780/&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;However, Similar failures happened in the CSIT for the master branch.&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/job/vtn-csit-1node-manager-only-boron/133/robot/report/log.html#s1-s1-s3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/job/vtn-csit-1node-manager-only-boron/133/robot/report/log.html#s1-s1-s3&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;FYI, I&apos;m waiting the following patch is merged.&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/35352/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/35352/&lt;/a&gt;&lt;br/&gt;
(The master branch of the integration/distribution.git.)&lt;/p&gt;</comment>
                            <comment id="53093" author="siva-karthik@hcl.com" created="Thu, 25 Feb 2016 12:51:28 +0000"  >&lt;p&gt;While i test in sandbox with latest Beryllium code. I find two test case failed in sandbox. &lt;/p&gt;

&lt;p&gt;There was failure in flowfilter and below is the link.&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/sandbox/job/vtn-csit-1node-manager-all-beryllium/2/robot/report/log.html#s1-s1-s3-t32&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-all-beryllium/2/robot/report/log.html#s1-s1-s3-t32&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jenkins.opendaylight.org/sandbox/job/vtn-csit-1node-manager-all-beryllium/2/robot/report/log.html#s1-s2-s4-t23&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-all-beryllium/2/robot/report/log.html#s1-s2-s4-t23&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="53094" author="siva-karthik@hcl.com" created="Mon, 7 Mar 2016 18:15:06 +0000"  >&lt;p&gt;Analysis of the CSIT flow-filter test case failures&lt;/p&gt;

&lt;p&gt;The CSIT flow filter test case was failing in the CSIT setup for inet-src-action/inet-dst-action. &lt;/p&gt;

&lt;p&gt;Test scenarios Failed&lt;br/&gt;
&#8226;	VTN Flow filter&lt;br/&gt;
&#8226;	VBridge flow filter.&lt;/p&gt;

&lt;p&gt;Test scenarios Passed &lt;br/&gt;
&#8226;	VBridge Interface flow filter.&lt;/p&gt;

&lt;p&gt;Order of Test scenarios execution &lt;br/&gt;
&#8226;	VTN Flow filter&lt;br/&gt;
&#8226;	vBridge Flow filter&lt;br/&gt;
&#8226;	vBridge Interface flow filter.&lt;/p&gt;

&lt;p&gt;Initial analysis of the test case&lt;br/&gt;
&#8226;	Incorrect inputs values were provided to the inet-ser/inet-dst parameters&lt;br/&gt;
&#8226;	The ping was expected to be success as the input parameters were incorrect.&lt;br/&gt;
&#8226;	Dump flow analysis verification was incorrect as the parameters were incorrect.&lt;/p&gt;

&lt;p&gt;Changes done to the test case&lt;br/&gt;
&#8226;	Input parameters were modified to expected values for inet-ser/inet-dst parameters&lt;br/&gt;
&#8226;	The ping verification was modified for failure as the src/dst ip address were modified.&lt;br/&gt;
&#8226;	Dump flow analysis verification was modified to verify the correct set action in the edge port switch.&lt;/p&gt;


&lt;p&gt;Topology used&lt;br/&gt;
h1,h2 &amp;lt;--&lt;del&gt;&amp;gt; s2 &amp;lt;&lt;/del&gt;-&lt;del&gt;&amp;gt; s1 &amp;lt;&lt;/del&gt;-&lt;del&gt;&amp;gt; s3 &amp;lt;&lt;/del&gt;--&amp;gt; h3,h4&lt;/p&gt;

&lt;p&gt;Following are the steps followed in the CSIT test script.&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.	Ping h1 and h3 &lt;br/&gt;
6.	Verify Ping success&lt;br/&gt;
7.	Create vBridge2,&lt;br/&gt;
8.	Create interfaces(if3and if4) in Vbridge 2,&lt;br/&gt;
9.	Create portmapping for if3 and if4.&lt;br/&gt;
10.	Ping h3 and h4	&lt;br/&gt;
11.	Verify ping success&lt;br/&gt;
12.	Add flow condition to match h1, h3 ip address&lt;br/&gt;
13.	Add VTN flowfilter to set flow action (vtn-set-inet-src-action/ vtn-set-inet-dst-action)&lt;br/&gt;
14.	Ping h1 and h3&lt;br/&gt;
15.	Verify ping failure&lt;br/&gt;
16.	Read the flow entries in mininet switch s3 to verify actions=mod_nw_src is set or not.&lt;br/&gt;
17.	Add VBR flowfilter to set flow action (vtn-set-inet-src-action/ vtn-set-inet-dst-action)&lt;br/&gt;
18.	Ping h1 and h3&lt;br/&gt;
19.	Verify ping failure&lt;br/&gt;
20.	Read the flow entries in mininet switch s3 to verify actions=mod_nw_src is set or not.&lt;br/&gt;
21.	Add VBRIf flowfilter in If1 to set flow action (vtn-set-inet-src-action/ vtn-set-inet-dst-action)&lt;br/&gt;
22.	Ping h1 and h3&lt;br/&gt;
23.	Verify ping failure&lt;br/&gt;
24.	Read the flow entries in mininet switch s3 to verify actions=mod_nw_src is set or not.&lt;br/&gt;
25.	Delete flow condition&lt;br/&gt;
26.	Delete vtn1&lt;/p&gt;

&lt;p&gt;In the above steps step 16 and step 20 failed but step 24 is success.&lt;br/&gt;
After the above changes were done, It was observed that steps 16 and step 20 were still failing as before. The issue was the correct flows were not available in the switch when the flows were dumped in mininet switch. So the flow verification test case failed.&lt;br/&gt;
To understand the issues, Karaf log was analyzed for VTN Manager module while the above steps were executed.&lt;br/&gt;
Karaf log file name - all_flowfilter.log&lt;/p&gt;

&lt;p&gt;VTN flow filter - Test steps 13 &#8211; 16.&lt;/p&gt;

&lt;p&gt;a)	Flow entry install request is issued in line 1521 at time stamp 2016-03-04 10:15:30,965 &lt;br/&gt;
b)	Flow entries remove request has be issued in line 1531 at time stamp 2016-03-04 10:15:31,034&lt;/p&gt;

&lt;p&gt;VBR Flow filter &#8211; Test steps 17 &#8211; 20&lt;br/&gt;
a)	Flow entry install request is issued in line 1905 at time stamp 2016-03-04 10:15:53,201&lt;br/&gt;
b)	Flow entries remove request has be issued in line 1934 at time stamp 2016-03-04 10:15:56,781&lt;/p&gt;

&lt;p&gt;In both the above cases its observed that the flow entries are removed after the below log message&lt;br/&gt;
Ignore packet from internal node connector: openflow:2:3&lt;/p&gt;

&lt;p&gt;VBR Flow filter &#8211; Test steps 21 &#8211; 24&lt;br/&gt;
a)	Flow entry install request is issued in line 2112 at time stamp 2016-03-04 10:16:16,010&lt;br/&gt;
b)	Flow entries remove request has be issued in line 1934 at time stamp 2016-03-04 10:16:28,130&lt;/p&gt;

&lt;p&gt;In this case the flow verification is success as the flows are removed only during the removal of the vtn configuration during step 25, 26.&lt;/p&gt;

&lt;p&gt;From our analysis, the flows for VTN Flow filter and VBridge flowfilter are removed in VTN Manager before the test can verify the flows.&lt;/p&gt;

&lt;p&gt;Tried to verify this behavior by manually creating VTN, VBridge and VBridge IF flow filter. But not able to reproduce the same behavior. &lt;/p&gt;

&lt;p&gt;Manual test &#8211; vtn flow filter&lt;br/&gt;
Manually Tested creating vtn flowfilter with the above scenario. &lt;br/&gt;
Configured flow filters, and send packets which match the flow filters.&lt;br/&gt;
After that, checked if flow entries for the flow filters are correctly created in mininet.&lt;br/&gt;
As expected  Flow entry created in Switch s3.&lt;/p&gt;

&lt;p&gt;In manualflow.log&lt;/p&gt;

&lt;p&gt;1)	Created VTN, VBR, IF1 and IF2, portmapping IF1 and IF2. &lt;br/&gt;
2)	Added Flowconditions and created VTN flowfilter with actions inetdrc and inetdst.&lt;br/&gt;
3)	As expected Ping fails between hosts h1 and h3.&lt;br/&gt;
4)	Checked dumpflows flow actions listed in mininet dumpflows.&lt;br/&gt;
5)	In manualflow.log Line No: :2112, Flow entries has been created at time stamp 2016-03-07 04:42:27,685 &lt;br/&gt;
6)	Flow entries is not deleted unless we manually remove flows. &lt;/p&gt;


&lt;p&gt;Request VTN Manager teams support to analyze the logs and inform if there is any issue in the CSIT test procedure. &lt;/p&gt;


&lt;p&gt;Attached log file ff_karaf.log&lt;/p&gt;</comment>
                            <comment id="53097" author="siva-karthik@hcl.com" created="Mon, 7 Mar 2016 18:15:50 +0000"  >&lt;p&gt;Attachment ff_karaf.log has been added with description: Karaf log enabled TRACE&lt;/p&gt;</comment>
                            <comment id="53095" author="hideyuki.tai@necam.com" created="Mon, 7 Mar 2016 22:09:40 +0000"  >&lt;p&gt;The problem still happened in recent builds.&lt;/p&gt;

&lt;p&gt;For example:&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-csit-1node-manager-only-beryllium/216/&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/216/&lt;/a&gt;&lt;br/&gt;
(Mar 6, 2016)&lt;/p&gt;</comment>
                            <comment id="53096" author="siva-karthik@hcl.com" created="Tue, 22 Mar 2016 09:57:57 +0000"  >&lt;p&gt;The following CSIT for Beryllium to verify flowentries are working fine in below CSIT Beryllium jobs.&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-csit-1node-manager-only-beryllium/&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/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-csit-1node-manager-all-beryllium/&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-all-beryllium/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;From 11/03/2016 we have checked the above CSIT jobs and there is no failures occurred which is related to Verify flowentries.&lt;/p&gt;

&lt;p&gt;The issue is fixed after the following patch is merged.&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/36039/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/36039/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13711" name="ff_karaf.log" size="751227" author="siva-karthik@hcl.com" created="Mon, 7 Mar 2016 18:15:50 +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>5372</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=5372]]></customfieldvalue>

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

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