GUI acceptance tests using environment deployed from packages.

Build: #25 failed Child of ODSRV-OZP200-19

Test results

  • 615 tests in total
  • 14 tests failed
  • 3 failures are new
  • 2 tests were fixed
  • 6 tests were quarantined / skipped
  • 963 minutes taken in total.
New test failures 3
Status Test View job Duration
Collapse Failed test_onezone_basic test_user_sees_provider_on_the_space_providers_map_after_supporting[1oz_1op_deployed]
Chrome onezone basic tests 1 sec
tests.utils.http_exceptions.HTTPServiceUnavailable: [503] Service Unavailable: {"error":{"id":"errorOnNodes","details":{"hostnames":["dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local"],"error":{"id":"noConnectionToOnezone","description":"No connection to Onezone."}},"description":"Error on nodes dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local: No connection to Onezone."}}
request = <FixtureRequest for <Function 'test_user_sees_provider_on_the_space_providers_map_after_supporting[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...)
Collapse Failed test_onezone_basic test_user_sees_that_after_unsupporting_space_number_displayed_in_space_counter_for_given_provider_decreases[1oz_1op_deployed]
Chrome onezone basic tests 1 sec
tests.utils.http_exceptions.HTTPServiceUnavailable: [503] Service Unavailable: {"error":{"id":"errorOnNodes","details":{"hostnames":["dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local"],"error":{"id":"noConnectionToOnezone","description":"No connection to Onezone."}},"description":"Error on nodes dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local: No connection to Onezone."}}
request = <FixtureRequest for <Function 'test_user_sees_that_after_unsupporting_space_number_displayed_in_space_counter_for_given_provider_decreases[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...)
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 2 mins
AssertionError: not found "dir211" in file browser
subtree = ['dir211', 'file2.txt'], 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 0x7efe2a27ccc0>}})
cwd = '/dir2/dir21'
selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="7b001ec94a0d9d61ed54e731545de949")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="573b984894742bcc916324dbf753802e")>}
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_sees_that_directory_0')

(65 more lines...)
Existing test failures 11
Status Test Failing since View job Duration
tests.utils.http_exceptions.HTTPInternalServerError: [500] Internal Server Error: {"error":{"id":"errorOnNodes","details":{"hostnames":["dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local"],"error":{"id":"internalServerError","description":"The server has encountered an error while processing this request."}},"description":"Error on nodes dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local: The server has encountered an error while processing this request."}}
request = <FixtureRequest for <Function 'test_user_fails_to_create_2_storages_with_the_same_name[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: 
(49 more lines...)
tests.utils.http_exceptions.HTTPInternalServerError: [500] Internal Server Error: {"error":{"id":"errorOnNodes","details":{"hostnames":["dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local"],"error":{"id":"internalServerError","description":"The server has encountered an error while processing this request."}},"description":"Error on nodes dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local: The server has encountered an error while processing this request."}}
request = <FixtureRequest for <Function 'test_user_fails_to_update_import_in_storage_that_is_not_importenabled[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: 
(49 more lines...)
tests.utils.http_exceptions.HTTPInternalServerError: [500] Internal Server Error: {"error":{"id":"errorOnNodes","details":{"hostnames":["dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local"],"error":{"id":"internalServerError","description":"The server has encountered an error while processing this request."}},"description":"Error on nodes dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local: The server has encountered an error while processing this request."}}
request = <FixtureRequest for <Function 'test_user_successfully_deletes_space_instead_of_revoking_it[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: 
(49 more lines...)
tests.utils.http_exceptions.HTTPInternalServerError: [500] Internal Server Error: {"error":{"id":"errorOnNodes","details":{"hostnames":["dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local"],"error":{"id":"internalServerError","description":"The server has encountered an error while processing this request."}},"description":"Error on nodes dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local: The server has encountered an error while processing this request."}}
request = <FixtureRequest for <Function 'test_user_uploads_files_on_freshly_supported_space_on_newly_created_storage[1oz_1op_deployed-browser_unified-new_storage1]'>>

    @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: 
(49 more lines...)
tests.utils.http_exceptions.HTTPInternalServerError: [500] Internal Server Error: {"error":{"id":"errorOnNodes","details":{"hostnames":["dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local"],"error":{"id":"internalServerError","description":"The server has encountered an error while processing this request."}},"description":"Error on nodes dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local: The server has encountered an error while processing this request."}}
request = <FixtureRequest for <Function 'test_user_modifies_newly_created_storage[1oz_1op_deployed-browser_emergency-new_storage4]'>>

    @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: 
(49 more lines...)
tests.utils.http_exceptions.HTTPInternalServerError: [500] Internal Server Error: {"error":{"id":"errorOnNodes","details":{"hostnames":["dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local"],"error":{"id":"internalServerError","description":"The server has encountered an error while processing this request."}},"description":"Error on nodes dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local: The server has encountered an error while processing this request."}}
request = <FixtureRequest for <Function 'test_user_modifies_newly_created_storage[1oz_1op_deployed-browser_unified-new_storage3]'>>

    @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: 
(49 more lines...)
tests.utils.http_exceptions.HTTPInternalServerError: [500] Internal Server Error: {"error":{"id":"errorOnNodes","details":{"hostnames":["dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local"],"error":{"id":"internalServerError","description":"The server has encountered an error while processing this request."}},"description":"Error on nodes dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local: The server has encountered an error while processing this request."}}
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: 
(49 more lines...)
tests.utils.http_exceptions.HTTPInternalServerError: [500] Internal Server Error: {"error":{"id":"errorOnNodes","details":{"hostnames":["dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local"],"error":{"id":"internalServerError","description":"The server has encountered an error while processing this request."}},"description":"Error on nodes dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local: The server has encountered an error while processing this request."}}
request = <FixtureRequest for <Function 'test_user_removes_newly_created_storage[1oz_1op_deployed-browser_unified-new_storage5]'>>

    @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: 
(49 more lines...)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='dev-oneprovider-krakow.default.svc.cluster.local', port=443): Read timed out. (read timeout=20)
self = <urllib3.connectionpool.HTTPSConnectionPool object at 0x7feb86533400>
conn = <urllib3.connection.VerifiedHTTPSConnection object at 0x7feb86338b00>
method = 'GET', url = '/api/v3/oneprovider/spaces'
timeout = <urllib3.util.timeout.Timeout object at 0x7feb86533320>
chunked = False
httplib_request_kw = {'body': None, 'headers': {'User-Agent': 'python-requests/2.22.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*'...jNGYxNGNoZThiMwowMDFhY2lkIHRpbWUgPCAxNjQzNzc00NDU5CjAwMmZzaWduYXR1cmUgrqUozrJ2rHW8XqtUl5FIvGMhCZV00UL02B1pM8npIT4xMK'}}
timeout_obj = <urllib3.util.timeout.Timeout object at 0x7feb86338d30>
(1110 more lines...)
tests.utils.http_exceptions.HTTPInternalServerError: [500] Internal Server Error: {"error":{"id":"errorOnNodes","details":{"hostnames":["dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local"],"error":{"id":"internalServerError","description":"The server has encountered an error while processing this request."}},"description":"Error on nodes dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local: The server has encountered an error while processing this request."}}
request = <FixtureRequest for <Function 'test_user_sees_that_synchronization_autoupdate_still_works_after_changing_mount_point_for_storage[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: 
(49 more lines...)
tests.utils.http_exceptions.HTTPInternalServerError: [500] Internal Server Error: {"error":{"id":"errorOnNodes","details":{"hostnames":["dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local"],"error":{"id":"internalServerError","description":"The server has encountered an error while processing this request."}},"description":"Error on nodes dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local: The server has encountered an error while processing this request."}}
request = <FixtureRequest for <Function 'test_user_removes_newly_created_storage[1oz_1op_deployed-browser_emergency-new_storage6]'>>

    @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: 
(49 more lines...)
Fixed tests 2
Status Test Failing since View job Duration
Successful test_onepanel_members test_user_increases_number_of_members_in_cluster[1oz_1op_deployed]
Failing since build #24 (Child of ODSRV-OPRPM440-28) Chrome onepanel members tests 54 secs
Successful test_onezone_providers_sync test_provider_with_stopped_workers_is_offline_and_resynchronises_with_others_after_restart[1oz_3op_providers_sync]
Failing since build #23 (Child of ODSRV-OPRPM440-27) Chrome onezone providers sync test 4 mins
Quarantined tests 6
Status Test Failing since Quarantined by View job Duration
Successful test_metadata test_delete_all_basic_metadata_entries_after_saving_it[1oz_1op_deployed-Directory metadata-dir1]
Agnieszka Warchol Agnieszka Warchol
Chrome metadata test 55 secs
Successful test_metadata test_delete_all_basic_metadata_entries_after_saving_it[1oz_1op_deployed-File metadata-file1]
Agnieszka Warchol Agnieszka Warchol
Chrome metadata test 50 secs
Collapse Failed test_oneprovider_transfers test_user_tries_to_migrate_directory_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Failing since build #4 (Child of ODSRV-OZP200-10) Michał Ćwiertnia Michał Ćwiertnia
Chrome transfers tests 6 mins
AssertionError: Transfer transferred is 50 MiB instead of 0 B in ended
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: 
(36 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 #4 (Child of ODSRV-OZP200-10) Michał Ćwiertnia Michał Ćwiertnia
Chrome transfers tests 6 mins
AssertionError: Transfer transferred is 50 MiB instead of 0 B in ended
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: 
(36 more lines...)
Collapse Failed test_oneprovider_transfers test_user_tries_to_replicate_directory_to_too_small_space_on_remote_provider[1oz_2op_deployed]
Failing since build #4 (Child of ODSRV-OZP200-10) Michał Ćwiertnia Michał Ćwiertnia
Chrome transfers tests 6 mins
AssertionError: Transfer transferred is 50 MiB instead of 0 B in ended
request = <FixtureRequest for <Function 'test_user_tries_to_replicate_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: 
(36 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 #4 (Child of ODSRV-OZP200-10) Michał Ćwiertnia Michał Ćwiertnia
Chrome transfers tests 5 mins
RuntimeError: no  item found in file blocks for provider record for "dev-oneprovider-paris" in Data distribution modal for "large_file.txt"
web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="d1fe733482c0144a1246241e2b826323", element="e8c00382-a771-48b7-9be6-7f32ae802164")>
css_sel = 'canvas'
err_msg = 'no  item found in file blocks for provider record for "dev-oneprovider-paris" in Data distribution modal for "large_file.txt"'

    def find_web_elem(web_elem_root, css_sel, err_msg):
        try:
            _scroll_to_css_sel(web_elem_root, css_sel)
(312 more lines...)