GUI acceptance tests using environment deployed from packages.
Build: #1664 failed
Job: Onezone data discovery failed
user cannot open harvested file source from public harvester if they does not belong to space[1oz 1op elasticsearch]: Test case result
The below summarizes the result of the test " user cannot open harvested file source from public harvester if they does not belong to space[1oz 1op elasticsearch]" in build 1,664 of Onedata Products - gui acceptance pkg - Chrome onezone data discovery test.
- Description
- user cannot open harvested file source from public harvester if they does not belong to space[1oz 1op elasticsearch]
- Test class
- gui.scenarios.test_onezone_data_discovery
- Method
- test_user_cannot_open_harvested_file_source_from_public_harvester_if_they_does_not_belong_to_space[1oz_1op_elasticsearch]
- Duration
- 42 secs
- Status
- Failed (Existing Failure)
Error Log
KeyError: 'elasticsearch' request = <FixtureRequest for <Function 'test_user_cannot_open_harvested_file_source_from_public_harvester_if_they_does_not_belong_to_space[1oz_1op_elasticsearch]'>> @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:78: in wrapper return fun(*ba.args, **ba.kwargs) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ user = 'admin', harvesters_list = '"harvester1"', service = 'onezone' hosts = {'oneprovider-1': {'container-id': 'd7735fbd8ae3705548420fc76d660afc7d0415b366da9b9dd0359568251e2ef3', 'hostname': 'de...b3455cb406e89d4', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.6', 'name': 'dev-onezone', ...}} users = {'admin': <tests.utils.user_utils.AdminUser object at 0x7eff90616ba8>, 'onepanel': <tests.utils.user_utils.AdminUser object at 0x7eff904efa20>, 'user1': <tests.utils.user_utils.User object at 0x7eff90431240>} harvesters = {} @given(parsers.re('using REST, user (?P<user>.*) creates ' '(?P<harvesters_list>.*) harvesters? in "(?P<service>.*)" ' 'Onezone service')) @given(parsers.re('user (?P<user>.*) has (?P<harvesters_list>.*) harvesters? ' 'in "(?P<service>.*)" Onezone service')) def create_harvesters_rest(user, harvesters_list, service, hosts, users, harvesters): zone_hostname = hosts[service]['hostname'] owner = users[user] plugin = 'elasticsearch_harvesting_backend' > endpoint = f'{hosts["elasticsearch"]["ip"]}:{ELASTICSEARCH_PORT}' E KeyError: 'elasticsearch' tests/gui/steps/rest/env_up/harvesters.py:28: KeyError