Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #2465 failed
Job: Access tokens id caveats failed
using client1 user cannot create file at path that he does not have access after getting token with caveat set for object id created by web gui[1oz 1op 1oc-oneclient1]: Test case result
The below summarizes the result of the test " using client1 user cannot create file at path that he does not have access after getting token with caveat set for object id created by web gui[1oz 1op 1oc-oneclient1]" in build 2,465 of Onedata Products - mixed acceptance pkg - Chrome access tokens id caveats.
- Description
- using client1 user cannot create file at path that he does not have access after getting token with caveat set for object id created by web gui[1oz 1op 1oc-oneclient1]
- Test class
- mixed.scenarios.test_access_tokens_id_caveats
- Method
- test_using_client1_user_cannot_create_file_at_path_that_he_does_not_have_access_after_getting_token_with_caveat_set_for_object_id_created_by_web_gui[1oz_1op_1oc-oneclient1]
- Jira Issue
-
- Duration
- 1 sec
- Status
- Failed (New Failure)
Error Log
tests.utils.http_exceptions.HTTPBadRequest: [400] Bad Request: {"error":{"id":"errorOnNodes","details":{"hostnames":["dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local"],"error":{"id":"badValueToken","details":{"tokenError":{"id":"badToken","description":"Provided token could not be understood by the server."},"key":"token"},"description":"Bad value: provided \"token\" is not a valid token (see details)."}},"description":"Error on nodes dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local: Bad value: provided \"token\" is not a valid token (see details)."}} request = <FixtureRequest for <Function 'test_using_client1_user_cannot_create_file_at_path_that_he_does_not_have_access_after_getting_token_with_caveat_set_for_object_id_created_by_web_gui[1oz_1op_1oc-oneclient1]'>> @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:78: in wrapper return fun(*ba.args, **ba.kwargs) tests/gui/steps/rest/env_up/spaces.py:104: 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:240: in _get_support data=json.dumps(space_support_details)) tests/utils/rest_utils.py:57: in http_post verify, cert, auth, data, default_headers=default_headers) tests/utils/rest_utils.py:85: in http_request raise_http_exception(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ response = <Response [400]> def raise_http_exception(response): ex_cls = _exceptions.get(response.status_code, HTTPError) > raise ex_cls(response) E tests.utils.http_exceptions.HTTPBadRequest: [400] Bad Request: {"error":{"id":"errorOnNodes","details":{"hostnames":["dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local"],"error":{"id":"badValueToken","details":{"tokenError":{"id":"badToken","description":"Provided token could not be understood by the server."},"key":"token"},"description":"Bad value: provided \"token\" is not a valid token (see details)."}},"description":"Error on nodes dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local: Bad value: provided \"token\" is not a valid token (see details)."}} tests/utils/http_exceptions.py:15: HTTPBadRequest