GUI acceptance tests using environment deployed from packages.

Build: #1730 failed Changes by Agnieszka Warchol

Test results

  • 677 tests in total
  • 6 tests failed
  • 2 failures are new
  • 11 tests were fixed
  • 5 tests were quarantined / skipped
  • 1106 minutes taken in total.
New test failures 2
Status Test View job Duration
Collapse Failed test_onepanel_basic test_user_deregisters_provider_registers_it_again_and_sees_that_provider_is_working[1oz_1op_deployed]
Chrome onepanel basic tests 2 mins
tests.utils.http_exceptions.HTTPBadRequest: [400] Bad Request: {"error":{"id":"badValueString","details":{"key":"storageId"},"description":"Bad value: provided \"storageId\" must be a string."}}
request = <FixtureRequest for <Function 'test_user_deregisters_provider_registers_it_again_and_sees_that_provider_is_working[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: 
(47 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 3 mins
RuntimeError: no  item found in modals
web_elem_root = <selenium.webdriver.chrome.webdriver.WebDriver (session="a06424eb738cdeab63907b8a399313a4")>
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 4
Status Test Failing since View job Duration
IndexError: list index out of range
request = <FixtureRequest for <Function 'test_user_sees_that_synchronization_autoupdate_still_works_after_changing_mount_point_for_storage[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: space5 space not found
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>
driver = <selenium.webdriver.chrome.webdriver.WebDriver (session="a25d6d14f85e9db3ad67aa1e9abce770")>
name = 'space5'

    def _choose_space_from_menu_list(oz_page, driver, name):
        option = 'data'
        try:
(74 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...)
AssertionError: Harvester management should be granted but is not
request = <FixtureRequest for <Function 'test_user_successfully_sets_privileges_with_set_privileges_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: 
(30 more lines...)
Fixed tests 11
Status Test Failing since View job Duration
Successful test_oneprovider_acl_dir test_upload_file_to_directory[1oz_1op_deployed-user-user1-fails-all except [data:add files]]
Failing since build #1728 (Child of ODSRV-OPRPM-1986) Chrome oneprovider ACL directories 2 mins
Successful test_oneprovider_data_tab test_user_successfully_pastes_file_copied_from_other_directory[1oz_1op_deployed]
Failing since build #1728 (Child of ODSRV-OPRPM-1986) Chrome oneprovider data tab tests 33 secs
Successful test_oneprovider_hardlinks_and_symlinks test_user_creates_symlinks_in_other_directories_than_original_files[1oz_1op_deployed]
Failing since build #1728 (Child of ODSRV-OPRPM-1986) Chrome oneprovider hardlinks and symlinks 1 min
Successful test_oneprovider_transfers_multi test_user_migrates_directory_with_2_files_on_different_providers_to_current_provider[1oz_2op_deployed]
Failing since build #1728 (Child of ODSRV-OPRPM-1986) Chrome transfers multi browser tests 3 mins
Successful test_oneprovider_transfers_multi test_user_migrates_file_from_remote_provider_to_current_provider[1oz_2op_deployed]
Failing since build #1728 (Child of ODSRV-OPRPM-1986) Chrome transfers multi browser tests 2 mins
Successful test_storage_sync test_user_sees_files_update_when_detect_modifications_is_set[1oz_1op_deployed]
Failing since build #1728 (Child of ODSRV-OPRPM-1986) Chrome storage sync tests 3 mins
Successful test_storage_sync test_user_synchronizes_directory_manually_when_continuous_scan_is_disabled[1oz_1op_deployed]
Failing since build #1728 (Child of ODSRV-OPRPM-1986) Chrome storage sync tests 3 mins
Successful test_storage_sync test_user_does_not_see_files_and_directories_that_have_been_removed_in_storage_mount_point_when_detect_deletions_option_was_enabled[1oz_1op_deployed]
Failing since build #1728 (Child of ODSRV-OPRPM-1986) Chrome storage sync tests 2 mins
Successful test_storage_sync test_user_does_not_see_files_update_when_detect_modifications_is_disabled[1oz_1op_deployed]
Failing since build #1728 (Child of ODSRV-OPRPM-1986) Chrome storage sync tests 3 mins
Successful test_storage_sync test_user_sees_that_files_are_deleted_after_synchronization_when_detect_deletions_is_enabled_and_detect_modifications_is_disabled[1oz_1op_deployed]
Failing since build #1728 (Child of ODSRV-OPRPM-1986) Chrome storage sync tests 2 mins
Successful test_storage_sync test_user_sees_that_directory_is_not_synchronized_automatically_when_continuous_scan_is_disabled[1oz_1op_deployed]
Failing since build #1728 (Child of ODSRV-OPRPM-1986) Chrome storage sync tests 3 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 #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="6b4f14b41012cd052931e9707a087f3f", element="dbdd5366-8d76-40f8-bd7f-2763002aa330")>
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 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 2 mins