Tempest tests failed for s/liberty

Bug #1588724 reported by Nikolay Starodubtsev
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tempest
Won't Fix
Undecided
Unassigned

Bug Description

After tempest team remove 'get_configured_credentials' in favor of 'get_configured_admin_credentials' murano team does the same. Everythin run fine in master and s/mitaka, but in s/liberty we have this error: TypeError: __init__() got an unexpected keyword argument 'chunked'.
As I can see from traceback the problem somewhere in tempest itself. Detailed traceback in attachment.

Revision history for this message
Nikolay Starodubtsev (starodubcevna) wrote :
Revision history for this message
Jordan Pittier (jordan-pittier) wrote :

Do you still see that issue ? You need to upgrade your urllib3 version.

Revision history for this message
Tao Li (eric-litao) wrote :

Do you solve this issue? I encounter it。

Changed in tempest:
status: New → Confirmed
Revision history for this message
Jordan Pittier (jordan-pittier) wrote :

Hi,
Yeah, Tempest requires urllib3>=1.15.1. Please upgrade urllib3 (pip install -U urllib3).

Revision history for this message
Tao Li (eric-litao) wrote :

Thanks Jordan。 I modified tempest code and also sovle this question。

The code file is :
tempest/tempest/lib/common/rest_client.py

modified the function 'raw_request', remove the parameter ‘chunked’ in function ‘self.http_obj.request’

    def raw_request(self, url, method, headers=None, body=None, chunked=False):
        """Send a raw HTTP request without the keystone catalog or auth

        This method sends a HTTP request in the same manner as the request()
        method, however it does so without using keystone auth or the catalog
        to determine the base url. Additionally no response handling is done
        the results from the request are just returned.

        :param str url: Full url to send the request
        :param str method: The HTTP verb to use for the request
        :param str headers: Headers to use for the request if none are specifed
                            the headers
        :param str body: Body to send with the request
        :param bool chunked: sends the body with chunked encoding
        :rtype: tuple
        :return: a tuple with the first entry containing the response headers
                 and the second the response body
        """
        if headers is None:
            headers = self.get_headers()
        return self.http_obj.request(url, method, headers=headers,
                                     body=body)

Revision history for this message
Ghanshyam Mann (ghanshyammann) wrote :

Do you still see this issue ?

Changed in tempest:
status: Confirmed → Incomplete
Revision history for this message
Ken'ichi Ohmichi (oomichi) wrote :

Today liberty is out of scope from Tempest.

Changed in tempest:
status: Incomplete → Won't Fix
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.