GUI acceptance tests using environment deployed from packages.

Build: #1723 failed Child of ODSRV-OPRPM-1983

Test results

  • 662 tests in total
  • 12 tests failed
  • 8 failures are new
  • 11 tests were fixed
  • 5 tests were quarantined / skipped
  • 1212 minutes taken in total.
New test failures 8
Status Test View job Duration
Collapse Failed test_oneprovider_acl_dir test_upload_file_to_directory[1oz_1op_deployed-user-user1-fails-all except [data:add files]]
Chrome oneprovider ACL directories 6 mins
RuntimeError: no  item found in Upload presenter
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="128af68bdb4fe4f8b47276488fd05d05", element="f74da990-0d57-405a-894c-c35661f98ace")>
css_sel = '.summary-state .one-icon'
err_msg = 'no  item found in Upload presenter'

    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_acl_subdir test_rename_subdirectory[1oz_1op_deployed-user-user1-fails-all except [data:delete child]]
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="659c95058210d5e1ec4ca55d99093ead")>, 'space...3e104a768f1c")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="659c95058210d5e1ec4ca55d99093ead")>}
browser_id = 'browser_user1', path = 'dir1/dir2', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...1-554ae22ff8fe")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7feb981411d0>}})
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="3e5d14b81004f71bacd92ae18cede572")>, 'space...44be485459e9")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="3e5d14b81004f71bacd92ae18cede572")>}
browser_id = 'browser_user1', path = 'dir1/dir2', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...8-27b2975d0eda")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7feb98cdacc0>}})
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="58c4246b8319e01502682a8cb9d0528e")>, 'space...1f44d1a83797")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="58c4246b8319e01502682a8cb9d0528e")>}
browser_id = 'browser_user1', path = 'dir1/file1', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...3-d36907d6a802")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7feb97fd2470>}})
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_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...)
Collapse Failed test_onezone_basic test_user_sees_that_user_effective_privileges_are_the_sum_of_its_direct_parents_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_user_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_sees_that_user_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_user_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...)
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 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_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...)
Existing test failures 4
Status Test Failing since View job Duration
RuntimeError: no "file1" found in file browser in Oneprovider page
selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="12a1d986963986da109eff108c2d7cf4")>, 'space...144851de2e2d")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="12a1d986963986da109eff108c2d7cf4")>}
browser_id = 'browser_user1', path = 'dir1/file1', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...e-b92d7e71207d")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7feb980b4630>}})
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...)
RuntimeError: no "file1" found in file browser in Oneprovider page
selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="65a48139d2e4cee0d5cd3f00f7e76d39")>, 'space...317ed05ffed2")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="65a48139d2e4cee0d5cd3f00f7e76d39")>}
browser_id = 'browser_user1', path = 'dir1/file1', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...b-05888ff3cff3")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7feb97f02908>}})
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...)
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...)
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 11
Status Test Failing since View job Duration
Successful test_oneprovider_acl_subdir test_remove_subdirectory[1oz_1op_deployed-user-user1-fails-all except [data:delete child]]
Failing since build #1722 (Child of ODSRV-OPRPM-1982) Chrome oneprovider ACL subdirectories 2 mins
Successful test_oneprovider_acl_subdir test_remove_subdirectory[1oz_1op_deployed-group-group1-fails-all except [data:delete child]]
Failing since build #1722 (Child of ODSRV-OPRPM-1982) Chrome oneprovider ACL subdirectories 2 mins
Successful test_oneprovider_acl_subdir test_rename_subfile[1oz_1op_deployed-group-group1-fails-all except [data:delete child]]
Failing since build #1722 (Child of ODSRV-OPRPM-1982) Chrome oneprovider ACL subdirectories 2 mins
Successful test_oneprovider_acl_subdir test_rename_subfile[1oz_1op_deployed-user-user1-fails-all except [data:add files]]
Failing since build #1722 (Child of ODSRV-OPRPM-1982) Chrome oneprovider ACL subdirectories 2 mins
Successful test_oneprovider_data_tab test_user_downloads_file_and_checks_its_content[1oz_1op_deployed]
Failing since build #1722 (Child of ODSRV-OPRPM-1982) Chrome oneprovider data tab tests 37 secs
Successful test_oneprovider_data_tab test_user_successfully_pastes_file_cut_from_other_directory[1oz_1op_deployed]
Failing since build #1722 (Child of ODSRV-OPRPM-1982) Chrome oneprovider data tab tests 56 secs
Successful test_oneprovider_data_tab test_user_sees_both_data_and_metadata_protection_tags_on_hardlinks_if_hardlinked_files_inherit_these_flags_from_their_parents_separately[1oz_1op_deployed]
Failing since build #1722 (Child of ODSRV-OPRPM-1982) Chrome oneprovider data tab tests 1 min
Successful test_oneprovider_transfers_multi test_user_migrates_file_from_remote_provider_to_current_provider[1oz_2op_deployed]
Failing since build #1718 (Child of ODSRV-OZP-1638) Chrome transfers multi browser tests 2 mins
Successful test_oneprovider_transfers_multi test_user_migrates_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 3 mins
Successful test_onezone_data_discovery test_metadata_changes_of_file_in_harvested_space_are_visible_in_data_discovery_page[1oz_1op_elasticsearch]
Failing since build #1722 (Child of ODSRV-OPRPM-1982) Chrome onezone data discovery test 2 mins
Successful test_onezone_data_discovery test_public_harvester_site_is_updated_when_files_are_removed_from_space_in_original_harvester[1oz_1op_elasticsearch]
Failing since build #1722 (Child of ODSRV-OPRPM-1982) Chrome onezone data discovery test 2 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 6 mins
RuntimeError: no  item found in Requirement in Quality of Service modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="c7915659d7cf3db380bd1edbe6a94258", element="b6e49d74-6aca-4391-b4c5-d8dca6d7f9e6")>
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...)