GUI acceptance tests using environment deployed from packages.

Build: #1523 failed Child of ODSRV-OPRPM-1894

Test results

  • 566 tests in total
  • 9 tests failed
  • 3 failures are new
  • 2 tests were fixed
  • 5 tests were quarantined / skipped
  • 913 minutes taken in total.
New test failures 3
Status Test View job Duration
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="5a589b3a8c76f542b1da575689571623")>, 'space...f5a7471680cc")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="5a589b3a8c76f542b1da575689571623")>}
browser_id = 'browser_user1', path = 'dir1/file1', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...4-79c1e5cd66ef")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7fc349eec128>}})
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_onezone_data_discovery test_metadata_changes_of_file_in_harvested_space_are_visible_in_data_discovery_page[1oz_1op_elasticsearch]
Chrome onezone data discovery test 2 mins
RuntimeError: no "file_xattrs" found in file browser in Oneprovider page
request = <FixtureRequest for <Function 'test_metadata_changes_of_file_in_harvested_space_are_visible_in_data_discovery_page[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: 
(49 more lines...)
Collapse Failed test_onezone_data_discovery test_public_harvester_site_is_updated_when_file_metadata_is_updated_in_space_of_original_harvester[1oz_1op_elasticsearch]
Chrome onezone data discovery test 2 mins
RuntimeError: no "file_with_xattrs" found in file browser in Oneprovider page
request = <FixtureRequest for <Function 'test_public_harvester_site_is_updated_when_file_metadata_is_updated_in_space_of_original_harvester[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: 
(49 more lines...)
Existing test failures 6
Status Test Failing since View job Duration
RuntimeError: no  item found in GetSupportPage in SpaceProvidersPage in DataPage in Onezone page
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="950a49cadffd28b9a2e26a75980a6cee", element="fb84ad74-e4ae-4465-9345-c2ad0a2324ad")>
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...)
AssertionError: not found "file1" in file browser
request = <FixtureRequest for <Function 'test_shares_public_interface_still_works_after_the_only_space_member_left_the_space_containing_share[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: 
(37 more lines...)
AssertionError: not found "file1" in file browser
request = <FixtureRequest for <Function 'test_user_does_not_see_file_in_shares_public_interface_after_owner_removed_them_from_shared_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: 
(37 more lines...)
AssertionError: not found "20B-0.txt" in file browser
request = <FixtureRequest for <Function 'test_user_sees_new_files_in_shares_public_interface_after_owner_added_them_to_shared_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: 
(37 more lines...)
RuntimeError: no  item found in Public Share View
web_elem_root = <selenium.webdriver.chrome.webdriver.WebDriver (session="ed5cec1b39bda5a437e45ac72859687f")>
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...)
AssertionError: displayed share cwd in file browser is share_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...)
Fixed tests 2
Status Test Failing since View job Duration
Successful test_oneprovider_acl_subdir test_rename_subfile[1oz_1op_deployed-user-user1-fails-all except [data:delete child]]
Failing since build #1522 (Child of ODSRV-OZP-1568) Chrome oneprovider ACL subdirectories 1 min
Successful test_onezone_basic test_user_deregisters_dead_duplicated_provider[1oz_1op_deployed]
Failing since build #1520 (Child of ODSRV-OZP-1566) Chrome onezone basic tests 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 #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="79591f75f1f0e214f677924ccb7690f4", element="64c30730-90d4-4a4a-8129-aefcbb5ad068")>
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]
Failing since build #1521 (Child of ODSRV-OZP-1567) Not quarantined Chrome onezone basic tests 1 min
Successful test_onezone_basic test_user_sees_that_user_added_to_cluster_has_default_privileges[1oz_1op_deployed]
Failing since build #1521 (Child of ODSRV-OZP-1567) Not quarantined Chrome onezone basic tests 1 min