GUI acceptance tests using environment deployed from packages.

Build: #1230 failed

Job: Chrome transfers tests was successful

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

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

Error Log

AssertionError: Transfer transferred is 50 MiB instead of 0 B in ended
request = <FixtureRequest for <Function 'test_user_tries_to_replicate_directory_to_too_small_space_on_remote_provider[1oz_2op_deployed]'>>

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

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

transfer = <tests.gui.utils.oneprovider.transfers.TransferRecordHistory object at 0x7f053faec0b8>
item_type = 'directory'
desc = {'destination': 'oneprovider-2', 'name': 'dir1', 'status': 'failed', 'transferred': '0 B', ...}
sufix = 'ended'
hosts = {'oneprovider-1': {'container-id': 'a0579dad57683e65d76c7b137270063de4569fe112888ed232d6fb96a3025b06', 'hostname': 'de...e30fa19c9f4a94', '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 transferred is 50 MiB instead of 0 B in ended

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