Build: #16 failed

Job: Transfers cancel failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

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 16 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
25 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: Transfer status is failed instead of completed in ended
fixturefunc = <function assert_ended_transfer at 0x7f6a60d6a7a0>
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.46.142', '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 0x7f6a5b686960>
item_type = 'file'
desc = {'name': '0', 'replicated': '<= 9.3 GB', 'status': 'completed', 'type': 'replication'}
sufix = 'ended'
hosts = {'oneprovider-1': {'container-id': '6d6ced81f8f7748208e17dfea62de386946b2e0bdf3da130cadf0e74069c8832', 'hostname': 'de...c5cd1f823437', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.46.142', 'name': 'dev-onezone', ...}}
selenium = {'browser': <tests.conftest.ChromeWithAllLogs (session="d97b00825728c073c06c83a4f0c2066a")>, '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