GUI acceptance tests using environment deployed from packages.

Build: #1549 failed Changes by Jakub Liput

Test results

  • 565 tests in total
  • 9 tests failed
  • 5 failures are new
  • 6 tests were fixed
  • 7 tests were quarantined / skipped
  • 884 minutes taken in total.
New test failures 5
Status Test View job Duration
Collapse Failed test_oneprovider_acl_subdir test_remove_subdirectory[1oz_1op_deployed-user-user1-fails-all except [data:delete child]]
Chrome oneprovider ACL subdirectories 3 mins
RuntimeError: no "dir2" found in file browser in Oneprovider page
selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="5eae60721f9e6f1dbe93ad15ea23eed6")>, 'space...6dc5f45a6332")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="5eae60721f9e6f1dbe93ad15ea23eed6")>}
browser_id = 'browser_user1', path = 'dir1/dir2', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...1-fcb2db7a3de2")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f505faa86a0>}})
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...)
Collapse Failed test_oneprovider_acl_subdir test_remove_subfile[1oz_1op_deployed-group-group1-fails-all except [data:delete child]]
Chrome oneprovider ACL subdirectories 3 mins
RuntimeError: no "file1" found in file browser in Oneprovider page
selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="72e859c1c1dfbf9301036b758c9dc245")>, 'space...9914d263be1e")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="72e859c1c1dfbf9301036b758c9dc245")>}
browser_id = 'browser_user1', path = 'dir1/file1', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...4-205e533ef24c")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f505f891b00>}})
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...)
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 2 mins
RuntimeError: no "20B-0.txt" found in file browser in Oneprovider page
request = <FixtureRequest for <Function 'test_user1_fails_to_remove_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: 
(41 more lines...)
Collapse Failed test_onezone_data_discovery test_not_signed_in_user_cannot_open_public_data_discovery_page_if_harvester_is_no_longer_public[1oz_1op_elasticsearch]
Chrome onezone data discovery test 58 secs
tests.utils.http_exceptions.HTTPBadRequest: [400] Bad Request: {"error":{"id":"posix","details":{"errno":"enoent"},"description":"Operation failed with POSIX error: enoent."}}
request = <FixtureRequest for <Function 'test_not_signed_in_user_cannot_open_public_data_discovery_page_if_harvester_is_no_longer_public[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: 
(59 more lines...)
Collapse Failed test_onezone_data_discovery test_not_signed_in_user_sees_public_data_discovery_page_when_harvester_is_configured_as_public[1oz_1op_elasticsearch]
Chrome onezone data discovery test 1 min
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='dev-onezone.default.svc.cluster.local', port=443): Read timed out. (read timeout=20)
self = <urllib3.connectionpool.HTTPSConnectionPool object at 0x7f2c1e19dd30>
conn = <urllib3.connection.VerifiedHTTPSConnection object at 0x7f2c1e19d908>
method = 'POST'
url = '/api/v3/onezone/harvesters/b5d3d3e795c1d7e2479dc2d2e9e31608ch729a/indices'
timeout = <urllib3.util.timeout.Timeout object at 0x7f2c1e1a1978>
chunked = False
httplib_request_kw = {'body': '{"name": "generic-index", "guiPluginName": "generic-index", "includeMetadata": ["json", "xattrs", "rdf"], "i...ep-alive', 'content-type': 'application/json', 'Content-Length': '237', 'Authorization': 'Basic YWRtaW46cGFzc3dvcmQ='}}
(1116 more lines...)
Existing test failures 4
Status Test Failing since View job Duration
AssertionError: expected breadcrumbs /dir1; displayed: /dir1(1)
request = <FixtureRequest for <Function 'test_newly_created_symlink_to_directory_has_right_information_and_leads_to_original_directory[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...)
AssertionError: displayed share cwd in file browser is dir1 instead of expected /dir1
request = <FixtureRequest for <Function 'test_user_views_and_downloads_files_from_public_interface_of_share_shared_from_another_user_from_share_directory_modal[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...)
AssertionError: displayed share cwd in file browser is dir2 instead of expected /dir2
request = <FixtureRequest for <Function 'test_user_can_change_working_directory_using_breadcrumbs[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...)
AssertionError: displayed share cwd in file browser is dir3 instead of expected /dir3
request = <FixtureRequest for <Function 'test_user_can_jump_to_files_tab_using_breadcrumbs_in_single_share_view_in_full_onezone_interface[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...)
Fixed tests 6
Status Test Failing since View job Duration
Successful test_onepanel_basic test_user_fails_to_update_import_in_storage_that_is_not_importenabled[1oz_1op_deployed]
Failing since build #1539 (Child of ODSRV-OZP-1574) Chrome onepanel basic tests 1 min
Successful test_onezone_basic test_user_sees_that_group_added_to_space_has_default_privileges[1oz_1op_deployed]
Failing since build #1539 (Child of ODSRV-OZP-1574) Chrome onezone basic tests 1 min
Successful test_onezone_basic test_user_sees_provider_on_the_space_providers_map_after_supporting[1oz_1op_deployed]
Failing since build #1539 (Child of ODSRV-OZP-1574) Chrome onezone basic tests 1 min
Successful test_onezone_basic test_user_sees_provider_details_after_choosing_appropriate_option_in_provider_menu_on_space_providers_page[1oz_1op_deployed]
Failing since build #1539 (Child of ODSRV-OZP-1574) Chrome onezone basic tests 1 min
Successful test_onezone_harvesters_basic test_user_successfully_removes_group_from_harvester_with_remove_group_privilege[1oz_1op_elasticsearch]
Failing since build #1539 (Child of ODSRV-OZP-1574) Chrome onezone harvesters basic tests 2 mins
Successful test_onezone_spaces_basic test_user_fails_to_remove_user_from_space_without_remove_user_privileges[1oz_1op_deployed]
Failing since build #1539 (Child of ODSRV-OZP-1574) Chrome onezone spaces basic tests 1 min
Quarantined tests 7
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="451ad809de84c889a962bcc7d92d83f1", element="4204d650-0384-493e-a9c5-0b0fad6869f7")>
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...)
Successful test_onezone_basic test_user_sees_that_group_added_to_cluster_has_default_privileges[1oz_1op_deployed]
Not quarantined Chrome onezone basic tests 58 secs
Successful 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
Collapse Failed test_onezone_spaces_basic test_user_fails_to_invite_provider_without_privileges[1oz_1op_deployed]
Failing since build #1519 (Changes by Jakub Liput) Not quarantined Chrome onezone spaces basic tests 1 min
RuntimeError: no  item found in GetSupportPage in SpaceProvidersPage in DataPage in Onezone page
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="6a752515d57e5393448403cbab4a27e4", element="900c5c34-911d-4d56-91d3-44e866fbf43f")>
css_sel = '.error'
err_msg = 'no  item found in GetSupportPage in SpaceProvidersPage in DataPage in Onezone page'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(300 more lines...)
Collapse Failed test_public_shares test_user_sees_that_he_no_longer_can_view_public_share_after_owner_removed_it[1oz_1op_deployed]
Failing since build #1520 (Child of ODSRV-OZP-1566) Not quarantined Chrome public shares tests 2 mins
RuntimeError: no  item found in Public Share View
web_elem_root = <selenium.webdriver.chrome.webdriver.WebDriver (session="1a7b75625813c2156ac7c5a06d9217ed")>
css_sel = '.error-details.active'
err_msg = 'no  item found in Public Share View'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(281 more lines...)