[NEUTRON-21] Neutron Tempest Test Failure: tempest.api.network.test_metering_extensions Created: 31/Dec/14  Updated: 19/Oct/17  Resolved: 09/Jun/15

Status: Resolved
Project: neutron
Component/s: northbound-api
Affects Version/s: Multiple
Fix Version/s: None

Type: Improvement
Reporter: Kyle Mestery Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All



 Description   

The OpenStack Tempest tests for tempest.api.network.test_metering_extensions fail with OpenDaylight as the ML2 driver. The tempest logs are below:

[vagrant@localhost tempest]$ testr failing
======================================================================
FAIL: setUpClass (tempest.api.network.test_metering_extensions.MeteringIpV6TestJSON)
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "tempest/test.py", line 273, in setUpClass
cls.resource_setup()
File "tempest/api/network/test_metering_extensions.py", line 45, in resource_setup
cls.metering_label = cls.create_metering_label(name, description)
File "tempest/api/network/base.py", line 433, in create_metering_label
name=data_utils.rand_name("metering-label"))
File "tempest/services/network/json/network_client.py", line 145, in _create
resp, body = self.post(uri, post_data)
File "tempest/common/rest_client.py", line 236, in post
return self.request('POST', url, extra_headers, headers, body)
File "tempest/common/rest_client.py", line 450, in request
resp, resp_body)
File "tempest/common/rest_client.py", line 493, in _error_checker
raise exceptions.NotFound(resp_body)
NotFound: Object not found
Details: 404 Not Found

The resource could not be found.
======================================================================
FAIL: setUpClass (tempest.api.network.test_metering_extensions.MeteringTestJSON)
tags: worker-0
----------------------------------------------------------------------
Traceback (most recent call last):
File "tempest/test.py", line 273, in setUpClass
cls.resource_setup()
File "tempest/api/network/test_metering_extensions.py", line 45, in resource_setup
cls.metering_label = cls.create_metering_label(name, description)
File "tempest/api/network/base.py", line 433, in create_metering_label
name=data_utils.rand_name("metering-label"))
File "tempest/services/network/json/network_client.py", line 145, in _create
resp, body = self.post(uri, post_data)
File "tempest/common/rest_client.py", line 236, in post
return self.request('POST', url, extra_headers, headers, body)
File "tempest/common/rest_client.py", line 450, in request
resp, resp_body)
File "tempest/common/rest_client.py", line 493, in _error_checker
raise exceptions.NotFound(resp_body)
NotFound: Object not found
Details: 404 Not Found

The resource could not be found.
Ran 2 tests in 1.576s
FAILED (id=9, failures=2)
[vagrant@localhost tempest]$



 Comments   
Comment by Ryan Moats [ 19/May/15 ]

Please add JSON sent by the test case - that will help locate and fix the bug

Comment by Ryan Moats [ 08/Jun/15 ]

Marked as affecting multiple versions and the northbound api part

Comment by Ryan Moats [ 08/Jun/15 ]

https://git.opendaylight.org/gerrit/22115 provides tests showing this should be working in master branch

https://git.opendaylight.org/gerrit/22119 provides tests showing this should be working in stable/lithium branch

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