Acceptance tests using different clients concurrently. Environment deployed from packages.

Build: #721 failed Child of ODSRV-OPRPM-1526

Test results

  • 54 tests in total
  • 14 tests failed
  • 5 tests were quarantined / skipped
  • 116 minutes taken in total.
Existing test failures 14
Status Test Failing since View job Duration
ImportError: cannot import name 'DefaultSpace'
request = <FixtureRequest for <Function 'test_support_space[1oz_1op_1oc-web GUI-REST-REST]'>>

    @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: 
(23 more lines...)
tests.utils.http_exceptions.HTTPServiceUnavailable: [503] Service Unavailable: {"error":{"id":"unregisteredOneprovider","description":"This Oneprovider is not registered."}}
zone_hostname = 'dev-onezone.default.svc.cluster.local'
onepanel_credentials = <tests.utils.user_utils.AdminUser object at 0x7f8bb3153ef0>
owner_credentials = <tests.utils.user_utils.User object at 0x7f8bb3068a20>
space_id = '483e093d32368e8a04e8610ff664426dch1f0d'
storages_db = {'dev-oneprovider-krakow': {}}
hosts = {'oneclient-1': {'container-id': 'e14611586db6b0203ab6b3412b12b035c09acc41013bf1d664b33c8424ee5c96', 'ip': '172.17.0.6...b9f6c09d5fbb3c', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.11', 'name': 'dev-onezone', ...}}
providers = [{'oneprovider-1': {'size': 1000000, 'storage': 'posix'}}]
(81 more lines...)
ImportError: cannot import name 'DefaultSpace'
request = <FixtureRequest for <Function 'test_user_renames_space_using_client1_and_using_client2_he_sees_that_it_has_been_renamed[1oz_1op_1oc-web GUI-REST]'>>

    @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: 
(23 more lines...)
ImportError: cannot import name 'DefaultSpace'
request = <FixtureRequest for <Function 'test_user_leaves_space_using_client1_and_using_client2_he_sees_that_it_has_been_left[1oz_1op_1oc-REST-web GUI]'>>

    @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: 
(23 more lines...)
ImportError: cannot import name 'DefaultSpace'
request = <FixtureRequest for <Function 'test_admin_user_adds_other_user_to_space_using_client1_and_that_user_using_client2_sees_that_he_has_been_added[1oz_1op_1oc]'>>

    @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: 
(23 more lines...)
ImportError: cannot import name 'DefaultSpace'
request = <FixtureRequest for <Function 'test_user_creates_space_using_client1_and_using_client2_he_sees_that_it_has_appeared[1oz_1op_1oc-REST-web GUI]'>>

    @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: 
(23 more lines...)
ImportError: cannot import name 'DefaultSpace'
request = <FixtureRequest for <Function 'test_user_leaves_space_using_client1_and_using_client2_he_sees_that_it_has_been_left[1oz_1op_1oc-web GUI-REST]'>>

    @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: 
(23 more lines...)
ImportError: cannot import name 'DefaultSpace'
request = <FixtureRequest for <Function 'test_user_set_space_as_home_using_client1_and_using_client2_he_sees_that_it_has_been_set_as_home_space[1oz_1op_1oc-REST-web GUI]'>>

    @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: 
(23 more lines...)
ImportError: cannot import name 'DefaultSpace'
request = <FixtureRequest for <Function 'test_user_creates_space_using_client1_and_using_client2_he_sees_that_it_has_appeared[1oz_1op_1oc-web GUI-REST]'>>

    @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: 
(23 more lines...)
ImportError: cannot import name 'DefaultSpace'
request = <FixtureRequest for <Function 'test_admin_unsupport_space_using_client1_and_using_client2_he_sees_that_it_has_been_unsupported[1oz_1op_1oc-web GUI-REST]'>>

    @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: 
(23 more lines...)
RuntimeError: no "Toggle default space" found in Member menu popup
request = <FixtureRequest for <Function 'test_user_set_space_as_home_using_client1_and_using_client2_he_sees_that_it_has_been_set_as_home_space[1oz_1op_1oc-web GUI-REST]'>>

    @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: 
(41 more lines...)
ImportError: cannot import name 'DefaultSpace'
request = <FixtureRequest for <Function 'test_admin_unsupport_space_using_client1_and_using_client2_he_sees_that_it_has_been_unsupported[1oz_1op_1oc-REST-web GUI]'>>

    @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: 
(23 more lines...)
ImportError: cannot import name 'DefaultSpace'
request = <FixtureRequest for <Function 'test_user_renames_space_using_client1_and_using_client2_he_sees_that_it_has_been_renamed[1oz_1op_1oc-REST-web GUI]'>>

    @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: 
(23 more lines...)
ImportError: cannot import name 'DefaultSpace'
request = <FixtureRequest for <Function 'test_admin_user_removes_other_user_from_space_using_client1_and_that_user_using_client2_sees_that_he_has_been_removed[1oz_1op_1oc]'>>

    @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: 
(23 more lines...)
Quarantined tests 5
Status Test Failing since Quarantined by View job Duration
Skipped test_luma test_users_create_files_using_web_gui_an_clients_and_they_see_that_ownership_is_correctly_mapped[1oz_1op_luma_oneclient-oneclient1-oneclient2-web GUI]
Failing since build #648 (Child of ODSRV-OZP-1275) Not quarantined Chrome LUMA tests 5 mins
Collapse Failed test_onepanel_basic test_revoke_space_support[1oz_1op_1oc-REST-web GUI-REST]
Failing since build #711 (Manual run by Łukasz Opioła) Not quarantined Chrome onepanel tests 29 secs
ImportError: cannot import name 'DefaultSpace'
request = <FixtureRequest for <Function 'test_revoke_space_support[1oz_1op_1oc-REST-web GUI-REST]'>>

    @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: 
(23 more lines...)
Collapse Failed test_onepanel_basic test_revoke_space_support[1oz_1op_1oc-web GUI-REST-REST]
Failing since build #711 (Manual run by Łukasz Opioła) Not quarantined Chrome onepanel tests 2 mins
tests.mixed.onepanel_client.rest.ApiException: (403) Reason: Forbidden HTTP response headers: HTTPHeaderDict({'access-control-allow-origin': 'https://dev-onezone.default.svc.cluster.local', 'content-length': '382', 'content-type': 'application/json', 'date': 'Fri, 07 Feb 2020 14:09:17 GMT', 'server': 'Cowboy', 'x-frame-options': 'SAMEORIGIN'}) HTTP response body: {"error":{"id":"errorOnNodes","details":{"hostnames":["dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local"],"error":{"id":"forbidden","description":"You are not authorized to perform this operation."}},"description":"Error on nodes dev-oneprovider-krakow-0.dev-oneprovider-krakow.default.svc.cluster.local: You are not authorized to perform this operation."}}
request = <FixtureRequest for <Function 'test_revoke_space_support[1oz_1op_1oc-web GUI-REST-REST]'>>

    @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: 
(143 more lines...)
Collapse Failed test_onepanel_basic test_support_space[1oz_1op_1oc-REST-web GUI-REST]
Failing since build #711 (Manual run by Łukasz Opioła) Not quarantined Chrome onepanel tests 3 mins
ImportError: cannot import name 'DefaultSpace'
request = <FixtureRequest for <Function 'test_support_space[1oz_1op_1oc-REST-web GUI-REST]'>>

    @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: 
(23 more lines...)
Collapse Failed test_spaces_basic test_user_removes_space_using_client1_and_using_client2_he_sees_that_it_has_been_removed[1oz_1op_1oc]
Failing since build #711 (Manual run by Łukasz Opioła) Not quarantined Chrome spaces basic tests 31 secs
ImportError: cannot import name 'DefaultSpace'
request = <FixtureRequest for <Function 'test_user_removes_space_using_client1_and_using_client2_he_sees_that_it_has_been_removed[1oz_1op_1oc]'>>

    @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: 
(23 more lines...)
Skipped tests 1
Status Test Failing since View job
Skipped test_luma test_users_create_files_using_web_gui_an_clients_and_they_see_that_ownership_is_correctly_mapped[1oz_1op_luma_oneclient-oneclient1-oneclient2-web GUI]
Failing since build #648 (Child of ODSRV-OZP-1275) Chrome LUMA tests