Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4733

Address already in use with python unit test

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: Python - Library
    • Labels:
      None

      Description

      run python unit test fail:

      WARNING:thrift.transport.sslcompat:ipaddress module is unavailable WARNING:thrift.transport.sslcompat:backports.ssl_match_hostname is unavailable .skipping test_client_cert .......PROTOCOL_SSLv3 is not available PROTOCOL_SSLv2 is not available .EException in thread __enter__: Traceback (most recent call last): File "/Users/jun/.pyenv/versions/2.7.15/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "test/test_sslsocket.py", line 64, in run self._server.listen() File "/Users/jun/.pyenv/versions/thrift-py2/lib/python2.7/site-packages/thrift/transport/TSocket.py", line 185, in listen self.handle.bind(res[4]) File "/Users/jun/.pyenv/versions/2.7.15/lib/python2.7/socket.py", line 228, in meth return getattr(self._sock,name)(*args) error: [Errno 48] Address already in use
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jking3 James E. King III
                Reporter:
                junnplus Jun
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m