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

Build: #2016 failed

Job: Access tokens failed

luma local feed onedata user mappings on posix imported storage are respected in web interface and in oneclient[1oz 1op luma oneclient]: Test case result

The below summarizes the result of the test " luma local feed onedata user mappings on posix imported storage are respected in web interface and in oneclient[1oz 1op luma oneclient]" in build 2,016 of Onedata Products - mixed acceptance pkg - Chrome LUMA tests.
Description
luma local feed onedata user mappings on posix imported storage are respected in web interface and in oneclient[1oz 1op luma oneclient]
Test class
mixed.scenarios.test_luma
Method
test_luma_local_feed_onedata_user_mappings_on_posix_imported_storage_are_respected_in_web_interface_and_in_oneclient[1oz_1op_luma_oneclient]
Jira Issue
Duration
43 secs
Status
Failed (New Failure)

Error Log

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

    @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:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-601>: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:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="1d0249f011443c9af21bb0e42409aa13")>}
driver = <function driver.<locals>.<lambda> at 0x7f858c760048>
browser_id_list = '[user1, user2]'
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_luma_local_feed_onedata_u0')
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'modal': None}}, 'user2': {'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_luma_local_feed_onedata_u0/user2/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 = {'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