GUI acceptance tests using environment deployed from packages.

Build: #1763 failed Changes by Agnieszka Warchol

Test results

  • 688 tests in total
  • 13 tests failed
  • 11 failures are new
  • 3 tests were fixed
  • 5 tests were quarantined / skipped
  • 1197 minutes taken in total.
New test failures 11
Status Test View job Duration
Collapse Failed test_oneprovider_transfers test_user_tries_to_migrate_directory_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Chrome transfers tests 3 mins
selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: element is not attached to the page document   (Session info: chrome=78.0.3904.70)
request = <FixtureRequest for <Function 'test_user_tries_to_migrate_directory_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: 
(172 more lines...)
Collapse Failed test_oneprovider_transfers test_user_migrates_file_to_remote_provider[1oz_2op_deployed]
Chrome transfers tests 3 mins
selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: element is not attached to the page document   (Session info: chrome=78.0.3904.70)
request = <FixtureRequest for <Function 'test_user_migrates_file_to_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: 
(172 more lines...)
Collapse Failed test_oneprovider_transfers test_user_migrates_directory_to_remote_provider[1oz_2op_deployed]
Chrome transfers tests 4 mins
selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: element is not attached to the page document   (Session info: chrome=78.0.3904.70)
request = <FixtureRequest for <Function 'test_user_migrates_directory_to_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: 
(172 more lines...)
Collapse Failed test_oneprovider_transfers_multi test_user_migrates_directory_with_2_files_on_different_providers_to_current_provider[1oz_2op_deployed]
Chrome transfers multi browser tests 7 mins
RuntimeError: no "large_file(1).txt" found in file browser in Oneprovider page
request = <FixtureRequest for <Function 'test_user_migrates_directory_with_2_files_on_different_providers_to_current_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: 
(43 more lines...)
Collapse Failed test_public_shares test_user_fails_to_download_a_file_in_shared_directory_when_the_file_has_000_posix_permissions[1oz_1op_deployed]
Chrome public shares tests 1 min
RuntimeError: no "file1" found in file browser in Oneprovider page
request = <FixtureRequest for <Function 'test_user_fails_to_download_a_file_in_shared_directory_when_the_file_has_000_posix_permissions[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...)
Collapse Failed test_shares_basic test_user_can_jump_to_files_tab_using_breadcrumbs_in_single_share_view_in_full_onezone_interface[1oz_1op_deployed]
Chrome shares basic tests 1 min
RuntimeError: no "dir3" found in file browser in Oneprovider page
request = <FixtureRequest for <Function 'test_user_can_jump_to_files_tab_using_breadcrumbs_in_single_share_view_in_full_onezone_interface[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_storage_sync test_user_sees_files_update_when_detect_modifications_is_set[1oz_1op_deployed]
Chrome storage sync tests 6 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 0x7fa6234edf28>}})
cwd = '/dir2'
selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="37849057c213094f2ad141944fd2fc07")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="f3dcafb636ca4a1108087088053382ab")>}
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_sees_files_update_wh1')
which_browser = 'file browser'
(69 more lines...)
Collapse Failed test_storage_sync test_user_sees_imported_files_after_supporting_space_and_sees_difference_when_max_depth_has_changed[1oz_1op_deployed]
Chrome storage sync tests 6 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 0x7fa6233cc6a0>}})
cwd = '/dir2'
selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="687ff04fdd2c2b2b29b2d29fbe8f245a")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="7398eaf385b1dfff45e48c0dc1144cc1")>}
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_sees_imported_files_1')
which_browser = 'file browser'
(69 more lines...)
Collapse Failed test_storage_sync test_user_sees_that_directory_is_not_synchronized_automatically_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_sees_that_directory_is_not_synchronized_automatically_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_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...)
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...)
Existing test failures 2
Status Test Failing since View job Duration
RuntimeError: no "Copy cluster ID" found in Menu popup with text
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: 
(43 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 3
Status Test Failing since View job Duration
Successful test_oneprovider_acl_dir test_create_subdirectory[1oz_1op_deployed-user-user1-fails-all except [data:traverse directory]]
Failing since build #1761 (Child of ODSRV-OPRPM-1997) Chrome oneprovider ACL directories 1 min
Successful test_oneprovider_acl_dir test_upload_file_to_directory[1oz_1op_deployed-user-user1-fails-all except [data:add files]]
Failing since build #1761 (Child of ODSRV-OPRPM-1997) Chrome oneprovider ACL directories 2 mins
Successful test_oneprovider_posix test_user_fails_to_remove_directory_because_of_lack_in_privileges[1oz_1op_deployed]
Failing since build #1761 (Child of ODSRV-OPRPM-1997) Chrome POSIX tests 1 min
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="55dc267e6bdafce0b5bff8cafb625ef1", element="2e897ec0-90b4-456e-ba87-4710d9749253")>
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 3 mins
selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: element is not attached to the page document   (Session info: chrome=78.0.3904.70)
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: 
(172 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 6 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