Build: #6 failed

Job: Transfers directories failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user sees spaces size stats per provider after clicking show statistics button and replicating directories from oneprovider1 to oneprovider2[1oz 2op deployed]: Test case result

The below summarizes the result of the test " user sees spaces size stats per provider after clicking show statistics button and replicating directories from oneprovider1 to oneprovider2[1oz 2op deployed]" in build 6 of Onedata Products - gui acceptance pkg - feature-VFS-12098-test-couchbase-upgrade-to-6.x-from-4.1 - Transfers directories.
Description
user sees spaces size stats per provider after clicking show statistics button and replicating directories from oneprovider1 to oneprovider2[1oz 2op deployed]
Test class
gui.scenarios.test_oneprovider_transfers_directories
Method
test_user_sees_spaces_size_stats_per_provider_after_clicking_show_statistics_button_and_replicating_directories_from_oneprovider1_to_oneprovider2[1oz_2op_deployed]
Duration
3 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: physical_size is 0 B instead of 60 B for provider dev-oneprovider-paris!
fixturefunc = <function check_size_stats_for_provider at 0x7f30312b6de0>
request = <FixtureRequest for <Function test_user_sees_spaces_size_stats_per_provider_after_clicking_show_statistics_button_and_replicating_directories_from_oneprovider1_to_oneprovider2[1oz_2op_deployed]>>
kwargs = {'browser_id': 'browser', 'elem_type': 'physical_size', 'expected': '60 B', 'hosts': {'oneprovider-1': {'container-id'...8fad35', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.45.254', '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)
/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="eafd5b54d733c08075262178b93a92ea")>, 'request': <SubRequest 's...fter_clicking_show_statistics_button_and_replicating_directories_from_oneprovider1_to_oneprovider2[1oz_2op_deployed]>>}
hosts = {'oneprovider-1': {'container-id': '78efe2f848dda76e0f054936fef2da9754242324b544658807c1c9b2e82762b5', 'hostname': 'de...61adb68fad35', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.45.254', 'name': 'dev-onezone', ...}}
modals = <class 'tests.gui.utils.common.modals.Modals'>, browser_id = 'browser'
elem_type = 'physical_size', provider = 'oneprovider-2', expected = '60 B'

    @wt(
        parsers.re(
            "user of (?P<browser_id>.*?) sees that "
            "(?P<elem_type>physical_size|logical_size) for "
            '(?P<provider>.*?) is "(?P<expected>.*?)"'
        )
    )
    @repeat_failed(interval=1, timeout=40, exceptions=AssertionError)
    def check_size_stats_for_provider(
        selenium, hosts, modals, browser_id, elem_type, provider, expected
    ):
        driver = selenium[browser_id]
        provider_name = hosts[provider]["name"]
        size = getattr(
            modals(driver).details_modal.size_statistics.dir_stats_row_per_provider[
                provider_name
            ],
            transform(elem_type),
        )
    
        assert (
>           size == expected
        ), f"{elem_type} is {size} instead of {expected} for provider {provider_name}!"
E       AssertionError: physical_size is 0 B instead of 60 B for provider dev-oneprovider-paris!

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