Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2335

Python tests appear to be leaking way too much

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • proton-c-0.34.0
    • None
    • proton-c, python-binding

    Description

      The leaks are currently suppressed (done in PROTON-1575, PROTON-2134, PROTON-2133), but nobody checked whether some of the leaks might be causing real issues.

      26: Totals: 357 tests, 356 passed, 1 skipped, 0 ignored, 0 failed
      26: -----------------------------------------------------
      26: Suppressions used:
      26:   count      bytes template
      26:       2       2304 ^pn_data$
      26:       6       1728 ^pni_data_grow$
      26:      34       5728 ^pn_buffer$
      26:       6        768 ^pn_buffer_ensure$
      26:       1         16 ^pn_error$
      26:      81      10368 ^pn_list$
      26:      42      21504 ^pni_map_allocate$
      26:     851      57328 ^pn_object_new$
      26:     132       4248 ^pni_record_create$
      26:     114       1824 ^pn_stringn$
      26:      23       2340 ^pn_string_grow$
      26:       2      16384 ^pn_transport$
      26:      44       2464 ^pn_ssl_domain$
      26:      12        260 ^SWIG_Python_addvarlink$
      26:    1848     313764 libcrypto.so
      26:     814    2101216 bin/python3
      26: -----------------------------------------------------
      26: 
      26/47 Test #26: python-test ......................   Passed   32.72 sec
      
      27: OK (expected failures=4)
      27: -----------------------------------------------------
      27: Suppressions used:
      27:   count      bytes template
      27:       8      27648 ^pni_data_grow$
      27:      50      19904 ^pn_buffer$
      27:       6        768 ^pn_buffer_ensure$
      27:       4         64 ^pn_error$
      27:      36       4608 ^pn_list$
      27:      32      16384 ^pni_map_allocate$
      27:     402      28912 ^pn_object_new$
      27:      44       1680 ^pni_record_create$
      27:      65       1040 ^pn_stringn$
      27:      11        980 ^pn_string_grow$
      27:       8      65536 ^pn_transport$
      27:      12        672 ^pn_ssl_domain$
      27:     504      85572 libcrypto.so
      27:     689    1379866 bin/python3
      27:      42      25006 libsasl2.so
      27:       4        146 sasl2/libanonymous.so
      27: -----------------------------------------------------
      27: 
      27/47 Test #27: python-integration-test ..........   Passed   26.20 sec
      

      For example, QPID-5872 might be caused by some of this. That issue is a leak in pni_map_allocate.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: