Pecan: Router Flavor tempest API tests fail

Bug #1633665 reported by Brandon Logan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Mohit Malik

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"}

Tags: api tempest
summary: - Pecan: Router Flavor tests fail
+ Pecan: Router Flavor tempest API tests fail
Revision history for this message
John Davidge (john-davidge) wrote :

Can't find anything in logstash for this failure. Do you have any more reproduction details?

Changed in neutron:
status: New → Incomplete
importance: High → Undecided
Revision history for this message
John Davidge (john-davidge) wrote :
Changed in neutron:
status: Incomplete → Triaged
importance: Undecided → Low
tags: added: tempest
Changed in neutron:
importance: Low → Medium
Mohit Malik (mmalik4)
Changed in neutron:
assignee: nobody → Mohit Malik (mmalik4)
Changed in neutron:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/393453
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=3e44d75660bcf018d60e2cc7b798e76efbc04905
Submitter: Jenkins
Branch: master

commit 3e44d75660bcf018d60e2cc7b798e76efbc04905
Author: Brandon Logan <email address hidden>
Date: Fri Oct 21 13:15:31 2016 -0500

    Pecan: Find subresource controllers by parent

    Fix for finding subresource controller by parent and
    added functional tests

    Change-Id: I34bb1968fdc3daa75f8a60f5ad9aa68cc3414ad5
    closes-Bug: #1633665

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 10.0.0.0b2

This issue was fixed in the openstack/neutron 10.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.