Pecan: Auto allocate topology tempestapi tests fail

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

Bug Description

These tests currently fail:

neutron.tests.tempest.api.test_auto_allocated_topology.TestAutoAllocatedTopology.test_delete_allocated_net_topology_as_tenant

Traceback (most recent call last):
  File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_auto_allocated_topology.py", line 115, in test_delete_allocated_net_topology_as_tenant
    self.client.delete_auto_allocated_topology()
  File "/opt/stack/new/neutron/neutron/tests/tempest/services/network/json/network_client.py", line 794, in delete_auto_allocated_topology
    resp, body = self.delete(uri)
  File "tempest/lib/common/rest_client.py", line 307, in delete
    return self.request('DELETE', url, extra_headers, headers, body)
  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'BadRequest', u'detail': u'', u'message': u'Bad auto_allocate request: Unrecognized field.'}

neutron.tests.tempest.api.test_auto_allocated_topology.TestAutoAllocatedTopology.test_get_allocated_net_topology_as_tenant

Traceback (most recent call last):
  File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_auto_allocated_topology.py", line 85, in test_get_allocated_net_topology_as_tenant
    self.assertEqual((0, 0, 0), resources_before)
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 411, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: (0, 0, 0) != (1, 2, 1)

Tags: api
Revision history for this message
John Davidge (john-davidge) wrote :

Seeing a couple of failures for this test starting Friday. Marking low for now.

Revision history for this message
John Davidge (john-davidge) wrote :
Changed in neutron:
status: New → Triaged
importance: Undecided → Low
Changed in neutron:
importance: Low → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/387708

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/387708
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=9006726acbd6255263de7acae6bf6110a5aeed8e
Submitter: Jenkins
Branch: master

commit 9006726acbd6255263de7acae6bf6110a5aeed8e
Author: Brandon Logan <email address hidden>
Date: Mon Oct 17 18:03:00 2016 -0500

    Pecan: Don't prefetch resource fields on DELETE

    The legacy wsgi does not prefetch resources and specify fields on
    DELETE. It does do this on PUTs though. However, the pecan wsgi policy
    hook was doing it for both PUT and DELETE. This also fixes a failure
    with the auto-allocated-topology tests.

    Change-Id: I9933c141f7d0481caade5a9484022fe090cf47f0
    Closes-Bug: #1633664

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.0b1

This issue was fixed in the openstack/neutron 10.0.0.0b1 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.