GUI acceptance tests using environment deployed from packages.

Build: #339 was successful

Job: Chrome transfers tests was successful

user tries to migrate directory to too small space on remote provider: Test case result

The below summarizes the result of the test " user tries to migrate directory to too small space on remote provider" in build 339 of Onedata Products - gui acceptance pkg - Chrome transfers tests.
Description
user tries to migrate directory to too small space on remote provider
Test class
gui.scenarios.test_oneprovider_transfers
Method
test_user_tries_to_migrate_directory_to_too_small_space_on_remote_provider
Jira Issue
Duration
5 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: Transfer status is completed instead of failed in ended
request = <FixtureRequest for <Function 'test_user_tries_to_migrate_directory_to_too_small_space_on_remote_provider'>>

    
>   scenarios('../features/oneprovider/transfers/transfers.feature')

tests/gui/scenarios/test_oneprovider_transfers.py:53: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python2.7/dist-packages/pytest_bdd/scenario.py:195: in _execute_scenario
    _execute_step_function(request, scenario, step, step_func)
/usr/local/lib/python2.7/dist-packages/pytest_bdd/scenario.py:137: in _execute_step_function
    step_func(**kwargs)
<decorator-gen-348>:2: in assert_ended_transfer
    ???
tests/gui/utils/generic.py:110: in wrapper
    return fun(*args, **kwargs)
tests/gui/steps/oneprovider/transfers.py:46: in assert_ended_transfer
    _assert_transfer(transfer, item_type, desc, 'ended', hosts)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transfer = <tests.gui.utils.oneprovider.transfers.TransferRecordHistory object at 0x7ff77ae23150>
item_type = 'directory'
desc = {'destination': 'oneprovider-2', 'name': 'dir1', 'status': 'failed', 'total files': 1, ...}
sufix = 'ended'
hosts = {'oneprovider-1': {'container_id': 'a7a19bbaece24d54b525bb9a9ceee113c924713a031ed62978b50c7140ddc15b', 'hostname': 'de...20c4478dd9954e', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.12', '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(' ', '_'))
            assert transfer_val == str(val), \
                'Transfer {} is {} instead of {} in {}'.format(key, transfer_val,
>                                                              val, sufix)
E           AssertionError: Transfer status is completed instead of failed in ended

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