GUI acceptance tests using environment deployed from packages.

Build: #1899 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,899 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

AssertionError: not found "dir1" in browser
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:174: in check_file_structure_for_archive
    op_container, tmpdir, which_browser, description)
tests/gui/meta_steps/oneprovider/data.py:227: in _check_files_tree
    which_browser)
tests/gui/meta_steps/oneprovider/data.py:210: in _check_files_tree
    which_browser)
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-1017>:2: in assert_items_presence_in_browser
    ???
tests/utils/utils.py:90: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

browser_id = 'browser', item_list = 'dir1'
tmp_memory = defaultdict(<class 'dict'>, {'browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': ...ile_browser._ArchiveFileBrowser object at 0x7f2a9ab1a898>}, 'first archive': '72713c32d8e7ed6ce1b155e4799c1717chc6c0'})
which_browser = 'archive 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(browser_id, item_list, tmp_memory,
                                         which_browser='file browser'):
        browser = tmp_memory[browser_id][transform(which_browser)]
        data = _get_items_list_from_browser(browser_id, tmp_memory, which_browser)
        for item_name in parse_seq(item_list):
            if which_browser == 'dataset browser':
                assert item_name in data, (f'not found "{item_name}" '
                                           f'in browser')
            else:
                assert (item_name in data and browser.data[item_name]
>                       .size), f'not found "{item_name}" in browser'
E               AssertionError: not found "dir1" in browser

tests/gui/steps/oneprovider/browser.py:105: AssertionError