Comments (8)
There is a new test dependency since 8.13.0: orjson. Running tests outside of nox isn't supported, please stop opening such issues, Tomasz.
from elasticsearch-py.
OK Thx for hint
After add orjson
to build env I see 3 failing units and multiple DeprecationWarning warnings
Here is pytest output:
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-elasticsearch-8.13.2-2.fc37.x86_64/usr/lib64/python3.10/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-elasticsearch-8.13.2-2.fc37.x86_64/usr/lib/python3.10/site-packages
+ /usr/bin/pytest -ra -m 'not network'
==================================================================================== test session starts ====================================================================================
platform linux -- Python 3.10.14, pytest-8.2.1, pluggy-1.5.0
rootdir: /home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2
configfile: setup.cfg
plugins: asyncio-0.23.7, timeout-2.3.1, twisted-1.14.1, trio-0.8.0, anyio-4.3.0, tornasync-0.6.0.post2
asyncio: mode=strict
collected 398 items
test_elasticsearch/test_async/test_server/test_clients.py ssss [ 1%]
test_elasticsearch/test_async/test_server/test_helpers.py ssssssssssssssssssssssssssssssssssssssss [ 11%]
test_elasticsearch/test_async/test_server/test_mapbox_vector_tile.py ss [ 11%]
test_elasticsearch/test_async/test_transport.py ....................................... [ 21%]
test_elasticsearch/test_client/test_cluster.py ... [ 22%]
test_elasticsearch/test_client/test_deprecated_options.py ..... [ 23%]
test_elasticsearch/test_client/test_indices.py ..... [ 24%]
test_elasticsearch/test_client/test_options.py ........ssss..s.....s.....s.................s....................... [ 41%]
test_elasticsearch/test_client/test_overrides.py ........... [ 44%]
test_elasticsearch/test_client/test_requests_auth.py FFF........... [ 47%]
test_elasticsearch/test_client/test_rewrite_parameters.py .................. [ 52%]
test_elasticsearch/test_client/test_serializers.py ...... [ 54%]
test_elasticsearch/test_client/test_utils.py .... [ 55%]
test_elasticsearch/test_exceptions.py .. [ 55%]
test_elasticsearch/test_helpers.py ........... [ 58%]
test_elasticsearch/test_otel.py sss [ 59%]
test_elasticsearch/test_serializer.py ..ss..sssssssssssssssssssss.......... [ 68%]
test_elasticsearch/test_server/test_clients.py ssss [ 69%]
test_elasticsearch/test_server/test_helpers.py ssssssssssssssssssssssssssssssssssssssssssss [ 80%]
test_elasticsearch/test_server/test_mapbox_vector_tile.py ssss [ 81%]
test_elasticsearch/test_server/test_otel.py s [ 81%]
test_elasticsearch/test_server/test_responses.py sss [ 82%]
test_elasticsearch/test_server/test_rest_api_spec.py s [ 82%]
test_elasticsearch/test_server/test_vectorstore/test_embedding_service.py sss [ 83%]
test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py sssssssssssssssssssssss [ 89%]
test_elasticsearch/test_strategies.py ... [ 89%]
test_elasticsearch/test_transport.py ........................................ [100%]
========================================================================================= FAILURES ==========================================================================================
_______________________________________________________________________________ test_requests_auth[requests] ________________________________________________________________________________
node_class = 'requests'
@pytest.mark.parametrize(
"node_class", ["requests", RequestsHttpNode, CustomRequestHttpNode]
)
def test_requests_auth(node_class):
http_auth = HTTPBasicAuth("username", "password")
with warnings.catch_warnings(record=True) as w:
client = Elasticsearch(
"http://localhost:9200", http_auth=http_auth, node_class=node_class
)
# http_auth is deprecated for all other cases except this one.
> assert len(w) == 0
E assert 1 == 0
E + where 1 = len([<warnings.WarningMessage object at 0x7fb03e6f6680>])
test_elasticsearch/test_client/test_requests_auth.py:49: AssertionError
___________________________________________________________________________ test_requests_auth[RequestsHttpNode] ____________________________________________________________________________
node_class = <class 'elastic_transport.RequestsHttpNode'>
@pytest.mark.parametrize(
"node_class", ["requests", RequestsHttpNode, CustomRequestHttpNode]
)
def test_requests_auth(node_class):
http_auth = HTTPBasicAuth("username", "password")
with warnings.catch_warnings(record=True) as w:
client = Elasticsearch(
"http://localhost:9200", http_auth=http_auth, node_class=node_class
)
# http_auth is deprecated for all other cases except this one.
> assert len(w) == 0
E assert 1 == 0
E + where 1 = len([<warnings.WarningMessage object at 0x7fb03e6b00d0>])
test_elasticsearch/test_client/test_requests_auth.py:49: AssertionError
_________________________________________________________________________ test_requests_auth[CustomRequestHttpNode] _________________________________________________________________________
node_class = <class 'test_elasticsearch.test_client.test_requests_auth.CustomRequestHttpNode'>
@pytest.mark.parametrize(
"node_class", ["requests", RequestsHttpNode, CustomRequestHttpNode]
)
def test_requests_auth(node_class):
http_auth = HTTPBasicAuth("username", "password")
with warnings.catch_warnings(record=True) as w:
client = Elasticsearch(
"http://localhost:9200", http_auth=http_auth, node_class=node_class
)
# http_auth is deprecated for all other cases except this one.
> assert len(w) == 0
E assert 1 == 0
E + where 1 = len([<warnings.WarningMessage object at 0x7fb03e689ae0>])
test_elasticsearch/test_client/test_requests_auth.py:49: AssertionError
===================================================================================== warnings summary ======================================================================================
../../../../../usr/lib/python3.10/site-packages/_pytest/fixtures.py:1303
/usr/lib/python3.10/site-packages/_pytest/fixtures.py:1303: PytestRemovedIn9Warning: Marks applied to fixtures have no effect
See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function
return fixture_marker(fixture_function)
elasticsearch/_sync/client/__init__.py:399
test_elasticsearch/test_async/test_server/test_clients.py::test_indices_analyze_unicode[kwargs0]
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/elasticsearch/_sync/client/__init__.py:399: SecurityWarning: Connecting to 'https://localhost:9200' using TLS with verify_certs=False is insecure
_transport = transport_class(
test_elasticsearch/test_server/test_rest_api_spec.py:641
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_server/test_rest_api_spec.py:641: UserWarning: Could not load REST API tests: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03eed9210>: Failed to establish a new connection: [Errno 111] Connection refused))
warnings.warn(f"Could not load REST API tests: {str(e)}")
test_elasticsearch/test_async/test_transport.py:497
test_elasticsearch/test_async/test_transport.py:497: PytestDeprecationWarning: test_sniff_after_n_seconds is asynchronous and explicitly requests the "event_loop" fixture. Asynchronous fixtures and test functions should use "asyncio.get_running_loop()" instead.
async def test_sniff_after_n_seconds(self, event_loop):
test_elasticsearch/test_async/test_transport.py:551
test_elasticsearch/test_async/test_transport.py:551: PytestDeprecationWarning: test_sniff_on_start_close_unlocks_async_calls is asynchronous and explicitly requests the "event_loop" fixture. Asynchronous fixtures and test functions should use "asyncio.get_running_loop()" instead.
async def test_sniff_on_start_close_unlocks_async_calls(self, event_loop):
test_elasticsearch/test_transport.py:36
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_transport.py:36: DeprecationWarning: Importing from the 'elasticsearch.transport' module is deprecated. Instead import from 'elastic_transport'
from elasticsearch.transport import get_host_info
test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_timeout_extracted_from_params_and_passed
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_async/test_transport.py:172: DeprecationWarning: The 'params' parameter is deprecated and will be removed in a future version. Instead use individual parameters.
await client.info(params={"request_timeout": 42})
test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_timeout_extracted_from_params_and_passed
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_async/test_transport.py:172: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
await client.info(params={"request_timeout": 42})
test_elasticsearch/test_async/test_transport.py::TestTransport::test_opaque_id
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_async/test_transport.py:193: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
await client.info(opaque_id="request-2")
test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_with_custom_user_agent_header
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_async/test_transport.py:204: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
await client.info(headers={"User-Agent": "my-custom-value/1.2.3"})
test_elasticsearch/test_async/test_transport.py::TestTransport::test_client_meta_header
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_async/test_transport.py:227: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
await client.info(headers={"CustoM": "header"})
test_elasticsearch/test_async/test_transport.py::TestTransport::test_kwargs_passed_on_to_node_pool
test_elasticsearch/test_async/test_transport.py:262: PytestWarning: The test <Function test_kwargs_passed_on_to_node_pool> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'.
def test_kwargs_passed_on_to_node_pool(self):
test_elasticsearch/test_async/test_transport.py::TestTransport::test_sniffing_disabled_on_elastic_cloud[kwargs1]
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_async/test_transport.py:541: DeprecationWarning: The 'sniff_on_connection_fail' parameter is deprecated in favor of 'sniff_on_node_failure'
AsyncElasticsearch(
test_elasticsearch/test_async/test_transport.py::TestTransport::test_sniffing_disabled_on_elastic_cloud[kwargs4]
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_async/test_transport.py:541: DeprecationWarning: The 'sniffer_timeout' parameter is deprecated in favor of 'min_delay_between_sniffing'
AsyncElasticsearch(
test_elasticsearch/test_client/test_options.py::TestOptions::test_user_agent_override
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_client/test_options.py:351: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
client.indices.get(index="2", headers={"user-agent": "custom2"})
test_elasticsearch/test_client/test_options.py::TestOptions::test_user_agent_override
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_client/test_options.py:372: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
client.indices.get(index="2", headers={"user-agent": "custom4"})
test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_default_params_conflict
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_client/test_rewrite_parameters.py:88: DeprecationWarning: The 'params' parameter is deprecated and will be removed in a future version. Instead use individual parameters.
self.wrapped_func_default(
test_elasticsearch/test_transport.py::TestHostsInfoCallback::test_master_only_nodes_are_ignored
test_elasticsearch/test_transport.py::TestHostsInfoCallback::test_master_only_nodes_are_ignored
test_elasticsearch/test_transport.py::TestHostsInfoCallback::test_master_only_nodes_are_ignored
test_elasticsearch/test_transport.py::TestHostsInfoCallback::test_master_only_nodes_are_ignored
test_elasticsearch/test_transport.py::TestHostsInfoCallback::test_master_only_nodes_are_ignored
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_transport.py:169: DeprecationWarning: The 'get_host_info' function is deprecated. Instead use the 'sniff_node_callback' parameter on the client
if get_host_info(node_info, i) is not None
test_elasticsearch/test_transport.py::TestTransport::test_request_timeout_extracted_from_params_and_passed
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_transport.py:180: DeprecationWarning: The 'params' parameter is deprecated and will be removed in a future version. Instead use individual parameters.
client.info(params={"request_timeout": 42})
test_elasticsearch/test_transport.py::TestTransport::test_request_timeout_extracted_from_params_and_passed
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_transport.py:180: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
client.info(params={"request_timeout": 42})
test_elasticsearch/test_transport.py::TestTransport::test_opaque_id
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_transport.py:201: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
client.info(opaque_id="request-2")
test_elasticsearch/test_transport.py::TestTransport::test_request_with_custom_user_agent_header
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_transport.py:220: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
client.info(headers={"User-Agent": "my-custom-value/1.2.3"})
test_elasticsearch/test_transport.py::TestTransport::test_client_meta_header
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_transport.py:255: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
client.info(headers={"CustoM": "header"})
test_elasticsearch/test_transport.py::TestTransport::test_sniffing_disabled_on_elastic_cloud[kwargs1]
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_transport.py:503: DeprecationWarning: The 'sniff_on_connection_fail' parameter is deprecated in favor of 'sniff_on_node_failure'
Elasticsearch(
test_elasticsearch/test_transport.py::TestTransport::test_sniffing_disabled_on_elastic_cloud[kwargs4]
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_transport.py:503: DeprecationWarning: The 'sniffer_timeout' parameter is deprecated in favor of 'min_delay_between_sniffing'
Elasticsearch(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================================================================== short test summary info ==================================================================================
SKIPPED [2] test_elasticsearch/test_async/test_server/test_clients.py:26: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_clients.py:42: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_clients.py:50: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:72: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:80: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:92: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:126: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:144: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:159: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:193: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:228: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:267: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:299: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:312: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:325: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:335: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:361: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:372: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:405: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:470: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:491: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:507: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:547: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:605: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:623: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:671: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [3] test_elasticsearch/test_async/test_server/test_helpers.py:709: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:770: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [6] test_elasticsearch/test_async/test_server/test_helpers.py:838: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:893: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:914: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:933: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:983: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [2] test_elasticsearch/test_async/test_server/test_helpers.py:1043: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:1064: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_mapbox_vector_tile.py:77: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_mapbox_vector_tile.py:117: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [8] test_elasticsearch/test_client/test_options.py:107: Skip the cases where 1 or fewer options are unset
SKIPPED [1] test_elasticsearch/test_otel.py:51: TEST_WITH_OTEL is not set
SKIPPED [1] test_elasticsearch/test_otel.py:56: TEST_WITH_OTEL is not set
SKIPPED [1] test_elasticsearch/test_otel.py:72: TEST_WITH_OTEL is not set
SKIPPED [2] test_elasticsearch/test_serializer.py:53: Test requires numpy and pandas to be available
SKIPPED [2] test_elasticsearch/test_serializer.py:64: Test requires numpy and pandas to be available
SKIPPED [2] test_elasticsearch/test_serializer.py:69: Test requires numpy and pandas to be available
SKIPPED [2] test_elasticsearch/test_serializer.py:89: Test requires numpy and pandas to be available
SKIPPED [2] test_elasticsearch/test_serializer.py:101: Test requires numpy and pandas to be available
SKIPPED [2] test_elasticsearch/test_serializer.py:108: Test requires numpy and pandas to be available
SKIPPED [1] test_elasticsearch/test_serializer.py:119: Test requires numpy and pandas to be available
SKIPPED [2] test_elasticsearch/test_serializer.py:126: Test requires numpy and pandas to be available
SKIPPED [2] test_elasticsearch/test_serializer.py:133: Test requires numpy and pandas to be available
SKIPPED [2] test_elasticsearch/test_serializer.py:140: pandas.NA is required
SKIPPED [2] test_elasticsearch/test_serializer.py:146: pandas.NaT required
SKIPPED [2] test_elasticsearch/test_serializer.py:153: Test requires numpy and pandas to be available
SKIPPED [2] test_elasticsearch/test_server/test_clients.py:22: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_clients.py:38: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_clients.py:46: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:59: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:66: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:77: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:98: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:114: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:148: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [2] test_elasticsearch/test_server/test_helpers.py:186: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:224: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:261: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:291: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:301: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:311: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:322: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:349: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:365: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:396: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:441: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:463: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:478: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:517: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:569: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [5] test_elasticsearch/test_server/test_helpers.py:593: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:646: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:699: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:737: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:759: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [6] test_elasticsearch/test_server/test_helpers.py:800: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:844: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:862: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:880: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:920: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [2] test_elasticsearch/test_server/test_helpers.py:976: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:991: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [2] test_elasticsearch/test_server/test_mapbox_vector_tile.py:76: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [2] test_elasticsearch/test_server/test_mapbox_vector_tile.py:118: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_otel.py:42: TEST_WITH_OTEL is not set
SKIPPED [1] test_elasticsearch/test_server/test_responses.py:19: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_responses.py:26: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_responses.py:37: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_rest_api_spec.py:655: got empty parameter set ['test_spec'], function test_rest_api_spec at /home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_server/test_rest_api_spec.py:654
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_embedding_service.py:33: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_embedding_service.py:50: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_embedding_service.py:64: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:63: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:93: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:110: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:136: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:157: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:191: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:235: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:287: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:336: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:372: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:482: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:514: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:603: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:624: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:638: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:663: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:697: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:729: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:758: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:783: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:804: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:818: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:879: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7fb03ec8d7b0>: Failed to establish a new connection: [Errno 111] Connection refused))
FAILED test_elasticsearch/test_client/test_requests_auth.py::test_requests_auth[requests] - assert 1 == 0
FAILED test_elasticsearch/test_client/test_requests_auth.py::test_requests_auth[RequestsHttpNode] - assert 1 == 0
FAILED test_elasticsearch/test_client/test_requests_auth.py::test_requests_auth[CustomRequestHttpNode] - assert 1 == 0
================================================================== 3 failed, 232 passed, 163 skipped, 30 warnings in 3.68s ==================================================================
from elasticsearch-py.
This suggests you have requests 2.32.2 installed while it's now forbidden in setup.py extras.
from elasticsearch-py.
This suggests you have requests 2.32.2 installed while it's now forbidden in setup.py extras.
Indeed in mean time I've updated to 2.32.2.
Is it any thicket already opened for that version? 🤔
from elasticsearch-py.
I released elasticsearch-py 8.13.2 and elastic-transport-python 8.13.1 to workaround/fix the issues. It was discussed in several pull requests and issues across three different projects.
The point, as I've been repeating to you for years in all the open source projects I work on, is that I can't support arbritrary pytest incantations with arbitrary packages installed in your virtualenv. If you want to run the tests, use nox -s test-3.12
. If that fails, I am happy to help.
from elasticsearch-py.
Just updated elastic-transport
to 8.13.1 and with that version looks like elasticsearch
pytest is OK however I see a lot of warnings.
Thank you 👍
At the same time elastic-transport
still fails for me in tests/node/test_tls_versions.py::test_unsupported_tls_versions[https://tls-v1-2.badssl.com:1012-TLSVersion.TLSv1_3-RequestsHttpNode]
unit.
Both modules have still unresolved sphinx nitpick warnings (as I'm rendering roff output AKA man page I'm not affected but html is affected).
#1974
elastic/elastic-transport-python#86
Would you accept PRs for both modules which filters all code over pyupgrad --py38-plus
?
In case of elastic-transport
it allows drop mock
dependency.
Here is pytest output elasticsearch:
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-elasticsearch-8.13.2-2.fc37.x86_64/usr/lib64/python3.10/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-elasticsearch-8.13.2-2.fc37.x86_64/usr/lib/python3.10/site-packages
+ /usr/bin/pytest -ra -m 'not network'
==================================================================================== test session starts ====================================================================================
platform linux -- Python 3.10.14, pytest-8.2.1, pluggy-1.5.0
rootdir: /home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2
configfile: setup.cfg
plugins: twisted-1.14.1, asyncio-0.23.7, tornasync-0.6.0.post2, trio-0.8.0, anyio-4.4.0
asyncio: mode=strict
collected 398 items
test_elasticsearch/test_async/test_server/test_clients.py ssss [ 1%]
test_elasticsearch/test_async/test_server/test_helpers.py ssssssssssssssssssssssssssssssssssssssss [ 11%]
test_elasticsearch/test_async/test_server/test_mapbox_vector_tile.py ss [ 11%]
test_elasticsearch/test_async/test_transport.py ....................................... [ 21%]
test_elasticsearch/test_client/test_cluster.py ... [ 22%]
test_elasticsearch/test_client/test_deprecated_options.py ..... [ 23%]
test_elasticsearch/test_client/test_indices.py ..... [ 24%]
test_elasticsearch/test_client/test_options.py ........ssss..s.....s.....s.................s....................... [ 41%]
test_elasticsearch/test_client/test_overrides.py ........... [ 44%]
test_elasticsearch/test_client/test_requests_auth.py .............. [ 47%]
test_elasticsearch/test_client/test_rewrite_parameters.py .................. [ 52%]
test_elasticsearch/test_client/test_serializers.py ...... [ 54%]
test_elasticsearch/test_client/test_utils.py .... [ 55%]
test_elasticsearch/test_exceptions.py .. [ 55%]
test_elasticsearch/test_helpers.py ........... [ 58%]
test_elasticsearch/test_otel.py sss [ 59%]
test_elasticsearch/test_serializer.py ..ss..sssssssssssssssssssss.......... [ 68%]
test_elasticsearch/test_server/test_clients.py ssss [ 69%]
test_elasticsearch/test_server/test_helpers.py ssssssssssssssssssssssssssssssssssssssssssss [ 80%]
test_elasticsearch/test_server/test_mapbox_vector_tile.py ssss [ 81%]
test_elasticsearch/test_server/test_otel.py s [ 81%]
test_elasticsearch/test_server/test_responses.py sss [ 82%]
test_elasticsearch/test_server/test_rest_api_spec.py s [ 82%]
test_elasticsearch/test_server/test_vectorstore/test_embedding_service.py sss [ 83%]
test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py sssssssssssssssssssssss [ 89%]
test_elasticsearch/test_strategies.py ... [ 89%]
test_elasticsearch/test_transport.py ........................................ [100%]
===================================================================================== warnings summary ======================================================================================
../../../../../usr/lib/python3.10/site-packages/_pytest/fixtures.py:1303
/usr/lib/python3.10/site-packages/_pytest/fixtures.py:1303: PytestRemovedIn9Warning: Marks applied to fixtures have no effect
See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function
return fixture_marker(fixture_function)
elasticsearch/_sync/client/__init__.py:399
test_elasticsearch/test_async/test_server/test_clients.py::test_indices_analyze_unicode[kwargs0]
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/elasticsearch/_sync/client/__init__.py:399: SecurityWarning: Connecting to 'https://localhost:9200' using TLS with verify_certs=False is insecure
_transport = transport_class(
test_elasticsearch/test_server/test_rest_api_spec.py:638
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_server/test_rest_api_spec.py:638: UserWarning: Could not load REST API tests: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353c150fa0>: Failed to establish a new connection: [Errno 111] Connection refused))
warnings.warn(f"Could not load REST API tests: {str(e)}")
test_elasticsearch/test_async/test_transport.py:495
test_elasticsearch/test_async/test_transport.py:495: PytestDeprecationWarning: test_sniff_after_n_seconds is asynchronous and explicitly requests the "event_loop" fixture. Asynchronous fixtures and test functions should use "asyncio.get_running_loop()" instead.
async def test_sniff_after_n_seconds(self, event_loop):
test_elasticsearch/test_async/test_transport.py:549
test_elasticsearch/test_async/test_transport.py:549: PytestDeprecationWarning: test_sniff_on_start_close_unlocks_async_calls is asynchronous and explicitly requests the "event_loop" fixture. Asynchronous fixtures and test functions should use "asyncio.get_running_loop()" instead.
async def test_sniff_on_start_close_unlocks_async_calls(self, event_loop):
test_elasticsearch/test_transport.py:35
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_transport.py:35: DeprecationWarning: Importing from the 'elasticsearch.transport' module is deprecated. Instead import from 'elastic_transport'
from elasticsearch.transport import get_host_info
test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_timeout_extracted_from_params_and_passed
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_async/test_transport.py:170: DeprecationWarning: The 'params' parameter is deprecated and will be removed in a future version. Instead use individual parameters.
await client.info(params={"request_timeout": 42})
test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_timeout_extracted_from_params_and_passed
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_async/test_transport.py:170: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
await client.info(params={"request_timeout": 42})
test_elasticsearch/test_async/test_transport.py::TestTransport::test_opaque_id
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_async/test_transport.py:191: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
await client.info(opaque_id="request-2")
test_elasticsearch/test_async/test_transport.py::TestTransport::test_request_with_custom_user_agent_header
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_async/test_transport.py:202: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
await client.info(headers={"User-Agent": "my-custom-value/1.2.3"})
test_elasticsearch/test_async/test_transport.py::TestTransport::test_client_meta_header
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_async/test_transport.py:225: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
await client.info(headers={"CustoM": "header"})
test_elasticsearch/test_async/test_transport.py::TestTransport::test_kwargs_passed_on_to_node_pool
test_elasticsearch/test_async/test_transport.py:260: PytestWarning: The test <Function test_kwargs_passed_on_to_node_pool> is marked with '@pytest.mark.asyncio' but it is not an async function. Please remove the asyncio mark. If the test is not marked explicitly, check for global marks applied via 'pytestmark'.
def test_kwargs_passed_on_to_node_pool(self):
test_elasticsearch/test_async/test_transport.py::TestTransport::test_sniffing_disabled_on_elastic_cloud[kwargs1]
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_async/test_transport.py:539: DeprecationWarning: The 'sniff_on_connection_fail' parameter is deprecated in favor of 'sniff_on_node_failure'
AsyncElasticsearch(
test_elasticsearch/test_async/test_transport.py::TestTransport::test_sniffing_disabled_on_elastic_cloud[kwargs4]
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_async/test_transport.py:539: DeprecationWarning: The 'sniffer_timeout' parameter is deprecated in favor of 'min_delay_between_sniffing'
AsyncElasticsearch(
test_elasticsearch/test_client/test_options.py::TestOptions::test_user_agent_override
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_client/test_options.py:350: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
client.indices.get(index="2", headers={"user-agent": "custom2"})
test_elasticsearch/test_client/test_options.py::TestOptions::test_user_agent_override
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_client/test_options.py:371: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
client.indices.get(index="2", headers={"user-agent": "custom4"})
test_elasticsearch/test_client/test_rewrite_parameters.py::TestRewriteParameters::test_default_params_conflict
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_client/test_rewrite_parameters.py:88: DeprecationWarning: The 'params' parameter is deprecated and will be removed in a future version. Instead use individual parameters.
self.wrapped_func_default(
test_elasticsearch/test_transport.py::TestHostsInfoCallback::test_master_only_nodes_are_ignored
test_elasticsearch/test_transport.py::TestHostsInfoCallback::test_master_only_nodes_are_ignored
test_elasticsearch/test_transport.py::TestHostsInfoCallback::test_master_only_nodes_are_ignored
test_elasticsearch/test_transport.py::TestHostsInfoCallback::test_master_only_nodes_are_ignored
test_elasticsearch/test_transport.py::TestHostsInfoCallback::test_master_only_nodes_are_ignored
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_transport.py:168: DeprecationWarning: The 'get_host_info' function is deprecated. Instead use the 'sniff_node_callback' parameter on the client
if get_host_info(node_info, i) is not None
test_elasticsearch/test_transport.py::TestTransport::test_request_timeout_extracted_from_params_and_passed
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_transport.py:179: DeprecationWarning: The 'params' parameter is deprecated and will be removed in a future version. Instead use individual parameters.
client.info(params={"request_timeout": 42})
test_elasticsearch/test_transport.py::TestTransport::test_request_timeout_extracted_from_params_and_passed
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_transport.py:179: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
client.info(params={"request_timeout": 42})
test_elasticsearch/test_transport.py::TestTransport::test_opaque_id
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_transport.py:200: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
client.info(opaque_id="request-2")
test_elasticsearch/test_transport.py::TestTransport::test_request_with_custom_user_agent_header
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_transport.py:219: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
client.info(headers={"User-Agent": "my-custom-value/1.2.3"})
test_elasticsearch/test_transport.py::TestTransport::test_client_meta_header
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_transport.py:254: DeprecationWarning: Passing transport options in the API method is deprecated. Use 'Elasticsearch.options()' instead.
client.info(headers={"CustoM": "header"})
test_elasticsearch/test_transport.py::TestTransport::test_sniffing_disabled_on_elastic_cloud[kwargs1]
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_transport.py:502: DeprecationWarning: The 'sniff_on_connection_fail' parameter is deprecated in favor of 'sniff_on_node_failure'
Elasticsearch(
test_elasticsearch/test_transport.py::TestTransport::test_sniffing_disabled_on_elastic_cloud[kwargs4]
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_transport.py:502: DeprecationWarning: The 'sniffer_timeout' parameter is deprecated in favor of 'min_delay_between_sniffing'
Elasticsearch(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================================================================== short test summary info ==================================================================================
SKIPPED [2] test_elasticsearch/test_async/test_server/test_clients.py:24: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_clients.py:40: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_clients.py:48: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:72: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:80: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:92: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:126: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:144: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:159: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:193: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:228: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:267: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:299: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:312: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:325: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:335: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:361: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:372: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:405: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:470: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:491: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:507: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:547: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:605: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:623: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:671: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [3] test_elasticsearch/test_async/test_server/test_helpers.py:709: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:770: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [6] test_elasticsearch/test_async/test_server/test_helpers.py:838: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:893: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:914: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:933: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:983: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [2] test_elasticsearch/test_async/test_server/test_helpers.py:1043: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_helpers.py:1064: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_mapbox_vector_tile.py:77: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_async/test_server/test_mapbox_vector_tile.py:117: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [8] test_elasticsearch/test_client/test_options.py:106: Skip the cases where 1 or fewer options are unset
SKIPPED [1] test_elasticsearch/test_otel.py:51: TEST_WITH_OTEL is not set
SKIPPED [1] test_elasticsearch/test_otel.py:56: TEST_WITH_OTEL is not set
SKIPPED [1] test_elasticsearch/test_otel.py:72: TEST_WITH_OTEL is not set
SKIPPED [2] test_elasticsearch/test_serializer.py:52: Test requires numpy and pandas to be available
SKIPPED [2] test_elasticsearch/test_serializer.py:63: Test requires numpy and pandas to be available
SKIPPED [2] test_elasticsearch/test_serializer.py:68: Test requires numpy and pandas to be available
SKIPPED [2] test_elasticsearch/test_serializer.py:88: Test requires numpy and pandas to be available
SKIPPED [2] test_elasticsearch/test_serializer.py:100: Test requires numpy and pandas to be available
SKIPPED [2] test_elasticsearch/test_serializer.py:107: Test requires numpy and pandas to be available
SKIPPED [1] test_elasticsearch/test_serializer.py:118: Test requires numpy and pandas to be available
SKIPPED [2] test_elasticsearch/test_serializer.py:125: Test requires numpy and pandas to be available
SKIPPED [2] test_elasticsearch/test_serializer.py:132: Test requires numpy and pandas to be available
SKIPPED [2] test_elasticsearch/test_serializer.py:139: pandas.NA is required
SKIPPED [2] test_elasticsearch/test_serializer.py:145: pandas.NaT required
SKIPPED [2] test_elasticsearch/test_serializer.py:152: Test requires numpy and pandas to be available
SKIPPED [2] test_elasticsearch/test_server/test_clients.py:21: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_clients.py:37: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_clients.py:45: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:59: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:66: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:77: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:98: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:114: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:148: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [2] test_elasticsearch/test_server/test_helpers.py:186: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:224: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:261: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:291: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:301: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:311: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:322: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:349: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:365: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:396: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:441: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:463: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:478: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:517: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:569: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [5] test_elasticsearch/test_server/test_helpers.py:593: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:646: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:699: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:737: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:759: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [6] test_elasticsearch/test_server/test_helpers.py:800: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:844: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:862: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:880: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:920: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [2] test_elasticsearch/test_server/test_helpers.py:976: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_helpers.py:991: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [2] test_elasticsearch/test_server/test_mapbox_vector_tile.py:76: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [2] test_elasticsearch/test_server/test_mapbox_vector_tile.py:118: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_otel.py:42: TEST_WITH_OTEL is not set
SKIPPED [1] test_elasticsearch/test_server/test_responses.py:19: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_responses.py:26: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_responses.py:37: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_rest_api_spec.py:652: got empty parameter set ['test_spec'], function test_rest_api_spec at /home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.2/test_elasticsearch/test_server/test_rest_api_spec.py:651
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_embedding_service.py:33: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_embedding_service.py:50: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_embedding_service.py:64: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:63: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:93: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:110: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:136: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:157: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:191: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:235: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:287: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:336: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:372: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:482: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:514: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:603: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:624: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:638: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:663: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:697: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:729: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:758: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:783: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:804: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:818: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
SKIPPED [1] test_elasticsearch/test_server/test_vectorstore/test_vectorstore.py:879: Could not connect to Elasticsearch (tried https://localhost:9200, http://localhost:9200, https://elastic:changeme@localhost:9200, http://elastic:changeme@localhost:9200): Connection error caused by: ConnectionError(Connection error caused by: NewConnectionError(<elastic_transport._node._urllib3_chain_certs.HTTPSConnection object at 0x7f353b995ea0>: Failed to establish a new connection: [Errno 111] Connection refused))
======================================================================= 235 passed, 163 skipped, 30 warnings in 3.49s =======================================================================
Here is pytest output elastic-transport:
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-elastic-transport-8.13.1-2.fc37.x86_64/usr/lib64/python3.10/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-elastic-transport-8.13.1-2.fc37.x86_64/usr/lib/python3.10/site-packages
+ /usr/bin/pytest -ra -m 'not network' --ignore tests/test_otel.py
============================= test session starts ==============================
platform linux -- Python 3.10.14, pytest-8.2.1, pluggy-1.5.0
rootdir: /home/tkloczko/rpmbuild/BUILD/elastic-transport-python-8.13.1
configfile: setup.cfg
plugins: anyio-4.4.0, respx-0.21.1, asyncio-0.23.7, pytest_httpserver-1.0.10
asyncio: mode=strict
collected 459 items
tests/async_/test_async_transport.py ................................... [ 7%]
....... [ 9%]
tests/async_/test_httpbin.py .. [ 9%]
tests/async_/test_httpserver.py . [ 9%]
tests/node/test_base.py ....... [ 11%]
tests/node/test_http_aiohttp.py .................. [ 15%]
tests/node/test_http_httpx.py . [ 15%]
tests/node/test_http_aiohttp.py . [ 15%]
tests/node/test_http_httpx.py . [ 15%]
tests/node/test_http_aiohttp.py ..... [ 16%]
tests/node/test_http_httpx.py ......... [ 18%]
tests/node/test_http_requests.py .................... [ 23%]
tests/node/test_http_urllib3.py ...............xx [ 27%]
tests/node/test_tls_versions.py ssssssss........ssssssss................ [ 35%]
..............................F............. [ 45%]
tests/node/test_urllib3_chain_certs.py .......... [ 47%]
tests/test_client_utils.py ............................................. [ 57%]
...... [ 58%]
tests/test_exceptions.py .... [ 59%]
tests/test_httpbin.py .... [ 60%]
tests/test_httpserver.py .. [ 60%]
tests/test_logging.py ............ [ 63%]
tests/test_models.py ........ [ 65%]
tests/test_node_pool.py .................. [ 69%]
tests/test_package.py ..... [ 70%]
tests/test_response.py ................................................. [ 80%]
......... [ 82%]
tests/test_serializer.py .......................... [ 88%]
tests/test_transport.py ....................................... [ 96%]
tests/test_utils.py .............. [100%]
=================================== FAILURES ===================================
_ test_unsupported_tls_versions[https://tls-v1-2.badssl.com:1012-TLSVersion.TLSv1_3-RequestsHttpNode] _
node_class = <class 'elastic_transport.RequestsHttpNode'>
url = 'https://tls-v1-2.badssl.com:1012'
ssl_version = <TLSVersion.TLSv1_3: 772>
@node_classes
@pytest.mark.parametrize(
["url", "ssl_version"],
unsupported_version_params,
)
@pytest.mark.asyncio
async def test_unsupported_tls_versions(node_class, url: str, ssl_version: int):
node_config = url_to_node_config(url).replace(ssl_version=ssl_version)
node = node_class(node_config)
> with pytest.raises(TlsError) as e:
E Failed: DID NOT RAISE <class 'elastic_transport.TlsError'>
tests/node/test_tls_versions.py:122: Failed
------------------------------ Captured log call -------------------------------
ERROR asyncio:base_events.py:1758 Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f71e9c92ce0>
================================== XFAILURES ===================================
______________ TestUrllib3HttpNode.test_uncompressed_body_logged _______________
args = (<tests.node.test_http_urllib3.TestUrllib3HttpNode object at 0x7f71f145ca90>,)
keywargs = {}
@wraps(func)
def patched(*args, **keywargs):
> with self.decoration_helper(patched,
args,
keywargs) as (newargs, newkeywargs):
/usr/lib64/python3.10/unittest/mock.py:1376:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.10/contextlib.py:135: in __enter__
return next(self.gen)
/usr/lib64/python3.10/unittest/mock.py:1358: in decoration_helper
arg = exit_stack.enter_context(patching)
/usr/lib64/python3.10/contextlib.py:492: in enter_context
result = _cm_type.__enter__(cm)
/usr/lib64/python3.10/unittest/mock.py:1447: in __enter__
original, local = self.get_original()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <unittest.mock._patch object at 0x7f71f145ff40>
def get_original(self):
target = self.getter()
name = self.attribute
original = DEFAULT
local = False
try:
original = target.__dict__[name]
except (AttributeError, KeyError):
original = getattr(target, name, DEFAULT)
else:
local = True
if name in _builtins and isinstance(target, ModuleType):
self.create = True
if not self.create and original is DEFAULT:
> raise AttributeError(
"%s does not have the attribute %r" % (target, name)
)
E AttributeError: <module 'elastic_transport._node._base' from '/home/tkloczko/rpmbuild/BUILD/elastic-transport-python-8.13.1/elastic_transport/_node/_base.py'> does not have the attribute 'logger'
/usr/lib64/python3.10/unittest/mock.py:1420: AttributeError
_________________ TestUrllib3HttpNode.test_failed_request_logs _________________
args = (<tests.node.test_http_urllib3.TestUrllib3HttpNode object at 0x7f71f145db70>,)
keywargs = {}
@wraps(func)
def patched(*args, **keywargs):
> with self.decoration_helper(patched,
args,
keywargs) as (newargs, newkeywargs):
/usr/lib64/python3.10/unittest/mock.py:1376:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib64/python3.10/contextlib.py:135: in __enter__
return next(self.gen)
/usr/lib64/python3.10/unittest/mock.py:1358: in decoration_helper
arg = exit_stack.enter_context(patching)
/usr/lib64/python3.10/contextlib.py:492: in enter_context
result = _cm_type.__enter__(cm)
/usr/lib64/python3.10/unittest/mock.py:1447: in __enter__
original, local = self.get_original()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <unittest.mock._patch object at 0x7f71f145feb0>
def get_original(self):
target = self.getter()
name = self.attribute
original = DEFAULT
local = False
try:
original = target.__dict__[name]
except (AttributeError, KeyError):
original = getattr(target, name, DEFAULT)
else:
local = True
if name in _builtins and isinstance(target, ModuleType):
self.create = True
if not self.create and original is DEFAULT:
> raise AttributeError(
"%s does not have the attribute %r" % (target, name)
)
E AttributeError: <module 'elastic_transport._node._base' from '/home/tkloczko/rpmbuild/BUILD/elastic-transport-python-8.13.1/elastic_transport/_node/_base.py'> does not have the attribute 'logger'
/usr/lib64/python3.10/unittest/mock.py:1420: AttributeError
=============================== warnings summary ===============================
tests/conftest.py:71
/home/tkloczko/rpmbuild/BUILD/elastic-transport-python-8.13.1/tests/conftest.py:71: PytestRemovedIn9Warning: Marks applied to fixtures have no effect
See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function
def httpbin_cert_fingerprint(request) -> str:
tests/node/test_http_httpx.py::TestHttpxAsyncNodeCreation::test_ca_certs_with_verify_ssl_false_raises_error
/home/tkloczko/rpmbuild/BUILD/elastic-transport-python-8.13.1/tests/node/test_http_httpx.py:30: SecurityWarning: Connecting to 'https://localhost:443' using TLS with verify_certs=False is insecure
return HttpxAsyncHttpNode(node_config)
tests/node/test_tls_versions.py::test_supported_tls_versions[https://tls-v1-0.badssl.com:1010-_SSLMethod.PROTOCOL_TLSv1-AiohttpHttpNode]
/home/tkloczko/rpmbuild/BUILD/elastic-transport-python-8.13.1/tests/node/test_tls_versions.py:88: DeprecationWarning: ssl.PROTOCOL_TLSv1_1 is deprecated
ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1_1)
tests/node/test_tls_versions.py::test_unsupported_tls_versions[https://tls-v1-0.badssl.com:1010-_SSLMethod.PROTOCOL_TLSv1_1-AiohttpHttpNode]
tests/node/test_tls_versions.py::test_unsupported_tls_versions[https://tls-v1-0.badssl.com:1010-_SSLMethod.PROTOCOL_TLSv1_1-Urllib3HttpNode]
tests/node/test_tls_versions.py::test_unsupported_tls_versions[https://tls-v1-0.badssl.com:1010-_SSLMethod.PROTOCOL_TLSv1_1-RequestsHttpNode]
tests/node/test_tls_versions.py::test_unsupported_tls_versions[https://tls-v1-0.badssl.com:1010-_SSLMethod.PROTOCOL_TLSv1_1-HttpxAsyncHttpNode]
tests/node/test_tls_versions.py::test_unsupported_tls_versions[https://tls-v1-0.badssl.com:1010-TLSVersion.TLSv1_1-AiohttpHttpNode]
tests/node/test_tls_versions.py::test_unsupported_tls_versions[https://tls-v1-0.badssl.com:1010-TLSVersion.TLSv1_1-Urllib3HttpNode]
tests/node/test_tls_versions.py::test_unsupported_tls_versions[https://tls-v1-0.badssl.com:1010-TLSVersion.TLSv1_1-RequestsHttpNode]
tests/node/test_tls_versions.py::test_unsupported_tls_versions[https://tls-v1-0.badssl.com:1010-TLSVersion.TLSv1_1-HttpxAsyncHttpNode]
/home/tkloczko/rpmbuild/BUILD/elastic-transport-python-8.13.1/elastic_transport/_node/_base.py:327: DeprecationWarning: ssl.TLSVersion.TLSv1_1 is deprecated
ctx.minimum_version = _SSL_PROTOCOL_VERSION_TO_TLS_VERSION[ssl_version]
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
SKIPPED [16] tests/node/test_tls_versions.py:104: TLSv1.1 isn't supported by this OpenSSL distribution
XFAIL tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_uncompressed_body_logged
XFAIL tests/node/test_http_urllib3.py::TestUrllib3HttpNode::test_failed_request_logs
FAILED tests/node/test_tls_versions.py::test_unsupported_tls_versions[https://tls-v1-2.badssl.com:1012-TLSVersion.TLSv1_3-RequestsHttpNode]
====== 1 failed, 440 passed, 16 skipped, 2 xfailed, 11 warnings in 54.91s ======
/usr/lib/python3.10/site-packages/_pytest/pathlib.py:98: PytestWarning: (rm_rf) error removing /tmp/pytest-of-tkloczko/garbage-dbf885dd-bded-4e81-8ebc-de739f67e538
<class 'OSError'>: [Errno 39] Directory not empty: '/tmp/pytest-of-tkloczko/garbage-dbf885dd-bded-4e81-8ebc-de739f67e538'
warnings.warn(
from elasticsearch-py.
Yes, the failure is a Requests bug. 2.32.3 will fix it. Feel free to open pull requests dropping Python 3.7 support, but I'm not yet ready to merge them, as explained there: #2561
from elasticsearch-py.
OK I understand 👍
Thank you.
from elasticsearch-py.
Related Issues (20)
- [BUG] Missing type and settings parameters in _sync/snapshots & _async/snapshots create_respository methods HOT 3
- Incremented connection delay are not of the stated duration HOT 3
- client fails to connect to self-managed Elasticsearch instance at https://localhost:9200 using all methods described in documentation HOT 2
- Bulk action typing does not allow `TypedDict`
- Unexpected ilm.put_lifecycle behavior
- Unable to connect via AsyncElasticsearch using ssl fingerprint HOT 1
- [DOC] Add more Python Client code examples to main Elasticsearch Docs | Set up and Upgrade Elasticsearch HOT 2
- [Documentation] Access to specialized clients is not documented HOT 1
- Test failures against NumPy 2.0.0rc1
- Add update_trained_model_deployment to ML client HOT 1
- Improve typing of string enums
- Setting custom node_pool_class does not work and seems to be a typo HOT 2
- py>=3.10 client>7.10.0 can not run HOT 1
- sort param in elastic.search is ignoring sorting HOT 14
- unfully unistall elasticsearch-py HOT 2
- The bulk request must be terminated by a newline [\\n] HOT 2
- SSLError([Errno 2] No such file or directory) HOT 2
- Update Documentation about catching Response Code in API Response Exception HOT 3
- NOT A BUG: _cat indices returning None for stats for some indices, raw curl returns data HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticsearch-py.