Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #1869 failed
Job: Directories movement failed
user moves nonempty directory using client2 and using client1 sees that its content has not changed[1oz 1op 1oc-web GUi-RESt]: Test case result
The below summarizes the result of the test " user moves nonempty directory using client2 and using client1 sees that its content has not changed[1oz 1op 1oc-web GUi-RESt]" in build 1,869 of Onedata Products - mixed acceptance pkg - Chrome directories movement tests.
- Description
- user moves nonempty directory using client2 and using client1 sees that its content has not changed[1oz 1op 1oc-web GUi-RESt]
- Test class
- mixed.scenarios.test_directories_movement
- Method
- test_user_moves_nonempty_directory_using_client2_and_using_client1_sees_that_its_content_has_not_changed[1oz_1op_1oc-web GUI-REST]
- Duration
- 2 mins
- Status
- Failed (New Failure)
Error Log
AssertionError: dir2 not found in /space1/dir1 request = <FixtureRequest for <Function 'test_user_moves_nonempty_directory_using_client2_and_using_client1_sees_that_its_content_has_not_changed[1oz_1op_1oc-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) <decorator-gen-819>:2: in assert_directory_structure_in_op ??? tests/utils/utils.py:90: in wrapper return fun(*args, **kwargs) tests/mixed/steps/data_basic.py:499: in assert_directory_structure_in_op spaces, host) tests/mixed/steps/rest/oneprovider/data.py:67: in assert_space_content_in_op_rest assert_file_content_fun) tests/mixed/utils/data.py:52: in check_files_tree assert_file_content_fun) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ subtree = [{'dir2': ['dir3']}], children = [], cwd = '/space1/dir1' ls_fun = functools.partial(<function _list_files at 0x7f627bf981e0>, user='user1', users={'admin': <tests.utils.user_utils.Admi...f25e5969830faeb3507264d5b92c4a2f82a0ad17bcbfd2', 'panel': {'hostname': 'dev-onezone.default.svc.cluster.local:9443'}}}) assert_file_content_fun = functools.partial(<function assert_file_content_in_op_rest at 0x7f627bf98268>, user='user1', users={'admin': <tests.ut...f25e5969830faeb3507264d5b92c4a2f82a0ad17bcbfd2', 'panel': {'hostname': 'dev-onezone.default.svc.cluster.local:9443'}}}) def check_files_tree(subtree, children, cwd, ls_fun, assert_file_content_fun): """This function recursively checks files tree: - for directory it checks if all elements listed in children are present. Then if any directory listed in children has description of its file tree, function make recursive call for that subdirectory. - for file if description is specified function checks if content of file is the same as provided """ for item in subtree: try: [(item_name, item_desc)] = item.items() except AttributeError: assert_msg = '{} not found in {}'.format(item, cwd) assert item in children, assert_msg if item.startswith('dir'): item_children = ls_fun(os.path.join(cwd, item)) assert_msg = 'Directory {} in {} is not empty'.format(item, cwd) assert len(item_children) == 0, assert_msg else: assert_msg = '{} not found in {}'.format(item_name, cwd) > assert item_name in children, assert_msg E AssertionError: dir2 not found in /space1/dir1 tests/mixed/utils/data.py:37: AssertionError