Build: #10 failed
Job: Transfers cancel failed
user reruns directory transfer to remote provider after canceling it[1oz 2op slow deployed]: Test case result
The below summarizes the result of the test " user reruns directory transfer to remote provider after canceling it[1oz 2op slow deployed]" in build 10 of Onedata Products - gui acceptance pkg - feature-VFS-12098-test-couchbase-upgrade-to-6.x-from-4.1 - Transfers cancel.
- Description
- user reruns directory transfer to remote provider after canceling it[1oz 2op slow deployed]
- Test class
- gui.scenarios.test_oneprovider_transfers_cancel
- Method
- test_user_reruns_directory_transfer_to_remote_provider_after_canceling_it[1oz_2op_slow_deployed]
- Duration
- 21 mins
- Status
- Failed (Existing Failure)
Error Log
AssertionError: Transfer status is failed instead of completed in ended fixturefunc = <function assert_ended_transfer at 0x7faeae4067a0> request = <FixtureRequest for <Function test_user_reruns_directory_transfer_to_remote_provider_after_canceling_it[1oz_2op_slow_deployed]>> kwargs = {'browser_id': 'browser', 'desc': 'name: "0"\nreplicated: <= 9.3 GB\ntype: replication\nstatus: completed', 'hosts': {...'dev-onezone.default.svc.cluster.local', 'ip': '10.244.21.111', 'name': 'dev-onezone', ...}}, 'item_type': 'file', ...} 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) tests/gui/steps/oneprovider/transfers.py:90: in assert_ended_transfer _assert_transfer( tests/gui/steps/oneprovider/transfers.py:73: in _assert_transfer raise e _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ transfer = <tests.gui.utils.oneprovider.transfers.TransferRecordHistory object at 0x7faea659bef0> item_type = 'file' desc = {'name': '0', 'replicated': '<= 9.3 GB', 'status': 'completed', 'type': 'replication'} sufix = 'ended' hosts = {'oneprovider-1': {'container-id': '31672eaf256e5e1a60c5c852cea33c3968afbf2ac4071ae50b41193b593b7747', 'hostname': 'de...d97cecc432e6', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.21.111', 'name': 'dev-onezone', ...}} selenium = {'browser': <tests.conftest.ChromeWithAllLogs (session="fa79067fee3147120304b10c5be73191")>, 'request': <SubRequest 'selenium' for <Function test_user_reruns_directory_transfer_to_remote_provider_after_canceling_it[1oz_2op_slow_deployed]>>} browser_id = 'browser' op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'> popups = <class 'tests.gui.utils.common.popups.Popups'> def _assert_transfer( transfer, item_type, desc, sufix, hosts, selenium, browser_id, op_container, popups, ): assert getattr( transfer, f"is_{item_type}" )(), f"Transferred item is not {item_type} in {sufix}" desc = yaml.load(desc, yaml.Loader) for key, val in desc.items(): if key == "destination": val = hosts[val]["name"] transfer_val = None try: transfer_val = getattr(transfer, key.replace(" ", "_")) except (RuntimeError, NoSuchElementException): # if key differs from column name, consider creating suitable dict cols = [key.replace(" ", "_")] _select_columns_to_be_visible_in_transfers( selenium, browser_id, cols, op_container, popups ) transfer_val = getattr(transfer, key.replace(" ", "_")) try: > assert transfer_val == str( val ), f"Transfer {key} is {transfer_val} instead of {val} in {sufix}" E AssertionError: Transfer status is failed instead of completed in ended tests/gui/steps/oneprovider/transfers.py:54: AssertionError