← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1633665] [NEW] Pecan: Router Flavor tempest API tests fail

 

Public bug reported:

Fails in the setUpClass method

setUpClass(neutron.tests.tempest.api.admin.test_routers_flavors.RoutersFlavorTestCase)

ft2.1: setUpClass (neutron.tests.tempest.api.admin.test_routers_flavors.RoutersFlavorTestCase)_StringException: Traceback (most recent call last):
  File "tempest/test.py", line 267, in setUpClass
    six.reraise(etype, value, trace)
  File "tempest/test.py", line 260, in setUpClass
    cls.resource_setup()
  File "/opt/stack/new/neutron/neutron/tests/tempest/api/admin/test_routers_flavors.py", line 44, in resource_setup
    cls.flavor['id'], sp['service_profile']['id'])
  File "/opt/stack/new/neutron/neutron/tests/tempest/services/network/json/network_client.py", line 801, in create_flavor_service_profile
    resp, body = self.post(uri, body)
  File "tempest/lib/common/rest_client.py", line 276, in post
    return self.request('POST', url, extra_headers, headers, body, chunked)
  File "tempest/lib/common/rest_client.py", line 665, in request
    resp, resp_body)
  File "tempest/lib/common/rest_client.py", line 768, in _error_checker
    raise exceptions.BadRequest(resp_body, resp=resp)
tempest.lib.exceptions.BadRequest: Bad request
Details: {u'type': u'HTTPBadRequest', u'detail': u'', u'message': u"Attribute 'id' not allowed in POST"}

** Affects: neutron
     Importance: High
         Status: New


** Tags: api

** Summary changed:

- Pecan: Router Flavor tests fail
+ Pecan: Router Flavor tempest API tests fail

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1633665

Title:
  Pecan: Router Flavor tempest API tests fail

Status in neutron:
  New

Bug description:
  Fails in the setUpClass method

  setUpClass(neutron.tests.tempest.api.admin.test_routers_flavors.RoutersFlavorTestCase)

  ft2.1: setUpClass (neutron.tests.tempest.api.admin.test_routers_flavors.RoutersFlavorTestCase)_StringException: Traceback (most recent call last):
    File "tempest/test.py", line 267, in setUpClass
      six.reraise(etype, value, trace)
    File "tempest/test.py", line 260, in setUpClass
      cls.resource_setup()
    File "/opt/stack/new/neutron/neutron/tests/tempest/api/admin/test_routers_flavors.py", line 44, in resource_setup
      cls.flavor['id'], sp['service_profile']['id'])
    File "/opt/stack/new/neutron/neutron/tests/tempest/services/network/json/network_client.py", line 801, in create_flavor_service_profile
      resp, body = self.post(uri, body)
    File "tempest/lib/common/rest_client.py", line 276, in post
      return self.request('POST', url, extra_headers, headers, body, chunked)
    File "tempest/lib/common/rest_client.py", line 665, in request
      resp, resp_body)
    File "tempest/lib/common/rest_client.py", line 768, in _error_checker
      raise exceptions.BadRequest(resp_body, resp=resp)
  tempest.lib.exceptions.BadRequest: Bad request
  Details: {u'type': u'HTTPBadRequest', u'detail': u'', u'message': u"Attribute 'id' not allowed in POST"}

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1633665/+subscriptions


Follow ups