GUI acceptance tests using environment deployed from packages.

Build: #1540 failed Child of ODSRV-OPRPM-1903

Test results

  • 566 tests in total
  • 16 tests failed
  • 2 failures are new
  • 1 test was fixed
  • 7 tests were quarantined / skipped
  • 901 minutes taken in total.
New test failures 2
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="724bf85251880a27eea8e46350ddc915")>, 'space...c93951549720")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="724bf85251880a27eea8e46350ddc915")>}
browser_id = 'browser_user1', path = 'dir1/dir2', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...d-0f0986e32876")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f16aa121908>}})
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_creates_directory_and_fails_to_rename_it_because_of_change_in_parent_directory_permission[1oz_1op_deployed]
Chrome POSIX tests multiuser 3 mins
RuntimeError: no  item found in modals
web_elem_root = <selenium.webdriver.chrome.webdriver.WebDriver (session="c7c68e17d217872b93acf23bcf2e0986")>
css_sel = '.alert-global.modal.in .modal-dialog'
err_msg = 'no  item found in modals'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(281 more lines...)
Existing test failures 14
Status Test Failing since View job Duration
selenium.common.exceptions.TimeoutException: Message: waiting for file metadata modal to appear
request = <FixtureRequest for <Function 'test_user_adds_basic_metadata_entry_and_checks_their_presence_with_metadata_status_tag[1oz_1op_deployed-File metadata-file1]'>>

    @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...)
selenium.common.exceptions.TimeoutException: Message: waiting for directory metadata modal to appear
request = <FixtureRequest for <Function 'test_user_adds_basic_metadata_entry_and_checks_their_presence_with_metadata_status_tag[1oz_1op_deployed-Directory metadata-dir1]'>>

    @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...)
RuntimeError: no  item found in Quality of Service modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="db030ae6ef99675b14ce1a90234b420a", element="c52097b6-6838-4963-abf8-af0feab32da2")>
css_sel = '.storages-matching-number'
err_msg = 'no  item found 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...)
RuntimeError: no  item found in Quality of Service modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="01362e1be4fe30fe6d18a2142e2cb330", element="62bd3f00-028f-414d-b16f-616ed5f79431")>
css_sel = '.storages-matching-text'
err_msg = 'no  item found 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...)
AssertionError: QoS tag for file1 in file browser visible, while should not be
request = <FixtureRequest for <Function 'test_user_sees_that_there_is_no_qos_file_status_and_entries_after_deleting_qos_requirements_from_file[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: 
(28 more lines...)
RuntimeError: no "space5" found in DataPage in Onezone page
request = <FixtureRequest for <Function 'test_user_fails_to_update_import_in_storage_that_is_not_importenabled[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: 
(43 more lines...)
AssertionError: Not found "hello = "WORLD"" QoS requirement in modal "Quality of Service"
request = <FixtureRequest for <Function 'test_new_metadata_and_qos_are_inherited_by_all_hardlinks_after_file_browser_refresh[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: 
(38 more lines...)
AssertionError: Not found "hello = "WORLD"" QoS requirement in modal "Quality of Service"
request = <FixtureRequest for <Function 'test_newly_created_hardlink_inherits_metadata_and_qos_from_original_file[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: 
(38 more lines...)
RuntimeError: no "space3" found in DataPage in Onezone page
request = <FixtureRequest for <Function 'test_user_sees_provider_details_after_choosing_appropriate_option_in_provider_menu_on_space_providers_page[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: 
(39 more lines...)
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...)
RuntimeError: no "Harvester management" found in PrivilegeTree in MembersItemRow in MembersList in MembersPage in DataPage in Onezone page
request = <FixtureRequest for <Function 'test_user_sees_that_group_added_to_space_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: 
(41 more lines...)
RuntimeError: no "space3" found in DataPage in Onezone page
request = <FixtureRequest for <Function 'test_user_sees_provider_on_the_space_providers_map_after_supporting[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: 
(39 more lines...)
AttributeError: 'NoneType' object has no attribute 'elements_list'
request = <FixtureRequest for <Function 'test_user_successfully_removes_group_from_harvester_with_remove_group_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: 
(37 more lines...)
RuntimeError: no "space3" found in DataPage in Onezone page
request = <FixtureRequest for <Function 'test_user_fails_to_remove_user_from_space_without_remove_user_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: 
(39 more lines...)
Fixed tests 1
Status Test Failing since View job Duration
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 #1539 (Child of ODSRV-OZP-1574) Chrome onezone data discovery test 1 min
Quarantined tests 7
Status Test Failing since Quarantined by View job Duration
Successful test_multiprovider_qos test_a_qos_requirement_is_met_after_removing_the_parameter_and_adding_it_again[1oz_2op_deployed]
Not quarantined Chrome multiprovider QoS tests 1 min
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 1 min
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="5387f38164bf7bafec080c299daecf71", element="57df2f4a-dc0d-4883-a951-2d110ad5aa2f")>
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 1 min
RuntimeError: no  item found in Public Share View
web_elem_root = <selenium.webdriver.chrome.webdriver.WebDriver (session="90e8b5e8e5c43c72962f3f50523e5687")>
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...)