GUI acceptance tests using environment deployed from packages.

Build: #2688 failed

Job: Onezone data discovery failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

files of supported spaces are visible in data discovery page[1oz 1op elasticsearch]: Test case result

The below summarizes the result of the test " files of supported spaces are visible in data discovery page[1oz 1op elasticsearch]" in build 2,688 of Onedata Products - gui acceptance pkg - Onezone data discovery.
Description
files of supported spaces are visible in data discovery page[1oz 1op elasticsearch]
Test class
gui.scenarios.test_onezone_data_discovery
Method
test_files_of_supported_spaces_are_visible_in_data_discovery_page[1oz_1op_elasticsearch]
Duration
1 min
Status
Failed (New Failure)

Error Log

tests.utils.http_exceptions.HTTPServiceUnavailable: [503] Service Unavailable: {"error":{"id":"externalServiceOperationFailed","details":{"serviceName":"Elasticsearch"},"description":"Your request could not be fulfilled due to problems with the external service 'Elasticsearch'. This might be a temporary problem or a misconfiguration. Please try again later or contact the site administrators if the problem persists."}}
http_method = <function post at 0x7ff33a929310>
ip = 'dev-onezone.default.svc.cluster.local', port = 443
path = '/api/v3/onezone/user/harvesters', use_ssl = True, headers = None
verify = False, cert = None, auth = ('admin', 'password')
data = '{"name": "harvester1", "harvestingBackendEndpoint": "10.244.0.206:9200", "harvestingBackendType": "elasticsearch_harvesting_backend"}'
default_headers = True, retries = 5

    def http_request(http_method, ip, port, path, use_ssl=True, headers=None,
                     verify=False, cert=None, auth=None, data=None,
                     default_headers=True, retries=5):
        protocol = 'https' if use_ssl else 'http'
        request_headers = DEFAULT_HEADERS.copy() if default_headers else {}
        if headers:
            request_headers.update(headers)
        try:
            response = http_method('{0}://{1}:{2}{3}'.format(protocol, ip, port, path),
                                   verify=verify, headers=request_headers, timeout=40,
                                   cert=cert, auth=auth, data=data)
            if 200 <= response.status_code < 300:
                return response
            else:
>               raise_http_exception(response)

tests/utils/rest_utils.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

response = <Response [503]>

    def raise_http_exception(response):
        ex_cls = _exceptions.get(response.status_code, HTTPError)
>       raise ex_cls(response)
E       tests.utils.http_exceptions.HTTPServiceUnavailable: [503] Service Unavailable: {"error":{"id":"externalServiceOperationFailed","details":{"serviceName":"Elasticsearch"},"description":"Your request could not be fulfilled due to problems with the external service 'Elasticsearch'. This might be a temporary problem or a misconfiguration. Please try again later or contact the site administrators if the problem persists."}}

tests/utils/http_exceptions.py:15: HTTPServiceUnavailable

During handling of the above exception, another exception occurred:

http_method = <function post at 0x7ff33a929310>
ip = 'dev-onezone.default.svc.cluster.local', port = 443
path = '/api/v3/onezone/user/harvesters', use_ssl = True, headers = None
verify = False, cert = None, auth = ('admin', 'password')
data = '{"name": "harvester1", "harvestingBackendEndpoint": "10.244.0.206:9200", "harvestingBackendType": "elasticsearch_harvesting_backend"}'
default_headers = True, retries = 4

    def http_request(http_method, ip, port, path, use_ssl=True, headers=None,
                     verify=False, cert=None, auth=None, data=None,
                     default_headers=True, retries=5):
        protocol = 'https' if use_ssl else 'http'
        request_headers = DEFAULT_HEADERS.copy() if default_headers else {}
        if headers:
            request_headers.update(headers)
        try:
            response = http_method('{0}://{1}:{2}{3}'.format(protocol, ip, port, path),
                                   verify=verify, headers=request_headers, timeout=40,
                                   cert=cert, auth=auth, data=data)
            if 200 <= response.status_code < 300:
                return response
            else:
>               raise_http_exception(response)

tests/utils/rest_utils.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

response = <Response [503]>

    def raise_http_exception(response):
        ex_cls = _exceptions.get(response.status_code, HTTPError)
>       raise ex_cls(response)
E       tests.utils.http_exceptions.HTTPServiceUnavailable: [503] Service Unavailable: {"error":{"id":"externalServiceOperationFailed","details":{"serviceName":"Elasticsearch"},"description":"Your request could not be fulfilled due to problems with the external service 'Elasticsearch'. This might be a temporary problem or a misconfiguration. Please try again later or contact the site administrators if the problem persists."}}

tests/utils/http_exceptions.py:15: HTTPServiceUnavailable

During handling of the above exception, another exception occurred:

http_method = <function post at 0x7ff33a929310>
ip = 'dev-onezone.default.svc.cluster.local', port = 443
path = '/api/v3/onezone/user/harvesters', use_ssl = True, headers = None
verify = False, cert = None, auth = ('admin', 'password')
data = '{"name": "harvester1", "harvestingBackendEndpoint": "10.244.0.206:9200", "harvestingBackendType": "elasticsearch_harvesting_backend"}'
default_headers = True, retries = 3

    def http_request(http_method, ip, port, path, use_ssl=True, headers=None,
                     verify=False, cert=None, auth=None, data=None,
                     default_headers=True, retries=5):
        protocol = 'https' if use_ssl else 'http'
        request_headers = DEFAULT_HEADERS.copy() if default_headers else {}
        if headers:
            request_headers.update(headers)
        try:
            response = http_method('{0}://{1}:{2}{3}'.format(protocol, ip, port, path),
                                   verify=verify, headers=request_headers, timeout=40,
                                   cert=cert, auth=auth, data=data)
            if 200 <= response.status_code < 300:
                return response
            else:
>               raise_http_exception(response)

tests/utils/rest_utils.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

response = <Response [503]>

    def raise_http_exception(response):
        ex_cls = _exceptions.get(response.status_code, HTTPError)
>       raise ex_cls(response)
E       tests.utils.http_exceptions.HTTPServiceUnavailable: [503] Service Unavailable: {"error":{"id":"externalServiceOperationFailed","details":{"serviceName":"Elasticsearch"},"description":"Your request could not be fulfilled due to problems with the external service 'Elasticsearch'. This might be a temporary problem or a misconfiguration. Please try again later or contact the site administrators if the problem persists."}}

tests/utils/http_exceptions.py:15: HTTPServiceUnavailable

During handling of the above exception, another exception occurred:

http_method = <function post at 0x7ff33a929310>
ip = 'dev-onezone.default.svc.cluster.local', port = 443
path = '/api/v3/onezone/user/harvesters', use_ssl = True, headers = None
verify = False, cert = None, auth = ('admin', 'password')
data = '{"name": "harvester1", "harvestingBackendEndpoint": "10.244.0.206:9200", "harvestingBackendType": "elasticsearch_harvesting_backend"}'
default_headers = True, retries = 2

    def http_request(http_method, ip, port, path, use_ssl=True, headers=None,
                     verify=False, cert=None, auth=None, data=None,
                     default_headers=True, retries=5):
        protocol = 'https' if use_ssl else 'http'
        request_headers = DEFAULT_HEADERS.copy() if default_headers else {}
        if headers:
            request_headers.update(headers)
        try:
            response = http_method('{0}://{1}:{2}{3}'.format(protocol, ip, port, path),
                                   verify=verify, headers=request_headers, timeout=40,
                                   cert=cert, auth=auth, data=data)
            if 200 <= response.status_code < 300:
                return response
            else:
>               raise_http_exception(response)

tests/utils/rest_utils.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

response = <Response [503]>

    def raise_http_exception(response):
        ex_cls = _exceptions.get(response.status_code, HTTPError)
>       raise ex_cls(response)
E       tests.utils.http_exceptions.HTTPServiceUnavailable: [503] Service Unavailable: {"error":{"id":"externalServiceOperationFailed","details":{"serviceName":"Elasticsearch"},"description":"Your request could not be fulfilled due to problems with the external service 'Elasticsearch'. This might be a temporary problem or a misconfiguration. Please try again later or contact the site administrators if the problem persists."}}

tests/utils/http_exceptions.py:15: HTTPServiceUnavailable

During handling of the above exception, another exception occurred:

http_method = <function post at 0x7ff33a929310>
ip = 'dev-onezone.default.svc.cluster.local', port = 443
path = '/api/v3/onezone/user/harvesters', use_ssl = True, headers = None
verify = False, cert = None, auth = ('admin', 'password')
data = '{"name": "harvester1", "harvestingBackendEndpoint": "10.244.0.206:9200", "harvestingBackendType": "elasticsearch_harvesting_backend"}'
default_headers = True, retries = 1

    def http_request(http_method, ip, port, path, use_ssl=True, headers=None,
                     verify=False, cert=None, auth=None, data=None,
                     default_headers=True, retries=5):
        protocol = 'https' if use_ssl else 'http'
        request_headers = DEFAULT_HEADERS.copy() if default_headers else {}
        if headers:
            request_headers.update(headers)
        try:
            response = http_method('{0}://{1}:{2}{3}'.format(protocol, ip, port, path),
                                   verify=verify, headers=request_headers, timeout=40,
                                   cert=cert, auth=auth, data=data)
            if 200 <= response.status_code < 300:
                return response
            else:
>               raise_http_exception(response)

tests/utils/rest_utils.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

response = <Response [503]>

    def raise_http_exception(response):
        ex_cls = _exceptions.get(response.status_code, HTTPError)
>       raise ex_cls(response)
E       tests.utils.http_exceptions.HTTPServiceUnavailable: [503] Service Unavailable: {"error":{"id":"externalServiceOperationFailed","details":{"serviceName":"Elasticsearch"},"description":"Your request could not be fulfilled due to problems with the external service 'Elasticsearch'. This might be a temporary problem or a misconfiguration. Please try again later or contact the site administrators if the problem persists."}}

tests/utils/http_exceptions.py:15: HTTPServiceUnavailable

During handling of the above exception, another exception occurred:

request = <FixtureRequest for <Function 'test_files_of_supported_spaces_are_visible_in_data_discovery_page[1oz_1op_elasticsearch]'>>

    @pytest.mark.usefixtures(*function_args)
    def scenario_wrapper(request):
>       _execute_scenario(feature, scenario, request, encoding)

/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:227: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario
    _execute_step_function(request, scenario, step, step_func)
/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:130: in _execute_step_function
    step_func(**kwargs)
/usr/local/lib/python3.8/dist-packages/pytest_bdd/steps.py:162: in step_func
    result = request.getfixturevalue(func.__name__)
/usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:428: in getfixturevalue
    return self._get_active_fixturedef(argname).cached_result[0]
/usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:453: in _get_active_fixturedef
    self._compute_fixture_value(fixturedef)
/usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:524: in _compute_fixture_value
    fixturedef.execute(request=subrequest)
/usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:795: in execute
    return hook.pytest_fixture_setup(fixturedef=self, request=request)
/usr/local/lib/python3.8/dist-packages/pluggy/__init__.py:617: in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
/usr/local/lib/python3.8/dist-packages/pluggy/__init__.py:222: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/local/lib/python3.8/dist-packages/pluggy/__init__.py:214: in <lambda>
    hook.multicall(
/usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:826: in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs)
/usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:718: in call_fixture_func
    res = fixturefunc(**kwargs)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
tests/utils/entities_setup/harvesters.py:31: in create_harvesters_rest
    _create_harvester(zone_hostname, owner.username, owner.password,
tests/utils/entities_setup/harvesters.py:41: in _create_harvester
    response = http_post(ip=zone_hostname, port=OZ_REST_PORT,
tests/utils/rest_utils.py:59: in http_post
    return http_request(requests.post, ip, port, path, use_ssl, headers,
tests/utils/rest_utils.py:93: in http_request
    return http_request(http_method, ip, port, path, use_ssl, headers,
tests/utils/rest_utils.py:93: in http_request
    return http_request(http_method, ip, port, path, use_ssl, headers,
tests/utils/rest_utils.py:93: in http_request
    return http_request(http_method, ip, port, path, use_ssl, headers,
tests/utils/rest_utils.py:93: in http_request
    return http_request(http_method, ip, port, path, use_ssl, headers,
tests/utils/rest_utils.py:93: in http_request
    return http_request(http_method, ip, port, path, use_ssl, headers,
tests/utils/rest_utils.py:96: in http_request
    raise e
tests/utils/rest_utils.py:89: in http_request
    raise_http_exception(response)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

response = <Response [503]>

    def raise_http_exception(response):
        ex_cls = _exceptions.get(response.status_code, HTTPError)
>       raise ex_cls(response)
E       tests.utils.http_exceptions.HTTPServiceUnavailable: [503] Service Unavailable: {"error":{"id":"externalServiceOperationFailed","details":{"serviceName":"Elasticsearch"},"description":"Your request could not be fulfilled due to problems with the external service 'Elasticsearch'. This might be a temporary problem or a misconfiguration. Please try again later or contact the site administrators if the problem persists."}}

tests/utils/http_exceptions.py:15: HTTPServiceUnavailable