Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #2728 failed
Job: Nested directories create failed
user creates directory structure using client1 and using client2 sees that it has appeared[1oz 1op 1oc-oneclient1-web GUi]: Test case result
The below summarizes the result of the test " user creates directory structure using client1 and using client2 sees that it has appeared[1oz 1op 1oc-oneclient1-web GUi]" in build 2,728 of Onedata Products - mixed acceptance pkg - Chrome nested directories create.
- Description
- user creates directory structure using client1 and using client2 sees that it has appeared[1oz 1op 1oc-oneclient1-web GUi]
- Test class
- mixed.scenarios.test_nested_directories_create
- Method
- test_user_creates_directory_structure_using_client1_and_using_client2_sees_that_it_has_appeared[1oz_1op_1oc-oneclient1-web GUI]
- Duration
- 8 mins
- Status
- Failed (New Failure)
Error Log
AssertionError: not found "20B-0.txt" in browser subtree = ['20B-0.txt', {'dir1': [{'dir2': ['dir3', {'dir4': [...]}]}, 'dir8', '20B-0.txt', '20B-1.txt', {'dir9': ['20B-0.txt']}]}, 'dir0'] user = 'user1' tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...\n - dir7\n - dir8\n - 20B-0.txt\n - 20B-1.txt\n - dir9:\n - 20B-0.txt\n- dir0'}) cwd = '' selenium = {'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="34003e835a766e77542d9d51e83f02d4")>} op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'> tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_creates_directory_st11') which_browser = 'file browser', description = '' def _check_files_tree(subtree, user, tmp_memory, cwd, selenium, op_container, tmpdir, which_browser='file browser', description=''): 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:198: AttributeError During handling of the above exception, another exception occurred: request = <FixtureRequest for <Function 'test_user_creates_directory_structure_using_client1_and_using_client2_sees_that_it_has_appeared[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.8/dist-packages/pytest_bdd/scenario.py:227: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /usr/local/lib/python3.8/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-893>:2: in assert_directory_structure_in_op ??? tests/utils/utils.py:95: in wrapper return fun(*args, **kwargs) tests/mixed/steps/data_basic.py:595: in assert_directory_structure_in_op assert_space_content_in_op_gui(config, selenium, user, op_container, tests/gui/meta_steps/oneprovider/data.py:267: in assert_space_content_in_op_gui _check_files_tree(yaml.load(config), user, tmp_memory, '', selenium, tests/gui/meta_steps/oneprovider/data.py:200: in _check_files_tree assert_items_presence_in_browser(selenium, user, item, tmp_memory, tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-367>:2: in assert_items_presence_in_browser ??? tests/utils/utils.py:95: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="34003e835a766e77542d9d51e83f02d4")>} browser_id = 'user1', item_list = '20B-0.txt' tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...\n - dir7\n - dir8\n - 20B-0.txt\n - 20B-1.txt\n - dir9:\n - 20B-0.txt\n- dir0'}) which_browser = 'file browser' @wt(parsers.parse('user of {browser_id} sees item(s) ' 'named {item_list} in {which_browser}')) @wt(parsers.parse('user of {browser_id} sees that item named ' '{item_list} has appeared in {which_browser}')) @wt(parsers.parse('user of {browser_id} sees that items named ' '{item_list} have appeared in {which_browser}')) @repeat_failed(timeout=WAIT_BACKEND) def assert_items_presence_in_browser(selenium, browser_id, item_list, tmp_memory, which_browser='file browser'): data = _get_items_list_from_browser(selenium, browser_id, tmp_memory, which_browser) for item_name in parse_seq(item_list): > assert item_name in data, (f'not found "{item_name}" ' f'in browser') E AssertionError: not found "20B-0.txt" in browser tests/gui/steps/oneprovider/browser.py:120: AssertionError