Build: #9 failed
Job: Onepanel login failed
user successfully changes password: Test case result
The below summarizes the result of the test " user successfully changes password" in build 9 of Onedata Products - gui acceptance pkg - feature-VFS-4544-gui-acceptance-tests-for-new-oz - Chrome onepanel login tests.
- Description
- user successfully changes password
- Test class
- gui.scenarios.test_onepanel_login
- Method
- test_user_successfully_changes_password
- Duration
- 2 secs
- Status
- Failed (Existing Failure)
Error Log
HTTPBadRequest: [400] Bad Request: {"error":"Invalid Request","description":"Password must be at least 8 characters long and must not contain a colon character ':'"} request = <FixtureRequest for <Function 'test_user_successfully_changes_password'>> from tests.gui.steps.oneprovider.common import * > from tests.gui.steps.oneprovider.data_tab import * tests/gui/scenarios/test_onepanel_login.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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/pytest_bdd/steps.py:165: in step_func result = get_fixture_value(request, func.__name__) /usr/local/lib/python2.7/dist-packages/pytest_bdd/utils.py:36: in get_fixture_value return getfixturevalue(name) /usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py:430: in getfixturevalue return self._get_active_fixturedef(argname).cached_result[0] /usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py:455: in _get_active_fixturedef self._compute_fixture_value(fixturedef) /usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py:526: in _compute_fixture_value fixturedef.execute(request=subrequest) /usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py:797: in execute return hook.pytest_fixture_setup(fixturedef=self, request=request) /usr/local/lib/python2.7/dist-packages/pluggy/__init__.py:617: in __call__ return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) /usr/local/lib/python2.7/dist-packages/pluggy/__init__.py:222: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /usr/local/lib/python2.7/dist-packages/pluggy/__init__.py:216: in <lambda> firstresult=hook.spec_opts.get('firstresult'), /usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py:828: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py:707: in call_fixture_func res = next(it) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ host = 'onezone', config = '- admin2: password: passwd user role: admin' admin_credentials = AdminCred(username='admin', password='password', id='admin') hosts = {'oneprovider-1': {'container_id': '6f0dd7ff16afd53ebed7dfd2f499e313476b1e31f61de34405fe6a683d9e2635', 'hostname': 'de...46e45ff60ddd065', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.32.0.21', 'name': 'dev-onezone', ...}} users = {'admin': UserCredentials(username='admin', password='password', id=u'6a689c324488d7a92f...2MjE1OTEzMwowMDJmc2lnbmF00dXJlILNd74xRU8vcnRu7NLWroSfPU2Uexnw8itfWaD025jYAyCg')} @given(parsers.parse('initial users configuration in "{host}" ' 'Onezone service:\n{config}')) def users_creation(host, config, admin_credentials, hosts, users): zone_hostname = hosts[host]['hostname'] users[admin_credentials.username] = _create_admin_in_zone(zone_hostname, admin_credentials) users_db = {} for user_config in yaml.load(config): username, options = _parse_user_info(user_config) try: user_cred = _create_user(zone_hostname, admin_credentials, username, options) _configure_user(zone_hostname, user_cred, options) except Exception as ex: _rm_users(zone_hostname, admin_credentials, users_db) > raise ex E HTTPBadRequest: [400] Bad Request: {"error":"Invalid Request","description":"Password must be at least 8 characters long and must not contain a colon character ':'"} tests/gui/steps/rest/env_up/users.py:42: HTTPBadRequest