Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #1885 failed
Job: Tokens failed
user set in access token caveat succeeds to use that token only with their identity token[1oz 1op 1oc]: Test case result
The below summarizes the result of the test " user set in access token caveat succeeds to use that token only with their identity token[1oz 1op 1oc]" in build 1,885 of Onedata Products - mixed acceptance pkg - Chrome tokens tests.
- Description
- user set in access token caveat succeeds to use that token only with their identity token[1oz 1op 1oc]
- Test class
- mixed.scenarios.test_tokens
- Method
- test_user_set_in_access_token_caveat_succeeds_to_use_that_token_only_with_their_identity_token[1oz_1op_1oc]
- Duration
- 2 mins
- Status
- Failed (Existing Failure)
Error Log
TypeError: __init__() got an unexpected keyword argument 'configuration' request = <FixtureRequest for <Function 'test_user_set_in_access_token_caveat_succeeds_to_use_that_token_only_with_their_identity_token[1oz_1op_1oc]'>> @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:78: in wrapper return fun(*ba.args, **ba.kwargs) tests/mixed/steps/data_basic.py:58: in create_file_in_op_with_token token) tests/mixed/steps/rest/oneprovider/data.py:102: in create_file_in_op_rest identity_token=identity_token) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ username = 'user2' users = {'admin': <tests.utils.user_utils.AdminUser object at 0x7f4f76e74cc0>, 'onepanel': <tests.utils.user_utils.AdminUser o...tests.utils.user_utils.User object at 0x7f4f76f7f4a8>, 'user2': <tests.utils.user_utils.User object at 0x7f4f77281c50>} host = 'dev-oneprovider-krakow.default.svc.cluster.local' access_token = 'MDAzM2xvY2F00aW9uIGRldi1vbmV6b25lLmRlZmF1bHQuc3ZjLmNsdXN00ZXIubG9jYWwKMDA2YmlkZW500aWZpZXIgMi9ubWQvdXNyLTc1OTRjM2RhNz...LTliYmRiMDQ4ZWUyNDg4NGFlYzNhN2ZmMzhhMGY1NTZiY2g5Y2YzCjAwMmZzaWduYXR1cmUgGOA6yR928ex0200CVBBrQ8kodczgyPln5TL2EUrm4hvkYK' identity_token = None def login_to_cdmi(username, users, host, access_token=None, identity_token=None): from tests.mixed.cdmi_client.configuration import (Configuration as Conf_CDMI) from tests.mixed.cdmi_client import (ApiClient as ApiClient_CDMI) configuration = Conf_CDMI() setup_basic_configuration(configuration, host, OZ_REST_PORT, CDMI_REST_PATH_PREFIX) header_value = access_token if access_token else users[username].token client = ApiClient_CDMI(configuration=configuration, header_name='X-Auth-Token', > header_value=header_value) E TypeError: __init__() got an unexpected keyword argument 'configuration' tests/mixed/utils/common.py:72: TypeError