GUI acceptance tests using environment deployed from packages.

Build: #1817 failed Changes by Jakub Liput

Test results

  • 696 tests in total
  • 6 tests failed
  • 2 failures are new
  • 1 test was fixed
  • 14 tests were quarantined / skipped
  • 1249 minutes taken in total.
New test failures 2
Status Test View job Duration
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 = ['dir4'], user = 'browser'
tmp_memory = defaultdict(<class 'dict'>, {'browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': ...1d1b35f8>, 'dataset_browser': <tests.gui.utils.oneprovider.dataset_browser._DatasetBrowser object at 0x7f0c1d18d2b0>}})
cwd = '/dir2'
selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="7d6a828b18ae561e1170b2c6f1f3a6ab")>}
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_sees_directory_tree_3')
which_browser = 'dataset browser'
(65 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 0x7f67dab0f668>: 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 0x7f67dab095f8>
owner_credentials = <tests.utils.user_utils.User object at 0x7f67dab09b00>
space_id = '6f62ae2c601ffaf6a876130c5db9c695ch8be4'
storages_db = {'dev-oneprovider-krakow': {}}
hosts = {'elasticsearch': {'container-id': '45579ef7091edb820a9e98d52b01be85b14e8d6afcf06272dbc451316fab63ea', 'ip': '172.17.0...d6eef104d88cc05', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.8', 'name': 'dev-onezone', ...}}
providers = [{'oneprovider-1': {'size': 1000000, 'storage': 'posix'}}]
(956 more lines...)
Existing test failures 4
Status Test Failing since View job Duration
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: 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: 
(48 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...)
ValueError: Indices for islice() must be None or an integer: 0 <= x <= sys.maxsize.
request = <FixtureRequest for <Function 'test_user_sees_dataset_in_attached_tab_after_reattaching_detached_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: 
(30 more lines...)
Fixed tests 1
Status Test Failing since View job Duration
Successful test_oneprovider_archives test_user_sees_directory_tree_in_archive_browser_after_creating_plain_archive[1oz_1op_deployed]
Failing since build #1815 (Changes by Jakub Liput) Chrome oneprovider archives tests 1 min
Quarantined tests 14
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 9 mins
RuntimeError: no  item found in Requirement in Quality of Service modal
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="af1131623126b625000f8dbec04abd08", element="bbb6eb1d-9a82-4e1a-aeec-b0c107f781fb")>
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_multiprovider_qos test_file_is_replicated_after_migration_from_one_storage_with_qos_requirement[1oz_2op_deployed]
Not quarantined Chrome multiprovider QoS 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_file_is_replicated_after_migration_from_one_storage_with_qos_requirement[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_datasets test_user_fails_to_reattach_dataset_after_deleting_directory[1oz_1op_deployed]
Failing since build #1803 (Changes by Jakub Liput and Agnieszka Warchol) Not quarantined Chrome oneprovider datasets tests 2 mins
RuntimeError: no  item found in modals
web_elem_root = <selenium.webdriver.chrome.webdriver.WebDriver (session="f1e4fb498ee804dfeaf622647808cb26")>
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...)
Collapse Failed test_oneprovider_transfers test_user_migrates_directory_to_remote_provider[1oz_2op_deployed]
Not quarantined Chrome transfers tests 4 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_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...)
Collapse Failed test_oneprovider_transfers test_user_migrates_file_to_remote_provider[1oz_2op_deployed]
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_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...)
Collapse Failed test_oneprovider_transfers test_user_tries_to_migrate_directory_to_too_small_space_on_remote_provider[1oz_2op_deployed]
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_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...)
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_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]
Not quarantined Chrome onezone basic tests 3 mins
AssertionError: Expected 1 dev-oneprovider-krakow record but got 0
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 2 mins
Successful test_onezone_harvesters_basic test_user_successfully_sets_privileges_with_set_privileges_privilege[1oz_1op_elasticsearch]
Not quarantined Chrome onezone harvesters basic tests 4 mins