[OPNFLWPLUG-491] NPE while restconf flow update Created: 08/Jun/15 Updated: 27/Sep/21 Resolved: 15/Jun/15 |
|
| Status: | Resolved |
| Project: | OpenFlowPlugin |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Peter Gubka | Assignee: | Jozef Gloncak |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| Attachments: |
|
| External issue ID: | 3616 |
| Priority: | High |
| Description |
|
odl: Lithium RC0 features: odl-openflowplugin-flow-services-ui (He design plugin) i have run suites from integration git as running just suite csit/suites/openflowplugin/Flows_Additional_TCs/Stat_Manager_extended does not replicate the case and test are passing updating the flow in config datastore returns http status 400 with {"errors":{"error":[ {"error-type":"protocol","error-tag":"malformed-message","error-message":"Error parsing input: Content is not allowed in prolog."}]}} He designed ofp: 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 Li designed ofp: 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 |
| Comments |
| Comment by Peter Gubka [ 08/Jun/15 ] |
|
Attachment karaf.log.li.zip has been added with description: Li karaf.log |
| Comment by Peter Gubka [ 08/Jun/15 ] |
|
Attachment karaf.log.He.zip has been added with description: He karaf log |
| Comment by Jozef Gloncak [ 08/Jun/15 ] |
|
It looks like this problem (He part) has been already discovered under I am going to fix Li part. |
| Comment by Jozef Gloncak [ 08/Jun/15 ] |
|
This should solve problem in Li I am going to test it a s Peter described earlier. |
| Comment by Jozef Gloncak [ 08/Jun/15 ] |
|
tar file was sent to Peter Gubka for testing |
| Comment by Peter Gubka [ 09/Jun/15 ] |
|
(In reply to Jozef Gloncak from comment #4) File tested, looks like the issue is not fixed. Feedback given to Jozef. |
| Comment by Jozef Gloncak [ 09/Jun/15 ] |
|
I created:
Both outputs (1) and (2) passed equally (it means which passed in 1 also passed in 2 and which didn't passed in 1 also didn't passed in 2). Conclusion: after merging patch from |
| Comment by Michal Rehak [ 10/Jun/15 ] |
|
merged |
| Comment by Jozef Gloncak [ 10/Jun/15 ] |
|
After merge of patch from |
| Comment by Peter Gubka [ 11/Jun/15 ] |
|
With a new odl the wrong behaviour is still present in Li designed ofp (http status 400 is returned). |
| Comment by Peter Gubka [ 11/Jun/15 ] |
|
Attachment karaf.log has been added with description: Li karaf log June 11 |
| Comment by Jozef Gloncak [ 11/Jun/15 ] |
|
Peter specified 4 test suites: If this suites are executed in this order then last one (Stat_Manager_extended) contains almost 50 failing tests. Common problem is that PUT operation is unsuccessfull and server returns ]}}. If last suite is executed as first this problem isn't observed!!!!! I debugged this problem and I found out that input which is read from file is in format (just snippet) This input can't be parsed because of leading quotation mark and wrong escaping of characters (new line, quotation mark). Currently I have no idea what can be cause of this behaviour but it looks like problem is somewhere in tests. |
| Comment by Peter Gubka [ 15/Jun/15 ] |
|
tests updated, it happened because 2 different robot libraries had the same name |