Build: #9 failed

Job: Storage sync charts was successful

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user configures storage sync and sees storage synchronization statistics[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user configures storage sync and sees storage synchronization statistics[1oz 1op deployed]" in build 9 of Onedata Products - gui acceptance pkg - feature-VFS-12098-test-couchbase-upgrade-to-6.x-from-4.1 - Storage sync charts.
Description
user configures storage sync and sees storage synchronization statistics[1oz 1op deployed]
Test class
gui.scenarios.test_storage_sync_charts
Method
test_user_configures_storage_sync_and_sees_storage_synchronization_statistics[1oz_1op_deployed]
Duration
8 mins
Status
Failed (New Failure)

Error Log

AssertionError: Displayed 5 as number of updated files on sync chart instead of expected 4. Files in mount point: []. Files in dir1: [].Files in dir2: [].
fixturefunc = <function assert_correct_number_displayed_on_sync_charts at 0x7f65a665ec00>
request = <FixtureRequest for <Function test_user_configures_storage_sync_and_sees_storage_synchronization_statistics[1oz_1op_deployed]>>
kwargs = {'bar_type': 'updated', 'browser_id': 'browser1', 'hosts': {'oneprovider-1': {'container-id': 'f11ff87c023d247637c2475...ostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.47.51', 'name': 'dev-onezone', ...}}, 'num': '4', ...}

    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 = {'browser1': <tests.conftest.ChromeWithAllLogs (session="352cfdf612249cd0e441e00727c2df5f")>, 'browser2': <tests.conft...enium' for <Function test_user_configures_storage_sync_and_sees_storage_synchronization_statistics[1oz_1op_deployed]>>}
browser_id = 'browser1', bar_type = 'updated'
onepanel = <class 'tests.gui.utils.onepanel.Onepanel'>, num = 4
hosts = {'oneprovider-1': {'container-id': 'f11ff87c023d247637c24755bc8e68ccbb9b6e27b9bbd02e7abc4adf550ec236', 'hostname': 'de...339138e518636', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.47.51', 'name': 'dev-onezone', ...}}

    @wt(
        parsers.re(
            r"user of (?P<browser_id>.*?) sees that number of "
            r"(?P<bar_type>inserted|updated|deleted) files for "
            r'"(?P<space_name>.*?)" shown on Synchronization files '
            r"processing charts equals (?P<num>\d+) "
            r"in Spaces page in Onepanel"
        )
    )
    @repeat_failed(timeout=WAIT_BACKEND * 10, interval=2)
    def assert_correct_number_displayed_on_sync_charts(
        selenium, browser_id, bar_type, onepanel, num, hosts
    ):
        files_mount_point = docker_ls("", hosts)
        try:
            files_dir1 = docker_ls("dir1", hosts)
        except CalledProcessError:
            files_dir1 = []
        try:
            files_dir2 = docker_ls("dir2", hosts)
        except CalledProcessError:
            files_dir2 = []
    
        num = int(num)
        record = onepanel(selenium[browser_id]).content.spaces.space
        displayed_num = getattr(record.sync_chart, bar_type)
>       assert displayed_num == num, (
            f"Displayed {displayed_num} as number of {bar_type} files on sync "
            f"chart instead of expected {num}. Files in mount point: "
            f"{files_mount_point}. Files in dir1: {files_dir1}."
            f"Files in dir2: {files_dir2}."
        )
E       AssertionError: Displayed 5 as number of updated files on sync chart instead of expected 4. Files in mount point: []. Files in dir1: [].Files in dir2: [].

tests/gui/steps/onepanel/spaces.py:474: AssertionError