Acceptance tests using different clients concurrently. Environment deployed from packages.

Build: #469 failed

Job: Onepanel failed

user supports space with storage sync and enabled options mount in root[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 mount in root[1oz 1op 1oc-RESt-web GUi-RESt]" in build 469 of Onedata Products - mixed acceptance pkg - Chrome onepanel tests.
Description
user supports space with storage sync and enabled options mount in root[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_mount_in_root[1oz_1op_1oc-REST-web GUI-REST]
Duration
1 min
Status
Failed (Existing Failure)

Error Log

AssertionError: dir2 not found in /space2
client1 = 'REST', client2 = 'web GUI', client3 = 'REST'
request = <FixtureRequest for <Function 'test_user_supports_space_with_storage_sync_and_enabled_options_mount_in_root[1oz_1op_1oc-REST-web GUI-REST]'>>

    from tests.gui.steps.oneprovider.file_browser import *
>   from tests.gui.steps.oneprovider.metadata import *

tests/mixed/scenarios/test_onepanel_basic.py:41: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/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-632>: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 = '/space2', ls_fun = <functools.partial object at 0x7f71bce1a470>
assert_file_content_fun = <functools.partial object at 0x7f71bce1a5d0>

    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 /space2

tests/mixed/utils/data.py:37: AssertionError