Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1986

[http1] system_tests_http1_adaptor failure due to Address already in use issue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.15.0
    • 1.17.0
    • Protocol Adaptors
    • None

    Description

      68: test_01_mgmt (system_tests_http1_adaptor.Http1AdaptorManagementTest) ... ok
      68: test_000_stats (system_tests_http1_adaptor.Http1AdaptorOneRouterTest) ... ok
      68: test_001_get (system_tests_http1_adaptor.Http1AdaptorOneRouterTest) ... ok
      68: test_002_head (system_tests_http1_adaptor.Http1AdaptorOneRouterTest) ... ok
      68: test_003_post (system_tests_http1_adaptor.Http1AdaptorOneRouterTest) ... ok
      68: test_004_put (system_tests_http1_adaptor.Http1AdaptorOneRouterTest) ... ok
      68: test_005_get_10 (system_tests_http1_adaptor.Http1AdaptorOneRouterTest) ... ERROR
      68: test_006_head_10 (system_tests_http1_adaptor.Http1AdaptorOneRouterTest) ... ok
      68: test_007_post_10 (system_tests_http1_adaptor.Http1AdaptorOneRouterTest) ... ok
      68: test_008_put_10 (system_tests_http1_adaptor.Http1AdaptorOneRouterTest) ... ok
      68: 
      68: Router INT.A debug dump file:
      68: >>>>
      68: alloc.c: Items of type 'qd_buffer_t' remain allocated at shutdown: 16 (SUPPRESSED)
      68: 
      68: <<<<
      68: test_01_backpressure_client (system_tests_http1_adaptor.Http1AdaptorQ2Standalone) ... ok
      68: test_02_backpressure_server (system_tests_http1_adaptor.Http1AdaptorQ2Standalone) ... ok
      68: 
      68: ======================================================================
      68: ERROR: test_02_credit_replenish (system_tests_http1_adaptor.Http1AdaptorEdge2EdgeTest)
      68: ----------------------------------------------------------------------
      68: Traceback (most recent call last):
      68:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_http1_adaptor.py", line 1238, in test_02_credit_replenish
      68:     tests=TESTS)
      68:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_http1_adaptor.py", line 256, in __init__
      68:     tests)
      68:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_http1_adaptor.py", line 234, in __init__
      68:     HTTPServer.__init__(self, addr, handler_cls)
      68:   File "/usr/lib/python2.7/SocketServer.py", line 417, in __init__
      68:     self.server_bind()
      68:   File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
      68:     SocketServer.TCPServer.server_bind(self)
      68:   File "/usr/lib/python2.7/SocketServer.py", line 431, in server_bind
      68:     self.socket.bind(self.server_address)
      68:   File "/usr/lib/python2.7/socket.py", line 228, in meth
      68:     return getattr(self._sock,name)(*args)
      68: error: [Errno 98] Address already in use
      68: 
      68: ======================================================================
      68: ERROR: test_03_server_reconnect (system_tests_http1_adaptor.Http1AdaptorEdge2EdgeTest)
      68: ----------------------------------------------------------------------
      68: Traceback (most recent call last):
      68:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_http1_adaptor.py", line 1270, in test_03_server_reconnect
      68:     tests=TESTS)
      68:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_http1_adaptor.py", line 256, in __init__
      68:     tests)
      68:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_http1_adaptor.py", line 234, in __init__
      68:     HTTPServer.__init__(self, addr, handler_cls)
      68:   File "/usr/lib/python2.7/SocketServer.py", line 417, in __init__
      68:     self.server_bind()
      68:   File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
      68:     SocketServer.TCPServer.server_bind(self)
      68:   File "/usr/lib/python2.7/SocketServer.py", line 431, in server_bind
      68:     self.socket.bind(self.server_address)
      68:   File "/usr/lib/python2.7/socket.py", line 228, in meth
      68:     return getattr(self._sock,name)(*args)
      68: error: [Errno 98] Address already in use
      68: 
      68: ======================================================================
      68: ERROR: test_04_server_pining_for_the_fjords (system_tests_http1_adaptor.Http1AdaptorEdge2EdgeTest)
      68: ----------------------------------------------------------------------
      68: Traceback (most recent call last):
      68:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_http1_adaptor.py", line 1321, in test_04_server_pining_for_the_fjords
      68:     tests=TESTS)
      68:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_http1_adaptor.py", line 256, in __init__
      68:     tests)
      68:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_http1_adaptor.py", line 234, in __init__
      68:     HTTPServer.__init__(self, addr, handler_cls)
      68:   File "/usr/lib/python2.7/SocketServer.py", line 417, in __init__
      68:     self.server_bind()
      68:   File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
      68:     SocketServer.TCPServer.server_bind(self)
      68:   File "/usr/lib/python2.7/SocketServer.py", line 431, in server_bind
      68:     self.socket.bind(self.server_address)
      68:   File "/usr/lib/python2.7/socket.py", line 228, in meth
      68:     return getattr(self._sock,name)(*args)
      68: error: [Errno 98] Address already in use
      68: 
      68: ======================================================================
      68: ERROR: test_05_large_streaming_msg (system_tests_http1_adaptor.Http1AdaptorEdge2EdgeTest)
      68: ----------------------------------------------------------------------
      68: Traceback (most recent call last):
      68:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_http1_adaptor.py", line 1428, in test_05_large_streaming_msg
      68:     tests=TESTS_11)
      68:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_http1_adaptor.py", line 256, in __init__
      68:     tests)
      68:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_http1_adaptor.py", line 234, in __init__
      68:     HTTPServer.__init__(self, addr, handler_cls)
      68:   File "/usr/lib/python2.7/SocketServer.py", line 417, in __init__
      68:     self.server_bind()
      68:   File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
      68:     SocketServer.TCPServer.server_bind(self)
      68:   File "/usr/lib/python2.7/SocketServer.py", line 431, in server_bind
      68:     self.socket.bind(self.server_address)
      68:   File "/usr/lib/python2.7/socket.py", line 228, in meth
      68:     return getattr(self._sock,name)(*args)
      68: error: [Errno 98] Address already in use
      68: 
      68: ======================================================================
      68: ERROR: test_005_get_10 (system_tests_http1_adaptor.Http1AdaptorOneRouterTest)
      68: ----------------------------------------------------------------------
      68: Traceback (most recent call last):
      68:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_http1_adaptor.py", line 956, in test_005_get_10
      68:     self._do_request(client, self.TESTS_10["GET"])
      68:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_http1_adaptor.py", line 920, in _do_request
      68:     rsp = client.getresponse()
      68:   File "/usr/lib/python2.7/httplib.py", line 1182, in getresponse
      68:     response.begin()
      68:   File "/usr/lib/python2.7/httplib.py", line 467, in begin
      68:     version, status, reason = self._read_status()
      68:   File "/usr/lib/python2.7/httplib.py", line 423, in _read_status
      68:     line = self.fp.readline(_MAXLINE + 1)
      68:   File "/usr/lib/python2.7/socket.py", line 480, in readline
      68:     data = self._sock.recv(self._rbufsize)
      68: timeout: timed out
      68: 
      68: ======================================================================
      68: FAIL: test_01_concurrent_requests (system_tests_http1_adaptor.Http1AdaptorEdge2EdgeTest)
      68: ----------------------------------------------------------------------
      68: Traceback (most recent call last):
      68:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_http1_adaptor.py", line 1206, in test_01_concurrent_requests
      68:     self.assertEqual(repeat_ct * REQ_CT, client.count)
      68: AssertionError: 30 != 25 

      Attachments

        Issue Links

          Activity

            People

              gmurthy Ganesh Murthy
              gmurthy Ganesh Murthy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: