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

[http2] Router crash in system_tests_http2 connector delete test

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Tests
    • None

    Description

       ======================================================================
      69: ERROR: test_zzz_http_connector_delete (system_tests_http2.Http2TestOneEdgeRouter)
      69: ----------------------------------------------------------------------
      69: Traceback (most recent call last):
      69:   File "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py", line 1169, in __call__
      69:     p.teardown()
      69:   File "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py", line 313, in teardown
      69:     error("exit code %s, expected %s" % (status, self.expect))
      69:   File "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py", line 303, in error
      69:     self.outfile + '.cmd', f.read()))
      69: RuntimeError: Process 3665 error: exit code 1, expected 0
      69: qdmanage QUERY --type=org.apache.qpid.dispatch.httpConnector --bus amqp://0.0.0.0:20076 --indent=-1 --timeout 60.0
      69: /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/build/tests/system_test.dir/system_tests_http2/Http2TestOneEdgeRouter/test_zzz_http_connector_delete/qdmanage-98.cmd
      69: >>>>
      69: <<<<
      69: 
      69: During handling of the above exception, another exception occurred:
      69: 
      69: Traceback (most recent call last):
      69:   File "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py", line 922, in wrap
      69:     return f(*args, **kwargs)
      69:   File "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_http2.py", line 394, in test_zzz_http_connector_delete
      69:     server_addr=self.router_qdra.addresses[0])
      69:   File "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_http2.py", line 228, in check_connector_delete
      69:     http_connectors  = qd_manager.query('org.apache.qpid.dispatch.httpConnector')
      69:   File "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py", line 1201, in query
      69:     return json.loads(self('QUERY --type=%s' % long_type))
      69:   File "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py", line 1171, in __call__
      69:     raise Exception("%s\n%s" % (e, out))
      69: Exception: Process 3665 error: exit code 1, expected 0
      69: qdmanage QUERY --type=org.apache.qpid.dispatch.httpConnector --bus amqp://0.0.0.0:20076 --indent=-1 --timeout 60.0
      69: /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/build/tests/system_test.dir/system_tests_http2/Http2TestOneEdgeRouter/test_zzz_http_connector_delete/qdmanage-98.cmd
      69: >>>>
      69: <<<<
      69: ConnectionException: Connection amqp://0.0.0.0:20076 disconnected: Condition('proton.pythonio', 'Connection refused to all addresses')
      69: 
      69: 
      69: ======================================================================
      69: ERROR: tearDownClass (system_tests_http2.Http2TestOneEdgeRouter)
      69: ----------------------------------------------------------------------
      69: Traceback (most recent call last):
      69:   File "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py", line 863, in tearDownClass
      69:     cls.tester.teardown()
      69:   File "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py", line 806, 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 3635 error: exit code 1, expected -1
      69: qdrouterd -c http2-test-router.conf -I /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/python
      69: /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/build/tests/system_test.dir/system_tests_http2/Http2TestOneEdgeRouter/setUpClass/http2-test-router-44.cmd
      69: >>>>
      69: ../src/adaptors/http_common.c:596:9: runtime error: null pointer passed as argument 2, which is declared to never be null
      69: AddressSanitizer:DEADLYSIGNAL
      69: =================================================================
      69: ==3635==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f74fe5a8890 bp 0x7f74f79ba280 sp 0x7f74f79b99e0 T1)
      69: ==3635==The signal is caused by a READ memory access.
      69: ==3635==Hint: address points to the zero page.
      69:     #0 0x7f74fe5a888f  (/lib/x86_64-linux-gnu/libasan.so.5+0xd688f)
      69:     #1 0x7f74fdc685da in _update_qdr_http_request_info ../src/adaptors/http_common.c:596
      69:     #2 0x7f74fdc685da in _add_http_request_info_CT ../src/adaptors/http_common.c:618
      69:     #3 0x7f74fde87e58 in router_core_thread ../src/router_core/router_core_thread.c:239
      69:     #4 0x7f74fd799608 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x9608)
      69:     #5 0x7f74fcd53292 in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x122292)
      69: 
      69: AddressSanitizer can not provide additional info.
      69: SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libasan.so.5+0xd688f) 
      69: Thread T1 created by T0 here:
      69:     #0 0x7f74fe50c805 in pthread_create (/lib/x86_64-linux-gnu/libasan.so.5+0x3a805)
      69:     #1 0x7f74fddc329f in sys_thread ../src/posix/threading.c:181
      69:     #2 0x7f74fde6f2cc in qdr_core ../src/router_core/router_core.c:121
      69:     #3 0x7f74fdef1b36 in qd_router_setup_late ../src/router_node.c:2071
      69:     #4 0x7f74f8d08ff4  (/lib/x86_64-linux-gnu/libffi.so.7+0x6ff4)
      69:     #5 0x7ffed3f1e9bf  ([stack]+0x1f9bf)
      69: 
      69: ==3635==ABORTING
      69: 

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: