[OPNFLWPLUG-502] groups and meters tests fails for Li design ofp Created: 15/Jun/15  Updated: 27/Sep/21  Resolved: 25/Sep/15

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Peter Gubka Assignee: Peter Gubka
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


External issue ID: 3741
Priority: High

 Description   

odl: distribution-karaf-0.3.0-20150615.153636-2528.zip

He designed ofp: 0 failures
https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-cds-flow-services-only-stable-lithium/117/

Li designed ofp: 2 failures
https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-cds-flow-services-lithium-redesign-only-stable-lithium/22/

Li designed ofp fails "group" and "meter" tests comparing to He designed plugin



 Comments   
Comment by Michal Rehak [ 17/Jun/15 ]

https://git.opendaylight.org/gerrit/#/c/22789/
merged

Comment by Michal Rehak [ 23/Jun/15 ]

Current model of group statistics in dataStore looks like this (abbreviated json):
{
"flow-node-inventory:group": [
{
"buckets":

{ "bucket": [ ... ] }

,
"group-id": 1,
"group-type": "group-select",
"opendaylight-group-statistics:group-desc": {
"buckets":

{ "bucket": [ ... ] }

,
"group-id": 1,
"group-type": "group-select"
},
"opendaylight-group-statistics:group-statistics": {
"buckets":

{ "bucket-counter": [ <bucket statistics> ] }

,
<group statistics>,
"group-id": 1
}
}
]
}

All data in the element "opendaylight-group-statistics:group-desc" are already contained in the parent element ("flow-node-inventory:group"). In Li-codebase models are shared but duplicate data are no longer filled. That is why there are differences in group statistics between He and Li codebases.

Proposing solution: we could adapt robot tests so that the "opendaylight-group-statistics:group-desc" part will be ignored or considered optional.

Comment by Peter Gubka [ 22/Jul/15 ]

test side should be updated

Comment by Luis Gomez [ 25/Sep/15 ]

I already did

Generated at Wed Feb 07 20:32:39 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.