Jiri Daněk created DISPATCH-2279:
------------------------------------

             Summary: tests\test_broker.py causes invalid operation under 
Windows
                 Key: DISPATCH-2279
                 URL: https://issues.apache.org/jira/browse/DISPATCH-2279
             Project: Qpid Dispatch
          Issue Type: Sub-task
    Affects Versions: 1.17.0
         Environment: Windows; Python Qpid Proton 0.36.0
            Reporter: Jiri Daněk


The issue looks like PROTON-2286. The trouble is, looking at the code, I don't 
see any custom events being used. There is probably something hidden which is 
causing the issue.

I haven't yet managed to compile Python Proton on my machine, so I cannot 
investigate better. That would be a next step.

https://github.com/jiridanek/qpid-dispatch/runs/4126448173?check_suite_focus=true#step:14:477

{noformat}
17: Test command: C:\hostedtoolcache\windows\Python\3.9.7\x64\python3.exe 
"D:/a/qpid-dispatch/qpid-dispatch/qpid-dispatch/build/tests/run.py" "-m" 
"unittest" "-v" "system_tests_link_route_credit"
17: Test timeout computed to be: 600
15: ERROR
15: test_config_file_bad (system_tests_link_routes.ConnectionLinkRouteTest) ... 
FAIL
15: test_mgmt (system_tests_link_routes.ConnectionLinkRouteTest) ... ERROR
15: test_send_receive (system_tests_link_routes.ConnectionLinkRouteTest) ... 
Exception in thread Thread-2:
15: Traceback (most recent call last):
15:   File "C:\hostedtoolcache\windows\Python\3.9.7\x64\lib\threading.py", line 
973, in _bootstrap_inner
15:     self.run()
15:   File "C:\hostedtoolcache\windows\Python\3.9.7\x64\lib\threading.py", line 
910, in run
15:     self._target(*self._args, **self._kwargs)
15:   File 
"D:\a/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests\test_broker.py", line 
113, in _main
15:     while self._container.process():
15:   File 
"C:\hostedtoolcache\windows\Python\3.9.7\x64\lib\site-packages\proton\_reactor.py",
 line 259, in process
15:     event.dispatch(self._global_handler)
15:   File 
"C:\hostedtoolcache\windows\Python\3.9.7\x64\lib\site-packages\proton\_events.py",
 line 161, in dispatch
15:     _dispatch(handler, type.method, self)
15:   File 
"C:\hostedtoolcache\windows\Python\3.9.7\x64\lib\site-packages\proton\_events.py",
 line 130, in _dispatch
15:     handler.on_unhandled(method, *args)
15:   File 
"C:\hostedtoolcache\windows\Python\3.9.7\x64\lib\site-packages\proton\_reactor.py",
 line 903, in on_unhandled
15:     event.dispatch(self.base)
15:   File 
"C:\hostedtoolcache\windows\Python\3.9.7\x64\lib\site-packages\proton\_events.py",
 line 161, in dispatch
15:     _dispatch(handler, type.method, self)
15:   File 
"C:\hostedtoolcache\windows\Python\3.9.7\x64\lib\site-packages\proton\_events.py",
 line 128, in _dispatch
15:     m(*args)
15:   File 
"C:\hostedtoolcache\windows\Python\3.9.7\x64\lib\site-packages\proton\_handlers.py",
 line 1152, in on_reactor_quiesced
15:     readable, writable, expired = self._selector.select(r.timeout)
15:   File 
"C:\hostedtoolcache\windows\Python\3.9.7\x64\lib\site-packages\proton\_io.py", 
line 162, in select
15:     r, w, ex = select_inner(timeout)
15:   File 
"C:\hostedtoolcache\windows\Python\3.9.7\x64\lib\site-packages\proton\_io.py", 
line 148, in select_inner
15:     return IO.select(r, w, w, timeout)
15:   File 
"C:\hostedtoolcache\windows\Python\3.9.7\x64\lib\site-packages\proton\_io.py", 
line 74, in select
15:     return select.select(*args, **kwargs)
15: OSError: [WinError 10038] An operation was attempted on something that is 
not a socket
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to