GUI acceptance tests using environment deployed from packages.

Build: #1848 failed Child of ODSRV-OZP-1673

Test results

  • 695 tests in total
  • 1 test failed
  • 1 failure is new
  • 2 tests were fixed
  • 13 tests were quarantined / skipped
  • 1338 minutes taken in total.
New test failures 1
Status Test View job Duration
Collapse Failed test_onepanel_basic test_user_deregisters_provider_registers_it_again_and_sees_that_provider_is_working[1oz_1op_deployed]
Chrome onepanel basic tests 2 mins
tests.utils.http_exceptions.HTTPBadRequest: [400] Bad Request: {"error":{"id":"badValueString","details":{"key":"storageId"},"description":"Bad value: provided \"storageId\" must be a string."}}
request = <FixtureRequest for <Function 'test_user_deregisters_provider_registers_it_again_and_sees_that_provider_is_working[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: 
(47 more lines...)
Fixed tests 2
Status Test Failing since View job Duration
Successful test_onepanel_basic test_user_uploads_files_on_freshly_supported_space_on_newly_created_storage[1oz_1op_deployed-browser_emergency-new_storage2]
Failing since build #1841 (Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>) Chrome onepanel basic tests 3 mins
Successful test_oneprovider_data_tab test_user_downloads_file_and_checks_its_content[1oz_1op_deployed]
Failing since build #1841 (Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>) Chrome oneprovider data tab tests 39 secs
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="76418b18876160380eadaab81699bfd5", element="9775af3c-19f1-44b8-84e1-20cf2f0f325b")>
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
Collapse Failed test_oneprovider_datasets test_user_fails_to_reattach_dataset_after_deleting_directory[1oz_1op_deployed]
Failing since build #1829 (Changes by Agnieszka Warchol and Katarzyna Such) Not quarantined Chrome oneprovider datasets tests 4 mins
RuntimeError: no  item found in modals
web_elem_root = <selenium.webdriver.chrome.webdriver.WebDriver (session="b212ca409798878b6381abcc3042275b")>
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...)
Successful test_oneprovider_datasets test_user_sees_dataset_in_attached_tab_after_reattaching_detached_dataset[1oz_1op_deployed]
Not quarantined Chrome oneprovider datasets tests 1 min
Successful test_oneprovider_datasets test_user_sees_directory_tree_in_dataset_browser_after_marking_directories_as_dataset[1oz_1op_deployed]
Not quarantined Chrome oneprovider datasets tests 2 mins
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 #1835 (Child of ODSRV-OZP-1668) 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...)
Collapse Failed test_onezone_basic test_user_sees_all_your_providers_are_offline_message_when_no_provider_is_online[1oz_1op_deployed]
Failing since build #1835 (Child of ODSRV-OZP-1668) Not quarantined 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 0x7f789768c5c0>: 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 0x7f7897667860>
owner_credentials = <tests.utils.user_utils.User object at 0x7f7897667e10>
space_id = '8141c9183bfb191c8110dac470493e53chaa7f'
storages_db = {'dev-oneprovider-krakow': {}}
hosts = {'elasticsearch': {'container-id': '99220cf3489dd5aa9b2107eef03e1d84b0d4cc006817e096caa93ed3165a9085', 'ip': '172.17.0...8ba37e97e0be9b7', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.2', 'name': 'dev-onezone', ...}}
providers = [{'oneprovider-1': {'size': 1000000, 'storage': 'posix'}}]
(956 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 2 mins
Successful test_shares_basic test_removing_directory_which_contained_shared_directory_removes_only_shares_files_but_not_share_itself[1oz_1op_deployed]
Failing since build #1841 (Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>) Not quarantined Chrome shares basic tests 1 min