<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:38 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-491] NPE while restconf flow update</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-491</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;odl: Lithium RC0&lt;/p&gt;


&lt;p&gt;features: odl-openflowplugin-flow-services-ui    (He design plugin)&lt;br/&gt;
or&lt;br/&gt;
features: odl-openflowplugin-flow-services-ui-li  (Li design plugin)&lt;/p&gt;


&lt;p&gt;i have run suites from integration git as &lt;br/&gt;
pybot -v CONTROLLER:10.25.2.9 -v MININET:127.0.0.1 -v MININET_USER:mininet -v USER_HOME:/home/mininet -v RESTCONFPORT:8181 tools/OF_Test/robot_suites/998_&lt;em&gt;Independent_OF_Tests_ovs/020&lt;/em&gt;_Flow_Data_Tests.txt csit/suites/openflowplugin/Flows_OF13 csit/suites/openflowplugin/Flows_Stats_OF13 csit/suites/openflowplugin/Flows_Additional_TCs/Stat_Manager_extended&lt;/p&gt;

&lt;p&gt;running just suite csit/suites/openflowplugin/Flows_Additional_TCs/Stat_Manager_extended  does not replicate the case and test are passing&lt;/p&gt;



&lt;p&gt;updating the flow in config datastore returns http status 400 with {&quot;errors&quot;:{&quot;error&quot;:[&lt;/p&gt;
{&quot;error-type&quot;:&quot;protocol&quot;,&quot;error-tag&quot;:&quot;malformed-message&quot;,&quot;error-message&quot;:&quot;Error parsing input: Content is not allowed in prolog.&quot;}
&lt;p&gt;]}}&lt;/p&gt;


&lt;p&gt;He designed ofp:&lt;/p&gt;

&lt;p&gt;2015-06-08 08:48:00,964 | WARN  | tp2108625922-608 | ServletHandler                   | 208 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.15.v20140411 | /restconf/operations/sal-flow:update-flow&lt;br/&gt;
java.lang.NullPointerException&lt;br/&gt;
        at org.opendaylight.openflowplugin.openflow.md.core.sal.OFRpcTaskFactory$2OFRpcTaskImpl.&amp;lt;init&amp;gt;(OFRpcTaskFactory.java:320)&lt;br/&gt;
        at org.opendaylight.openflowplugin.openflow.md.core.sal.OFRpcTaskFactory.createUpdateFlowTask(OFRpcTaskFactory.java:414)&lt;br/&gt;
        at org.opendaylight.openflowplugin.openflow.md.core.sal.ModelDrivenSwitchImpl.updateFlow(ModelDrivenSwitchImpl.java:230)&lt;/p&gt;


&lt;p&gt;Li designed ofp:&lt;/p&gt;

&lt;p&gt;2015-06-08 09:04:01,719 | ERROR | entLoopGroup-6-2 | ExecutionList                    | 61 - com.google.guava - 18.0.0 | RuntimeException while executing runnable com.google.common.util.concurrent.Futures$6@112f6844 with executor INSTANCE&lt;br/&gt;
java.lang.NullPointerException&lt;br/&gt;
        at org.opendaylight.openflowplugin.impl.services.SalFlowServiceImpl$3.onSuccess(SalFlowServiceImpl.java:157)&lt;span class=&quot;error&quot;&gt;&amp;#91;195:org.opendaylight.openflowplugin.impl:0.1.0.Lithium-RC0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.openflowplugin.impl.services.SalFlowServiceImpl$3.onSuccess(SalFlowServiceImpl.java:151)&lt;span class=&quot;error&quot;&gt;&amp;#91;195:org.opendaylight.openflowplugin.impl:0.1.0.Lithium-RC0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.google.common.util.concurrent.Futures$6.run(Futures.java:1319)&lt;span class=&quot;error&quot;&gt;&amp;#91;61:com.google.guava:18.0.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)&lt;span class=&quot;error&quot;&gt;&amp;#91;61:com.google.guava:18.0.0&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="27759">OPNFLWPLUG-491</key>
            <summary>NPE while restconf flow update</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="jgloncak">Jozef Gloncak</assignee>
                                    <reporter username="pgubka@cisco.com">Peter Gubka</reporter>
                        <labels>
                    </labels>
                <created>Mon, 8 Jun 2015 09:15:27 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:34 +0000</updated>
                            <resolved>Mon, 15 Jun 2015 11:09:20 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="57052" author="pgubka@cisco.com" created="Mon, 8 Jun 2015 09:15:27 +0000"  >&lt;p&gt;Attachment karaf.log.li.zip has been added with description: Li karaf.log&lt;/p&gt;</comment>
                            <comment id="57053" author="pgubka@cisco.com" created="Mon, 8 Jun 2015 09:15:59 +0000"  >&lt;p&gt;Attachment karaf.log.He.zip has been added with description: He karaf log&lt;/p&gt;</comment>
                            <comment id="57042" author="jgloncak" created="Mon, 8 Jun 2015 11:16:40 +0000"  >&lt;p&gt;It looks like this problem (He part) has been already discovered under &lt;a href=&quot;https://jira.opendaylight.org/browse/OPNFLWPLUG-487&quot; title=&quot;sal-service update-fllow return http status 500&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OPNFLWPLUG-487&quot;&gt;&lt;del&gt;OPNFLWPLUG-487&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
It has been merged yet.&lt;/p&gt;

&lt;p&gt;I am going to fix Li part.&lt;/p&gt;</comment>
                            <comment id="57043" author="jgloncak" created="Mon, 8 Jun 2015 11:36:47 +0000"  >&lt;p&gt;This should solve problem in Li&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/22090&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/22090&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I am going to test it a s Peter described earlier.&lt;/p&gt;</comment>
                            <comment id="57044" author="jgloncak" created="Mon, 8 Jun 2015 12:56:28 +0000"  >&lt;p&gt;tar file was sent to Peter Gubka for testing&lt;/p&gt;</comment>
                            <comment id="57045" author="pgubka@cisco.com" created="Tue, 9 Jun 2015 07:48:55 +0000"  >&lt;p&gt;(In reply to Jozef Gloncak from comment #4)&lt;br/&gt;
&amp;gt; tar file was sent to Peter Gubka for testing&lt;/p&gt;

&lt;p&gt;File tested, looks like the issue is not fixed. Feedback given to Jozef.&lt;/p&gt;</comment>
                            <comment id="57046" author="jgloncak" created="Tue, 9 Jun 2015 12:12:08 +0000"  >&lt;p&gt;I created:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;reference output.xml (1) for tests specified below from rc0 build&lt;/li&gt;
	&lt;li&gt;build OF distribution with patch under &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1362&quot; title=&quot;RPC call error - impossible to call RPC&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1362&quot;&gt;&lt;del&gt;CONTROLLER-1362&lt;/del&gt;&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;run below mentioned tests (result was output.xml (2))&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Both outputs (1) and (2) passed equally (it means which passed in 1 also passed in 2 and which didn&apos;t passed in 1 also didn&apos;t passed in 2).&lt;/p&gt;

&lt;p&gt;Conclusion: after merging patch from &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1362&quot; title=&quot;RPC call error - impossible to call RPC&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1362&quot;&gt;&lt;del&gt;CONTROLLER-1362&lt;/del&gt;&lt;/a&gt;, problem reported in this bug should disappear.&lt;/p&gt;</comment>
                            <comment id="57047" author="mirehak@cisco.com" created="Wed, 10 Jun 2015 13:17:35 +0000"  >&lt;p&gt;merged&lt;/p&gt;</comment>
                            <comment id="57048" author="jgloncak" created="Wed, 10 Jun 2015 13:47:34 +0000"  >&lt;p&gt;After merge of patch from &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1362&quot; title=&quot;RPC call error - impossible to call RPC&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1362&quot;&gt;&lt;del&gt;CONTROLLER-1362&lt;/del&gt;&lt;/a&gt; this problem is no more observed in Li. In He I wasn&apos;t able to run tests.&lt;/p&gt;</comment>
                            <comment id="57049" author="pgubka@cisco.com" created="Thu, 11 Jun 2015 10:11:37 +0000"  >&lt;p&gt;With a new odl the wrong behaviour is still present in Li designed ofp (http status 400 is returned).&lt;br/&gt;
But there is nothing interesting in the log (in attachment)&lt;/p&gt;</comment>
                            <comment id="57054" author="pgubka@cisco.com" created="Thu, 11 Jun 2015 10:12:04 +0000"  >&lt;p&gt;Attachment karaf.log has been added with description: Li karaf log June 11&lt;/p&gt;</comment>
                            <comment id="57050" author="jgloncak" created="Thu, 11 Jun 2015 12:55:24 +0000"  >&lt;p&gt;Peter specified 4 test suites:&lt;br/&gt;
&amp;#8211; tools/OF_Test/robot_suites/998_&lt;em&gt;Independent_OF_Tests_ovs/020&lt;/em&gt;_Flow_Data_Tests.txt &lt;br/&gt;
&amp;#8211; csit/suites/openflowplugin/Flows_OF13&lt;br/&gt;
&amp;#8211; csit/suites/openflowplugin/Flows_Stats_OF13&lt;br/&gt;
&amp;#8211; csit/suites/openflowplugin/Flows_Additional_TCs/Stat_Manager_extended&lt;/p&gt;

&lt;p&gt;If this suites are executed in this order then last one (Stat_Manager_extended) contains almost 50 failing tests.&lt;/p&gt;

&lt;p&gt;Common problem is that PUT operation is unsuccessfull and server returns&lt;br/&gt;
PUT response: {&quot;errors&quot;:{&quot;error&quot;:[&lt;/p&gt;
{&quot;error-type&quot;:&quot;protocol&quot;,&quot;error-tag&quot;:&quot;malformed-message&quot;,&quot;error-message&quot;:&quot;Error parsing input: Content is not allowed in prolog.&quot;}
&lt;p&gt;]}}.&lt;/p&gt;

&lt;p&gt;If last suite is executed as first this problem isn&apos;t observed!!!!!&lt;/p&gt;

&lt;p&gt;I debugged this problem and I found out that input which is read from file is in format (just snippet)&lt;br/&gt;
&quot;&amp;lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;utf-8\&quot;?&amp;gt;&amp;lt;flow xmlns=\&quot;urn:opendaylight:flow:inventory\&quot;&amp;gt;\n    &amp;lt;strict&amp;gt;false&amp;lt;/strict&amp;gt;\n    &amp;lt;instructions&amp;gt;\n        &amp;lt;instruction&amp;gt;\n            &amp;lt;order&amp;gt;0&amp;lt;/order&amp;gt;\n            &amp;lt;apply-actions&amp;gt;\n                &amp;lt;action&amp;gt;\n&lt;/p&gt;

&lt;p&gt;This input can&apos;t be parsed because of leading quotation mark and wrong escaping of characters (new line, quotation mark).&lt;/p&gt;

&lt;p&gt;Currently I have no idea what can be cause of this behaviour but it looks like problem is somewhere in tests.&lt;/p&gt;</comment>
                            <comment id="57051" author="pgubka@cisco.com" created="Mon, 15 Jun 2015 11:09:20 +0000"  >&lt;p&gt;tests updated, it happened because 2 different robot libraries had the same name&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13992" name="karaf.log" size="97759" author="pgubka@cisco.com" created="Thu, 11 Jun 2015 10:12:04 +0000"/>
                            <attachment id="13991" name="karaf.log.He.zip" size="23073" author="pgubka@cisco.com" created="Mon, 8 Jun 2015 09:15:59 +0000"/>
                            <attachment id="13990" name="karaf.log.li.zip" size="18861" author="pgubka@cisco.com" created="Mon, 8 Jun 2015 09:15:27 +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>3616</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=3616]]></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|i031hb:</customfieldvalue>

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