[ 
https://issues.apache.org/jira/browse/DISPATCH-1895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17251326#comment-17251326
 ] 

ASF subversion and git services commented on DISPATCH-1895:
-----------------------------------------------------------

Commit 276514d3755aa075bdb04d8b1599c2f859073dd5 in qpid-dispatch's branch 
refs/heads/master from Charles E. Rolke
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=276514d ]

DISPATCH-1895: Modify tcp self test not to use http listeners

As noted in jira comment, the test failure is the http-libwebsockets
code doing a wild 64-bit realloc. The failure has nothing to do with
the tcp test itself and should be directed to a new jira blaming
the libwebsockets code.

That said, the tcp test is using http listeners purely for easier
test debugging. The http listeners may be removed with no loss of
test functionality and that is what this patch does.


> 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
>            Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to