GUI acceptance tests using environment deployed from packages.

Build: #1461 failed Child of ODSRV-OPRPM-1856

Test results

  • 544 tests in total
  • 4 tests failed
  • 1 failure is new
  • 5 tests were fixed
  • 5 tests were quarantined / skipped
  • 911 minutes taken in total.
New test failures 1
Status Test View job Duration
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 2 mins
RuntimeError: no "file1" found in file browser in Oneprovider page
selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="54bc29558712978b7c9205eec4bcb19a")>, 'space...f81967c346b8")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="54bc29558712978b7c9205eec4bcb19a")>}
browser_id = 'browser_user1', path = 'dir1/file1', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...7-f99f3660765b")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f3007668278>}})
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,
(152 more lines...)
Existing test failures 3
Status Test Failing since View job Duration
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...)
AssertionError: Provider oneprovider-1 is working
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: 
(29 more lines...)
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...)
Fixed tests 5
Status Test Failing since View job Duration
Successful test_oneprovider_acl_subdir test_remove_subdirectory[1oz_1op_deployed-group-group1-succeeds-[data:delete child, data:traverse directory, data:list files]]
Failing since build #1459 (Changes by Agnieszka Warchol) Chrome oneprovider ACL subdirectories 1 min
Successful test_oneprovider_acl_subdir test_rename_subdirectory[1oz_1op_deployed-group-group1-succeeds-[data:list files, data:delete child, data:traverse directory, data:add subdirectory]]
Failing since build #1459 (Changes by Agnieszka Warchol) Chrome oneprovider ACL subdirectories 1 min
Successful test_oneprovider_acl_subdir test_remove_subfile[1oz_1op_deployed-user-user1-succeeds-[data:delete child, data:traverse directory, data:list files]]
Failing since build #1459 (Changes by Agnieszka Warchol) Chrome oneprovider ACL subdirectories 1 min
Successful test_oneprovider_posix_multiuser test_user1_fails_to_remove_file_because_of_change_in_parent_directory_permission[1oz_1op_deployed]
Failing since build #1459 (Changes by Agnieszka Warchol) Chrome POSIX tests multiuser 1 min
Successful test_onezone_data_discovery test_not_signed_in_user_sees_data_of_public_harvester_in_public_harvester_gui_from_given_url[1oz_1op_elasticsearch]
Failing since build #1459 (Changes by Agnieszka Warchol) Chrome onezone data discovery test 1 min
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 #1392 (Changes by Agnieszka Warchol) 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="8f2a90e6a119793d9c34460db91a0e74", element="55d4b31c-320c-43ae-8fd7-9bfc7b9a5ff9")>
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...)
Successful test_oneprovider_posix test_user_fails_to_download_file_because_of_lack_in_privileges[1oz_1op_deployed]
Failing since build #1422 (Child of ODSRV-OPRPM-1834) Not quarantined Chrome POSIX tests 56 secs
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...)
Successful test_onezone_tokens test_group_has_default_space_member_privileges_after_user_consumes_group_to_space_invite_token_with_default_settings[1oz_2op_elasticsearch]
Not quarantined Chrome onezone tokens tests 3 mins