Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #473 was successful
Job: Onepanel was successful
user supports space with storage sync and enabled options delete and write once[1oz 1op 1oc-RESt-web GUi-RESt]: Test case result
The below summarizes the result of the test " user supports space with storage sync and enabled options delete and write once[1oz 1op 1oc-RESt-web GUi-RESt]" in build 473 of Onedata Products - mixed acceptance pkg - Chrome onepanel tests.
- Description
- user supports space with storage sync and enabled options delete and write once[1oz 1op 1oc-RESt-web GUi-RESt]
- Test class
- mixed.scenarios.test_onepanel_basic
- Method
- test_user_supports_space_with_storage_sync_and_enabled_options_delete_and_write_once[1oz_1op_1oc-REST-web GUI-REST]
- Duration
- 2 mins
- Status
- Failed (Existing Failure)
Error Log
AssertionError: dir2 not found in /space5 client1 = 'REST', client2 = 'web GUI', client3 = 'REST' request = <FixtureRequest for <Function 'test_user_supports_space_with_storage_sync_and_enabled_options_delete_and_write_once[1oz_1op_1oc-REST-web GUI-REST]'>> from tests.mixed.steps.onepanel_basic import * > from tests.mixed.steps.space_basic import * tests/mixed/scenarios/test_onepanel_basic.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /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-636>: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 = '/space5', ls_fun = <functools.partial object at 0x7f146b0a84c8> assert_file_content_fun = <functools.partial object at 0x7f146b0a8628> 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 /space5 tests/mixed/utils/data.py:37: AssertionError