GUI acceptance tests using environment deployed from packages.

Build: #1500 failed Child of ODSRV-OPRPM-1881

Test results

  • 544 tests in total
  • 2 tests failed
  • 2 failures are new
  • 1 test was fixed
  • 8 tests were quarantined / skipped
  • 877 minutes taken in total.
New test failures 2
Status Test View job Duration
Collapse Failed test_oneprovider_acl_subdir test_remove_subfile[1oz_1op_deployed-group-group1-fails-all except [data:delete child]]
Chrome oneprovider ACL subdirectories 3 mins
RuntimeError: no "file1" found in file browser in Oneprovider page
selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="36717fa81267acf8e7fe1e1b56aea8e7")>, 'space...061458d662c3")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="36717fa81267acf8e7fe1e1b56aea8e7")>}
browser_id = 'browser_user1', path = 'dir1/file1', space = 'space1'
tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...c-6310981a315e")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7fe984373668>}})
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,
(152 more lines...)
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  item found in modals
web_elem_root = <selenium.webdriver.chrome.webdriver.WebDriver (session="145d34be2791fb4bf5d1d8b39e35e7b6")>
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...)
Fixed tests 1
Status Test Failing since View job Duration
Successful test_oneprovider_posix test_user_fails_to_rename_file_because_of_lack_in_privileges[1oz_1op_deployed]
Failing since build #1499 (Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>) Chrome POSIX tests 1 min
Quarantined tests 8
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 #1392 (Changes by Agnieszka Warchol) 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="c71e237f9b9b046a8c50b98eedb91a03", element="eb1afb52-fc83-458b-95ef-a0a58254036d")>
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...)
Successful test_oneprovider_posix test_user_fails_to_download_file_because_of_lack_in_privileges[1oz_1op_deployed]
Not quarantined Chrome POSIX tests 1 min
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...)
Collapse Failed test_onezone_basic test_user_deregisters_dead_duplicated_provider[1oz_1op_deployed]
Failing since build #1499 (Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>) Not quarantined Chrome onezone basic tests 1 min
AssertionError: Provider oneprovider-1 is working
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: 
(29 more lines...)
Successful test_onezone_basic test_user_sees_that_group_added_to_cluster_has_default_privileges[1oz_1op_deployed]
Failing since build #1499 (Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>) 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]
Failing since build #1499 (Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>) Not quarantined Chrome onezone basic tests 1 min
Successful test_onezone_tokens test_group_has_default_space_member_privileges_after_user_consumes_group_to_space_invite_token_with_default_settings[1oz_2op_elasticsearch]
Not quarantined Chrome onezone tokens tests 2 mins