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

Build: #45 failed

Job: Spaces basic failed

user invites other user to space using client1 that user joins to space using client2 and using client3 he sees that he has joined to new space[1oz 1op 1oc-RESt-RESt-web GUi]: Test case result

The below summarizes the result of the test " user invites other user to space using client1 that user joins to space using client2 and using client3 he sees that he has joined to new space[1oz 1op 1oc-RESt-RESt-web GUi]" in build 45 of Onedata Products - mixed acceptance pkg - release-21.02.0-alpha1 - Chrome spaces basic tests.
Description
user invites other user to space using client1 that user joins to space using client2 and using client3 he sees that he has joined to new space[1oz 1op 1oc-RESt-RESt-web GUi]
Test class
mixed.scenarios.test_spaces_basic
Method
test_user_invites_other_user_to_space_using_client1_that_user_joins_to_space_using_client2_and_using_client3_he_sees_that_he_has_joined_to_new_space[1oz_1op_1oc-REST-REST-web GUI]
Duration
1 sec
Status
Failed (Existing Failure)

Error Log

tests.utils.http_exceptions.HTTPInternalServerError: [500] Internal Server Error: {"error":{"id":"errorOnNodes","details":{"hostnames":["dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local"],"error":{"id":"internalServerError","description":"The server has encountered an error while processing this request."}},"description":"Error on nodes dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local: The server has encountered an error while processing this request."}}
zone_hostname = 'dev-onezone.default.svc.cluster.local'
onepanel_credentials = <tests.utils.user_utils.AdminUser object at 0x7f108f549a90>
owner_credentials = <tests.utils.user_utils.User object at 0x7f108f5c3080>
space_id = '839211541f743c1afd5dfd94ea7882dbchbc91'
storages_db = {'dev-oneprovider-krakow': {}}
hosts = {'oneclient-1': {'container-id': '7d3beac916116e15bd134bad1ff8a8c5c6aa7188550d4e74aae24ab284c4475a', 'ip': '172.17.0.5...cb52f5880fe42e', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.10', 'name': 'dev-onezone', ...}}
providers = [{'oneprovider-1': {'size': 1000000, 'storage': 'posix'}}]
members = []
users = {'admin': <tests.utils.user_utils.AdminUser object at 0x7f108f445f98>, 'admin2': <tests.utils.user_utils.User object a...s.user_utils.AdminUser object at 0x7f108f549a90>, 'user1': <tests.utils.user_utils.User object at 0x7f108f43c6d8>, ...}

    def _get_support(zone_hostname, onepanel_credentials,
                     owner_credentials, space_id, storages_db, hosts, providers,
                     members, users):
        onepanel_username = onepanel_credentials.username
        onepanel_password = onepanel_credentials.password
    
        for provider in providers:
            [(provider, options)] = provider.items()
    
            provider_name = hosts[provider]['name']
            provider_hostname = hosts[provider]['hostname']
            storage_name = options['storage']
    
            if provider_name not in storages_db:
                storages_db[provider_name] = {}
    
            try:
>               storage_id = storages_db[provider_name][storage_name]
E               KeyError: 'posix'

tests/gui/steps/rest/env_up/spaces.py:223: KeyError

During handling of the above exception, another exception occurred:

request = <FixtureRequest for <Function 'test_user_invites_other_user_to_space_using_client1_that_user_joins_to_space_using_client2_and_using_client3_he_sees_that_he_has_joined_to_new_space[1oz_1op_1oc-REST-REST-web GUI]'>>

    @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)
/usr/local/lib/python3.6/dist-packages/pytest_bdd/steps.py:162: in step_func
    result = request.getfixturevalue(func.__name__)
/usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:428: in getfixturevalue
    return self._get_active_fixturedef(argname).cached_result[0]
/usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:453: in _get_active_fixturedef
    self._compute_fixture_value(fixturedef)
/usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:524: in _compute_fixture_value
    fixturedef.execute(request=subrequest)
/usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:795: in execute
    return hook.pytest_fixture_setup(fixturedef=self, request=request)
/usr/local/lib/python3.6/dist-packages/pluggy/__init__.py:617: in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
/usr/local/lib/python3.6/dist-packages/pluggy/__init__.py:222: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/local/lib/python3.6/dist-packages/pluggy/__init__.py:216: in <lambda>
    firstresult=hook.spec_opts.get('firstresult'),
/usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:826: in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs)
/usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:718: in call_fixture_func
    res = fixturefunc(**kwargs)
tests/utils/bdd_utils.py:77: in wrapper
    return fun(*ba.args, **ba.kwargs)
tests/gui/steps/rest/env_up/spaces.py:104: in create_and_configure_spaces
    users, groups, storages, spaces)
tests/gui/steps/rest/env_up/spaces.py:136: in _create_and_configure_spaces
    users_to_add, users_db)
tests/gui/steps/rest/env_up/spaces.py:227: in _get_support
    onepanel_password, storage_name)
tests/gui/steps/rest/env_up/spaces.py:277: in _get_storage_id
    auth=(onepanel_username, onepanel_password))
tests/utils/rest_utils.py:46: in http_get
    default_headers=default_headers)
tests/utils/rest_utils.py:93: in http_request
    raise_http_exception(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

response = <Response [500]>

    def raise_http_exception(response):
        ex_cls = _exceptions.get(response.status_code, HTTPError)
>       raise ex_cls(response)
E       tests.utils.http_exceptions.HTTPInternalServerError: [500] Internal Server Error: {"error":{"id":"errorOnNodes","details":{"hostnames":["dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local"],"error":{"id":"internalServerError","description":"The server has encountered an error while processing this request."}},"description":"Error on nodes dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local: The server has encountered an error while processing this request."}}

tests/utils/http_exceptions.py:15: HTTPInternalServerError