GUI acceptance tests using environment deployed from packages.

Build: #1459 failed Changes by Agnieszka Warchol

Test results

  • 544 tests in total
  • 8 tests failed
  • 8 failures are new
  • 5 tests were quarantined / skipped
  • 873 minutes taken in total.
New test failures 8
Status Test View job Duration
Collapse Failed 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]]
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="bb0bbeed3d743c887af4e1aae78a6a61")>, 'space...4acda5787d2f")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="bb0bbeed3d743c887af4e1aae78a6a61")>}
browser_id = 'browser_user1', path = 'dir1/dir2', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...4-190c2cfebed9")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f1420d01358>}})
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-user-user1-succeeds-[data:delete child, data:traverse directory, data:list 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="14973c8cbb97c34065cdc61995f67739")>, 'space...8aeffdbe4efd")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="14973c8cbb97c34065cdc61995f67739")>}
browser_id = 'browser_user1', path = 'dir1/file1', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...1-8d884c12f472")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f1420faf9b0>}})
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_subdirectory[1oz_1op_deployed-group-group1-succeeds-[data:delete child, data:traverse directory, data:list files]]
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="95373ed47086ae71209207a53aa01353")>, 'space...c516493b25c4")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="95373ed47086ae71209207a53aa01353")>}
browser_id = 'browser_user1', path = 'dir1/dir2', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...6-7d3b87afc8be")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f1420ded668>}})
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_basic test_user_sees_that_user_added_to_cluster_has_default_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_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_group_added_to_cluster_has_default_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_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_deregisters_dead_duplicated_provider[1oz_1op_deployed]
Chrome onezone basic tests 2 mins
AssertionError: Expected 1 dev-oneprovider-krakow record but got 0
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_data_discovery test_not_signed_in_user_sees_data_of_public_harvester_in_public_harvester_gui_from_given_url[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 0x7f29e05b7748>
conn = <urllib3.connection.VerifiedHTTPSConnection object at 0x7f29e05b7278>
method = 'POST'
url = '/api/v3/onezone/harvesters/48a7cf61bc04027d4d7820b8b9de64abch90e9/indices'
timeout = <urllib3.util.timeout.Timeout object at 0x7f29e05b7908>
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...)
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="0bb8a959ac0a17ef4c9247cf44da1e54", element="292b3ec1-1d4d-473c-9232-c262453e9413")>
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_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 2 mins
AssertionError: Modal does not contain text "Starting file download failed"
request = <FixtureRequest for <Function 'test_user_fails_to_download_file_because_of_lack_in_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: 
(26 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_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 2 mins