GUI acceptance tests using environment deployed from packages.

Build: #1814 failed

Job: Onezone automations failed

user sees bagit metadata files and directory tree in aip tab and directory tree in dip tab in archive browser after creating archive with bagit layout and include dip option[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user sees bagit metadata files and directory tree in aip tab and directory tree in dip tab in archive browser after creating archive with bagit layout and include dip option[1oz 1op deployed]" in build 1,814 of Onedata Products - gui acceptance pkg - Chrome oneprovider archives tests.
Description
user sees bagit metadata files and directory tree in aip tab and directory tree in dip tab in archive browser after creating archive with bagit layout and include dip option[1oz 1op deployed]
Test class
gui.scenarios.test_oneprovider_archives
Method
test_user_sees_bagit_metadata_files_and_directory_tree_in_aip_tab_and_directory_tree_in_dip_tab_in_archive_browser_after_creating_archive_with_bagit_layout_and_include_dip_option[1oz_1op_deployed]
Jira Issue
Duration
4 mins
Status
Failed (Existing Failure)

Error Log

RuntimeError: waited too long
request = <FixtureRequest for <Function 'test_user_sees_bagit_metadata_files_and_directory_tree_in_aip_tab_and_directory_tree_in_dip_tab_in_archive_browser_after_creating_archive_with_bagit_layout_and_include_dip_option[1oz_1op_deployed]'>>

    @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)
tests/gui/meta_steps/oneprovider/data.py:173: in check_file_structure_in_browser
    op_container, tmpdir, which_browser)
tests/gui/meta_steps/oneprovider/data.py:216: in _check_files_tree
    which_browser)
tests/gui/meta_steps/oneprovider/data.py:201: in _check_files_tree
    which_browser)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-1009>:2: in double_click_on_item_in_browser
    ???
tests/utils/utils.py:90: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="3fde31cab01d5a99f22cd00856cbf7c3")>}
browser_id = 'browser', item_name = 'dir1'
tmp_memory = defaultdict(<class 'dict'>, {'browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': ...chive_file_browser': <tests.gui.utils.oneprovider.archive_file_browser._ArchiveFileBrowser object at 0x7fee37bb49e8>}})
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>
which_browser = 'archive_file_browser'

    @wt(parsers.parse('user of {browser_id} double clicks on item named'
                      ' "{item_name}" in {which_browser}'))
    @repeat_failed(timeout=WAIT_BACKEND)
    def double_click_on_item_in_browser(selenium, browser_id, item_name, tmp_memory,
                                        op_container,
                                        which_browser='file browser'):
        which_browser = transform(which_browser)
        browser = tmp_memory[browser_id][which_browser]
        driver = selenium[browser_id]
    
        # checking if file is located in file browser
        start = time.time()
        while item_name not in browser.data:
            time.sleep(1)
            if time.time() > start + WAIT_BACKEND:
>               raise RuntimeError('waited too long')
E               RuntimeError: waited too long

tests/gui/steps/oneprovider/browser.py:30: RuntimeError