GUI acceptance tests using environment deployed from packages.
Build: #1713 failed
Job: Onezone harvesters basic failed
user successfully sets privileges with set privileges privilege[1oz 1op elasticsearch]: Test case result
The below summarizes the result of the test " user successfully sets privileges with set privileges privilege[1oz 1op elasticsearch]" in build 1,713 of Onedata Products - gui acceptance pkg - Chrome onezone harvesters basic tests.
- Description
- user successfully sets privileges with set privileges privilege[1oz 1op elasticsearch]
- Test class
- gui.scenarios.test_onezone_harvesters_basic
- Method
- test_user_successfully_sets_privileges_with_set_privileges_privilege[1oz_1op_elasticsearch]
- Jira Issue
-
- Duration
- 2 mins
- Status
- Failed (Existing Failure)
Error Log
KeyError: 'elasticsearch' request = <FixtureRequest for <Function 'test_user_successfully_sets_privileges_with_set_privileges_privilege[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) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-1045>:2: in create_harvester ??? tests/utils/utils.py:90: in wrapper return fun(*args, **kwargs) tests/gui/meta_steps/onezone/harvesters.py:105: in create_harvester hosts) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-695>:2: in type_endpoint_to_input_field_in_discovery_page ??? tests/utils/utils.py:90: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="be0628249062af16389f9cd1f6b32a2d")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="dda4eafa940dbad1430a6bacf00bc079")>} browser_id = 'browser1', oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'> input_name = 'endpoint' hosts = {'oneprovider-1': {'container-id': 'ca27dddd21122ef3b5727c286cfca50926603599ec543fa2384d37d8368d83a8', 'hostname': 'de...ad7b2ff61aa2af3', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.8', 'name': 'dev-onezone', ...}} @wt(parsers.parse('user of {browser_id} types the endpoint of deployed ' 'elasticsearch client to {input_name} input field ' 'in discovery page')) @repeat_failed(timeout=WAIT_FRONTEND) def type_endpoint_to_input_field_in_discovery_page(selenium, browser_id, oz_page, input_name, hosts): driver = selenium[browser_id] input_field = getattr(oz_page(driver)['discovery'], input_name) > text = f"{hosts['elasticsearch']['ip']}:{ELASTICSEARCH_PORT}" E KeyError: 'elasticsearch' tests/gui/steps/onezone/harvesters/discovery.py:131: KeyError