Build: #10 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 10 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
4 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 0x7ff9d2c56de0>
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'...9121d', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.103.106', '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="420db3942a28f0b0dd2bb7d9fb77354a")>, 'request': <SubRequest 's...fter_clicking_show_statistics_button_and_replicating_directories_from_oneprovider1_to_oneprovider2[1oz_2op_deployed]>>}
hosts = {'oneprovider-1': {'container-id': 'c56612e6d65ef4a9de109d2838323fb6782773d8ffd44d2d2606365b72d9eee9', 'hostname': 'de...7e21669121d', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.103.106', '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