Flaky test [Windows] ReconnectWithDifferentInterfacesTest::test_connection_count_after_reconnect_with_member_hostname_client_ip
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 38/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- python
- Área
- testing-qa
Línea de trabajo
Localiza ReconnectWithDifferentInterfacesTest::test_connection_count_after_reconnect_with_member_hostname_client_ip en la suite de pruebas y reprodúcelo en Windows usando el registro de Actions enlazado. Sigue el comportamiento de la reconexión y del recuento de conexiones en torno al TargetDisconnectedError notificado; el trabajo estará terminado cuando el fallo de Windows esté corregido y la prueba pase de forma fiable.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Excerpt from the log:
INFO hazelcast.internal.asyncio_client:asyncio_client.py:258 Client started
WARNING hazelcast.internal.asyncio_reactor:asyncio_reactor.py:303 Connection closed by server
INFO hazelcast.internal.asyncio_connection:asyncio_connection.py:1041 <hazelcast.internal.asyncio_reactor.AsyncioConnection object at 0x0000022BEB866790> closed. Reason: Connection closed by server
INFO hazelcast.internal.asyncio_connection:asyncio_connection.py:363 Removed connection to Address(host=localhost, port=5701):af4a1929-51a3-43e1-a5a0-719c6963821c, connection: <hazelcast.internal.asyncio_reactor.AsyncioConnection object at 0x0000022BEB866790>
INFO hazelcast.lifecycle:lifecycle.py:128 HazelcastClient 5.6.0 is DISCONNECTED
INFO hazelcast.internal.asyncio_connection:asyncio_connection.py:595 Trying to connect to Member [localhost]:5701 - af4a1929-51a3-43e1-a5a0-719c6963821c
WARNING hazelcast.internal.asyncio_reactor:asyncio_reactor.py:303 Connection closed by server
ERROR asyncio:base_events.py:1785 Exception in callback _ProactorBasePipeTransport._call_connection_lost(OSError(10057..., 10057, None))
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(OSError(10057..., 10057, None)) created at C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\proactor_events.py:152>
source_traceback: Object created at (most recent call last):
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\base_events.py", line 641, in run_until_complete
self.run_forever()
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\base_events.py", line 608, in run_forever
self._run_once()
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\base_events.py", line 1928, in _run_once
handle._run()
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\events.py", line 84, in _run
self._context.run(self._callback, *self._args)
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\proactor_events.py", line 315, in _loop_reading
self._fatal_error(exc, 'Fatal read error on pipe transport')
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\proactor_events.py", line 132, in _fatal_error
self._force_close(exc)
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\proactor_events.py", line 152, in _force_close
self._loop.call_soon(self._call_connection_lost, exc)
Traceback (most recent call last):
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\events.py", line 84, in _run
self._context.run(self._callback, *self._args)
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\proactor_events.py", line 165, in _call_connection_lost
self._sock.shutdown(socket.SHUT_RDWR)
OSError: [WinError 10057] A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied
INFO hazelcast.internal.asyncio_connection:asyncio_connection.py:1041 <hazelcast.internal.asyncio_reactor.AsyncioConnection object at 0x0000022BEB8A7550> closed. Reason: Connection closed by server
WARNING hazelcast.internal.asyncio_connection:asyncio_connection.py:602 Error during initial connection to Member [localhost]:5701 - af4a1929-51a3-43e1-a5a0-719c6963821c
Traceback (most recent call last):
File "D:\a\hazelcast-python-client\hazelcast-python-client\hazelcast\internal\asyncio_connection.py", line 597, in _connect
return await get_or_connect_func(target)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a\hazelcast-python-client\hazelcast-python-client\hazelcast\internal\asyncio_connection.py", line 419, in _get_or_connect_to_member
await self._on_auth(response, connection)
File "D:\a\hazelcast-python-client\hazelcast-python-client\hazelcast\internal\asyncio_connection.py", line 645, in _on_auth
raise e
File "D:\a\hazelcast-python-client\hazelcast-python-client\hazelcast\internal\asyncio_connection.py", line 641, in _on_auth
response = await response
^^^^^^^^^^^^^^
hazelcast.errors.TargetDisconnectedError: TargetDisconnectedError
INFO hazelcast.internal.asyncio_connection:asyncio_connection.py:595 Trying to connect to Address(host=127.0.0.1, port=5701)
WARNING hazelcast.internal.asyncio_reactor:asyncio_reactor.py:303 Connection closed by server
ERROR asyncio:base_events.py:1785 Exception in callback _ProactorBasePipeTransport._call_connection_lost(OSError(10057..., 10057, None))
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(OSError(10057..., 10057, None)) created at C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\proactor_events.py:152>
source_traceback: Object created at (most recent call last):
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\base_events.py", line 641, in run_until_complete
self.run_forever()
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\base_events.py", line 608, in run_forever
self._run_once()
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\base_events.py", line 1928, in _run_once
handle._run()
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\events.py", line 84, in _run
self._context.run(self._callback, *self._args)
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\proactor_events.py", line 315, in _loop_reading
self._fatal_error(exc, 'Fatal read error on pipe transport')
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\proactor_events.py", line 132, in _fatal_error
self._force_close(exc)
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\proactor_events.py", line 152, in _force_close
self._loop.call_soon(self._call_connection_lost, exc)
Traceback (most recent call last):
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\events.py", line 84, in _run
self._context.run(self._callback, *self._args)
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\proactor_events.py", line 165, in _call_connection_lost
self._sock.shutdown(socket.SHUT_RDWR)
OSError: [WinError 10057] A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied
INFO hazelcast.internal.asyncio_connection:asyncio_connection.py:1041 <hazelcast.internal.asyncio_reactor.AsyncioConnection object at 0x0000022BEB738A10> closed. Reason: Connection closed by server
WARNING hazelcast.internal.asyncio_connection:asyncio_connection.py:602 Error during initial connection to Address(host=127.0.0.1, port=5701)
Traceback (most recent call last):
File "D:\a\hazelcast-python-client\hazelcast-python-client\hazelcast\internal\asyncio_connection.py", line 597, in _connect
return await get_or_connect_func(target)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a\hazelcast-python-client\hazelcast-python-client\hazelcast\internal\asyncio_connection.py", line 407, in _get_or_connect_to_address
await self._on_auth(response, connection)
File "D:\a\hazelcast-python-client\hazelcast-python-client\hazelcast\internal\asyncio_connection.py", line 645, in _on_auth
raise e
File "D:\a\hazelcast-python-client\hazelcast-python-client\hazelcast\internal\asyncio_connection.py", line 641, in _on_auth
response = await response
^^^^^^^^^^^^^^
hazelcast.errors.TargetDisconnectedError: TargetDisconnectedError
INFO hazelcast.internal.asyncio_connection:asyncio_connection.py:595 Trying to connect to Address(host=127.0.0.1, port=5702)
WARNING hazelcast.internal.asyncio_reactor:asyncio_reactor.py:303 Connection closed by server
ERROR asyncio:base_events.py:1785 Exception in callback _ProactorBasePipeTransport._call_connection_lost(OSError(10057..., 10057, None))
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(OSError(10057..., 10057, None)) created at C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\proactor_events.py:152>
source_traceback: Object created at (most recent call last):
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\base_events.py", line 641, in run_until_complete
self.run_forever()
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\windows_events.py", line 321, in run_forever
super().run_forever()
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\base_events.py", line 608, in run_forever
self._run_once()
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\base_events.py", line 1928, in _run_once
handle._run()
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\events.py", line 84, in _run
self._context.run(self._callback, *self._args)
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\proactor_events.py", line 315, in _loop_reading
self._fatal_error(exc, 'Fatal read error on pipe transport')
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\proactor_events.py", line 132, in _fatal_error
self._force_close(exc)
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\proactor_events.py", line 152, in _force_close
self._loop.call_soon(self._call_connection_lost, exc)
Traceback (most recent call last):
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\events.py", line 84, in _run
self._context.run(self._callback, *self._args)
File "C:\hostedtoolcache\windows\Python\3.11.9\x64\Lib\asyncio\proactor_events.py", line 165, in _call_connection_lost
self._sock.shutdown(socket.SHUT_RDWR)
OSError: [WinError 10057] A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied
INFO hazelcast.internal.asyncio_connection:asyncio_connection.py:1041 <hazelcast.internal.asyncio_reactor.AsyncioConnection object at 0x0000022BEB792450> closed. Reason: Connection closed by server
WARNING hazelcast.internal.asyncio_connection:asyncio_connection.py:602 Error during initial connection to Address(host=127.0.0.1, port=5702)
Traceback (most recent call last):
File "D:\a\hazelcast-python-client\hazelcast-python-client\hazelcast\internal\asyncio_connection.py", line 597, in _connect
return await get_or_connect_func(target)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a\hazelcast-python-client\hazelcast-python-client\hazelcast\internal\asyncio_connection.py", line 407, in _get_or_connect_to_address
await self._on_auth(response, connection)
File "D:\a\hazelcast-python-client\hazelcast-python-client\hazelcast\internal\asyncio_connection.py", line 645, in _on_auth
raise e
File "D:\a\hazelcast-python-client\hazelcast-python-client\hazelcast\internal\asyncio_connection.py", line 641, in _on_auth
response = await response
^^^^^^^^^^^^^^
hazelcast.errors.TargetDisconnectedError: TargetDisconnectedError
- Lenguaje dominante
- Python
- Estrellas
- 115
- Forks
- 78
- Merge medio
- 2 d 23 h
- PR fusionados (30 d)
- 2
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de hazelcast/hazelcast-python-client
-
Type: Test-Failure
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Type: Test-Failure
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
-
asyncio to-jira Type: Test-Failure
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
hazelcast/hazelcast-python-client#761 · 1 comentario ·
-
asyncio to-jira Type: Test-Failure
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
hazelcast/hazelcast-python-client#760 · 1 comentario ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
Todos los issues de hazelcast/hazelcast-python-client
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
marketcalls/openalgo#2472 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
marimo-team/marimo#11949 ·
Los mantenedores suelen responder en 1 día
-
bug server-time v2
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
modelcontextprotocol/servers#5559 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
jxxghp/MoviePilot#7449 ·
Los mantenedores suelen responder en 1 día
-
devops help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
guaardvark/guaardvark#421 ·
Los mantenedores suelen responder en 2 días