<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:40 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>[OPNFLWPLUG-504] flows statistics unstable  when 80k flow configured</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-504</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;used odl: distribution-karaf-0.3.0-Lithium-RC1-v201506160017.tar.gz&lt;/p&gt;

&lt;p&gt;installed feature: odl-openflowplugin-flowservices-ui-li&lt;/p&gt;


&lt;p&gt;when installed 80k flows, they were not collected, but after mininet restart all flow were collected well&lt;/p&gt;

&lt;p&gt;then after some time 4 switches were lost from inventory&lt;/p&gt;

&lt;p&gt;(1434487760.13342, 63, 74567, 74120)&lt;br/&gt;
(1434487792.004231, 63, 79567, 79000)&lt;br/&gt;
(1434487821.56991, 63, 79567, 79000)            HERE ONLY 79k of 80k COLLECTED&lt;br/&gt;
(1434487850.850809, 63, 79567, 79000)&lt;br/&gt;
(1434487881.234324, 63, 79567, 79000)          &lt;br/&gt;
Could not retrieve inventory, response not in JSON format&lt;br/&gt;
(1434487896.83477, 0, 0, 0)&lt;br/&gt;
Could not retrieve inventory, response not in JSON format     MININET RESTART&lt;br/&gt;
(1434487926.857697, 0, 0, 0)&lt;br/&gt;
Could not retrieve inventory, response not in JSON format&lt;br/&gt;
(1434487956.889432, 0, 0, 0)&lt;br/&gt;
(1434487991.114253, 30, 34490, 32880)&lt;br/&gt;
(1434488028.17617, 56, 68324, 67820)           7 SWITCHES LOST FROM INVENTORY&lt;br/&gt;
(1434488059.341353, 63, 80567, 80000)&lt;br/&gt;
(1434488089.260265, 63, 80567, 80000)&lt;br/&gt;
...&lt;br/&gt;
(1434488384.822826, 63, 80567, 80000)&lt;br/&gt;
(1434488419.865389, 59, 75451, 74920)&lt;br/&gt;
(1434488450.665859, 63, 80567, 80000)&lt;br/&gt;
(1434488475.408658, 63, 80567, 80000)&lt;br/&gt;
(1434488510.034752, 63, 80567, 80000)&lt;/p&gt;



&lt;p&gt;this can be just another variant of the same problem, which was reported here&lt;br/&gt;
&lt;a href=&quot;https://bugs.opendaylight.org/show_bug.cgi?id=3735&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugs.opendaylight.org/show_bug.cgi?id=3735&lt;/a&gt;, but stats collectio in Lithium RC1_June15 looked more stable than in this LIthium_RC1_June16 build&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27772">OPNFLWPLUG-504</key>
            <summary>flows statistics unstable  when 80k flow configured</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="michal.rehak">Michal Rehak</assignee>
                                    <reporter username="pgubka@cisco.com">Peter Gubka</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Jun 2015 21:15:05 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:35 +0000</updated>
                            <resolved>Fri, 18 Dec 2015 13:34:25 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="57128" author="pgubka@cisco.com" created="Tue, 16 Jun 2015 21:15:05 +0000"  >&lt;p&gt;Attachment karaf.log has been added with description: karaf log&lt;/p&gt;</comment>
                            <comment id="57114" author="kavitha_ramalingham@dell.com" created="Thu, 6 Aug 2015 11:46:45 +0000"  >&lt;p&gt;Hi Peter&lt;br/&gt;
                We tried to run the python script &#8220;flow_stats_stability_monitor.py&#8221; having 1 switch and installing 80K flows. We were able to successfully install the flows. I have few queries reg Bug ID : 3762&lt;/p&gt;

&lt;p&gt;&#8226;	Is this problem always re-creatable with 63 switches. We hit memory issues on our VMs, so couldn&#8217;t try with 63 switches. &lt;br/&gt;
&#8226;	You had mentioned that after restarting mininet, flows were not collected. Is this issue seen only during first time? &lt;br/&gt;
&#8226;	(1434487760.13342, 63, 74567, 74120) &#8211; Could you pl. provide background about what these fields mean, for our better understanding.&lt;br/&gt;
&#8226;	From the o/p (1434487881.234324, 63, 79567, 79000), my understanding is that the third argument holds the statistics of number of flows added and the last one reflects the actual flows added. With this i only infer that only 79K flows are added and the statistics reflects additional 567 flows. When the mininet is restarted,  (1434488510.034752, 63, 80567, 80000) 80 K flows have been added. However, statistics shows additional 567. So, i believe that there are 2 issues - (1) 1K flows not being added (2) Statistics shows additional 567 flows. Let me know if my understanding is right. &lt;/p&gt;

&lt;p&gt;Thanks and Regards&lt;br/&gt;
Kavitha&lt;/p&gt;</comment>
                            <comment id="57115" author="kavitha_ramalingham@dell.com" created="Thu, 6 Aug 2015 12:04:35 +0000"  >&lt;p&gt;Also, i would like to know about how &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-505&quot; title=&quot;stats for 80k fows not collected properly after mininet restart&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-505&quot;&gt;&lt;del&gt;OPNFLWPLUG-505&lt;/del&gt;&lt;/a&gt; is different from this bug.&lt;/p&gt;

&lt;p&gt;Thanks and regards&lt;br/&gt;
Kavitha&lt;/p&gt;</comment>
                            <comment id="57116" author="kavitha_ramalingham@dell.com" created="Thu, 6 Aug 2015 12:11:32 +0000"  >&lt;p&gt;I found that &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-494&quot; title=&quot;flow collection did not collect all flows before mininet restart&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-494&quot;&gt;&lt;del&gt;OPNFLWPLUG-494&lt;/del&gt;&lt;/a&gt; looks similar to this bug.&lt;/p&gt;</comment>
                            <comment id="57117" author="kavitha_ramalingham@dell.com" created="Wed, 12 Aug 2015 12:17:33 +0000"  >&lt;p&gt;I used latest image for my testing. I was able to successfully add 80K flows using the script flow_stats_stability_monitor.py and statistics were in tact. I&apos;ll wait for Peter to get back to understand the exact problem recreation steps. &lt;/p&gt;

&lt;p&gt;Excerpt from the o/p...&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;
		&lt;ul&gt;
			&lt;li&gt;Total flows added: 80000&lt;br/&gt;
    HTTP&lt;span class=&quot;error&quot;&gt;&amp;#91;OK&amp;#93;&lt;/span&gt; results:  4000&lt;/li&gt;
		&lt;/ul&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;(1439379949.190588, 63, 76640, 76000)&lt;br/&gt;
(1439379978.095428, 63, 80000, 80000)&lt;br/&gt;
(1439380014.07273, 63, 80000, 80000)&lt;br/&gt;
(1439380049.057831, 63, 80000, 80000)&lt;br/&gt;
(1439380073.981449, 63, 80000, 80000)&lt;br/&gt;
(1439380099.447188, 63, 80000, 80000)&lt;br/&gt;
(1439380130.397766, 63, 80000, 80000)&lt;br/&gt;
(1439380166.070169, 63, 80000, 80000)&lt;br/&gt;
(1439380188.765338, 63, 80000, 80000)&lt;br/&gt;
(1439380222.663056, 63, 80000, 80000)&lt;br/&gt;
(1439380254.579992, 63, 80000, 80000)&lt;br/&gt;
(1439380278.786276, 63, 80000, 80000)&lt;br/&gt;
(1439380312.380398, 63, 80000, 80000)&lt;br/&gt;
(1439380345.184222, 63, 80000, 80000)&lt;br/&gt;
(1439380370.950659, 63, 80000, 80000)&lt;br/&gt;
(1439380406.442469, 63, 80000, 80000)&lt;br/&gt;
(1439380430.161879, 63, 80000, 80000)&lt;br/&gt;
(1439380466.098296, 63, 80000, 80000)&lt;br/&gt;
(1439380491.369774, 63, 80000, 80000)&lt;br/&gt;
(1439380523.377546, 63, 80000, 80000)&lt;br/&gt;
(1439380552.993085, 63, 80000, 80000)&lt;br/&gt;
(1439380585.513106, 63, 80000, 80000)&lt;br/&gt;
(1439380608.89825, 63, 80000, 80000)&lt;br/&gt;
(1439380642.429276, 63, 80000, 80000)&lt;br/&gt;
(1439380676.319508, 63, 80000, 80000)&lt;br/&gt;
(1439380699.485387, 63, 80000, 80000)&lt;/p&gt;</comment>
                            <comment id="57118" author="pgubka@cisco.com" created="Mon, 17 Aug 2015 07:18:17 +0000"  >&lt;p&gt;The tupple (1434487760.13342, 63, 74567, 74120) contains &lt;br/&gt;
(timestamp, &lt;br/&gt;
nr of switches present in operational inventory, &lt;br/&gt;
flows present in table statistics of operationa invenroy datastore, &lt;br/&gt;
nr of flow details present in operational inventory)&lt;/p&gt;

&lt;p&gt;Since this bug was reported there are jobs like &lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-scale-stats-collection-daily-lithium-redesign-only-stable-lithium/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-scale-stats-collection-daily-lithium-redesign-only-stable-lithium/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;which automate the same workflow as it was done manually before. They use 100k flows and 63 switches. They are robotized. In the job builds #102 and #103 you can see that 100k was not collected with failure(build 103:&lt;br/&gt;
Keyword &apos;Check Flows Inventory&apos; failed after retrying for 7 minutes 30 seconds. The last error was: 100000.0 != 98421.0&lt;/p&gt;

&lt;p&gt;Also you can see that flow stats collection does not fail all the time. That it why i say &quot;unstable&quot; stats collection. All the builds which have all 11 tests passed were ok.&lt;/p&gt;</comment>
                            <comment id="57119" author="kavitha_ramalingham@dell.com" created="Thu, 20 Aug 2015 10:56:32 +0000"  >&lt;p&gt;I tried running the script more than 10 times. However, i was not able to hit the problem. Looks like its a timing issue. I&apos;ll go thro&apos; the code and see if there are any possibility for loophole. &lt;/p&gt;

&lt;p&gt;Peter, meanwhile can you pl. let me know if i can get access to your test set-up where i could recreate this problem.&lt;/p&gt;</comment>
                            <comment id="57120" author="abhijit2511" created="Fri, 25 Sep 2015 17:40:39 +0000"  >&lt;p&gt;Any thoughts Peter about reproducing this?&lt;br/&gt;
Also added Anil to the cc. Any thoughts Anil?&lt;/p&gt;</comment>
                            <comment id="57121" author="pgubka@cisco.com" created="Mon, 28 Sep 2015 07:53:22 +0000"  >&lt;p&gt;I dont know how to reproduce this &quot;on demand&quot;. I have been thinking about this since i reported this behavior. But having a look at yellow dots at &lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-scale-stats-collection-daily-lithium-redesign-only-stable-lithium/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-scale-stats-collection-daily-lithium-redesign-only-stable-lithium/&lt;/a&gt; we see that it is happening often.&lt;/p&gt;</comment>
                            <comment id="57122" author="vishnoianil@gmail.com" created="Sat, 3 Oct 2015 23:05:14 +0000"  >&lt;p&gt;Abhijit, this is related to statistics manager in alternate design, so i think michal would be the best person to comment on this.&lt;/p&gt;

&lt;p&gt;Anil&lt;/p&gt;</comment>
                            <comment id="57123" author="abhijit2511" created="Fri, 9 Oct 2015 17:11:52 +0000"  >&lt;p&gt;Michal,&lt;/p&gt;

&lt;p&gt;Can you comment?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Abhijit&lt;/p&gt;</comment>
                            <comment id="57124" author="kramesha@cisco.com" created="Fri, 9 Oct 2015 17:18:16 +0000"  >&lt;p&gt;Hi Peter ,&lt;/p&gt;

&lt;p&gt;Are you running in a single mininet all the switches? &lt;/p&gt;

&lt;p&gt;Sometimes i have seen disconnects and flows not getting properly installed in a single mininet vm.&lt;/p&gt;

&lt;p&gt;Can you retry by distributing the switches amongst more than 1 vm?&lt;/p&gt;</comment>
                            <comment id="57125" author="pgubka@cisco.com" created="Mon, 12 Oct 2015 07:45:13 +0000"  >&lt;p&gt;(In reply to Kamal Rameshan from comment #11)&lt;br/&gt;
&amp;gt; Hi Peter ,&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Are you running in a single mininet all the switches? &lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Sometimes i have seen disconnects and flows not getting properly installed&lt;br/&gt;
&amp;gt; in a single mininet vm.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Can you retry by distributing the switches amongst more than 1 vm?&lt;/p&gt;

&lt;p&gt;Hello.&lt;br/&gt;
At the moment all these tests run on single VM in integration jenkins. &lt;br/&gt;
Please note, that this issue it is not reproducible on demand and preparing local env with switches distributed over more VMs will take  time too. And as i have tasks with higher priorities these days, not really sure when i can get back to this issue.&lt;br/&gt;
Peter&lt;/p&gt;</comment>
                            <comment id="57126" author="abhijit2511" created="Fri, 30 Oct 2015 17:08:29 +0000"  >&lt;p&gt;Made to &quot;normal&quot; as stalled due to no easy way to reproduce the bug.&lt;/p&gt;</comment>
                            <comment id="57127" author="pgubka@cisco.com" created="Fri, 18 Dec 2015 13:34:25 +0000"  >&lt;p&gt;This bug is covered by the suite &lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-scale-stats-collection-daily-lithium-redesign-only-beryllium/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-scale-stats-collection-daily-lithium-redesign-only-beryllium/&lt;/a&gt;&lt;br/&gt;
and&lt;br/&gt;
&lt;a href=&quot;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-scale-stats-collection-daily-lithium-redesign-only-stable-lithium/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-periodic-scale-stats-collection-daily-lithium-redesign-only-stable-lithium/&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;The particular test is &quot;Stable State Monitoring&quot;. This test has failed in the past only when the previous test failed, because 100k flows were not present in the ds/operational.&lt;/p&gt;

&lt;p&gt;This bug would be valid only when this particular test fail as the only one in this suite. And this has not happened for several months.&lt;/p&gt;

&lt;p&gt;This bug was probably fixed as a side effect of stats manager improvement in the past. So closing ....&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="27762">OPNFLWPLUG-494</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="14000" name="karaf.log" size="553969" author="pgubka@cisco.com" created="Tue, 16 Jun 2015 21:15:05 +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>3762</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=3762]]></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="10317"><![CDATA[Beryllium]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10312"><![CDATA[High]]></customfieldvalue>

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

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