Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #2347 failed
Job: Archive privileges failed
user of client removing removes archive after getting invite token with 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 removes archive after getting invite token with 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 removes archive after getting invite token with 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_removes_archive_after_getting_invite_token_with_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_removes_archive_after_getting_invite_token_with_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 0x7f666923ef28>, 'onepanel': <tests.utils.user_utils.AdminUser o...tests.utils.user_utils.User object at 0x7f666934c630>, 'user2': <tests.utils.user_utils.User object at 0x7f666934c860>} 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': {'...vzyOLpperynQJx4rQo'}, 'oz': {}, 'window': {'modal': None}}, 'first archive': '3254a4fa6ca574f81b3412db505a8a1bchcf2c'}) option = 'succeeds' 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) E AttributeError: 'ArchiveApi' object has no attribute 'purge_archive' tests/mixed/steps/rest/oneprovider/archives.py:108: AttributeError