Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #3291 failed
Job: ACL two entries failed
user sets acl with two entries[1oz 1op 1oc-[deny, content:list files, content:add files]-user-user2-dir1-RESt-web GUi]: Test case result
The below summarizes the result of the test " user sets acl with two entries[1oz 1op 1oc-[deny, content:list files, content:add files]-user-user2-dir1-RESt-web GUi]" in build 3,291 of Onedata Products - mixed acceptance pkg - ACL two entries.
- Description
- user sets acl with two entries[1oz 1op 1oc-[deny, content:list files, content:add files]-user-user2-dir1-RESt-web GUi]
- Test class
- mixed.scenarios.test_acl_two_entries
- Method
- test_user_sets_acl_with_two_entries[1oz_1op_1oc-[deny, content:list files, content:add files]-user-user2-dir1-REST-web GUI]
- Duration
- 36 secs
- Status
- Failed (New Failure)
Error Log
AssertionError: Subject name is not {name} in {num} ACL record fixturefunc = <function assert_ace_in_op at 0x7f373e4f4220> request = <FixtureRequest for <Function test_user_sets_acl_with_two_entries[1oz_1op_1oc-[deny, content:list files, content:add files]-user-user2-dir1-REST-web GUI]>> kwargs = {'cdmi': <class 'tests.gui.utils.oneservices.cdmi.CDMIClient'>, 'client': 'web GUI', 'host': 'oneprovider-1', 'hosts':...84af0f', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.63.120', 'name': 'dev-onezone', ...}}, ...} 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/mixed/steps/data_permissions.py:150: in assert_ace_in_op assert_ace_in_op_gui( tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) tests/gui/meta_steps/oneprovider/permissions.py:425: in assert_ace_in_op_gui assert_acl_subject(selenium, browser_id, modals, num, numerals, acl_type, name) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) /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': <tests.conftest.ChromeWithAllLogs (session="b47995eedf13e146beaac574e3e39a6f")>, 'request': <SubRequest 's...r-user2-dir1-REST-web GUI]>>, 'user1': <tests.conftest.ChromeWithAllLogs (session="b47995eedf13e146beaac574e3e39a6f")>} browser_id = 'user1', modals = <class 'tests.gui.utils.common.modals.Modals'> num = 'second' numerals = {'eighth': 7, 'fifth': 4, 'first': 0, 'fourth': 3, ...} sub_type = 'user', name = 'user2' @wt( parsers.re( r"user of (?P<browser_id>\w+) sees that (?P<num>\w+) ACL record" " in edit permissions panel is set for (?P<sub_type>.*?) " "(?P<name>.*)" ) ) @repeat_failed(timeout=WAIT_FRONTEND) def assert_acl_subject(selenium, browser_id, modals, num, numerals, sub_type, name): driver = selenium[browser_id] n = _get_index(selenium, browser_id, num, modals, numerals) perm = modals(driver).details_modal.edit_permissions.acl.member_permission_list[n] name = name.strip('"') assert ( perm.subject_type() == sub_type ), f"Subject type is not {sub_type} in {num} ACL record" > assert perm.name == name, "Subject name is not {name} in {num} ACL record" E AssertionError: Subject name is not {name} in {num} ACL record tests/gui/steps/oneprovider/permissions.py:344: AssertionError