GUI acceptance tests using environment deployed from packages.

Build: #1814 failed Changes by Agnieszka Warchol

Test results

  • 694 tests in total
  • 10 tests failed
  • 5 failures are new
  • 3 tests were fixed
  • 13 tests were quarantined / skipped
  • 1218 minutes taken in total.
New test failures 5
Status Test View job Duration
Collapse Failed test_multiprovider_basic test_user_sees_file_is_not_visible_after_its_upload_has_been_canceled[1oz_2op_deployed]
Chrome multiprovider basic tests 5 mins
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...)
Collapse Failed test_oneprovider_datasets test_user_sees_directory_tree_in_detached_tab_after_detaching_directories[1oz_1op_deployed]
Chrome oneprovider datasets tests 4 mins
RuntimeError: waited too long
subtree = ['dir5'], user = 'browser'
tmp_memory = defaultdict(<class 'dict'>, {'browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': ...f0528d68>, 'dataset_browser': <tests.gui.utils.oneprovider.dataset_browser._DatasetBrowser object at 0x7fb0f04555f8>}})
cwd = '/dir3'
selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="04cdfd388d132f8a282438a8c7861b40")>}
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_sees_directory_tree_2')
which_browser = 'dataset browser'
(65 more lines...)
Collapse Failed test_oneprovider_datasets test_user_successfully_detaches_dataset_if_he_has_manage_datasets_privilege[1oz_1op_deployed]
Chrome oneprovider datasets 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_successfully_detaches_dataset_if_he_has_manage_datasets_privilege[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: 
(180 more lines...)
Collapse Failed test_onezone_basic test_user_sees_all_your_providers_are_offline_message_when_no_provider_is_online[1oz_1op_deployed]
Chrome onezone basic tests 7 secs
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='dev-oneprovider-krakow.default.svc.cluster.local', port=9443): Max retries exceeded with url: /api/v3/onepanel/provider/storages (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f35ddb06c88>: Failed to establish a new connection: [Errno 113] No route to host',))
zone_hostname = 'dev-onezone.default.svc.cluster.local'
onepanel_credentials = <tests.utils.user_utils.AdminUser object at 0x7f35ddb069b0>
owner_credentials = <tests.utils.user_utils.User object at 0x7f35ddb06240>
space_id = 'e97e7ac08bde9fb004abdd14de94cfdfchef49'
storages_db = {'dev-oneprovider-krakow': {}}
hosts = {'elasticsearch': {'container-id': '611b46e70b2a4ac32a64977ebe93f61562dbec11ea1ac75f57ff3a152f3f8c96', 'ip': '172.17.0...c2598c4ff2ca82d', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.9', 'name': 'dev-onezone', ...}}
providers = [{'oneprovider-1': {'size': 1000000, 'storage': 'posix'}}]
(956 more lines...)
Collapse Failed test_onezone_basic test_user_sees_that_user_effective_privileges_are_the_sum_of_its_direct_parent_direct_privileges_and_its_direct_privileges[1oz_1op_deployed]
Chrome onezone basic tests 2 mins
AttributeError: 'NoneType' object has no attribute 'menu'
request = <FixtureRequest for <Function 'test_user_sees_that_user_effective_privileges_are_the_sum_of_its_direct_parent_direct_privileges_and_its_direct_privileges[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: 
(35 more lines...)
Existing test failures 5
Status Test Failing since View job Duration
RuntimeError: waited too long
request = <FixtureRequest for <Function '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]'>>

    @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...)
RuntimeError: waited too long
request = <FixtureRequest for <Function 'test_user_sees_symbolic_links_on_child_datasets_after_creating_nested_archive_on_parent[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: 
(46 more lines...)
RuntimeError: waited too long
request = <FixtureRequest for <Function 'test_user_sees_that_dataset_has_more_archives_than_its_parent_after_creating_nested_archive_on_child_dataset[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: 
(38 more lines...)
RuntimeError: waited too long
request = <FixtureRequest for <Function 'test_user_sees_bagit_metadata_files_and_directory_tree_in_aip_tab_and_directory_tree_in_dip_tab_in_archive_browser_after_creating_archive_with_bagit_layout_and_include_dip_option[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: 
(46 more lines...)
RuntimeError: no  item found in modals
web_elem_root = <selenium.webdriver.chrome.webdriver.WebDriver (session="f11cc45c479afd41778284afe95fd5db")>
css_sel = '.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)
>           item = web_elem_root.find_element_by_css_selector(css_sel)
(279 more lines...)
Fixed tests 3
Status Test Failing since View job Duration
Successful test_oneprovider_archives test_user_sees_that_files_that_did_not_change_since_creating_last_two_base_archives_have_3_hardlinks_tag_after_creating_new_incremental_archive[1oz_1op_deployed]
Failing since build #1813 (Child of ODSRV-OPRPM-2018) Chrome oneprovider archives tests 3 mins
Successful test_oneprovider_archives test_user_sees_directory_tree_in_archive_browser_after_creating_plain_archive[1oz_1op_deployed]
Failing since build #1813 (Child of ODSRV-OPRPM-2018) Chrome oneprovider archives tests 1 min
Successful test_oneprovider_archives test_user_sees_that_files_that_did_not_change_since_creating_last_archive_have_2_hardlinks_tag_after_creating_new_incremental_archive[1oz_1op_deployed]
Failing since build #1813 (Child of ODSRV-OPRPM-2018) Chrome oneprovider archives tests 1 min
Quarantined tests 13
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="61fc66486d99fc1f3089a9a5710bddd1", element="45697d65-fb39-4347-a509-dfe360b19fd2")>
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_multiprovider_qos test_file_is_replicated_after_migration_from_one_storage_with_qos_requirement[1oz_2op_deployed]
Not quarantined Chrome multiprovider QoS tests 1 min
Successful test_oneprovider_transfers test_user_migrates_directory_to_remote_provider[1oz_2op_deployed]
Not quarantined Chrome transfers tests 2 mins
Successful test_oneprovider_transfers test_user_migrates_file_to_remote_provider[1oz_2op_deployed]
Not quarantined Chrome transfers tests 2 mins
Successful test_oneprovider_transfers test_user_tries_to_migrate_directory_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Not quarantined Chrome transfers 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...)
Successful test_oneprovider_transfers_multi test_user_migrates_directory_with_2_files_on_different_providers_to_current_provider[1oz_2op_deployed]
Not quarantined Chrome transfers multi browser tests 3 mins
Successful test_oneprovider_transfers_multi test_user_migrates_file_from_remote_provider_to_current_provider[1oz_2op_deployed]
Not quarantined Chrome transfers multi browser tests 2 mins
Collapse Failed test_onezone_basic test_user_deregisters_dead_duplicated_provider[1oz_1op_deployed]
Failing since build #1718 (Child of ODSRV-OZP-1638) Not quarantined Chrome onezone basic tests 2 mins
AssertionError: Expected 1 dev-oneprovider-krakow record but got 2
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: 
(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
Successful test_onezone_harvesters_basic test_user_successfully_sets_privileges_with_set_privileges_privilege[1oz_1op_elasticsearch]
Failing since build #1648 (Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>) Not quarantined Chrome onezone harvesters basic tests 2 mins