GUI acceptance tests using environment deployed from packages.

Build: #1747 failed Child of ODSRV-OPRPM-1992

Test results

  • 676 tests in total
  • 13 tests failed
  • 10 failures are new
  • 5 tests were fixed
  • 5 tests were quarantined / skipped
  • 1180 minutes taken in total.
New test failures 10
Status Test View job Duration
Collapse Failed test_multiprovider_multiuser test_user_uses_autocleaning_with_lower_size_limit_which_skips_too_small_files[1oz_2op_deployed]
Chrome multiprovider multiuser tests 15 mins
AssertionError: distribution for dev-oneprovider-krakow is not entirely filled
request = <FixtureRequest for <Function 'test_user_uses_autocleaning_with_lower_size_limit_which_skips_too_small_files[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: 
(44 more lines...)
Collapse Failed test_onepanel_members test_user_increases_number_of_members_in_cluster[1oz_1op_deployed]
Chrome onepanel members tests 3 mins
IndexError: list index out of range
request = <FixtureRequest for <Function 'test_user_increases_number_of_members_in_cluster[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: 
(25 more lines...)
Collapse Failed test_oneprovider_acl_subdir test_rename_subfile[1oz_1op_deployed-group-group1-fails-all except [data:add files]]
Chrome oneprovider ACL subdirectories 4 mins
RuntimeError: no "file1" found in file browser in Oneprovider page
selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="b9351fab0ec6b65ab205603594378420")>, 'space...5f0f78e8e1d2")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="b9351fab0ec6b65ab205603594378420")>}
browser_id = 'browser_user1', path = 'dir1/file1', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...b-6ef68eb586e2")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7fb3f7bf5c18>}})
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>

    def _click_menu_for_elem_somewhere_in_file_browser(selenium, browser_id, path,
(154 more lines...)
Collapse Failed test_oneprovider_acl_subdir test_rename_subdirectory[1oz_1op_deployed-user-user1-fails-all except [data:add subdirectory]]
Chrome oneprovider ACL subdirectories 4 mins
RuntimeError: no "dir2" found in file browser in Oneprovider page
selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="e823a217740340d808a562135e5265f5")>, 'space...8b32fbf60c5f")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="e823a217740340d808a562135e5265f5")>}
browser_id = 'browser_user1', path = 'dir1/dir2', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...4-7ad97e360864")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7fb3f7fef518>}})
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>

    def _click_menu_for_elem_somewhere_in_file_browser(selenium, browser_id, path,
(154 more lines...)
Collapse Failed test_oneprovider_acl_subdir test_rename_subdirectory[1oz_1op_deployed-group-group1-fails-all except [data:add subdirectory]]
Chrome oneprovider ACL subdirectories 4 mins
RuntimeError: no "dir2" found in file browser in Oneprovider page
selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="aaa76c57bcced7551eacf5d31b553b4c")>, 'space...f9c55de0e24d")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="aaa76c57bcced7551eacf5d31b553b4c")>}
browser_id = 'browser_user1', path = 'dir1/dir2', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...b-240adeb3f991")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7fb3f7de6358>}})
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>

    def _click_menu_for_elem_somewhere_in_file_browser(selenium, browser_id, path,
(154 more lines...)
Collapse Failed test_oneprovider_acl_subdir test_list_directory_items[1oz_1op_deployed-group-group1-succeeds-[data:list files, data:traverse directory]]
Chrome oneprovider ACL subdirectories 6 mins
AssertionError: not found "file1" in browser
request = <FixtureRequest for <Function 'test_list_directory_items[1oz_1op_deployed-group-group1-succeeds-[data:list files, data:traverse directory]]'>>

    @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: 
(46 more lines...)
Collapse Failed test_oneprovider_posix test_user_fails_to_download_file_because_of_lack_in_privileges[1oz_1op_deployed]
Chrome POSIX tests 3 mins
RuntimeError: no  item found in modals
web_elem_root = <selenium.webdriver.chrome.webdriver.WebDriver (session="ae6d0fa3e6496619ffd7b5a67e0aa466")>
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...)
Collapse Failed test_oneprovider_posix_multiuser test_user1_creates_directory_and_fails_to_remove_it_because_of_change_in_parent_directory_permission[1oz_1op_deployed]
Chrome POSIX tests multiuser 4 mins
RuntimeError: no  item found in modals
web_elem_root = <selenium.webdriver.chrome.webdriver.WebDriver (session="78eb50999708ed75adb056b2a9d39935")>
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...)
Collapse Failed test_oneprovider_posix_multiuser test_user1_creates_directory_and_fails_to_create_another_directory_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="47fd9f73247a0602ab19e6af63ea87b3")>
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...)
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...)
Existing test failures 3
Status Test Failing since View job Duration
RuntimeError: no "file1" found in file browser in Oneprovider page
selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="a1678ffa0f3e306f3f222316521b1726")>, 'space...1e99fb73ec4e")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="a1678ffa0f3e306f3f222316521b1726")>}
browser_id = 'browser_user1', path = 'dir1/file1', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...0-de4ae5d29e7a")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7fb3f7e7a6a0>}})
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>

    def _click_menu_for_elem_somewhere_in_file_browser(selenium, browser_id, path,
(154 more lines...)
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 5
Status Test Failing since View job Duration
Successful test_multiprovider_multiuser test_user_uses_autocleaning_with_upper_size_limit_which_skips_too_big_files[1oz_2op_deployed]
Failing since build #1746 (Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>) Chrome multiprovider multiuser tests 8 mins
Successful test_oneprovider_acl_subdir test_remove_subfile[1oz_1op_deployed-group-group1-fails-all except [data:delete child]]
Failing since build #1746 (Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>) Chrome oneprovider ACL subdirectories 2 mins
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 #1746 (Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>) Chrome oneprovider data tab tests 1 min
Successful test_oneprovider_hardlinks_and_symlinks test_user_creates_hardlinks_in_other_directories_than_original_files[1oz_1op_deployed]
Failing since build #1746 (Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>) Chrome oneprovider hardlinks and symlinks 1 min
Successful test_oneprovider_hardlinks_and_symlinks test_user_downloads_symlink_of_file[1oz_1op_deployed]
Failing since build #1746 (Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>) Chrome oneprovider hardlinks and symlinks 54 secs
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 7 mins
RuntimeError: no  item found in Requirement in Quality of Service modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="a9155d942f232612ce65c015dc6be97b", element="80b6b626-7b53-4250-a4f0-293a9f8cc42f")>
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