Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #1315 failed
Job: Tokens failed
user sees all token caveats in token configuration using client1 after setting them in new access token with client2[1oz 1op 1oc-RESt-web gui]: Test case result
The below summarizes the result of the test " user sees all token caveats in token configuration using client1 after setting them in new access token with client2[1oz 1op 1oc-RESt-web gui]" in build 1,315 of Onedata Products - mixed acceptance pkg - Chrome tokens tests.
- Description
- user sees all token caveats in token configuration using client1 after setting them in new access token with client2[1oz 1op 1oc-RESt-web gui]
- Test class
- mixed.scenarios.test_tokens
- Method
- test_user_sees_all_token_caveats_in_token_configuration_using_client1_after_setting_them_in_new_access_token_with_client2[1oz_1op_1oc-REST-web gui]
- Duration
- 1 sec
- Status
- Failed (New Failure)
Error Log
tests.utils.http_exceptions.HTTPServiceUnavailable: [503] Service Unavailable: {"error":{"id":"serviceUnavailable","description":"Service required for this operation is offline."}} zone_hostname = 'dev-onezone.default.svc.cluster.local' onepanel_credentials = <tests.utils.user_utils.AdminUser object at 0x7f6dbbd18128> owner_credentials = <tests.utils.user_utils.User object at 0x7f6dbbea9be0> space_id = 'b887d87c59459f48a1395424bc76cd95ch9645' storages_db = {'dev-oneprovider-krakow': {}} hosts = {'oneclient-1': {'container-id': '13cabedceee95ea3de1ccaf2f43926bf9cbfecc3ef74084e1f1663e0ccf05a68', 'ip': '172.17.0.6...4a25c56d2e4388', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.11', 'name': 'dev-onezone', ...}} providers = [{'oneprovider-1': {'size': 1000000, 'storage': 'posix'}}] members = [] users = {'admin': <tests.utils.user_utils.AdminUser object at 0x7f6dbbdc2550>, 'onepanel': <tests.utils.user_utils.AdminUser o...tests.utils.user_utils.User object at 0x7f6dbbea9be0>, 'user2': <tests.utils.user_utils.User object at 0x7f6dbc0a13c8>} 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:222: KeyError During handling of the above exception, another exception occurred: request = <FixtureRequest for <Function 'test_user_sees_all_token_caveats_in_token_configuration_using_client1_after_setting_them_in_new_access_token_with_client2[1oz_1op_1oc-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:103: in create_and_configure_spaces users, groups, storages, spaces) tests/gui/steps/rest/env_up/spaces.py:135: in _create_and_configure_spaces users_to_add, users_db) tests/gui/steps/rest/env_up/spaces.py:226: in _get_support onepanel_password, storage_name) tests/gui/steps/rest/env_up/spaces.py:264: in _get_storage_id auth=(onepanel_username, onepanel_password)) tests/utils/rest_utils.py:45: in http_get verify, cert, auth, default_headers=default_headers) tests/utils/rest_utils.py:85: in http_request raise_http_exception(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response [503]> def raise_http_exception(response): ex_cls = _exceptions.get(response.status_code, HTTPError) > raise ex_cls(response) E tests.utils.http_exceptions.HTTPServiceUnavailable: [503] Service Unavailable: {"error":{"id":"serviceUnavailable","description":"Service required for this operation is offline."}} tests/utils/http_exceptions.py:15: HTTPServiceUnavailable