Build: #4 failed

Job: Transfers files failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user sees that there are no file blocks on provider from which file was downloaded and then evicted[1oz 2op deployed]: Test case result

The below summarizes the result of the test " user sees that there are no file blocks on provider from which file was downloaded and then evicted[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 files.
Description
user sees that there are no file blocks on provider from which file was downloaded and then evicted[1oz 2op deployed]
Test class
gui.scenarios.test_oneprovider_transfers_files
Method
test_user_sees_that_there_are_no_file_blocks_on_provider_from_which_file_was_downloaded_and_then_evicted[1oz_2op_deployed]
Duration
4 mins
Status
Failed (New Failure)

Error Log

AssertionError: distribution for dev-oneprovider-paris is not entirely filled
fixturefunc = <function wt_assert_file_chunks at 0x7f56c90ae0c0>
request = <FixtureRequest for <Function test_user_sees_that_there_are_no_file_blocks_on_provider_from_which_file_was_downloaded_and_then_evicted[1oz_2op_deployed]>>
kwargs = {'browser_id': 'browser', 'desc': 'oneprovider-1: entirely filled\noneprovider-2: entirely filled', 'file_name': '20B-...0e3eda', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.111.50', '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)
tests/gui/meta_steps/oneprovider/common.py:103: in wt_assert_file_chunks
    _assert_file_chunks(selenium, browser_id, hosts, desc, modals)
/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)
tests/gui/meta_steps/oneprovider/common.py:118: in _assert_file_chunks
    assert_provider_chunk_in_data_distribution_filled(selenium,
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="5a28274420c075928ea5851a1eb5a405")>, 'request': <SubRequest 's...ser_sees_that_there_are_no_file_blocks_on_provider_from_which_file_was_downloaded_and_then_evicted[1oz_2op_deployed]>>}
browser_id = 'browser', provider = 'dev-oneprovider-paris'
modals = <class 'tests.gui.utils.common.modals.Modals'>
hosts = {'oneprovider-1': {'container-id': 'd3d6c8f06da9e669d006b475c3d75f108ce49acb546c5b7ad5841f9a2c1f1a23', 'hostname': 'de...675e8e0e3eda', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.111.50', 'name': 'dev-onezone', ...}}

    @wt(parsers.parse('user of {browser_id} sees that chunk bar for provider '
                      '"{provider}" is entirely filled'))
    @repeat_failed(timeout=WAIT_BACKEND * 2)
    def assert_provider_chunk_in_data_distribution_filled(selenium, browser_id,
                                                          provider, modals, hosts):
        driver = selenium[browser_id]
        provider = hosts[provider]['name']
        data_distribution = modals(driver).details_modal.data_distribution
        distribution = data_distribution.providers[provider].distribution
        size = data_distribution.size()
        chunks = distribution.chunks(size)
>       assert len(chunks) == 1, (f'distribution for {provider} is not '
                                  f'entirely filled')
E       AssertionError: distribution for dev-oneprovider-paris is not entirely filled

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