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

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

Commit e1c3a4654eae9768f1cc28c669ffe425ea1ee570 in qpid-dispatch's branch 
refs/heads/dependabot/npm_and_yarn/console/react/testing-library/react-12.0.0 
from Ken Giusti
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=e1c3a46 ]

DISPATCH-2185, DISPATCH-2177: release all stream buffers before delivery

The HTTP/1.x adaptor holds references to all stream data buffers to be
written out the raw connection. Do not release (decref) the associtatd
delivery until all these stream buffers have been released as they
will be freed by the delivery decref.

This closes #1277


> [http1] system_tests_http1 failing on test_04_client_request_close
> ------------------------------------------------------------------
>
>                 Key: DISPATCH-2177
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2177
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 1.16.0
>            Reporter: Ganesh Murthy
>            Assignee: Ken Giusti
>            Priority: Critical
>
> {noformat}
> 69: 
> 69: ======================================================================
> 69: ERROR: test_04_client_request_close 
> (system_tests_http1_adaptor.Http1AdaptorBadEndpointsTest)
> 69: ----------------------------------------------------------------------
> 69: Traceback (most recent call last):
> 69:   File 
> "/home/travis/build/apache/qpid-dispatch/tests/system_tests_http1_adaptor.py",
>  line 603, in test_04_client_request_close
> 69:     self.INT_A.management)
> 69:   File "/home/travis/build/apache/qpid-dispatch/tests/http1_tests.py", 
> line 1275, in client_request_close_test
> 69:     ri = 
> server_mgmt.query(type="org.apache.qpid.dispatch.httpRequestInfo").get_entities()
> 69:   File 
> "/home/travis/build/apache/qpid-dispatch/python/qpid_dispatch/management/client.py",
>  line 287, in query
> 69:     response = self.call(request)
> 69:   File 
> "/home/travis/build/apache/qpid-dispatch/python/qpid_dispatch/management/client.py",
>  line 201, in call
> 69:     response = self.client.call(request)
> 69:   File 
> "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_utils.py",
>  line 595, in call
> 69:     self.sender.send(request)
> 69:   File 
> "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_utils.py",
>  line 121, in send
> 69:     timeout=timeout)
> 69:   File 
> "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_utils.py",
>  line 511, in wait
> 69:     "Connection %s disconnected: %s" % (self.url, self.disconnected))
> 69: proton._exceptions.ConnectionException: Connection amqp://0.0.0.0:25206 
> disconnected: Condition('amqp:connection:framing-error', 'connection aborted')
> 69: 
> 69: ======================================================================
> 69: ERROR: test_05_client_response_close 
> (system_tests_http1_adaptor.Http1AdaptorBadEndpointsTest)
> 69: ----------------------------------------------------------------------
> 69: Traceback (most recent call last):
> 69:   File 
> "/home/travis/build/apache/qpid-dispatch/tests/system_tests_http1_adaptor.py",
>  line 610, in test_05_client_response_close
> 69:     self.http_listener_port)
> 69:   File "/home/travis/build/apache/qpid-dispatch/tests/http1_tests.py", 
> line 1329, in client_response_close_test
> 69:     tests=TESTS)
> 69:   File "/home/travis/build/apache/qpid-dispatch/tests/http1_tests.py", 
> line 243, in __init__
> 69:     tests)
> 69:   File "/home/travis/build/apache/qpid-dispatch/tests/http1_tests.py", 
> line 131, in __init__
> 69:     HTTPServer.__init__(self, addr, handler_cls)
> 69:   File "/opt/python/3.6.8/lib/python3.6/socketserver.py", line 456, in 
> __init__
> 69:     self.server_bind()
> 69:   File "/opt/python/3.6.8/lib/python3.6/http/server.py", line 136, in 
> server_bind
> 69:     socketserver.TCPServer.server_bind(self)
> 69:   File "/opt/python/3.6.8/lib/python3.6/socketserver.py", line 470, in 
> server_bind
> 69:     self.socket.bind(self.server_address)
> 69: OSError: [Errno 98] Address already in use
> 69: 
> 69: ======================================================================
> 69: ERROR: tearDownClass 
> (system_tests_http1_adaptor.Http1AdaptorBadEndpointsTest)
> 69: ----------------------------------------------------------------------
> 69: Traceback (most recent call last):
> 69:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", 
> line 865, in tearDownClass
> 69:     cls.tester.teardown()
> 69:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", 
> line 808, in teardown
> 69:     raise RuntimeError("Errors during teardown: \n\n%s" % 
> "\n\n".join([str(e) for e in errors]))
> 69: RuntimeError: Errors during teardown: 
> 69: 
> 69: Process 15773 error: exit code -6, expected -1
> 69: qdrouterd -c TestBadEndpoints.conf -I 
> /home/travis/build/apache/qpid-dispatch/python
> 69: 
> /home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_http1_adaptor/Http1AdaptorBadEndpointsTest/setUpClass/TestBadEndpoints-1.cmd
> 69: >>>>
> 69: qdrouterd: /home/travis/build/apache/qpid-dispatch/src/message.c:1037: 
> qd_message_free: Assertion `DEQ_IS_EMPTY(msg->stream_data_list)' failed.
> 69: <<<<
> 69: 
> 69: ----------------------------------------------------------------------
> 69: Ran 24 tests in 138.928s
> 69: 
> 69: FAILED (errors=3)
> 69/73 Test #69: system_tests_http1_adaptor ........................***Failed  
> 139.08 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