GUI acceptance tests using environment deployed from packages.

Build: #1725 failed Changes by Agnieszka Warchol

Test results

  • 663 tests in total
  • 12 tests failed
  • 7 failures are new
  • 2 tests were fixed
  • 12 tests were quarantined / skipped
  • 1181 minutes taken in total.
New test failures 7
Status Test View job Duration
Collapse Failed test_onepanel_basic test_user_fails_to_update_import_in_storage_that_is_not_importenabled[1oz_1op_deployed]
Chrome onepanel basic tests 3 mins
RuntimeError: space5 space not found
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>
driver = <selenium.webdriver.chrome.webdriver.WebDriver (session="96954654cf037997e6d53818d1b77762")>
name = 'space5'

    def _choose_space_from_menu_list(oz_page, driver, name):
        option = 'data'
        try:
(74 more lines...)
Collapse Failed test_onepanel_basic test_user_sees_that_synchronization_autoupdate_still_works_after_changing_mount_point_for_storage[1oz_1op_deployed]
Chrome onepanel basic tests 6 mins
RuntimeError: space3 space not found
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>
driver = <selenium.webdriver.chrome.webdriver.WebDriver (session="13e84ac996acfdb6340d1cba8a3e18c5")>
name = 'space3'

    def _choose_space_from_menu_list(oz_page, driver, name):
        option = 'data'
        try:
(74 more lines...)
Collapse Failed test_oneprovider_hardlinks_and_symlinks test_user_creates_hardlinks_in_other_directories_than_original_files[1oz_1op_deployed]
Chrome oneprovider hardlinks and symlinks 1 min
AssertionError: not found "dir2" in file browser
request = <FixtureRequest for <Function 'test_user_creates_hardlinks_in_other_directories_than_original_files[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...)
Collapse Failed test_storage_sync test_user_synchronizes_directory_manually_when_continuous_scan_is_disabled[1oz_1op_deployed]
Chrome storage sync tests 6 mins
AssertionError: not found "dir21" in browser
request = <FixtureRequest for <Function 'test_user_synchronizes_directory_manually_when_continuous_scan_is_disabled[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: 
(50 more lines...)
Collapse Failed test_storage_sync test_user_does_not_see_files_update_when_detect_modifications_is_disabled[1oz_1op_deployed]
Chrome storage sync tests 5 mins
AssertionError: not found "dir21" in browser
subtree = ['dir21', 'dir22', {'file1.txt': 22222}], user = 'browser2'
tmp_memory = defaultdict(<class 'dict'>, {'browser1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {'token': 'MDAzM2xvY2F0...': {'modal': None}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7fac7b44fe80>}})
cwd = '/dir2'
selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="2e2127943bf8fbee3152f780668d0f7b")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="cdc56fee50977089846e3b51af4cab0b")>}
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_does_not_see_files_u1')
which_browser = 'file browser'
(69 more lines...)
Collapse Failed 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]
Chrome storage sync tests 6 mins
AssertionError: not found "dir21" in browser
request = <FixtureRequest for <Function 'test_user_sees_that_files_are_deleted_after_synchronization_when_detect_deletions_is_enabled_and_detect_modifications_is_disabled[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: 
(50 more lines...)
Collapse Failed 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]
Chrome storage sync tests 6 mins
AssertionError: not found "dir21" in browser
request = <FixtureRequest for <Function '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]'>>

    @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: 
(50 more lines...)
Existing test failures 5
Status Test Failing since View job Duration
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...)
AttributeError: 'NoneType' object has no attribute 'menu'
request = <FixtureRequest for <Function 'test_user_sees_that_user_effective_privileges_are_the_sum_of_its_direct_parent_direct_privileges_and_its_direct_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: 
(35 more lines...)
AttributeError: 'NoneType' object has no attribute 'menu'
request = <FixtureRequest for <Function 'test_user_sees_that_group_effective_privileges_are_the_sum_of_its_direct_parents_direct_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: 
(35 more lines...)
AttributeError: 'NoneType' object has no attribute 'menu'
request = <FixtureRequest for <Function 'test_user_sees_that_user_effective_privileges_are_the_sum_of_its_direct_parents_direct_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: 
(35 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 2
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 #1723 (Child of ODSRV-OPRPM-1983) Chrome oneprovider ACL directories 2 mins
Successful test_onezone_basic test_user_sees_that_group_effective_privileges_are_the_sum_of_its_direct_parent_direct_privileges_and_its_direct_privileges[1oz_1op_deployed]
Failing since build #1723 (Child of ODSRV-OPRPM-1983) 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 #1541 (Child of ODSRV-OZP-1575) Not quarantined Chrome multiprovider QoS tests 9 mins
RuntimeError: no  item found in Requirement in Quality of Service modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="686708f1303a7f13c3339069598ab85d", element="c57e06db-bf80-4dd1-a946-372991257f40")>
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 #1723 (Child of ODSRV-OPRPM-1983) Not quarantined Chrome onezone basic tests 1 min
Collapse Failed test_onezone_basic test_user_sees_that_user_added_to_cluster_has_default_privileges[1oz_1op_deployed]
Failing since build #1723 (Child of ODSRV-OPRPM-1983) Not quarantined 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...)
Skipped tests 7
Status Test Failing since View job
Skipped test_onepanel_deployment_basic test_cluster_deployment[1oz_1op_not_deployed]
Chrome onepanel deployment basic tests
Skipped test_onepanel_login test_user_fails_to_login_because_of_invalid_credentials[1oz_1op_deployed]
Chrome onepanel login tests
Skipped test_onepanel_login test_user_successfully_change_passphrase_in_emergency_passphrase_view[1oz_1op_deployed]
Chrome onepanel login tests
Skipped test_onepanel_login test_user_successfully_logout[1oz_1op_deployed]
Chrome onepanel login tests
Skipped test_onepanel_login test_user_successfully_login_to_emergency_interface_of_onezone_panel[1oz_1op_deployed]
Chrome onepanel login tests
Skipped test_onepanel_login test_user_successfully_goes_to_onezone_page_from_onepanel_login_page[1oz_1op_deployed]
Chrome onepanel login tests
Skipped test_onepanel_login test_user_successfully_goes_to_onezone_page_from_emeregency_interface[1oz_1op_deployed]
Chrome onepanel login tests