8.13.1: pytest fails with `ImportError: cannot import name 'OrjsonSerializer' from 'elasticsearch.serializer` in elasticsearch/serializer.py
kloczek opened this issue · 8 comments
I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
- because I'm calling
build
with--no-isolation
I'm using during all processes only locally installed modules - install .whl file in </install/prefix> using
installer
module - run pytest with $PYTHONPATH pointing to sitearch and sitelib inside </install/prefix>
- build is performed in env which is
cut off from access to the public network
(pytest is executed with-m "not network"
)
Here is pytest output:
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-elasticsearch-8.13.1-2.fc37.x86_64/usr/lib64/python3.10/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-elasticsearch-8.13.1-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.1.1, pluggy-1.4.0
rootdir: /home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.1
configfile: setup.cfg
plugins: twisted-1.14.1, trio-0.8.0, tornasync-0.6.0.post2, anyio-4.3.0, asyncio-0.23.6
asyncio: mode=strict
collected 361 items / 1 error
========================================================================================== ERRORS ===========================================================================================
__________________________________________________________________ ERROR collecting test_elasticsearch/test_serializer.py ___________________________________________________________________
ImportError while importing test module '/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.1/test_elasticsearch/test_serializer.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib64/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
test_elasticsearch/test_serializer.py:35: in <module>
from elasticsearch.serializer import JSONSerializer, OrjsonSerializer, TextSerializer
E ImportError: cannot import name 'OrjsonSerializer' from 'elasticsearch.serializer' (/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.1/elasticsearch/serializer.py)
===================================================================================== warnings summary ======================================================================================
../../../../../usr/lib/python3.10/site-packages/_pytest/fixtures.py:1314
/usr/lib/python3.10/site-packages/_pytest/fixtures.py:1314: 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
/home/tkloczko/rpmbuild/BUILD/elasticsearch-py-8.13.1/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.1/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 0x7efc318a5f60>: 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.1/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
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================================================================== short test summary info ==================================================================================
ERROR test_elasticsearch/test_serializer.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
=============================================================================== 6 warnings, 1 error in 1.48s ================================================================================
In above output it is possible to see some pytest warnings as well
List of installed modules in build env:
Package Version
----------------------------- -----------
aiohttp 3.9.5
aiosignal 1.3.1
alabaster 0.7.16
anyio 4.3.0
async-timeout 4.0.3
attrs 23.2.0
Automat 22.10.0
Babel 2.15.0
build 1.2.1
certifi 2023.7.22
charset-normalizer 3.3.2
constantly 23.10.4
decorator 5.1.1
defusedxml 0.7.1
docutils 0.20.1
elastic-transport 8.13.0
exceptiongroup 1.1.3
frozenlist 1.4.1
greenlet 3.0.3
hyperlink 21.0.0
idna 3.7
imagesize 1.4.1
importlib_metadata 7.1.0
incremental 22.10.0
iniconfig 2.0.0
installer 0.7.0
Jinja2 3.1.4
MarkupSafe 2.1.5
multidict 6.0.5
outcome 1.2.0
packaging 24.0
pluggy 1.4.0
Pygments 2.18.0
pyproject_hooks 1.0.0
pytest 8.1.1
pytest-asyncio 0.23.6
pytest-tornasync 0.6.0.post2
pytest-trio 0.8.0
pytest-twisted 1.14.1
python-dateutil 2.9.0.post0
PyYAML 6.0.1
requests 2.31.0
setuptools 69.4.0
sniffio 1.3.0
snowballstemmer 2.2.0
sortedcontainers 2.4.0
Sphinx 7.3.7
sphinx_rtd_theme 2.0.0
sphinxcontrib-applehelp 1.0.8
sphinxcontrib-devhelp 1.0.6
sphinxcontrib-htmlhelp 2.0.5
sphinxcontrib-jquery 4.1
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 1.0.7
sphinxcontrib-serializinghtml 1.1.10
tokenize_rt 5.2.0
tomli 2.0.1
tornado 6.3.3
trio 0.25.0
Twisted 24.3.0
typing_extensions 4.11.0
urllib3 2.2.1
wheel 0.43.0
yarl 1.9.4
zipp 3.18.2
zope.event 5.0
zope.interface 6.4
Please let me know if you need more details or want me to perform some diagnostics.
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.
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 ==================================================================
This suggests you have requests 2.32.2 installed while it's now forbidden in setup.py extras.
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? 🤔
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.
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(
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
OK I understand 👍
Thank you.