Build: #8 failed

Job: Transfers directories failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user checks directorys data distribution change for oneprovider2 after file replication[1oz 2op deployed]: Test case result

The below summarizes the result of the test " user checks directorys data distribution change for oneprovider2 after file replication[1oz 2op deployed]" in build 8 of Onedata Products - gui acceptance pkg - feature-VFS-12098-test-couchbase-upgrade-to-6.x-from-4.1 - Transfers directories.
Description
user checks directorys data distribution change for oneprovider2 after file replication[1oz 2op deployed]
Test class
gui.scenarios.test_oneprovider_transfers_directories
Method
test_user_checks_directorys_data_distribution_change_for_oneprovider2_after_file_replication[1oz_2op_deployed]
Duration
3 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: Data distribution at 0% instead of 33% for provider dev-oneprovider-paris!
fixturefunc = <function check_data_distribution_percentage_for_provider at 0x7f585adadc60>
request = <FixtureRequest for <Function test_user_checks_directorys_data_distribution_change_for_oneprovider2_after_file_replication[1oz_2op_deployed]>>
kwargs = {'browser_id': 'browser', 'hosts': {'oneprovider-1': {'container-id': '3b4515bbf62e05bb5804259a31972fd95c225c72e70535c...185', 'name': 'dev-onezone', ...}}, 'modals': <class 'tests.gui.utils.common.modals.Modals'>, 'percentage': '33%', ...}

    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)
/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="361861ebd845d74290c24a4f5f671a6b")>, 'request': <SubRequest 's...ction test_user_checks_directorys_data_distribution_change_for_oneprovider2_after_file_replication[1oz_2op_deployed]>>}
browser_id = 'browser', provider = 'dev-oneprovider-paris', percentage = '33%'
modals = <class 'tests.gui.utils.common.modals.Modals'>
hosts = {'oneprovider-1': {'container-id': '3b4515bbf62e05bb5804259a31972fd95c225c72e70535cb515855a6c3104e62', 'hostname': 'de...22d77db77ac3', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.24.185', 'name': 'dev-onezone', ...}}

    @wt(
        parsers.parse(
            "user of {browser_id} sees that data distribution for "
            "{provider} is at {percentage}"
        )
    )
    @repeat_failed(interval=1, timeout=40, exceptions=AssertionError)
    def check_data_distribution_percentage_for_provider(
        selenium, browser_id, provider, percentage, modals, hosts
    ):
        driver = selenium[browser_id]
        provider = hosts[provider]["name"]
        # TODO VFS-12315 remove sleep in acc tests
        time.sleep(1)
        data_distribution = modals(driver).details_modal.data_distribution
        percentage_label = data_distribution.providers[provider].percentage_label
>       assert percentage_label == percentage, (
            f"Data distribution at {percentage_label} instead of {percentage}"
            f" for provider {provider}!"
        )
E       AssertionError: Data distribution at 0% instead of 33% for provider dev-oneprovider-paris!

tests/gui/steps/oneprovider/data_tab.py:847: AssertionError