Acceptance tests using different clients concurrently. Environment deployed from packages.

Build: #586 failed

Job: Onepanel failed

user supports space with storage sync and enabled options delete[1oz 1op 1oc-RESt-web GUi-RESt]: Test case result

The below summarizes the result of the test " user supports space with storage sync and enabled options delete[1oz 1op 1oc-RESt-web GUi-RESt]" in build 586 of Onedata Products - mixed acceptance pkg - Chrome onepanel tests.
Description
user supports space with storage sync and enabled options delete[1oz 1op 1oc-RESt-web GUi-RESt]
Test class
mixed.scenarios.test_onepanel_basic
Method
test_user_supports_space_with_storage_sync_and_enabled_options_delete[1oz_1op_1oc-REST-web GUI-REST]
Duration
2 mins
Status
Failed (New Failure)

Error Log

ApiException: (400) Reason: Bad Request HTTP response headers: HTTPHeaderDict({'date': 'Mon, 14 Oct 2019 16:28:17 GMT', 'content-length': '94', 'x-frame-options': 'SAMEORIGIN', 'server': 'Cowboy'}) HTTP response body: {"error":{"id":"badGRI","description":"Provided GRI (Graph Resource Identifier) is invalid."}}
client1 = 'REST', client2 = 'web GUI', client3 = 'REST'
request = <FixtureRequest for <Function 'test_user_supports_space_with_storage_sync_and_enabled_options_delete[1oz_1op_1oc-REST-web GUI-REST]'>>

    
>   from tests.gui.conftest import *

tests/mixed/scenarios/test_onepanel_basic.py:49: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python2.7/dist-packages/pytest_bdd/scenario.py:195: in _execute_scenario
    _execute_step_function(request, scenario, step, step_func)
/usr/local/lib/python2.7/dist-packages/pytest_bdd/scenario.py:137: in _execute_step_function
    step_func(**kwargs)
</usr/local/lib/python2.7/dist-packages/decorator.pyc:decorator-gen-658>:2: in assert_space_content_in_op
    ???
tests/utils/utils.py:79: in wrapper
    return fun(*args, **kwargs)
tests/mixed/steps/onepanel_basic.py:561: in assert_space_content_in_op
    spaces, host)
tests/mixed/steps/rest/oneprovider/data.py:53: in assert_space_content_in_op_rest
    children = _list_files(space_name, user, users, host, hosts)
tests/mixed/steps/rest/oneprovider/data.py:41: in _list_files
    return [os.path.basename(file.path) for file in file_api.list_files(path)]
tests/mixed/oneprovider_client/apis/file_api.py:992: in list_files
    (data) = self.list_files_with_http_info(path, **kwargs)
tests/mixed/oneprovider_client/apis/file_api.py:1086: in list_files_with_http_info
    collection_formats=collection_formats)
tests/mixed/oneprovider_client/api_client.py:313: in call_api
    _return_http_data_only, collection_formats)
tests/mixed/oneprovider_client/api_client.py:147: in __call_api
    post_params=post_params, body=body)
tests/mixed/oneprovider_client/api_client.py:334: in request
    headers=headers)
tests/mixed/oneprovider_client/rest.py:185: in GET
    query_params=query_params)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.mixed.oneprovider_client.rest.RESTClientObject object at 0x7f49646b1a10>
method = 'GET'
url = 'https://dev-oneprovider-krakow.default.svc.cluster.local:443/api/v3/oneprovider/files/space3'
query_params = {}
headers = {'Accept': 'application/json', 'Content-Type': 'application/json', 'User-Agent': 'Swagger-Codegen/19.02.0-rc1/python',...2FjdC800MTdhMzEyY2ZlMmE2N2RmMjdlNjliNWQ5MzAyN2Y1YQowMDJmc2lnbmF00dXJlIIbvPXwpqGWvMGWesMIgdg027aQf00tS9LBsLeZv2RGUjdCg'}
body = None, post_params = {}

    def request(self, method, url, query_params=None, headers=None,
                body=None, post_params=None):
        """
            :param method: http request method
            :param url: http request url
            :param query_params: query parameters in the url
            :param headers: http request headers
            :param body: request json body, for `application/json`
            :param post_params: request post parameters,
                                `application/x-www-form-urlencoded`
                                and `multipart/form-data`
            """
        method = method.upper()
        assert method in ['GET', 'HEAD', 'DELETE', 'POST', 'PUT', 'PATCH', 'OPTIONS']
    
        if post_params and body:
            raise ValueError(
                "body parameter cannot be used with post_params parameter."
            )
    
        post_params = post_params or {}
        headers = headers or {}
    
        if 'Content-Type' not in headers:
            headers['Content-Type'] = 'application/json'
    
        try:
            # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE`
            if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']:
                if query_params:
                    url += '?' + urlencode(query_params)
                if re.search('json', headers['Content-Type'], re.IGNORECASE):
                    request_body = None
                    if body:
                        request_body = json.dumps(body)
                    r = self.pool_manager.request(method, url,
                                                  body=request_body,
                                                  headers=headers)
                if headers['Content-Type'] == 'application/x-www-form-urlencoded':
                    r = self.pool_manager.request(method, url,
                                                  fields=post_params,
                                                  encode_multipart=False,
                                                  headers=headers)
                if headers['Content-Type'] == 'multipart/form-data':
                    # must del headers['Content-Type'], or the correct Content-Type
                    # which generated by urllib3 will be overwritten.
                    del headers['Content-Type']
                    r = self.pool_manager.request(method, url,
                                                  fields=post_params,
                                                  encode_multipart=True,
                                                  headers=headers)
            # For `GET`, `HEAD`
            else:
                r = self.pool_manager.request(method, url,
                                              fields=query_params,
                                              headers=headers)
        except urllib3.exceptions.SSLError as e:
            msg = "{0}\n{1}".format(type(e).__name__, str(e))
            raise ApiException(status=0, reason=msg)
    
        r = RESTResponse(r)
    
        # In the python 3, the response.data is bytes.
        # we need to decode it to string.
        if PY3:
            r.data = r.data.decode('utf8')
    
        # log response body
        logger.debug("response body: %s", r.data)
    
        if r.status not in range(200, 206):
>           raise ApiException(http_resp=r)
E           ApiException: (400)
E           Reason: Bad Request
E           HTTP response headers: HTTPHeaderDict({'date': 'Mon, 14 Oct 2019 16:28:17 GMT', 'content-length': '94', 'x-frame-options': 'SAMEORIGIN', 'server': 'Cowboy'})
E           HTTP response body: {"error":{"id":"badGRI","description":"Provided GRI (Graph Resource Identifier) is invalid."}}

tests/mixed/oneprovider_client/rest.py:178: ApiException