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

Build: #50 failed

Job: Single directory 2 failed

user creates directory using client1 removes it using client2 and then recreates it using client1[1oz 1op 1oc-web GUi-RESt]: Test case result

The below summarizes the result of the test " user creates directory using client1 removes it using client2 and then recreates it using client1[1oz 1op 1oc-web GUi-RESt]" in build 50 of Onedata Products - mixed acceptance pkg - release-21.02.0-alpha1 - Chrome single directory tests 2.
Description
user creates directory using client1 removes it using client2 and then recreates it using client1[1oz 1op 1oc-web GUi-RESt]
Test class
mixed.scenarios.test_single_directory2
Method
test_user_creates_directory_using_client1_removes_it_using_client2_and_then_recreates_it_using_client1[1oz_1op_1oc-web GUI-REST]
Duration
1 min
Status
Failed (Existing Failure)

Error Log

tests.mixed.oneprovider_client.rest.ApiException: (400) Reason: Bad Request HTTP response headers: HTTPHeaderDict({'content-length': '112', 'content-type': 'application/json', 'date': 'Tue, 09 Feb 2021 01:51:39 GMT', 'server': 'Cowboy', 'x-frame-options': 'SAMEORIGIN'}) HTTP response body: {"error":{"id":"posix","details":{"errno":"enoent"},"description":"Operation failed with POSIX error: enoent."}}
request = <FixtureRequest for <Function 'test_user_creates_directory_using_client1_removes_it_using_client2_and_then_recreates_it_using_client1[1oz_1op_1oc-web GUI-REST]'>>

    @pytest.mark.usefixtures(*function_args)
    def scenario_wrapper(request):
>       _execute_scenario(feature, scenario, request, encoding)

/usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:227: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario
    _execute_step_function(request, scenario, step, step_func)
/usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:130: in _execute_step_function
    step_func(**kwargs)
tests/utils/bdd_utils.py:77: in wrapper
    return fun(*ba.args, **ba.kwargs)
tests/mixed/steps/data_basic.py:151: in see_item_in_op
    result, space)
tests/mixed/steps/rest/oneprovider/data.py:137: in see_items_in_op_rest
    file_id = _lookup_file_id(path, client)
tests/mixed/steps/rest/oneprovider/data.py:32: in _lookup_file_id
    file_id = resolve_file_path_api.lookup_file_id(path).file_id
tests/mixed/oneprovider_client/apis/file_path_resolution_api.py:78: in lookup_file_id
    (data) = self.lookup_file_id_with_http_info(path, **kwargs)
tests/mixed/oneprovider_client/apis/file_path_resolution_api.py:160: in lookup_file_id_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:350: in request
    body=body)
tests/mixed/oneprovider_client/rest.py:210: in POST
    body=body)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.mixed.oneprovider_client.rest.RESTClientObject object at 0x7f2393f72908>
method = 'POST'
url = 'https://dev-oneprovider-krakow.default.svc.cluster.local:443/api/v3/oneprovider/lookup-file-id/space1/dir1'
query_params = {}
headers = {'Accept': 'application/json', 'Content-Type': 'application/json', 'User-Agent': 'Swagger-Codegen/20.02.5/python', 'X-...TNiYmNoMTU00YgowMDFhY2lkIHRpbWUgPCAxNjQ00MzcxNDU00CjAwMmZzaWduYXR1cmUgL004G601XHf9ikIgedEdeh5kyy6IVWK8nF82MLQmiN5Q00K'}
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           tests.mixed.oneprovider_client.rest.ApiException: (400)
E           Reason: Bad Request
E           HTTP response headers: HTTPHeaderDict({'content-length': '112', 'content-type': 'application/json', 'date': 'Tue, 09 Feb 2021 01:51:39 GMT', 'server': 'Cowboy', 'x-frame-options': 'SAMEORIGIN'})
E           HTTP response body: {"error":{"id":"posix","details":{"errno":"enoent"},"description":"Operation failed with POSIX error: enoent."}}

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