GUI acceptance tests using environment deployed from packages.
Build: #2688 failed
Job: Onezone harvesters index metadata failed
user sees rejection reason and what is rejected in data discovery page after changing json metadata value and creating index that includes include rejection reason and retry on rejection toggles[1oz 1op elasticsearch]: Test case result
The below summarizes the result of the test " user sees rejection reason and what is rejected in data discovery page after changing json metadata value and creating index that includes include rejection reason and retry on rejection toggles[1oz 1op elasticsearch]" in build 2,688 of Onedata Products - gui acceptance pkg - Onezone harvesters index metadata.
- Description
- user sees rejection reason and what is rejected in data discovery page after changing json metadata value and creating index that includes include rejection reason and retry on rejection toggles[1oz 1op elasticsearch]
- Test class
- gui.scenarios.test_onezone_harvesters_index_metadata
- Method
- test_user_sees_rejection_reason_and_what_is_rejected_in_data_discovery_page_after_changing_json_metadata_value_and_creating_index_that_includes_include_rejection_reason_and_retry_on_rejection_toggles[1oz_1op_elasticsearch]
- Jira Issue
-
- 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 0x7f0e042eb310> 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.208: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 0x7f0e042eb310> 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.208: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 0x7f0e042eb310> 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.208: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 0x7f0e042eb310> 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.208: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 0x7f0e042eb310> 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.208: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_user_sees_rejection_reason_and_what_is_rejected_in_data_discovery_page_after_chang...alue_and_creating_index_that_includes_include_rejection_reason_and_retry_on_rejection_toggles[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