← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1633668] Re: Pecan: Tempest API test fails QosBandwidthLimitRuleTestJSON

 

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

commit c1b28a8d7377380464e7fc7ce36ab1406f12eaf1
Author: Brandon Logan <brandon.logan@xxxxxxxxxxxxx>
Date:   Mon Oct 17 18:33:35 2016 -0500

    Pecan: Fix internal server error on QoS rule PUT
    
    A patch [1] was made to the legacy wsgi code but was not also done for the
    pecan code.  This patch does the same check.
    
    [1] Ia82ad84a3a07df4df8eaeaed6c47d31be9493cbd
    Closes-Bug: #1633668
    
    Change-Id: I829a9fee79109e42a366d349afef3868265e9d94


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  Pecan: Tempest API test fails QosBandwidthLimitRuleTestJSON

Status in neutron:
  Fix Released

Bug description:
  neutron.tests.tempest.api.test_qos.QosBandwidthLimitRuleTestJSON.test_rule_update_forbidden_for_regular_tenants_own_policy

  Traceback (most recent call last):
    File "/opt/stack/new/neutron/neutron/tests/tempest/api/test_qos.py", line 476, in test_rule_update_forbidden_for_regular_tenants_own_policy
      policy['id'], rule['id'], max_kbps=2, max_burst_kbps=4)
    File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 485, in assertRaises
      self.assertThat(our_callable, matcher)
    File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 496, in assertThat
      mismatch_error = self._matchHelper(matchee, matcher, message, verbose)
    File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 547, in _matchHelper
      mismatch = matcher.match(matchee)
    File "/usr/local/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 108, in match
      mismatch = self.exception_matcher.match(exc_info)
    File "/usr/local/lib/python2.7/dist-packages/testtools/matchers/_higherorder.py", line 62, in match
      mismatch = matcher.match(matchee)
    File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 475, in match
      reraise(*matchee)
    File "/usr/local/lib/python2.7/dist-packages/testtools/matchers/_exception.py", line 101, in match
      result = matchee()
    File "/usr/local/lib/python2.7/dist-packages/testtools/testcase.py", line 1049, in __call__
      return self._callable_object(*self._args, **self._kwargs)
    File "/opt/stack/new/neutron/neutron/tests/tempest/services/network/json/network_client.py", line 599, in update_bandwidth_limit_rule
      resp, body = self.put(uri, jsonutils.dumps(post_data))
    File "tempest/lib/common/rest_client.py", line 340, in put
      return self.request('PUT', 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 829, in _error_checker
      message=message)
  tempest.lib.exceptions.ServerFault: Got server fault
  Details: Request Failed: internal server error while processing your request.

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


References