Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-2027 Support the Windows OS
  3. DISPATCH-2279

tests\test_broker.py causes invalid operation under Windows

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 1.17.0
    • None
    • None
    • None
    • Windows; Python Qpid Proton 0.36.0

    Description

      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

      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
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jdanek Jiri Daněk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: