GUI acceptance tests using environment deployed from packages.

Build: #2317 failed

Job: Onezone spaces multiuser failed

Stages & jobs

  1. Acceptance Test

user adds one of his harvesters to space and another user deletes this harvester[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user adds one of his harvesters to space and another user deletes this harvester[1oz 1op deployed]" in build 2,317 of Onedata Products - gui acceptance pkg - Chrome onezone spaces multiuser tests.
Description
user adds one of his harvesters to space and another user deletes this harvester[1oz 1op deployed]
Test class
gui.scenarios.test_onezone_spaces_multiuser
Method
test_user_adds_one_of_his_harvesters_to_space_and_another_user_deletes_this_harvester[1oz_1op_deployed]
Duration
1 min
Status
Failed (New Failure)

Error Log

KeyError: 'elasticsearch'
request = <FixtureRequest for <Function 'test_user_adds_one_of_his_harvesters_to_space_and_another_user_deletes_this_harvester[1oz_1op_deployed]'>>

    @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-1185>: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-757>: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="6608ad79f88437b2af7151f40073c363")>, 'space_owner_browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="c72c2a2506c6d87336d70deb13dd4e8c")>}
browser_id = 'browser1', oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>
input_name = 'endpoint'
hosts = {'oneprovider-1': {'container-id': '01dd9ade240376f6993345c9a2f5612193ad40981fec43303cccc24249d10e71', 'hostname': 'de...28f8220d0f4fc75', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.9', '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:133: KeyError