Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #461 failed
Job: Onepanel failed
user disables files update[1oz 1op 1oc-RESt-web GUi-RESt]: Test case result
The below summarizes the result of the test " user disables files update[1oz 1op 1oc-RESt-web GUi-RESt]" in build 461 of Onedata Products - mixed acceptance pkg - Chrome onepanel tests.
- Description
- user disables files update[1oz 1op 1oc-RESt-web GUi-RESt]
- Test class
- mixed.scenarios.test_onepanel_basic
- Method
- test_user_disables_files_update[1oz_1op_1oc-REST-web GUI-REST]
- Duration
- 1 min
- Status
- Failed (Existing Failure)
Error Log
AssertionError: dir2 not found in /space6 client1 = 'REST', client2 = 'web GUI', client3 = 'REST' request = <FixtureRequest for <Function 'test_user_disables_files_update[1oz_1op_1oc-REST-web GUI-REST]'>> > scenarios('../features/onepanel/spaces.feature') tests/mixed/scenarios/test_onepanel_basic.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python2.7/dist-packages/pytest_bdd/scenario.py:195: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /usr/local/lib/python2.7/dist-packages/pytest_bdd/scenario.py:137: in _execute_step_function step_func(**kwargs) <decorator-gen-634>:2: in assert_space_content_in_op ??? tests/utils/utils.py:71: in wrapper return fun(*args, **kwargs) tests/mixed/steps/onepanel_basic.py:561: in assert_space_content_in_op spaces, host) tests/mixed/steps/rest/oneprovider/data.py:61: in assert_space_content_in_op_rest assert_file_content_fun) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ subtree = [{'dir2': ['dir21', 'dir22', {'file1.txt': 22222}]}], children = [] cwd = '/space6', ls_fun = <functools.partial object at 0x7f861850c838> assert_file_content_fun = <functools.partial object at 0x7f861850c998> 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 /space6 tests/mixed/utils/data.py:37: AssertionError