Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #2347 failed
Job: Archive privileges failed
user of client removing cannot remove archive after getting invite token without remove archives privilege from user of client inviting[1oz 1op 1oc-RESt-web GUi]: Test case result
The below summarizes the result of the test " user of client removing cannot remove archive after getting invite token without remove archives privilege from user of client inviting[1oz 1op 1oc-RESt-web GUi]" in build 2,347 of Onedata Products - mixed acceptance pkg - Chrome archive privileges.
- Description
- user of client removing cannot remove archive after getting invite token without remove archives privilege from user of client inviting[1oz 1op 1oc-RESt-web GUi]
- Test class
- mixed.scenarios.test_archive_privileges
- Method
- test_user_of_client_removing_cannot_remove_archive_after_getting_invite_token_without_remove_archives_privilege_from_user_of_client_inviting[1oz_1op_1oc-REST-web GUI]
- Duration
- 3 mins
- Status
- Failed (Existing Failure)
Error Log
AttributeError: 'ArchiveApi' object has no attribute 'purge_archive' request = <FixtureRequest for <Function 'test_user_of_client_removing_cannot_remove_archive_after_getting_invite_token_without_remove_archives_privilege_from_user_of_client_inviting[1oz_1op_1oc-REST-web GUI]'>> @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) <decorator-gen-1007>:2: in remove_archive_in_op ??? tests/utils/utils.py:95: in wrapper return fun(*args, **kwargs) tests/mixed/steps/archive.py:76: in remove_archive_in_op description, tmp_memory, option) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ user = 'user2' users = {'admin': <tests.utils.user_utils.AdminUser object at 0x7f666934ca58>, 'onepanel': <tests.utils.user_utils.AdminUser o...tests.utils.user_utils.User object at 0x7f666953a240>, 'user2': <tests.utils.user_utils.User object at 0x7f666953a2e8>} hosts = {'oneclient-1': {'container-id': 'b3c6867ac10e1e87fb54638fa4893952a9ec7b2306ff68a2c28bd82c2c1a3748', 'ip': '172.17.0.9...0bc96403c9bf174', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.6', 'name': 'dev-onezone', ...}} host = 'oneprovider-1', description = 'first archive' tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...F2KLO300aJQfoEejAo'}, 'oz': {}, 'window': {'modal': None}}, 'first archive': 'a9c4c8408a0560aca6d8252511f7c210chbf06'}) option = 'fails' def remove_archive_in_op_rest(user, users, hosts, host, description, tmp_memory, option): client = login_to_provider(user, users, hosts[host]['hostname']) archive_id = tmp_memory[description] archive_api = ArchiveApi(client) if option == 'succeeds': archive_api.purge_archive(archive_id) elif option == 'fails': try: > archive_api.purge_archive(archive_id) E AttributeError: 'ArchiveApi' object has no attribute 'purge_archive' tests/mixed/steps/rest/oneprovider/archives.py:111: AttributeError