Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #1886 failed
Job: Tokens failed
user cannot use an access token created with client1 and revoked with client2 when using client3[1oz 1op 1oc-RESt-web gui-RESt]: Test case result
The below summarizes the result of the test " user cannot use an access token created with client1 and revoked with client2 when using client3[1oz 1op 1oc-RESt-web gui-RESt]" in build 1,886 of Onedata Products - mixed acceptance pkg - Chrome tokens tests.
- Description
- user cannot use an access token created with client1 and revoked with client2 when using client3[1oz 1op 1oc-RESt-web gui-RESt]
- Test class
- mixed.scenarios.test_tokens
- Method
- test_user_cannot_use_an_access_token_created_with_client1_and_revoked_with_client2_when_using_client3[1oz_1op_1oc-REST-web gui-REST]
- Duration
- 1 min
- Status
- Failed (Existing Failure)
Error Log
TypeError: __init__() got an unexpected keyword argument 'configuration' request = <FixtureRequest for <Function 'test_user_cannot_use_an_access_token_created_with_client1_and_revoked_with_client2_when_using_client3[1oz_1op_1oc-REST-web gui-REST]'>> @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 0x7f4621b2a6d8>, 'onepanel': <tests.utils.user_utils.AdminUser o...tests.utils.user_utils.User object at 0x7f4621d4a390>, 'user2': <tests.utils.user_utils.User object at 0x7f4621acbef0>} host = 'dev-oneprovider-krakow.default.svc.cluster.local' access_token = 'MDAzM2xvY2F00aW9uIGRldi1vbmV6b25lLmRlZmF1bHQuc3ZjLmNsdXN00ZXIubG9jYWwKMDA2YmlkZW500aWZpZXIgMi9ubWQvdXNyLWIxZTc4YzRlND...YTBlNTZhMTE00ZjNlMGViY2E1ZDM5OTVhYTY2NGRiNGNoMDBiOQowMDJmc2lnbmF00dXJlIGYNdyx38qggcsorgJE01tZeaQaf9hl021hp1wS2bkGSWaCg' 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