Flaky test [Windows] ReconnectWithDifferentInterfacesTest::test_connection_count_after_reconnect_with_member_hostname_client_ip
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 38/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Ruhig
- Tech-Stack
- python
- Bereich
- testing-qa
Rechercherichtung
Finde ReconnectWithDifferentInterfacesTest::test_connection_count_after_reconnect_with_member_hostname_client_ip in der Testsuite und reproduziere den Fehler unter Windows mithilfe des verlinkten Actions-Logs. Verfolge das Verhalten von Reconnect und Verbindungszählung im Zusammenhang mit dem gemeldeten TargetDisconnectedError; abgeschlossen ist die Aufgabe, wenn der Fehler unter Windows behoben ist und der Test zuverlässig besteht.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- Python
- Sterne
- 115
- Forks
- 78
- Ø Merge
- 2 T. 23 Std.
- Gemergte PRs (30 T.)
- 2
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus hazelcast/hazelcast-python-client
-
Type: Test-Failure
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
-
Type: Test-Failure
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 52/100
-
asyncio to-jira Type: Test-Failure
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
hazelcast/hazelcast-python-client#761 · 1 Kommentar ·
-
asyncio to-jira Type: Test-Failure
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
hazelcast/hazelcast-python-client#760 · 1 Kommentar ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
Alle Issues in hazelcast/hazelcast-python-client
Ähnliche Issues
-
bug triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
ultralytics/ultralytics#27258 ·
Maintainer antworten meist innerhalb von 1 Tag
-
author-page correction move-papers
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
acl-org/acl-anthology#10969 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
Maintainer antworten meist innerhalb von 1 Tag
-
Pin Python to 3.14 in the era5grib-parallel environment specificationEvtl. vergeben @atteggiani hat das heute übernommen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
ACCESS-NRI/containerised-environments-infra#129 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
priority middle
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
KATO-Hiro/AtCoderClans#13029 ·
Maintainer antworten meist innerhalb von 1 Tag