Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #456 failed
Job: Chrome ACL tests failed
user sets acl with one entry[1oz 1op 1oc-web GUi-oneclient1-[read acl, change acl]-user-user1-file1]: Test case result
The below summarizes the result of the test " user sets acl with one entry[1oz 1op 1oc-web GUi-oneclient1-[read acl, change acl]-user-user1-file1]" in build 456 of Onedata Products - mixed acceptance pkg - Chrome ACL tests.
- Description
- user sets acl with one entry[1oz 1op 1oc-web GUi-oneclient1-[read acl, change acl]-user-user1-file1]
- Test class
- mixed.scenarios.test_acl_basic
- Method
- test_user_sets_acl_with_one_entry[1oz_1op_1oc-web GUI-oneclient1-[read acl, change acl]-user-user1-file1]
- Duration
- 6 secs
- Status
- Failed (Existing Failure)
Error Log
HTTPMethodNotAllowed: [405] Method Not Allowed: subject_type = 'user', client1 = 'web GUI' privileges = '[read acl, change acl]', subject_name = 'user1', item = 'file1' client2 = 'oneclient1' request = <FixtureRequest for <Function 'test_user_sets_acl_with_one_entry[1oz_1op_1oc-web GUI-oneclient1-[read acl, change acl]-user-user1-file1]'>> from tests.gui.steps.oneprovider.metadata import * > from tests.gui.steps.oneprovider.shares import * tests/mixed/scenarios/test_acl_basic.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:441: in getfixturevalue return self._get_active_fixturedef(argname).cached_result[0] /usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py:466: in _get_active_fixturedef result = self._getfixturevalue(fixturedef) /usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py:531: in _getfixturevalue val = fixturedef.execute(request=subrequest) /usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py:787: in execute return ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/local/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:745: in __call__ return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) /usr/local/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:339: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /usr/local/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:334: in <lambda> _MultiCall(methods, kwargs, hook.spec_opts).execute() /usr/local/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:613: in execute return _wrapped_call(hook_impl.function(*args), self.execute) /usr/local/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:254: in _wrapped_call return call_outcome.get_result() /usr/local/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:280: in get_result _reraise(*ex) # noqa /usr/local/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:265: in __init__ self.result = func() /usr/local/lib/python2.7/dist-packages/_pytest/vendored_packages/pluggy.py:614: in execute res = hook_impl.function(*args) /usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py:817: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/local/lib/python2.7/dist-packages/_pytest/fixtures.py:709: in call_fixture_func res = next(it) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ host = 'onezone', config = '- user1 - user2' admin_credentials = <tests.utils.user_utils.AdminUser instance at 0x7f4461a0a320> hosts = {'oneclient-1': {'container-id': '1f291bedf155f3511a8d25186ff1740b1ae54552044f53059c9a540b4737433e', 'ip': '172.17.0.3...1da9338ad1a451', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.10', 'name': 'dev-onezone', ...}} users = {'admin': <tests.utils.user_utils.User instance at 0x7f44616f4098>} rm_users = False @given(parsers.parse('initial users configuration in "{host}" ' 'Onezone service:\n{config}')) def users_creation(host, config, admin_credentials, hosts, users, rm_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, rm_users) _configure_user(zone_hostname, user_cred, options) except Exception as ex: _rm_users(zone_hostname, admin_credentials, users_db) > raise ex E HTTPMethodNotAllowed: [405] Method Not Allowed: tests/gui/steps/rest/env_up/users.py:41: HTTPMethodNotAllowed