Build: #4 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 4 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 (New 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 0x7fa2b75bbc40>
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'...c0c2a6', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.48.207', '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="e4a9a9bc8e7f195ee04701070a06814d")>, 'request': <SubRequest 's...fter_clicking_show_statistics_button_and_replicating_directories_from_oneprovider1_to_oneprovider2[1oz_2op_deployed]>>}
hosts = {'oneprovider-1': {'container-id': '9e68437c9586d5a8f7a57450cfc3bb54e6f51e32cf6a2de91cc900a0c4aafa2f', 'hostname': 'de...539c7cc0c2a6', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.48.207', '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 "
            f"{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:712: AssertionError