<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:46:15 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>[TSDR-52] Accept metrics list when bytes and packet metrics are missing</title>
                <link>https://jira.opendaylight.org/browse/TSDR-52</link>
                <project id="10179" key="TSDR">tsdr</project>
                    <description>&lt;p&gt;In NodeConnectorStatisticsChangeHandler a TDRMetricRecord list is built with direct array[] access from the FlowCapableNodeConnectorStatistics supplied.&#160; In some cases, a FlowCapableNodeConnectorStatistics instance is supplied without bytes and packet metrics.&#160; This fix enables building the TSDRMetricRecord with or without the bytes and packet metrics.&#160; It was failing when FlowCapableNodeConnectorStatistics did not supply the bytes and packet metrics.&lt;/p&gt;

&lt;p&gt;If this effects downstream processing, then that should probably be fixed to accomodate this change.&#160; The failing code was padding the TSDRMetricsRecord with a timestamp and no data.&#160; If downstream needs this then we should probably fix that as there is no data associated with the timestamp.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="29777">TSDR-52</key>
            <summary>Accept metrics list when bytes and packet metrics are missing</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="scottmelton">Scott Melton</assignee>
                                    <reporter username="scottmelton">Scott Melton</reporter>
                        <labels>
                    </labels>
                <created>Sat, 14 Apr 2018 02:33:55 +0000</created>
                <updated>Mon, 16 Apr 2018 02:35:27 +0000</updated>
                            <resolved>Sat, 14 Apr 2018 02:39:09 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                    <workratio workratioPercent="9223372036854775807"/>
                                    <progress percentage="100">
                                    <originalProgress>
                                                    <row percentage="0" backgroundColor="#89afd7"/>
                                                    <row percentage="100" backgroundColor="transparent"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="100" backgroundColor="#51a825"/>
                                                    <row percentage="0" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </progress>
                                    <aggregateprogress percentage="100">
                                    <originalProgress>
                                                    <row percentage="0" backgroundColor="#89afd7"/>
                                                    <row percentage="100" backgroundColor="transparent"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="100" backgroundColor="#51a825"/>
                                                    <row percentage="0" backgroundColor="#ec8e00"/>
                                            </currentProgress>
                            </aggregateprogress>
                                    <timeoriginalestimate seconds="0">0 minutes</timeoriginalestimate>
                            <timeestimate seconds="0">0 minutes</timeestimate>
                            <timespent seconds="3600">1 hour</timespent>
                                <comments>
                            <comment id="62425" author="scottmelton" created="Sat, 14 Apr 2018 02:39:09 +0000"  >&lt;p&gt;Fix was to properly build the TSDRMetricsRecord list when bytes and packet metrics are missing from the supplied FlowCapableNodeConnectorStatistics instance.&#160; The list builder assumed that if the other met4rics were present then the bytes and packet data was there too.&#160; This may indicate that the FlowCapableNodeConnectorStatistics isn&apos;t being built completely when the bytes and packet data is unavailable.&#160;&lt;/p&gt;</comment>
                            <comment id="62426" author="scottmelton" created="Sat, 14 Apr 2018 02:46:48 +0000"  >&lt;p&gt;Opened &lt;a href=&quot;https://jira.opendaylight.org/browse/TSDR-53&quot; title=&quot;Investigate FlowCapableNodeConnectorStatistics building&quot; class=&quot;issue-link&quot; data-issue-key=&quot;TSDR-53&quot;&gt;&lt;del&gt;TSDR-53&lt;/del&gt;&lt;/a&gt; to investigate if FlowCapableNodeConnectorStatistics is being created properly when bytes and packet data are missing or to fix all other downstream processing where bytes and packet data are expected, whichever is determined to be the right design.&lt;/p&gt;</comment>
                            <comment id="62427" author="scottmelton" created="Sat, 14 Apr 2018 02:50:32 +0000"  >&lt;p&gt;The failing test case below exposes NodeConnectorStatisticsChangeHandler is not checking for missing data returned from FlowCapableNodeConnectorStatistics before building the TSDRMetricsRecord.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;org.opendaylight.tsdr.datacollection.DataCollectionTest&lt;br/&gt;
 testNodeConnectorStatisticsChangeHandler(org.opendaylight.tsdr.datacollection.DataCollectionTest)&#160; Time elapsed: 0.022 sec&#160; &amp;lt;&amp;lt;&amp;lt; ERROR!&lt;br/&gt;
 java.lang.ArrayIndexOutOfBoundsException: 8&lt;/p&gt;</comment>
                            <comment id="62435" author="askb" created="Mon, 16 Apr 2018 01:37:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=scottmelton&quot; class=&quot;user-hover&quot; rel=&quot;scottmelton&quot;&gt;scottmelton&lt;/a&gt; If this test is already fixed in master branch, then should this test also be cherry picked to Carbon since it is still supported?  &lt;/p&gt;</comment>
                            <comment id="62436" author="scottmelton" created="Mon, 16 Apr 2018 02:35:27 +0000"  >&lt;p&gt;Yes, probably.&#160; I checked in the exact same code that was in master into carbon&#160; under a seperate patch.&#160; Is there a need to cherry pick?&#160; It is the exact code in both master and carbon?&#160; I will apply fixes to master and cherry pick to carbon in the future.&#160; I can redo that here if you think it is necessary?&#160; Thanks for looking after this.&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03ddz:</customfieldvalue>

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