GUI acceptance tests using environment deployed from packages.

Build: #1718 failed Child of ODSRV-OZP-1638

Test results

  • 658 tests in total
  • 16 tests failed
  • 13 failures are new
  • 5 tests were fixed
  • 5 tests were quarantined / skipped
  • 1232 minutes taken in total.
New test failures 13
Status Test View job Duration
Collapse Failed test_oneprovider_acl_subdir test_list_directory_items[1oz_1op_deployed-group-group1-succeeds-[data:list files, data:traverse directory]]
Chrome oneprovider ACL subdirectories 7 mins
AssertionError: not found "file1" in browser
request = <FixtureRequest for <Function 'test_list_directory_items[1oz_1op_deployed-group-group1-succeeds-[data:list files, data:traverse directory]]'>>

    @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: 
(46 more lines...)
Collapse Failed test_oneprovider_acl_subdir test_rename_subfile[1oz_1op_deployed-user-user1-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="c19943df3a5e1b0703ee75f33e343974")>, 'space...bf7880089c14")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="c19943df3a5e1b0703ee75f33e343974")>}
browser_id = 'browser_user1', path = 'dir1/file1', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...4-e0299966fd3b")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f8615f22208>}})
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-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="c2c1e978e29c111bd5fd9a4acaa020f9")>, 'space...e9a73c46f762")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="c2c1e978e29c111bd5fd9a4acaa020f9")>}
browser_id = 'browser_user1', path = 'dir1/file1', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...4-b6b3d6023184")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f8615f73a58>}})
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_list_directory_items[1oz_1op_deployed-user-user1-succeeds-[data:list files, data:traverse directory]]
Chrome oneprovider ACL subdirectories 11 mins
AssertionError: not found "file1" in browser
request = <FixtureRequest for <Function 'test_list_directory_items[1oz_1op_deployed-user-user1-succeeds-[data:list files, data:traverse directory]]'>>

    @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: 
(46 more lines...)
Collapse Failed test_oneprovider_acl_subdir test_rename_subfile[1oz_1op_deployed-user-user1-succeeds-[data:list files, data:delete child, data:traverse directory, 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="49cf76edc4308da318daf3d6fa05442f")>, 'space...489cb8494784")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="49cf76edc4308da318daf3d6fa05442f")>}
browser_id = 'browser_user1', path = 'dir1/file1', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...9-a04c39a84e67")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f86160e5eb8>}})
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_hardlinks_and_symlinks test_user_downloads_hardlink_of_file[1oz_1op_deployed]
Chrome oneprovider hardlinks and symlinks 2 mins
RuntimeError: file file1(1) has not been downloaded
request = <FixtureRequest for <Function 'test_user_downloads_hardlink_of_file[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: 
(34 more lines...)
Collapse Failed test_oneprovider_posix_multiuser test_user1_fails_to_rename_file_because_of_change_in_parent_directory_permission[1oz_1op_deployed]
Chrome POSIX tests multiuser 3 mins
RuntimeError: no "20B-0.txt" found in file browser in Oneprovider page
request = <FixtureRequest for <Function 'test_user1_fails_to_rename_file_because_of_change_in_parent_directory_permission[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: 
(39 more lines...)
Collapse Failed test_oneprovider_posix_multiuser test_user1_creates_directory_and_fails_to_create_another_directory_because_of_change_in_parent_directory_permission[1oz_1op_deployed]
Chrome POSIX tests multiuser 3 mins
RuntimeError: no  item found in modals
web_elem_root = <selenium.webdriver.chrome.webdriver.WebDriver (session="9eeb8692d534bc19a6b14ec12e8c1e17")>
css_sel = '.alert-global.modal.in .modal-dialog'
err_msg = 'no  item found in modals'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(281 more lines...)
Collapse Failed test_oneprovider_posix_multiuser test_user1_fails_to_remove_file_because_of_change_in_parent_directory_permission[1oz_1op_deployed]
Chrome POSIX tests multiuser 4 mins
RuntimeError: no  item found in modals
web_elem_root = <selenium.webdriver.chrome.webdriver.WebDriver (session="64c0080a8310bcb67574af28e840b200")>
css_sel = '.alert-global.modal.in .modal-dialog'
err_msg = 'no  item found in modals'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(281 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...)
Collapse Failed test_onezone_basic test_user_sees_that_group_effective_privileges_are_the_sum_of_its_direct_parents_direct_privileges[1oz_1op_deployed]
Chrome onezone basic tests 3 mins
AttributeError: 'NoneType' object has no attribute 'menu'
request = <FixtureRequest for <Function 'test_user_sees_that_group_effective_privileges_are_the_sum_of_its_direct_parents_direct_privileges[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: 
(35 more lines...)
Collapse Failed test_onezone_basic test_user_deregisters_dead_duplicated_provider[1oz_1op_deployed]
Chrome onezone basic tests 2 mins
AssertionError: Expected 1 dev-oneprovider-krakow record but got 2
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: 
(31 more lines...)
Collapse Failed test_onezone_basic test_user_sees_that_group_effective_privileges_are_the_sum_of_its_direct_parent_direct_privileges_and_its_direct_privileges[1oz_1op_deployed]
Chrome onezone basic tests 1 min
AttributeError: 'NoneType' object has no attribute 'menu'
request = <FixtureRequest for <Function 'test_user_sees_that_group_effective_privileges_are_the_sum_of_its_direct_parent_direct_privileges_and_its_direct_privileges[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: 
(35 more lines...)
Existing test failures 3
Status Test Failing since View job Duration
AssertionError: file upload not finished within given time
request = <FixtureRequest for <Function 'test_user_sees_file_is_not_visible_after_its_upload_has_been_canceled[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: 
(28 more lines...)
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...)
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...)
Fixed tests 5
Status Test Failing since View job Duration
Successful test_multiprovider_multiuser test_user_uses_autocleaning_with_upper_size_limit_which_skips_too_big_files[1oz_2op_deployed]
Failing since build #1717 (Changes by Jakub Liput and Tomek Krzyzak) Chrome multiprovider multiuser tests 5 mins
Successful test_oneprovider_transfers test_user_migrates_directory_to_remote_provider[1oz_2op_deployed]
Failing since build #1717 (Changes by Jakub Liput and Tomek Krzyzak) Chrome transfers tests 2 mins
Successful test_oneprovider_transfers test_user_migrates_file_to_remote_provider[1oz_2op_deployed]
Failing since build #1717 (Changes by Jakub Liput and Tomek Krzyzak) Chrome transfers tests 2 mins
Successful test_oneprovider_transfers test_user_tries_to_migrate_directory_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Failing since build #1717 (Changes by Jakub Liput and Tomek Krzyzak) Chrome transfers tests 1 min
Successful test_oneprovider_transfers_multi test_user_replicates_directory_with_2_files_on_different_providers_to_current_provider[1oz_2op_deployed]
Failing since build #1716 (Rebuilt by Michal Orzechowski) Chrome transfers multi browser tests 7 mins
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="f14647ad83d4dc6a81b706b5a35a9bba", element="832e6ef9-aa16-47eb-a7cc-45faaf30816c")>
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 5 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_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: 
(31 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 5 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...)
Collapse Failed 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
AttributeError: 'NoneType' object has no attribute 'menu'
request = <FixtureRequest for <Function 'test_user_sees_that_group_added_to_cluster_has_default_privileges[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: 
(34 more lines...)
Collapse Failed test_onezone_basic test_user_sees_that_user_added_to_cluster_has_default_privileges[1oz_1op_deployed]
Not quarantined Chrome onezone basic tests 1 min
AttributeError: 'NoneType' object has no attribute 'menu'
request = <FixtureRequest for <Function 'test_user_sees_that_user_added_to_cluster_has_default_privileges[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: 
(34 more lines...)