Build: #1 failed

Job: Chrome transfers multi browser tests failed

user migrates directory with 2 files on different providers to current provider: Test case result

The below summarizes the result of the test " user migrates directory with 2 files on different providers to current provider" in build 1 of Onedata Products - gui acceptance pkg - feature-VFS-4556-rewrite-transfers-gui-tests-to-work - Chrome transfers multi browser tests.
Description
user migrates directory with 2 files on different providers to current provider
Test class
gui.scenarios.test_oneprovider_transfers_multi
Method
test_user_migrates_directory_with_2_files_on_different_providers_to_current_provider
Duration
3 mins
Status
Failed (New Failure)

Error Log

AssertionError: Transfer total files is 3 instead of 2 in ended
request = <FixtureRequest for <Function 'test_user_migrates_directory_with_2_files_on_different_providers_to_current_provider'>>

>   ???

tests/gui/scenarios/test_oneprovider_transfers_multi.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:45: in assert_ended_transfer
    _assert_transfer(transfer, item_type, desc, 'ended', hosts)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

transfer = <tests.gui.utils.oneprovider.transfers.TransferRecordHistory object at 0x7f3ce41b3e50>
item_type = 'directory'
desc = {'destination': 'oneprovider-2', 'name': 'dir1', 'status': 'completed', 'total files': 2, ...}
sufix = 'ended'
hosts = {'oneprovider-1': {'container_id': 'c82712f46db9c83b79686fbf01383b428a2a653933c4f3323d5a16c206b3fc1c', 'hostname': 'de...74975e5dfcec42b', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.32.0.26', '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 3 instead of 2 in ended

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