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

Build: #1893 failed Child of ODSRV-OZP-1648

Test results

  • 412 tests in total
  • 3 tests failed
  • 3 failures are new
  • 2 tests were fixed
  • 1 test was quarantined / skipped
  • 576 minutes taken in total.
New test failures 3
Status Test View job Duration
Collapse Failed test_nested_directories test_user_create_directory_structure_using_client1_and_using_client2_sees_that_it_has_appeared[1oz_1op_1oc-web GUI-REST]
Chrome nested directories tests 14 mins
AssertionError: 20B-0.txt not found in /space1/dir1/dir2/dir4
subtree = ['20B-0.txt', '20B-1.txt', {'dir5': [{'dir6': ['dir7']}]}]
children = ['20B-1.txt', 'dir5'], cwd = '/space1/dir1/dir2/dir4'
ls_fun = functools.partial(<function _list_files at 0x7f35a962a400>, user='user1', users={'admin': <tests.utils.user_utils.Admi...353149f8936bb16bd061b5a931b217340589c4dd515944', 'panel': {'hostname': 'dev-onezone.default.svc.cluster.local:9443'}}})
assert_file_content_fun = functools.partial(<function assert_file_content_in_op_rest at 0x7f35a962a488>, user='user1', users={'admin': <tests.ut...353149f8936bb16bd061b5a931b217340589c4dd515944', 'panel': {'hostname': 'dev-onezone.default.svc.cluster.local:9443'}}})

    def check_files_tree(subtree, children, cwd, ls_fun, assert_file_content_fun):
        """This function recursively checks files tree:
(67 more lines...)
Collapse Failed test_onepanel_basic test_files_tree_with_specified_depth_is_imported_to_space_after_changing_max_depth_option[1oz_1op_1oc-web GUI-REST]
Chrome onepanel tests 8 mins
AssertionError: not found "dir21" in browser
subtree = ['dir21', 'dir22', {'file1.txt': 22222}], user = 'user1'
tmp_memory = defaultdict(<class 'dict'>, {'onepanel': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {'token': 'MDAzM2xvY2F0...I1OTc00NzEKMDAyZnNpZ25hdHVyZSDLGe9zePhl01yZ7Hhb1W8k8iZmhQx8008sF00RvcXkbLfIgo'}, 'oz': {}, 'window': {'modal': None}}})
cwd = '/dir2'
selenium = {'browsers': <selenium.webdriver.chrome.webdriver.WebDriver (session="28ec295467339064416383390780cebe")>, 'onepanel':...83390780cebe")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="34d9abbf93060896c34a78c1d38d89e0")>}
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_files_tree_with_specified1')
which_browser = 'file browser'
(75 more lines...)
Collapse Failed test_onepanel_basic test_files_tree_with_specified_depth_is_imported_to_space_after_changing_import_depth_and_enable_delete_detection_option[1oz_1op_1oc-web GUI-REST]
Chrome onepanel tests 8 mins
AssertionError: not found "dir2" in browser
request = <FixtureRequest for <Function 'test_files_tree_with_specified_depth_is_imported_to_space_after_changing_import_depth_and_enable_delete_detection_option[1oz_1op_1oc-web GUI-REST]'>>

    @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: 
(54 more lines...)
Fixed tests 2
Status Test Failing since View job Duration
Successful test_directories_times test_user_changes_directory_using_client2_and_using_client1_sees_that_modification_time_has_changed[1oz_1op_1oc-oneclient1-web GUI-equal to]
Failing since build #1892 (Child of ODSRV-OZP-1647) Chrome directories times tests 45 secs
Successful test_file_content test_user_appends_text_to_file_using_client2_and_using_client1_sees_that_files_content_has_changed[1oz_1op_1oc-REST-oneclient1-REST]
Failing since build #1892 (Child of ODSRV-OZP-1647) Chrome file content tests 11 secs
Quarantined tests 1
Status Test Failing since Quarantined by View job Duration
Collapse Failed test_file_content test_user_writes_to_file_using_client2_and_using_client1_sees_that_files_content_has_changed[1oz_1op_1oc-REST-oneclient1-REST]
Failing since build #1884 (Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>) Not quarantined Chrome file content tests 2 mins
AssertionError: Expected file named space1/file1 content to be TEST TEXT ONEDATA but found TE
request = <FixtureRequest for <Function 'test_user_writes_to_file_using_client2_and_using_client1_sees_that_files_content_has_changed[1oz_1op_1oc-REST-oneclient1-REST]'>>

    @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: 
(24 more lines...)