GUI acceptance tests using environment deployed from packages.

Build: #1381 failed

Job: Chrome transfers tests was successful

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 1,381 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
3 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: space 83c6b32f7b4a5d78ff5b00be2db77182ch59e4 not found in user space-owner-user spaces
request = <FixtureRequest for <Function 'test_user_tries_to_migrate_file_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)
/usr/local/lib/python3.6/dist-packages/pytest_bdd/steps.py:162: in step_func
    result = request.getfixturevalue(func.__name__)
/usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:428: in getfixturevalue
    return self._get_active_fixturedef(argname).cached_result[0]
/usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:453: in _get_active_fixturedef
    self._compute_fixture_value(fixturedef)
/usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:524: in _compute_fixture_value
    fixturedef.execute(request=subrequest)
/usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:795: in execute
    return hook.pytest_fixture_setup(fixturedef=self, request=request)
/usr/local/lib/python3.6/dist-packages/pluggy/__init__.py:617: in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
/usr/local/lib/python3.6/dist-packages/pluggy/__init__.py:222: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/local/lib/python3.6/dist-packages/pluggy/__init__.py:216: in <lambda>
    firstresult=hook.spec_opts.get('firstresult'),
/usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:826: in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs)
/usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:718: in call_fixture_func
    res = fixturefunc(**kwargs)
tests/utils/bdd_utils.py:77: in wrapper
    return fun(*ba.args, **ba.kwargs)
tests/gui/steps/rest/env_up/spaces.py:103: in create_and_configure_spaces
    users, groups, storages, spaces)
tests/gui/steps/rest/env_up/spaces.py:135: in _create_and_configure_spaces
    users_to_add, users_db)
tests/gui/steps/rest/env_up/spaces.py:243: in _get_support
    wait_for_space_support(space_id, provider_hostname, all_members, users)
<decorator-gen-13>:2: in wait_for_space_support
    ???
tests/utils/utils.py:90: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

space_id = '83c6b32f7b4a5d78ff5b00be2db77182ch59e4'
provider_hostname = 'dev-oneprovider-krakow.default.svc.cluster.local'
members = ['space-owner-user']
users = {'admin': <tests.utils.user_utils.AdminUser object at 0x7f540c504550>, 'onepanel': <tests.utils.user_utils.AdminUser object at 0x7f540c544be0>, 'space-owner-user': <tests.utils.user_utils.User object at 0x7f540c5a8978>}

    @repeat_failed(attempts=10, interval=0.5,
                   exceptions=(AssertionError, HTTPError))
    def wait_for_space_support(space_id, provider_hostname, members, users):
        for user in members:
            response = http_get(ip=provider_hostname, port=OP_REST_PORT,
                                path=get_provider_rest_path('spaces'),
                                headers={'X-Auth-Token': users[user].token}).content
            space_id_list = [space['spaceId'] for space in json.loads(response)]
    
            assert space_id in space_id_list, ('space {} not found in user '
                                               '{} spaces'.format(space_id,
>                                                                 user))
E           AssertionError: space 83c6b32f7b4a5d78ff5b00be2db77182ch59e4 not found in user space-owner-user spaces

tests/gui/steps/rest/env_up/spaces.py:257: AssertionError