Build: #9 failed
Job: Transfers directories failed
user checks directorys data distribution change for oneprovider2 after file replication[1oz 2op deployed]: Test case result
The below summarizes the result of the test " user checks directorys data distribution change for oneprovider2 after file replication[1oz 2op deployed]" in build 9 of Onedata Products - gui acceptance pkg - feature-VFS-12098-test-couchbase-upgrade-to-6.x-from-4.1 - Transfers directories.
- Description
- user checks directorys data distribution change for oneprovider2 after file replication[1oz 2op deployed]
- Test class
- gui.scenarios.test_oneprovider_transfers_directories
- Method
- test_user_checks_directorys_data_distribution_change_for_oneprovider2_after_file_replication[1oz_2op_deployed]
- Duration
- 2 mins
- Status
- Failed (Existing Failure)
Error Log
AssertionError: Data distribution at 0% instead of 33% for provider dev-oneprovider-paris! fixturefunc = <function check_data_distribution_percentage_for_provider at 0x7f90e9c8dc60> request = <FixtureRequest for <Function test_user_checks_directorys_data_distribution_change_for_oneprovider2_after_file_replication[1oz_2op_deployed]>> kwargs = {'browser_id': 'browser', 'hosts': {'oneprovider-1': {'container-id': 'c4653fba1b9b11e549c97d6e552b3544e3a2845def1e459....93', 'name': 'dev-onezone', ...}}, 'modals': <class 'tests.gui.utils.common.modals.Modals'>, 'percentage': '33%', ...} 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="da8577a1024a073daf9c253ab5842fae")>, 'request': <SubRequest 's...ction test_user_checks_directorys_data_distribution_change_for_oneprovider2_after_file_replication[1oz_2op_deployed]>>} browser_id = 'browser', provider = 'dev-oneprovider-paris', percentage = '33%' modals = <class 'tests.gui.utils.common.modals.Modals'> hosts = {'oneprovider-1': {'container-id': 'c4653fba1b9b11e549c97d6e552b3544e3a2845def1e459c5346c197049ce92e', 'hostname': 'de...3453030b71b9a', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.99.93', 'name': 'dev-onezone', ...}} @wt( parsers.parse( "user of {browser_id} sees that data distribution for " "{provider} is at {percentage}" ) ) @repeat_failed(interval=1, timeout=40, exceptions=AssertionError) def check_data_distribution_percentage_for_provider( selenium, browser_id, provider, percentage, modals, hosts ): driver = selenium[browser_id] provider = hosts[provider]["name"] # TODO VFS-12315 remove sleep in acc tests time.sleep(1) data_distribution = modals(driver).details_modal.data_distribution percentage_label = data_distribution.providers[provider].percentage_label > assert percentage_label == percentage, ( f"Data distribution at {percentage_label} instead of {percentage}" f" for provider {provider}!" ) E AssertionError: Data distribution at 0% instead of 33% for provider dev-oneprovider-paris! tests/gui/steps/oneprovider/data_tab.py:847: AssertionError