GUI acceptance tests using environment deployed from packages.

Build: #1768 failed Changes by Agnieszka Warchol

Test results

  • 692 tests in total
  • 15 tests failed
  • 12 failures are new
  • 8 tests were fixed
  • 5 tests were quarantined / skipped
  • 1266 minutes taken in total.
New test failures 12
Status Test View job Duration
Collapse Failed test_oneprovider_acl_subdir test_rename_subfile[1oz_1op_deployed-group-group1-fails-all except [data:delete child]]
Chrome oneprovider ACL subdirectories 4 mins
RuntimeError: no "file1" found in file browser in Oneprovider page
selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="e963c878727cbd64d7926c19934eca51")>, 'space...4d81907b7513")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="e963c878727cbd64d7926c19934eca51")>}
browser_id = 'browser_user1', path = 'dir1/file1', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...b-a8f83a5a951b")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7efea83f75f8>}})
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>

    def _click_menu_for_elem_somewhere_in_file_browser(selenium, browser_id, path,
(154 more lines...)
Collapse Failed test_oneprovider_acl_subdir test_rename_subfile[1oz_1op_deployed-group-group1-fails-all except [data:add files]]
Chrome oneprovider ACL subdirectories 4 mins
RuntimeError: no "file1" found in file browser in Oneprovider page
selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="3cb82d9b54d748cd721f98f7158b068b")>, 'space...6426d43140fb")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="3cb82d9b54d748cd721f98f7158b068b")>}
browser_id = 'browser_user1', path = 'dir1/file1', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...8-7f5978e46d45")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7efea84b7630>}})
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>

    def _click_menu_for_elem_somewhere_in_file_browser(selenium, browser_id, path,
(154 more lines...)
Collapse Failed test_oneprovider_acl_subdir test_remove_subfile[1oz_1op_deployed-group-group1-succeeds-[data:delete child, data:traverse directory, data:list files]]
Chrome oneprovider ACL subdirectories 4 mins
RuntimeError: no "file1" found in file browser in Oneprovider page
selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="fac201b7b0f6ce6a97cbe801bb7ecefc")>, 'space...16fdfe87a36a")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="fac201b7b0f6ce6a97cbe801bb7ecefc")>}
browser_id = 'browser_user1', path = 'dir1/file1', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...7-09634dc7997c")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7efea8689c50>}})
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>

    def _click_menu_for_elem_somewhere_in_file_browser(selenium, browser_id, path,
(154 more lines...)
Collapse Failed test_oneprovider_acl_subdir test_rename_subdirectory[1oz_1op_deployed-group-group1-fails-all except [data:add subdirectory]]
Chrome oneprovider ACL subdirectories 4 mins
RuntimeError: no "dir2" found in file browser in Oneprovider page
selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="abbdf2e38042d72d3763cfebefe509bd")>, 'space...c34e11129a9d")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="abbdf2e38042d72d3763cfebefe509bd")>}
browser_id = 'browser_user1', path = 'dir1/dir2', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...d-89fbbe0cf6f6")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7efea85d76a0>}})
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>

    def _click_menu_for_elem_somewhere_in_file_browser(selenium, browser_id, path,
(154 more lines...)
Collapse Failed test_oneprovider_acl_subdir test_rename_subdirectory[1oz_1op_deployed-user-user1-succeeds-[data:list files, data:delete child, data:traverse directory, data:add subdirectory]]
Chrome oneprovider ACL subdirectories 4 mins
RuntimeError: no "dir2" found in file browser in Oneprovider page
selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="3e910b9d68063707a7ff71c47c747c6a")>, 'space...32ed4e283c27")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="3e910b9d68063707a7ff71c47c747c6a")>}
browser_id = 'browser_user1', path = 'dir1/dir2', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...f-cd2e56693dd7")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7efea88b84a8>}})
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>

    def _click_menu_for_elem_somewhere_in_file_browser(selenium, browser_id, path,
(154 more lines...)
Collapse Failed test_oneprovider_transfers test_user_tries_to_replicate_directory_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Chrome transfers tests 5 mins
RuntimeError: no "large_file.txt" found in file browser in Oneprovider page
request = <FixtureRequest for <Function 'test_user_tries_to_replicate_directory_to_too_small_space_on_remote_provider[1oz_2op_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: 
(43 more lines...)
Collapse Failed test_oneprovider_transfers test_user_migrates_file_to_remote_provider[1oz_2op_deployed]
Chrome transfers tests 3 mins
selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: element is not attached to the page document   (Session info: chrome=78.0.3904.70)
request = <FixtureRequest for <Function 'test_user_migrates_file_to_remote_provider[1oz_2op_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: 
(172 more lines...)
Collapse Failed test_oneprovider_transfers test_user_tries_to_migrate_directory_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Chrome transfers tests 3 mins
selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: element is not attached to the page document   (Session info: chrome=78.0.3904.70)
request = <FixtureRequest for <Function 'test_user_tries_to_migrate_directory_to_too_small_space_on_remote_provider[1oz_2op_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: 
(172 more lines...)
Collapse Failed test_oneprovider_transfers test_user_migrates_directory_to_remote_provider[1oz_2op_deployed]
Chrome transfers tests 4 mins
selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: element is not attached to the page document   (Session info: chrome=78.0.3904.70)
request = <FixtureRequest for <Function 'test_user_migrates_directory_to_remote_provider[1oz_2op_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: 
(172 more lines...)
Collapse Failed test_oneprovider_transfers_multi test_user_replicates_directory_with_2_files_on_different_providers_to_current_provider[1oz_2op_deployed]
Chrome transfers multi browser tests 7 mins
RuntimeError: no "large_file(1).txt" found in file browser in Oneprovider page
request = <FixtureRequest for <Function 'test_user_replicates_directory_with_2_files_on_different_providers_to_current_provider[1oz_2op_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: 
(43 more lines...)
Collapse Failed test_oneprovider_transfers_multi test_user_migrates_directory_with_2_files_on_different_providers_to_current_provider[1oz_2op_deployed]
Chrome transfers multi browser tests 6 mins
RuntimeError: no "large_file(1).txt" found in file browser in Oneprovider page
request = <FixtureRequest for <Function 'test_user_migrates_directory_with_2_files_on_different_providers_to_current_provider[1oz_2op_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: 
(43 more lines...)
Collapse Failed test_oneprovider_transfers_multi test_user_migrates_file_from_remote_provider_to_current_provider[1oz_2op_deployed]
Chrome transfers multi browser tests 5 mins
selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: element is not attached to the page document   (Session info: chrome=78.0.3904.70)
request = <FixtureRequest for <Function 'test_user_migrates_file_from_remote_provider_to_current_provider[1oz_2op_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: 
(172 more lines...)
Existing test failures 3
Status Test Failing since View job Duration
RuntimeError: no "Copy cluster ID" found in Menu popup with text
request = <FixtureRequest for <Function 'test_user_deregisters_dead_duplicated_provider[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: 
(43 more lines...)
AssertionError: Harvester management should be granted but is not
request = <FixtureRequest for <Function 'test_user_successfully_sets_privileges_with_set_privileges_privilege[1oz_1op_elasticsearch]'>>

    @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: 
(30 more lines...)
AssertionError: displayed CANNOT LOAD SHARE ROOT does not match expected SHARED FILES HAVE BEEN DELETED
request = <FixtureRequest for <Function 'test_removing_directory_which_contained_shared_directory_removes_only_shares_files_but_not_share_itself[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: 
(27 more lines...)
Fixed tests 8
Status Test Failing since View job Duration
Successful test_multiprovider_multiuser test_user_uses_autocleaning_with_lower_size_limit_which_skips_too_small_files[1oz_2op_deployed]
Failing since build #1767 (Child of ODSRV-OPRPM-2000) Chrome multiprovider multiuser tests 4 mins
Successful test_multiprovider_multiuser test_user_uses_autocleaning_with_upper_size_limit_which_skips_too_big_files[1oz_2op_deployed]
Failing since build #1767 (Child of ODSRV-OPRPM-2000) Chrome multiprovider multiuser tests 5 mins
Successful test_onepanel_basic test_user_fails_to_update_import_in_storage_that_is_not_importenabled[1oz_1op_deployed]
Failing since build #1765 (Child of ODSRV-OPRPM-1999) Chrome onepanel basic tests 1 min
Successful test_onepanel_basic test_support_space[1oz_1op_deployed-browser2]
Failing since build #1767 (Child of ODSRV-OPRPM-2000) Chrome onepanel basic tests 1 min
Successful test_onepanel_basic test_user_sees_that_synchronization_autoupdate_still_works_after_changing_mount_point_for_storage[1oz_1op_deployed]
Failing since build #1765 (Child of ODSRV-OPRPM-1999) Chrome onepanel basic tests 3 mins
Successful test_oneprovider_data_tab test_user_successfully_pastes_file_cut_from_other_directory[1oz_1op_deployed]
Failing since build #1767 (Child of ODSRV-OPRPM-2000) Chrome oneprovider data tab tests 33 secs
Successful test_oneprovider_posix test_user_fails_to_remove_file_because_of_lack_in_privileges[1oz_1op_deployed]
Failing since build #1767 (Child of ODSRV-OPRPM-2000) Chrome POSIX tests 1 min
Successful test_oneprovider_posix test_user_fails_to_upload_file_because_of_lack_in_privileges[1oz_1op_deployed]
Failing since build #1767 (Child of ODSRV-OPRPM-2000) Chrome POSIX tests 55 secs
Quarantined tests 5
Status Test Failing since Quarantined by View job Duration
Collapse Failed test_multiprovider_qos test_a_qos_requirement_is_met_after_removing_the_parameter_and_adding_it_again[1oz_2op_deployed]
Failing since build #1541 (Child of ODSRV-OZP-1575) Not quarantined Chrome multiprovider QoS tests 7 mins
RuntimeError: no  item found in Requirement in Quality of Service modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="b760e208578be8d7e3420be0677240fb", element="1429b5aa-5790-47e8-b424-2e17ab2fe77a")>
css_sel = '.qos-status-impossible'
err_msg = 'no  item found in Requirement in Quality of Service modal'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(302 more lines...)
Collapse Failed test_oneprovider_transfers test_user_tries_to_migrate_file_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Failing since build #1447 (Child of ODSRV-OZP-1532) Not quarantined Chrome transfers tests 3 mins
selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: element is not attached to the page document   (Session info: chrome=78.0.3904.70)
request = <FixtureRequest for <Function 'test_user_tries_to_migrate_file_to_too_small_space_on_remote_provider[1oz_2op_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: 
(172 more lines...)
Collapse Failed test_oneprovider_transfers test_user_tries_to_replicate_file_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Failing since build #1447 (Child of ODSRV-OZP-1532) Not quarantined Chrome transfers tests 6 mins
RuntimeError: Index out of bound. Requested item at 0 while limit is 0 in _TransfersTab in Oneprovider page
request = <FixtureRequest for <Function 'test_user_tries_to_replicate_file_to_too_small_space_on_remote_provider[1oz_2op_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: 
(31 more lines...)
Successful test_onezone_basic test_user_sees_that_group_added_to_cluster_has_default_privileges[1oz_1op_deployed]
Not quarantined Chrome onezone basic tests 1 min
Successful test_onezone_basic test_user_sees_that_user_added_to_cluster_has_default_privileges[1oz_1op_deployed]
Not quarantined Chrome onezone basic tests 2 mins