Ganesh Murthy created DISPATCH-1895:
---------------------------------------

             Summary: system_tests_tcp_adaptor hangs 
                 Key: DISPATCH-1895
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1895
             Project: Qpid Dispatch
          Issue Type: Test
          Components: Tests
            Reporter: Ganesh Murthy


Use this Dockerfile 
[https://github.com/apache/qpid-dispatch/blob/master/dockerfiles/Dockerfile-fedora]

Comment out line #59 and uncomment line #60.

sudo docker build -t gmurthy/fedora/dispatch --file=Dockerfile-fedora .

sudo docker run --net host -i -t gmurthy/fedora/dispatch

ctest -V -R system_tests_tcp_adaptor

 
{noformat}
70: ERROR
70: /usr/lib64/python3.9/subprocess.py:1048: ResourceWarning: subprocess 691 is 
still running
70:   _warn("subprocess %s is still running" % self.pid,
70: ResourceWarning: Enable tracemalloc to get the object allocation traceback
70: 
70: ======================================================================
70: ERROR: setUpClass (system_tests_tcp_adaptor.TcpAdaptor)
70: ----------------------------------------------------------------------
70: Traceback (most recent call last):
70:   File "/main/qpid-dispatch/tests/system_test.py", line 212, in wait_port
70:     retry_exception(connect, exception_test=check, **retry_kwargs)
70:   File "/main/qpid-dispatch/tests/system_test.py", line 160, in 
retry_exception
70:     return function()
70:   File "/main/qpid-dispatch/tests/system_test.py", line 207, in connect
70:     s.connect((host, port))
70: ConnectionRefusedError: [Errno 111] Connection refused
70: 
70: During handling of the above exception, another exception occurred:
70: 
70: Traceback (most recent call last):
70:   File "/main/qpid-dispatch/tests/system_tests_tcp_adaptor.py", line 306, 
in setUpClass
70:     router('INTA', 'interior',
70:   File "/main/qpid-dispatch/tests/system_tests_tcp_adaptor.py", line 225, 
in router
70:     cls.routers.append(cls.tester.qdrouterd(name, config, wait=True))
70:   File "/main/qpid-dispatch/tests/system_test.py", line 778, in qdrouterd
70:     return self.cleanup(Qdrouterd(*args, **kwargs))
70:   File "/main/qpid-dispatch/tests/system_test.py", line 498, in __init__
70:     self.wait_ready()
70:   File "/main/qpid-dispatch/tests/system_test.py", line 698, in wait_ready
70:     self.wait_ports(**retry_kwargs)
70:   File "/main/qpid-dispatch/tests/system_test.py", line 683, in wait_ports
70:     wait_ports(self.ports_family, **retry_kwargs)
70:   File "/main/qpid-dispatch/tests/system_test.py", line 220, in wait_ports
70:     wait_port(port=port, protocol_family=protocol_family, **retry_kwargs)
70:   File "/main/qpid-dispatch/tests/system_test.py", line 214, in wait_port
70:     raise Exception("wait_port timeout on host %s port %s: %s" % (host, 
port, e))
70: Exception: wait_port timeout on host None port 25911: [Errno 111] 
Connection refused
70: 
70: ----------------------------------------------------------------------
70: Ran 0 tests in 60.160s
70: 
70: FAILED (errors=1)
1/1 Test #70: system_tests_tcp_adaptor .........***Failed   60.29 sec
 {noformat}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to