Bug 1715111 - test_heat_api.softwareconfig_show_deployment_metadata.test_request fails on malformed request
Summary: test_heat_api.softwareconfig_show_deployment_metadata.test_request fails on m...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-heat-tests-tempest
Version: 15.0 (Stein)
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: ---
Assignee: Rabi Mishra
QA Contact: Jad Haj Yahya
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-29 15:23 UTC by Victor Voronkov
Modified: 2020-03-05 12:02 UTC (History)
5 users (show)

Fixed In Version: python-heat-tests-tempest-0.3.1-0.20190705073359.b2573a5.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-05 12:02:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 662144 0 None MERGED Provide software config name in api test 2020-02-27 14:49:39 UTC
Red Hat Product Errata RHBA-2020:0710 0 None None None 2020-03-05 12:02:50 UTC

Description Victor Voronkov 2019-05-29 15:23:03 UTC
Description of problem:
heat_tempest_plugin.tests.api.test_heat_api.softwareconfig_show_deployment_metadata.test_request[id-d26d1ae4-4924-11e8-842f-0ed5f89f718b] test fails with this callstack:

testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/gabbi/suitemaker.py", line 95, in do_test
    return test_method(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/gabbi/case.py", line 94, in wrapper
    func(self)
  File "/usr/lib/python3.6/site-packages/gabbi/case.py", line 148, in test_request
    self._run_test()
  File "/usr/lib/python3.6/site-packages/gabbi/case.py", line 555, in _run_test
    self._assert_response()
  File "/usr/lib/python3.6/site-packages/gabbi/case.py", line 193, in _assert_response
    self._test_status(self.test_data['status'], self.response['status'])
  File "/usr/lib/python3.6/site-packages/gabbi/case.py", line 610, in _test_status
    self.assert_in_or_print_output(observed_status, statii)
  File "/usr/lib/python3.6/site-packages/gabbi/case.py", line 671, in assert_in_or_print_output
    self.fail(msg)
  File "/usr/lib/python3.6/site-packages/unittest2/case.py", line 693, in fail
    raise self.failureException(msg)
AssertionError: '400' not found in ['200'], response:
{
  "code": 400,
  "title": "Bad Request",
  "explanation": "The server could not comply with the request since it is either malformed or otherwise incorrect.",
  "error": {
    "type": "HTTPBadRequest",
    "traceback": null,
    "message": "The server could not comply with the request since it is either malformed or otherwise incorrect."
  }
}

http://staging-jenkins2-qe-playground.usersys.redhat.com/view/DFG/view/cloud_apps/view/heat/job/DFG-cloud_apps-heat-15_director-rhel-virthost-3cont_1comp_3ceph-ipv4-geneve-poc/12/testReport/heat_tempest_plugin.tests.api.test_heat_api/softwareconfig_show_deployment_metadata/test_request_id_d26d1ae4_4924_11e8_842f_0ed5f89f718b_/

Version-Release number of selected component (if applicable):


How reproducible:
Run heat regression tempest job
http://staging-jenkins2-qe-playground.usersys.redhat.com/view/DFG/view/cloud_apps/view/heat/job/DFG-cloud_apps-heat-15_director-rhel-virthost-3cont_1comp_3ceph-ipv4-geneve-poc/

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Rabi Mishra 2019-05-30 07:16:47 UTC
This seems to be a regression with python3. We don't have python3 yet in upstream gate.

Comment 9 errata-xmlrpc 2020-03-05 12:02:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:0710


Note You need to log in before you can comment on or make changes to this bug.