GUI acceptance tests using environment deployed from packages.
Build: #2839 failed
Job: Onezone harvesters index metadata failed
user sees rejection reason and what is rejected in data discovery page after changing json metadata value and creating index that includes include rejection reason and retry on rejection toggles[1oz 1op elasticsearch]: Test case result
The below summarizes the result of the test " user sees rejection reason and what is rejected in data discovery page after changing json metadata value and creating index that includes include rejection reason and retry on rejection toggles[1oz 1op elasticsearch]" in build 2,839 of Onedata Products - gui acceptance pkg - Onezone harvesters index metadata.
- Description
- user sees rejection reason and what is rejected in data discovery page after changing json metadata value and creating index that includes include rejection reason and retry on rejection toggles[1oz 1op elasticsearch]
- Test class
- gui.scenarios.test_onezone_harvesters_index_metadata
- Method
- test_user_sees_rejection_reason_and_what_is_rejected_in_data_discovery_page_after_changing_json_metadata_value_and_creating_index_that_includes_include_rejection_reason_and_retry_on_rejection_toggles[1oz_1op_elasticsearch]
- Jira Issue
-
- Duration
- 11 secs
- Status
- Failed (New Failure)
Error Log
KeyError: 'elasticsearch' request = <FixtureRequest for <Function 'test_user_sees_rejection_reason_and_what_is_rejected_in_data_discovery_page_after_chang...alue_and_creating_index_that_includes_include_rejection_reason_and_retry_on_rejection_toggles[1oz_1op_elasticsearch]'>> @pytest.mark.usefixtures(*function_args) def scenario_wrapper(request): > _execute_scenario(feature, scenario, request, encoding) /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:227: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:130: in _execute_step_function step_func(**kwargs) /usr/local/lib/python3.8/dist-packages/pytest_bdd/steps.py:162: in step_func result = request.getfixturevalue(func.__name__) /usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:428: in getfixturevalue return self._get_active_fixturedef(argname).cached_result[0] /usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:453: in _get_active_fixturedef self._compute_fixture_value(fixturedef) /usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:524: in _compute_fixture_value fixturedef.execute(request=subrequest) /usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:795: in execute return hook.pytest_fixture_setup(fixturedef=self, request=request) /usr/local/lib/python3.8/dist-packages/pluggy/__init__.py:617: in __call__ return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) /usr/local/lib/python3.8/dist-packages/pluggy/__init__.py:222: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /usr/local/lib/python3.8/dist-packages/pluggy/__init__.py:214: in <lambda> hook.multicall( /usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:826: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/local/lib/python3.8/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': 'e1869c1964eae81d1e84e9892aebfeb84b4a473124d28a974fb937c1bf132376', 'hostname': 'de...492d147f572', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.143.192', 'name': 'dev-onezone', ...}} users = {'admin': <tests.utils.user_utils.AdminUser object at 0x7fbe24d71b80>, 'onepanel': <tests.utils.user_utils.AdminUser object at 0x7fbe24d42a90>, 'user1': <tests.utils.user_utils.User object at 0x7fbe24d3c130>} 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/utils/entities_setup/harvesters.py:28: KeyError