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

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

Test results

  • 54 tests in total
  • 14 tests failed
  • 5 tests were quarantined / skipped
  • 117 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 0x7f9bccf4a9b0>
owner_credentials = <tests.utils.user_utils.User object at 0x7f9bcd0dc438>
space_id = '37a60287b7db94d8590ff88f9a62efebch5f55'
storages_db = {'dev-oneprovider-krakow': {}}
hosts = {'oneclient-1': {'container-id': '60f8f72f2d73a691c021186fc568b06baeb3ef93c847fa210e03b384dd009a6d', 'ip': '172.17.0.5...8d61b8750f6ef84', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '172.17.0.9', 'name': 'dev-onezone', ...}}
providers = [{'oneprovider-1': {'size': 1000000, 'storage': 'posix'}}]
(81 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_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_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_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_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_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...)
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-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...)
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_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_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...)
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 6 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 30 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': 'Thu, 06 Feb 2020 20:58:37 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 4 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 29 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