GUI acceptance tests using environment deployed from packages.

Test results

  • 597 tests in total
  • 13 tests failed
  • 11 failures are new
  • 11 tests were fixed
  • 5 tests were quarantined / skipped
  • 985 minutes taken in total.
New test failures 11
Status Test View job Duration
Collapse Failed test_oneprovider_posix_multiuser test_user1_fails_to_rename_file_because_of_change_in_parent_directory_permission[1oz_1op_deployed]
Chrome POSIX tests multiuser 3 mins
RuntimeError: no "20B-0.txt" found in file browser in Oneprovider page
request = <FixtureRequest for <Function 'test_user1_fails_to_rename_file_because_of_change_in_parent_directory_permission[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_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_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_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_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_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 7 mins
AssertionError: not found "dir211" in browser
subtree = ['dir211', {'file2.txt': 11111}], 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 0x7f077aeb1048>}})
cwd = '/dir2/dir21'
selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="808d885cb915af8eb995c228ce55d478")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="4e6e0c5000259c4dce882e72b169f168")>}
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'
(71 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 "dir211" in browser
subtree = ['dir211', {'file2.txt': 11111}], 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 0x7f077af959e8>}})
cwd = '/dir2/dir21'
selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="37a6691bc3fc948dcac5fdac27833c91")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="5b69f6a45f64d4d24f4f4cbdec685089")>}
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_does_not_see_files_a1')
which_browser = 'file browser'
(71 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 7 mins
AssertionError: displayed number of files 3 does not match expected 10
request = <FixtureRequest for <Function 'test_user_sees_imported_files_after_supporting_space_and_sees_difference_when_max_depth_has_changed[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...)
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 7 mins
AssertionError: displayed number of files 3 does not match expected 10
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: 
(38 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: file browser in files tab in op should be empty but is not
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 0x7f077af0cd30>}})
cwd = '/dir2'
selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="1b5c68c9eb7f258260143aa99ee47831")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="2e648ffc3bfc0ca0eba3b2c42b05d9b6")>}
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'
(61 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 11
Status Test Failing since View job Duration
Successful test_multiprovider_multiuser test_user_uses_autocleaning_with_lower_size_limit_which_skips_too_small_files[1oz_2op_deployed]
Failing since build #1747 (Child of ODSRV-OPRPM-1992) Chrome multiprovider multiuser tests 4 mins
Successful test_onepanel_members test_user_increases_number_of_members_in_cluster[1oz_1op_deployed]
Failing since build #1747 (Child of ODSRV-OPRPM-1992) Chrome onepanel members tests 59 secs
Successful test_oneprovider_acl_subdir test_rename_subfile[1oz_1op_deployed-user-user1-fails-all except [data:delete child]]
Failing since build #1746 (Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>) Chrome oneprovider ACL subdirectories 1 min
Successful test_oneprovider_acl_subdir test_rename_subdirectory[1oz_1op_deployed-group-group1-fails-all except [data:add subdirectory]]
Failing since build #1747 (Child of ODSRV-OPRPM-1992) Chrome oneprovider ACL subdirectories 1 min
Successful test_oneprovider_acl_subdir test_list_directory_items[1oz_1op_deployed-group-group1-succeeds-[data:list files, data:traverse directory]]
Failing since build #1747 (Child of ODSRV-OPRPM-1992) Chrome oneprovider ACL subdirectories 2 mins
Successful test_oneprovider_acl_subdir test_rename_subdirectory[1oz_1op_deployed-user-user1-fails-all except [data:add subdirectory]]
Failing since build #1747 (Child of ODSRV-OPRPM-1992) Chrome oneprovider ACL subdirectories 1 min
Successful test_oneprovider_acl_subdir test_rename_subfile[1oz_1op_deployed-group-group1-fails-all except [data:add files]]
Failing since build #1747 (Child of ODSRV-OPRPM-1992) Chrome oneprovider ACL subdirectories 1 min
Successful test_oneprovider_posix test_user_fails_to_download_file_because_of_lack_in_privileges[1oz_1op_deployed]
Failing since build #1747 (Child of ODSRV-OPRPM-1992) Chrome POSIX tests 59 secs
Successful test_oneprovider_posix_multiuser test_user1_creates_directory_and_fails_to_remove_it_because_of_change_in_parent_directory_permission[1oz_1op_deployed]
Failing since build #1747 (Child of ODSRV-OPRPM-1992) Chrome POSIX tests multiuser 1 min
Successful test_oneprovider_posix_multiuser test_user1_fails_to_remove_file_because_of_change_in_parent_directory_permission[1oz_1op_deployed]
Failing since build #1747 (Child of ODSRV-OPRPM-1992) Chrome POSIX tests multiuser 1 min
Successful test_oneprovider_posix_multiuser test_user1_creates_directory_and_fails_to_create_another_directory_because_of_change_in_parent_directory_permission[1oz_1op_deployed]
Failing since build #1747 (Child of ODSRV-OPRPM-1992) Chrome POSIX tests multiuser 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 9 mins
RuntimeError: no  item found in Requirement in Quality of Service modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="e985d504dacdeca9898cdaf306ba7bab", element="737bd0be-547f-4030-8803-c84fd3bf5aaf")>
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