Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #1895 failed
Job: Chrome nested directories tests failed
user removes nonempty directory using client2 and using client1 sees that they have disappeared[1oz 1op 1oc-oneclient1-web GUi]: Test case result
The below summarizes the result of the test " user removes nonempty directory using client2 and using client1 sees that they have disappeared[1oz 1op 1oc-oneclient1-web GUi]" in build 1,895 of Onedata Products - mixed acceptance pkg - Chrome nested directories tests.
- Description
- user removes nonempty directory using client2 and using client1 sees that they have disappeared[1oz 1op 1oc-oneclient1-web GUi]
- Test class
- mixed.scenarios.test_nested_directories
- Method
- test_user_removes_nonempty_directory_using_client2_and_using_client1_sees_that_they_have_disappeared[1oz_1op_1oc-oneclient1-web GUI]
- Duration
- 5 mins
- Status
- Failed (New Failure)
Error Log
AssertionError: file browser in files tab in op should be empty but is not subtree = ['dir_child1'], user = 'user1' tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...ile_browser._FileBrowser object at 0x7ffb2e90a9e8>}, 'config': '- dir1:\n - dir_child1\n- dir2:\n - dir_child2'}) cwd = '/dir1' selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="90b8583d727fd50803d956f6942ec7b6")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="90b8583d727fd50803d956f6942ec7b6")>} op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'> tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_removes_nonempty_dir6') which_browser = 'file browser' def _check_files_tree(subtree, user, tmp_memory, cwd, selenium, op_container, tmpdir, which_browser='file browser'): for item in subtree: try: > [(item_name, item_subtree)] = item.items() E AttributeError: 'str' object has no attribute 'items' tests/gui/meta_steps/oneprovider/data.py:170: AttributeError During handling of the above exception, another exception occurred: request = <FixtureRequest for <Function 'test_user_removes_nonempty_directory_using_client2_and_using_client1_sees_that_they_have_disappeared[1oz_1op_1oc-oneclient1-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-821>:2: in assert_directory_structure_in_op ??? tests/utils/utils.py:90: in wrapper return fun(*args, **kwargs) tests/mixed/steps/data_basic.py:496: in assert_directory_structure_in_op hosts) tests/gui/meta_steps/oneprovider/data.py:228: in assert_space_content_in_op_gui op_container, tmpdir) tests/gui/meta_steps/oneprovider/data.py:204: in _check_files_tree which_browser) tests/gui/meta_steps/oneprovider/data.py:180: in _check_files_tree which_browser) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-373>:2: in assert_empty_browser_in_files_tab_in_op ??? tests/utils/utils.py:90: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="90b8583d727fd50803d956f6942ec7b6")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="90b8583d727fd50803d956f6942ec7b6")>} browser_id = 'user1' op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'> tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...ile_browser._FileBrowser object at 0x7ffb2e90a9e8>}, 'config': '- dir1:\n - dir_child1\n- dir2:\n - dir_child2'}) item_browser = 'file browser' @wt(parsers.parse('user of {browser_id} sees empty {item_browser} ' 'in files tab in Oneprovider page')) @repeat_failed(timeout=WAIT_BACKEND) def assert_empty_browser_in_files_tab_in_op(selenium, browser_id, op_container, tmp_memory, item_browser='file browser'): switch_to_iframe(selenium, browser_id) check_browser_to_load(selenium, browser_id, tmp_memory, op_container, item_browser) items_browser = tmp_memory[browser_id][transform(item_browser)] > assert items_browser.is_empty(), (f'{item_browser} in files tab in op ' 'should be empty but is not') E AssertionError: file browser in files tab in op should be empty but is not tests/gui/steps/oneprovider/data_tab.py:205: AssertionError