Build: #4 failed

Job: Onezone spaces memberships privileges failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

nonspaceowner successfully views data if he got read files privilege[1oz 1op deployed]: Test case result

The below summarizes the result of the test " nonspaceowner successfully views data if he got read files privilege[1oz 1op deployed]" in build 4 of Onedata Products - gui acceptance pkg - feature-VFS-12098-test-couchbase-upgrade-to-6.x-from-4.1 - Onezone spaces memberships privileges.
Description
nonspaceowner successfully views data if he got read files privilege[1oz 1op deployed]
Test class
gui.scenarios.test_onezone_spaces_memberships_privileges
Method
test_nonspaceowner_successfully_views_data_if_he_got_read_files_privilege[1oz_1op_deployed]
Duration
5 mins
Status
Failed (New Failure)

Error Log

AssertionError: not found "dir1" in browser
fixturefunc = <function wt_assert_items_presence_in_browser at 0x7f0ece28a020>
request = <FixtureRequest for <Function test_nonspaceowner_successfully_views_data_if_he_got_read_files_privilege[1oz_1op_deployed]>>
kwargs = {'browser_id': 'browser_user1', 'item_list': 'dir1', 'selenium': {'browser_user1': <tests.conftest.ChromeWithAllLogs (..._owner_browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'modal': None}}}), ...}

    def call_fixture_func(
        fixturefunc: "_FixtureFunc[FixtureValue]", request: FixtureRequest, kwargs
    ) -> FixtureValue:
        if is_generator(fixturefunc):
            fixturefunc = cast(
                Callable[..., Generator[FixtureValue, None, None]], fixturefunc
            )
            generator = fixturefunc(**kwargs)
            try:
                fixture_result = next(generator)
            except StopIteration:
                raise ValueError(f"{request.fixturename} did not yield a value") from None
            finalizer = functools.partial(_teardown_yield_fixture, fixturefunc, generator)
            request.addfinalizer(finalizer)
        else:
            fixturefunc = cast(Callable[..., FixtureValue], fixturefunc)
>           fixture_result = fixturefunc(**kwargs)

/usr/local/lib/python3.12/dist-packages/_pytest/fixtures.py:913: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
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)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
tests/gui/steps/oneprovider/browser.py:160: in wt_assert_items_presence_in_browser
    assert_items_presence_in_browser(
/usr/local/lib/python3.12/dist-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
tests/utils/utils.py:93: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browser_user1': <tests.conftest.ChromeWithAllLogs (session="3160fa554385d6e4cd93ce0bb70b898e")>, 'request': <SubRequ...op_deployed]>>, 'space_owner_browser': <tests.conftest.ChromeWithAllLogs (session="4dc5f7c5e74090452dcdfb7ccd8b90eb")>}
browser_id = 'browser_user1', item_list = ['dir1']
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...'space_owner_browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'modal': None}}})
which_browser = 'file browser'

    @repeat_failed(timeout=WAIT_BACKEND)
    def assert_items_presence_in_browser(selenium, browser_id, item_list, tmp_memory,
                                         which_browser='file browser'):
        data = _get_items_list_from_browser(selenium, browser_id, tmp_memory,
                                            which_browser)
        if not isinstance(item_list, list):
            item_list = parse_seq(item_list)
        for item_name in item_list:
>           assert item_name in data, (f'not found "{item_name}" '
                                       f'in browser')
E           AssertionError: not found "dir1" in browser

tests/gui/steps/oneprovider/browser.py:173: AssertionError