Acceptance tests using different clients concurrently. Environment deployed from packages.

Build: #1315 failed

Job: Spaces basic failed

admin user adds other user to space using client1 and that user using client2 sees that he has been added[1oz 1op 1oc]: Test case result

The below summarizes the result of the test " admin user adds other user to space using client1 and that user using client2 sees that he has been added[1oz 1op 1oc]" in build 1,315 of Onedata Products - mixed acceptance pkg - Chrome spaces basic tests.
Description
admin user adds other user to space using client1 and that user using client2 sees that he has been added[1oz 1op 1oc]
Test class
mixed.scenarios.test_spaces_basic
Method
test_admin_user_adds_other_user_to_space_using_client1_and_that_user_using_client2_sees_that_he_has_been_added[1oz_1op_1oc]
Duration
1 min
Status
Failed (New Failure)

Error Log

AttributeError: user1 already in use
request = <FixtureRequest for <Function 'test_admin_user_adds_other_user_to_space_using_client1_and_that_user_using_client2_sees_that_he_has_been_added[1oz_1op_1oc]'>>

    @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:77: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-657>:2: in login_using_gui
    ???
tests/utils/utils.py:90: in wrapper
    return fun(*args, **kwargs)
tests/gui/meta_steps/onezone/common.py:37: in login_using_gui
    screen_width, screen_height, displays)
tests/utils/bdd_utils.py:77: in wrapper
    return fun(*ba.args, **ba.kwargs)
tests/utils/bdd_utils.py:77: in wrapper
    return fun(*ba.args, **ba.kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'admin2': <selenium.webdriver.chrome.webdriver.WebDriver (session="630ce7a2e78c0b3ca014fdd746841235")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="5c3eac667e6a316fb8069ae4141f9fc9")>}
driver = <function driver.<locals>.<lambda> at 0x7fe9ba775598>
browser_id_list = '[user1, admin2]'
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_admin_user_adds_other_use0')
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'modal': None}}, 'admin2': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'modal': None}}})
driver_kwargs = {'desired_capabilities': {'acceptSslCerts': True, 'browserName': 'chrome', 'goog:chromeOptions': {'args': ['--no-sandb...pytest-of-bamboo/pytest-0/test_admin_user_adds_other_use0/admin2/download'}}, 'loggingPrefs': {'browser': 'ALL'}, ...}}
driver_type = 'Chrome', firefox_logging = False, firefox_path = None
xvfb = [':1006.0'], xvfb_recorder = None, screen_width = 1366
screen_height = 1024, displays = {'admin2': ':1006.0', 'user1': ':1006.0'}

    @given(parsers.parse("user opened {browser_id_list} window"))
    @given(parsers.parse("users opened {browser_id_list} browsers' windows"))
    def create_instances_of_webdriver(selenium, driver, browser_id_list, tmpdir,
                                      tmp_memory, driver_kwargs, driver_type,
                                      firefox_logging, firefox_path,
                                      xvfb, xvfb_recorder,
                                      screen_width, screen_height, displays):
    
        for browser_id, display in zip(parse_seq(browser_id_list), cycle(xvfb)):
            if browser_id in selenium:
>               raise AttributeError('{:s} already in use'.format(browser_id))
E               AttributeError: user1 already in use

tests/gui/steps/common/browser_creation.py:39: AttributeError