GUI acceptance tests using environment deployed from packages.

Build: #660 failed

Job: Chrome transfers tests failed

user tries to migrate file to too small space on remote provider[1oz 2op deployed]: Test case result

The below summarizes the result of the test " user tries to migrate file to too small space on remote provider[1oz 2op deployed]" in build 660 of Onedata Products - gui acceptance pkg - Chrome transfers tests.
Description
user tries to migrate file to too small space on remote provider[1oz 2op deployed]
Test class
gui.scenarios.test_oneprovider_transfers
Method
test_user_tries_to_migrate_file_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Jira Issue
Duration
5 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: Transfer total files is 0 instead of 1 in ended
request = <FixtureRequest for <Function 'test_user_tries_to_migrate_file_to_too_small_space_on_remote_provider[1oz_2op_deployed]'>>

    from tests.gui.steps.oneprovider_common import *
>   from tests.gui.meta_steps.onezone.common import *

tests/gui/scenarios/test_oneprovider_transfers.py:49: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/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)
</usr/local/lib/python2.7/dist-packages/decorator.pyc:decorator-gen-374>:2: in assert_ended_transfer
    ???
tests/utils/utils.py:79: in wrapper
    return fun(*args, **kwargs)
tests/gui/steps/oneprovider/transfers.py:49: in assert_ended_transfer
    _assert_transfer(transfer, item_type, desc, 'ended', hosts)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transfer = <tests.gui.utils.oneprovider.transfers.TransferRecordHistory object at 0x7fab0cc00290>
item_type = 'file'
desc = {'destination': 'oneprovider-2', 'name': 'large_file.txt', 'status': 'failed', 'total files': 1, ...}
sufix = 'ended'
hosts = {'oneprovider-1': {'container-id': 'b85c4fc6426617662ac1787f3bbaf0746af9e1e1f3e1d55bad5b32a17260b114', 'hostname': 'de...0e3a9d606eea78', '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 total files is 0 instead of 1 in ended

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