GUI acceptance tests using environment deployed from packages.

Build: #2473 was successful

Job: Transfers cancel was successful

Stages & jobs

  1. Acceptance Test

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 2,473 of Onedata Products - gui acceptance pkg - Chrome 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
14 mins
Status
Failed (New Failure)

Error Log

AssertionError: Transfer status is completed instead of cancelled in ended
request = <FixtureRequest for <Function 'test_user_reruns_directory_transfer_to_remote_provider_after_canceling_it[1oz_2op_slow_deployed]'>>

    @pytest.mark.usefixtures(*function_args)
    def scenario_wrapper(request):
>       _execute_scenario(feature, scenario, request, encoding)

/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:227: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario
    _execute_step_function(request, scenario, step, step_func)
/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:130: in _execute_step_function
    step_func(**kwargs)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-723>:2: in assert_ended_transfer
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
tests/gui/steps/oneprovider/transfers.py:60: in assert_ended_transfer
    _assert_transfer(transfer, item_type, desc, 'ended', hosts)
tests/gui/steps/oneprovider/transfers.py:51: in _assert_transfer
    raise e
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transfer = <tests.gui.utils.oneprovider.transfers.TransferRecordHistory object at 0x7fbb74c4f670>
item_type = 'file'
desc = {'name': '0', 'replicated': '< 18.6 GB', 'status': 'cancelled', 'type': 'replication'}
sufix = 'ended'
hosts = {'oneprovider-1': {'container-id': '9960b2fa4e92f95dc54504e95607b2aaa0852beba8482182fbdb199311bc1e9e', 'hostname': 'de...d8ec2c69ed7d5fe', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.5', 'name': 'dev-onezone', ...}}

    def _assert_transfer(transfer, item_type, desc, sufix, hosts):
        assert getattr(transfer, 'is_{}'.format(item_type))(), \
            'Transferred item is not {} in {}'.format(item_type, sufix)
    
        desc = yaml.load(desc)
        for key, val in desc.items():
            if key == 'destination':
                val = hosts[val]['name']
            transfer_val = getattr(transfer, key.replace(' ', '_'))
            try:
>               assert transfer_val == str(val), (f'Transfer {key} is '
                                                  f'{transfer_val} instead of '
                                                  f'{val} in {sufix}')
E                                                 AssertionError: Transfer status is completed instead of cancelled in ended

tests/gui/steps/oneprovider/transfers.py:34: AssertionError