GUI acceptance tests using environment deployed from packages.

Build: #2839 failed

Job: Onezone harvesters privileges add and remove failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user successfully adds group to harvester with add group privilege[1oz 1op elasticsearch]: Test case result

The below summarizes the result of the test " user successfully adds group to harvester with add group privilege[1oz 1op elasticsearch]" in build 2,839 of Onedata Products - gui acceptance pkg - Onezone harvesters privileges add and remove.
Description
user successfully adds group to harvester with add group privilege[1oz 1op elasticsearch]
Test class
gui.scenarios.test_onezone_harvesters_privileges_add_remove
Method
test_user_successfully_adds_group_to_harvester_with_add_group_privilege[1oz_1op_elasticsearch]
Duration
55 secs
Status
Failed (New Failure)

Error Log

KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_successfully_adds_group_to_harvester_with_add_group_privilege[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)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-1329>:2: in create_harvester
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
tests/gui/meta_steps/onezone/harvesters.py:106: in create_harvester
    type_endpoint_to_input_field_in_discovery_page(selenium, browser_id,
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-831>:2: in type_endpoint_to_input_field_in_discovery_page
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="55d9915f6fd870ff4a439860a6055567")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="e480c2bbd837885af61c75f2d73e5957")>}
browser_id = 'browser1', oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>
input_name = 'endpoint'
hosts = {'oneprovider-1': {'container-id': 'a65886b991d15aae94542974f141542cd033aaba025f3c39f81ae07fbf51fd6f', 'hostname': 'de...025e296d2d2', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.114.252', '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:134: KeyError