GUI acceptance tests using environment deployed from packages.

Build: #1774 failed Child of ODSRV-OPRPM-2002

Test results

  • 691 tests in total
  • 12 tests failed
  • 5 failures are new
  • 13 tests were fixed
  • 5 tests were quarantined / skipped
  • 1160 minutes taken in total.
New test failures 5
Status Test View job Duration
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 "20B-0.txt" found in file browser in Oneprovider page
request = <FixtureRequest for <Function 'test_user1_fails_to_remove_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_posix_multiuser test_user1_fails_to_upload_file_because_of_change_in_parent_directory_permission[1oz_1op_deployed]
Chrome POSIX tests multiuser 3 mins
RuntimeError: no  item found in Upload presenter
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="375540913a952aed006cdcd4b4952817", element="b34d241a-f4b3-4bbb-95a6-5ae843572441")>
css_sel = '.summary-state .one-icon'
err_msg = 'no  item found in Upload presenter'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(298 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_oneprovider_transfers_multi test_user_replicates_directory_with_2_files_on_different_providers_to_current_provider[1oz_2op_deployed]
Chrome transfers multi browser tests 6 mins
RuntimeError: no "large_file(1).txt" found in file browser in Oneprovider page
request = <FixtureRequest for <Function 'test_user_replicates_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_storage_sync test_user_does_not_see_files_update_when_detect_modifications_is_disabled[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 0x7f98630a3c50>}})
cwd = '/dir2'
selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="2c56e6b7c85916774b8ae28469f2f127")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="d3b6b7a7923f07dc5c6aab991732f0e9")>}
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...)
Existing test failures 7
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...)
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 0x7f9863103fd0>}})
cwd = '/dir2/dir21'
selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="581e465f2447bbe538be876f6e09d79d")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="4b2c1194ab0d172e5e19cf36b4ece5ce")>}
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'
(71 more lines...)
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...)
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...)
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...)
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 0x7f98631afcc0>}})
cwd = '/dir2'
selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="2d697689be45d6c8c2477cd2c714c0b6")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="c6e47f4e06c63544082cad7a1c85d07e")>}
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...)
Fixed tests 13
Status Test Failing since View job Duration
Successful test_oneprovider_acl_dir test_create_subdirectory[1oz_1op_deployed-user-user1-fails-all except [data:add subdirectory]]
Failing since build #1773 (Child of ODSRV-OZP-1651) Chrome oneprovider ACL directories 1 min
Successful test_oneprovider_acl_dir test_create_subdirectory[1oz_1op_deployed-group-group1-fails-all except [data:add subdirectory]]
Failing since build #1773 (Child of ODSRV-OZP-1651) Chrome oneprovider ACL directories 1 min
Successful test_oneprovider_acl_subdir test_remove_subdirectory[1oz_1op_deployed-group-group1-succeeds-[data:delete child, data:traverse directory, data:list files]]
Failing since build #1773 (Child of ODSRV-OZP-1651) Chrome oneprovider ACL subdirectories 1 min
Successful test_oneprovider_acl_subdir test_rename_subdirectory[1oz_1op_deployed-group-group1-succeeds-[data:list files, data:delete child, data:traverse directory, data:add subdirectory]]
Failing since build #1773 (Child of ODSRV-OZP-1651) Chrome oneprovider ACL subdirectories 1 min
Successful test_oneprovider_acl_subdir test_rename_subfile[1oz_1op_deployed-user-user1-succeeds-[data:list files, data:delete child, data:traverse directory, data:add files]]
Failing since build #1773 (Child of ODSRV-OZP-1651) Chrome oneprovider ACL subdirectories 1 min
Successful test_oneprovider_acl_subdir test_rename_subfile[1oz_1op_deployed-group-group1-succeeds-[data:list files, data:delete child, data:traverse directory, data:add files]]
Failing since build #1773 (Child of ODSRV-OZP-1651) Chrome oneprovider ACL subdirectories 1 min
Successful test_oneprovider_data_tab test_user_successfully_pastes_file_cut_from_other_directory[1oz_1op_deployed]
Failing since build #1773 (Child of ODSRV-OZP-1651) Chrome oneprovider data tab tests 33 secs
Successful test_oneprovider_data_tab test_user_enters_directory_and_views_files_in_it[1oz_1op_deployed]
Failing since build #1773 (Child of ODSRV-OZP-1651) Chrome oneprovider data tab tests 21 secs
Successful test_oneprovider_data_tab test_user_downloads_file_and_checks_its_content[1oz_1op_deployed]
Failing since build #1773 (Child of ODSRV-OZP-1651) Chrome oneprovider data tab tests 21 secs
Successful test_oneprovider_data_tab test_user_sees_both_data_and_metadata_protection_tags_on_hardlinks_if_hardlinked_files_inherit_these_flags_from_their_parents_separately[1oz_1op_deployed]
Failing since build #1773 (Child of ODSRV-OZP-1651) Chrome oneprovider data tab tests 1 min
Successful test_oneprovider_posix test_user_fails_to_remove_file_because_of_lack_in_privileges[1oz_1op_deployed]
Failing since build #1773 (Child of ODSRV-OZP-1651) Chrome POSIX tests 1 min
Successful test_oneprovider_posix test_user_fails_to_rename_file_because_of_lack_in_privileges[1oz_1op_deployed]
Failing since build #1773 (Child of ODSRV-OZP-1651) Chrome POSIX tests 1 min
Successful test_shares_basic test_removing_directory_which_contained_shared_directory_removes_only_shares_files_but_not_share_itself[1oz_1op_deployed]
Failing since build #1765 (Child of ODSRV-OPRPM-1999) Chrome shares basic 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="48e42579bd527ecaaae698cdf1a9a903", element="baabf91b-3cad-4653-af3c-6554d03ed16b")>
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 1 min