GUI acceptance tests using environment deployed from packages.

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

Test results

  • 677 tests in total
  • 11 tests failed
  • 8 failures are new
  • 8 tests were fixed
  • 5 tests were quarantined / skipped
  • 1181 minutes taken in total.
New test failures 8
Status Test View job Duration
Collapse Failed test_onepanel_basic test_user_sees_that_synchronization_autoupdate_still_works_after_changing_mount_point_for_storage[1oz_1op_deployed]
Chrome onepanel basic tests 4 mins
RuntimeError: space3 space not found
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>
driver = <selenium.webdriver.chrome.webdriver.WebDriver (session="1db92b98b568299e6d28afbb5e496cba")>
name = 'space3'

    def _choose_space_from_menu_list(oz_page, driver, name):
        option = 'data'
        try:
(74 more lines...)
Collapse Failed test_onepanel_basic test_user_fails_to_update_import_in_storage_that_is_not_importenabled[1oz_1op_deployed]
Chrome onepanel basic tests 3 mins
RuntimeError: space5 space not found
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>
driver = <selenium.webdriver.chrome.webdriver.WebDriver (session="ca0b7951a0a9dcaff7b234bcdcd7bf70")>
name = 'space5'

    def _choose_space_from_menu_list(oz_page, driver, name):
        option = 'data'
        try:
(74 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_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_sees_that_directory_is_not_synchronized_automatically_when_continuous_scan_is_disabled[1oz_1op_deployed]
Chrome storage sync tests 7 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...)
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: 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 0x7f26eeb56128>}})
cwd = '/dir2'
selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="e3e58180d65407c9146cb593af63c022")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="d80bb610f90e00b496f435e727040f3c")>}
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_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_does_not_see_files_update_when_detect_modifications_is_disabled[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 0x7f26eea622b0>}})
cwd = '/dir2'
selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="8c5f4a5f462c1976247b787931231760")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="18de5db4bc3eec8db0e60b8e44c5373f")>}
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'
(61 more lines...)
Existing test failures 3
Status Test Failing since View job Duration
AssertionError: file upload not finished within given time
request = <FixtureRequest for <Function 'test_user_sees_file_is_not_visible_after_its_upload_has_been_canceled[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: 
(28 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 8
Status Test Failing since View job Duration
Successful test_oneprovider_data_tab test_user_sees_that_newly_created_archive_has_new_file_and_is_different_than_archive_created_earlier_after_creating_new_plain_archive[1oz_1op_deployed]
Failing since build #1740 (Child of ODSRV-OPRPM-1990) Chrome oneprovider data tab tests 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 #1740 (Child of ODSRV-OPRPM-1990) Chrome oneprovider data tab tests 1 min
Successful test_oneprovider_data_tab test_user_successfully_pastes_file_cut_from_other_directory[1oz_1op_deployed]
Failing since build #1740 (Child of ODSRV-OPRPM-1990) Chrome oneprovider data tab tests 34 secs
Successful test_oneprovider_hardlinks_and_symlinks test_user_creates_hardlinks_in_other_directories_than_original_files[1oz_1op_deployed]
Failing since build #1740 (Child of ODSRV-OPRPM-1990) Chrome oneprovider hardlinks and symlinks 1 min
Successful test_oneprovider_transfers_multi test_user_migrates_file_from_remote_provider_to_current_provider[1oz_2op_deployed]
Failing since build #1740 (Child of ODSRV-OPRPM-1990) Chrome transfers multi browser tests 2 mins
Successful test_oneprovider_transfers_multi test_user_migrates_directory_with_2_files_on_different_providers_to_current_provider[1oz_2op_deployed]
Failing since build #1740 (Child of ODSRV-OPRPM-1990) Chrome transfers multi browser tests 3 mins
Successful test_oneprovider_transfers_multi test_user_replicates_directory_with_2_files_on_different_providers_to_current_provider[1oz_2op_deployed]
Failing since build #1740 (Child of ODSRV-OPRPM-1990) Chrome transfers multi browser tests 2 mins
Successful test_onezone_basic test_user_sees_that_after_unsupporting_space_number_displayed_in_space_counter_for_given_provider_decreases[1oz_1op_deployed]
Failing since build #1740 (Child of ODSRV-OPRPM-1990) Chrome onezone 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="83ae1c17ecbf00fb262a006b99a4f832", element="6113b862-8e91-4fc3-ad02-2d58001e4c74")>
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