Build: #4 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 4 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
2 mins
Status
Failed (New 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 0x7fa2b75baac0>
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': '9e68437c9586d5a8f7a57450cfc3bb54e6f51e32cf6a2de...207', '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="7a61d0d77fd088777ff22ca8507455fd")>, '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': '9e68437c9586d5a8f7a57450cfc3bb54e6f51e32cf6a2de91cc900a0c4aafa2f', 'hostname': 'de...539c7cc0c2a6', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.48.207', '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:674: AssertionError