GUI acceptance tests using environment deployed from packages.

Build: #1760 failed Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>

Test results

  • 675 tests in total
  • 14 tests failed
  • 9 failures are new
  • 4 tests were fixed
  • 5 tests were quarantined / skipped
  • 1145 minutes taken in total.
New test failures 9
Status Test View job Duration
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_hardlinks_and_symlinks test_user_creates_symlinks_in_other_directories_than_original_files[1oz_1op_deployed]
Chrome oneprovider hardlinks and symlinks 1 min
AssertionError: not found "dir2" in file browser
request = <FixtureRequest for <Function 'test_user_creates_symlinks_in_other_directories_than_original_files[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...)
Collapse Failed test_oneprovider_transfers_multi test_user_migrates_file_from_remote_provider_to_current_provider[1oz_2op_deployed]
Chrome transfers multi browser tests 5 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_from_remote_provider_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: 
(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 6 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_shares_basic test_user_sees_new_files_in_single_share_view_in_full_onezone_interface_after_adding_them_to_shared_directory[1oz_1op_deployed]
Chrome shares basic tests 1 min
AssertionError: expected breadcrumbs /dir1; displayed: space1
request = <FixtureRequest for <Function 'test_user_sees_new_files_in_single_share_view_in_full_onezone_interface_after_adding_them_to_shared_directory[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: 
(34 more lines...)
Collapse Failed test_storage_sync test_user_sees_files_update_when_detect_modifications_is_set[1oz_1op_deployed]
Chrome storage sync tests 7 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 0x7f5c43065780>}})
cwd = '/dir2'
selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="1a82af71360db2349ff790853bc94615")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="749e9e6d83d39d42c2c34dba83b8f288")>}
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_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 7 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_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 0x7f5c43073278>}})
cwd = '/dir2'
selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="f5045c0bcf421673e2eb6b3627e617ec")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="61209be3a124381d65644b13083c5ad8")>}
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 5 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...)
Existing test failures 5
Status Test Failing since View job Duration
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...)
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...)
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...)
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 4
Status Test Failing since View job Duration
Successful test_multiprovider_qos test_file_is_replicated_after_migration_from_one_storage_with_qos_requirement[1oz_2op_deployed]
Failing since build #1758 (Child of ODSRV-OZP-1648) Chrome multiprovider QoS tests 2 mins
Successful test_oneprovider_posix_multiuser test_user1_fails_to_rename_file_because_of_change_in_parent_directory_permission[1oz_1op_deployed]
Failing since build #1759 (Child of ODSRV-OPRPM-1995) Chrome POSIX tests multiuser 1 min
Successful test_oneprovider_posix_multiuser test_user1_fails_to_upload_file_because_of_change_in_parent_directory_permission[1oz_1op_deployed]
Failing since build #1759 (Child of ODSRV-OPRPM-1995) Chrome POSIX tests multiuser 1 min
Successful test_shares_basic test_share_curl_command_can_be_used_to_get_valid_share_info[1oz_1op_deployed]
Failing since build #1759 (Child of ODSRV-OPRPM-1995) Chrome shares basic tests 56 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 6 mins
RuntimeError: no  item found in Requirement in Quality of Service modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="4187661188b0c83f89c7d5cd9b7f78d4", element="ae7a8555-332c-495e-8499-ab97290eb57b")>
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