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

OOPS!!! in test_999_check_for_leaks (system_tests_multicast.MulticastLinearTest)

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Trivial
    • Resolution: Not A Bug
    • 1.16.0
    • None
    • Tests
    • None

    Description

      (This is from a PR that sets maximum on free_lists in the allocator_pool.c to 0. Possibly it's self inflicted,)

      https://github.com/apache/qpid-dispatch/pull/1135/checks?check_run_id=2394452094#step:9:4217

      62: test_80_unsettled_3ack_message_annotations (system_tests_multicast.MulticastLinearTest) ... ok
      62: test_90_credit_no_subscribers (system_tests_multicast.MulticastLinearTest)
      62: Verify that multicast senders are blocked until a consumer is present. ... ok
      62: test_91_anonymous_sender (system_tests_multicast.MulticastLinearTest)
      62: Verify that senders over anonymous links do not block waiting for ... ok
      62: test_999_check_for_leaks (system_tests_multicast.MulticastLinearTest) ... OOPS!!! INT.A: (qd_message_t) - held=2 max=0
      62:    {'qd_message_t': {'typeName': 'qd_message_t', 'typeSize': int32(200), 'transferBatchSize': int32(1), 'localFreeListMax': int32(0), 'globalFreeListMax': int32(0), 'totalAllocFromHeap': int32(4667), 'totalFreeToHeap': int32(4665), 'heldByThreads': int32(2), 'batchesRebalancedToThreads': int32(0), 'batchesRebalancedToGlobal': int32(4665), 'name': 'allocator/qd_message_t', 'identity': 'allocator/qd_message_t', 'type': 'org.apache.qpid.dispatch.allocator'}, 'qd_buffer_t': {'typeName': 'qd_buffer_t', 'typeSize': int32(536), 'transferBatchSize': int32(1), 'localFreeListMax': int32(0), 'globalFreeListMax': int32(0), 'totalAllocFromHeap': int32(32047), 'totalFreeToHeap': int32(32040), 'heldByThreads': int32(7), 'batchesRebalancedToThreads': int32(0), 'batchesRebalancedToGlobal': int32(32040), 'name': 'allocator/qd_buffer_t', 'identity': 'allocator/qd_buffer_t', 'type': 'org.apache.qpid.dispatch.allocator'}, 'qdr_delivery_t': {'typeName': 'qdr_delivery_t', 'typeSize': int32(304), 'transferBatchSize': int32(1), 'localFreeListMax': int32(0), 'globalFreeListMax': int32(0), 'totalAllocFromHeap': int32(2755), 'totalFreeToHeap': int32(2754), 'heldByThreads': int32(1), 'batchesRebalancedToThreads': int32(0), 'batchesRebalancedToGlobal': int32(2754), 'name': 'allocator/qdr_delivery_t', 'identity': 'allocator/qdr_delivery_t', 'type': 'org.apache.qpid.dispatch.allocator'}}
      62: 
      62: FAIL
      62: 
      62: Router EB1 output file:
      62: >>>>
      62: -----------------------------------------------------
      62: Suppressions used:
      62:   count      bytes template
      62:       7         59 ^load_server_config$
      62:       6        401 ^qd_dispatch_configure_connector$
      62:       1         64 sys_mutex
      62:       1         56 qdr_core_subscribe
      62:      13       7232 ^_PyObject_Realloc
      62:     549     871050 ^PyObject_Malloc$
      62:       3         96 ^PyThread_allocate_lock$
      62:       4       9897 ^PyMem_Malloc$
      62:       1        856 ^_PyObject_GC_Resize$
      62: -----------------------------------------------------
      62: 
      62: 
      62: <<<<
      62: 
      62: Router EB1 debug dump file:
      62: >>>>
      62: alloc.c: Items of type 'qd_timer_t' remain allocated at shutdown: 1 (SUPPRESSED)
      62: alloc.c: Items of type 'qd_connector_t' remain allocated at shutdown: 1 (SUPPRESSED)
      62: 
      62: <<<<
      54: test_34_multicast_mobile_address_interior_to_edge (system_tests_edge_router.RouterTest) ... ok
      62: 
      62: Router EA1 output file:
      62: >>>>
      62: -----------------------------------------------------
      62: Suppressions used:
      62:   count      bytes template
      62:       7         59 ^load_server_config$
      62:       6        401 ^qd_dispatch_configure_connector$
      62:       1         64 sys_mutex
      62:       1         56 qdr_core_subscribe
      62:      13       7232 ^_PyObject_Realloc
      62:     549     871050 ^PyObject_Malloc$
      62:       3         96 ^PyThread_allocate_lock$
      62:       4       9897 ^PyMem_Malloc$
      62:       1        856 ^_PyObject_GC_Resize$
      62: -----------------------------------------------------
      62: 
      62: 
      62: <<<<
      62: 
      62: Router EA1 debug dump file:
      62: >>>>
      62: alloc.c: Items of type 'qd_timer_t' remain allocated at shutdown: 1 (SUPPRESSED)
      62: alloc.c: Items of type 'qd_connector_t' remain allocated at shutdown: 1 (SUPPRESSED)
      62: 
      62: <<<<
      62: 
      62: Router INT.B output file:
      62: >>>>
      62: -----------------------------------------------------
      62: Suppressions used:
      62:   count      bytes template
      62:       7         73 ^load_server_config$
      62:       6        401 ^qd_dispatch_configure_connector$
      62:       1         64 sys_mutex
      62:       6        336 qdr_core_subscribe
      62:      11       6104 ^_PyObject_Realloc
      62:     623     921042 ^PyObject_Malloc$
      62:       2         64 ^PyThread_allocate_lock$
      62:       4       9897 ^PyMem_Malloc$
      62:       1        856 ^_PyObject_GC_Resize$
      62:       2       2032 ^list_resize$
      62: -----------------------------------------------------
      62: 
      62: 
      62: <<<<
      62: 
      62: Router INT.B debug dump file:
      62: >>>>
      62: alloc.c: Items of type 'qd_timer_t' remain allocated at shutdown: 1 (SUPPRESSED)
      62: alloc.c: Items of type 'qd_connector_t' remain allocated at shutdown: 1 (SUPPRESSED)
      62: 
      62: <<<<
      62: 
      62: Router INT.A output file:
      62: >>>>
      62: -----------------------------------------------------
      62: Suppressions used:
      62:   count      bytes template
      62:       6        336 qdr_core_subscribe
      62:      11       6104 ^_PyObject_Realloc
      62:     624     922154 ^PyObject_Malloc$
      62:       2         64 ^PyThread_allocate_lock$
      62:       4       9897 ^PyMem_Malloc$
      62:       1        856 ^_PyObject_GC_Resize$
      62:       2       2032 ^list_resize$
      62: -----------------------------------------------------
      62: 
      62: 
      62: <<<<
      62: 
      62: ======================================================================
      62: FAIL: test_999_check_for_leaks (system_tests_multicast.MulticastLinearTest)
      62: ----------------------------------------------------------------------
      62: Traceback (most recent call last):
      62:   File "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_multicast.py", line 437, in test_999_check_for_leaks
      62:     self._check_for_leaks()
      62:   File "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_multicast.py", line 214, in _check_for_leaks
      62:     self.assertFalse(held >= (2 * max_allowed))
      62: AssertionError: True is not false
      62: 
      62: ----------------------------------------------------------------------
      62: Ran 16 tests in 61.262s
      62: 
      62: FAILED (failures=1)
      30/37 Test #62: system_tests_multicast ............................***Failed   61.57 sec
      

      Attachments

        Activity

          People

            kgiusti Ken Giusti
            jdanek Jiri Daněk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: