GUI acceptance tests using environment deployed from packages.

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

Test results

  • 695 tests in total
  • 3 tests failed
  • 3 failures are new
  • 2 tests were fixed
  • 12 tests were quarantined / skipped
  • 1249 minutes taken in total.
New test failures 3
Status Test View job Duration
Collapse Failed test_onepanel_basic test_user_uploads_files_on_freshly_supported_space_on_newly_created_storage[1oz_1op_deployed-browser_emergency-new_storage2]
Chrome onepanel basic tests 4 mins
RuntimeError: no "new_storage2" found in StorageContentPage in content in Oneprovider Panel 21.02.0-alpha21
request = <FixtureRequest for <Function 'test_user_uploads_files_on_freshly_supported_space_on_newly_created_storage[1oz_1op_deployed-browser_emergency-new_storage2]'>>

    @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: 
(39 more lines...)
Collapse Failed test_oneprovider_data_tab test_user_downloads_file_and_checks_its_content[1oz_1op_deployed]
Chrome oneprovider data tab tests 1 min
RuntimeError: file 20B-0.txt has not been downloaded
request = <FixtureRequest for <Function 'test_user_downloads_file_and_checks_its_content[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...)
Collapse Failed test_shares_basic test_removing_directory_which_contained_shared_directory_removes_only_shares_files_but_not_share_itself[1oz_1op_deployed]
Chrome shares basic tests 2 mins
AssertionError: displayed CANNOT LOAD SHARE ROOT does not match expected SHARED FILES HAVE BEEN DELETED
request = <FixtureRequest for <Function 'test_removing_directory_which_contained_shared_directory_removes_only_shares_files_but_not_share_itself[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: 
(27 more lines...)
Fixed tests 2
Status Test Failing since View job Duration
Successful test_oneprovider_posix test_user_fails_to_download_file_because_of_lack_in_privileges[1oz_1op_deployed]
Failing since build #1840 (Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>) Chrome POSIX tests 3 mins
Successful test_onezone_basic test_user_sees_that_user_effective_privileges_are_the_sum_of_its_direct_parents_direct_privileges[1oz_1op_deployed]
Failing since build #1840 (Changes by Bamboo Agent <bamboo@cloud.plgrid.pl>) Chrome onezone basic tests 2 mins
Quarantined tests 12
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="deb113bbb188d46e3e2e1d6ec208200d", element="a3a6c607-5b64-439c-8f2c-99fb0152b09f")>
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 2 mins
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 2 mins
RuntimeError: no  item found in modals
web_elem_root = <selenium.webdriver.chrome.webdriver.WebDriver (session="607d355a2360dd332635639ca5ac79a3")>
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 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...)
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 0x7f334de18668>: 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 0x7f334de1d5f8>
owner_credentials = <tests.utils.user_utils.User object at 0x7f334de1db00>
space_id = 'f2cabdae4240da060d952f230fc488abcha335'
storages_db = {'dev-oneprovider-krakow': {}}
hosts = {'elasticsearch': {'container-id': '9f3b7e2dc0c21a946206d1ae4aac0611ad51e08c74dc018eb8b64ea6fd20b532', 'ip': '172.17.0...75749907fbb557', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.10', '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 3 mins