You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2021/02/12 17:33:00 UTC

[jira] [Updated] (PROTON-2335) Python tests appear to be leaking way too much

     [ https://issues.apache.org/jira/browse/PROTON-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jiri Daněk updated PROTON-2335:
-------------------------------
    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.

{noformat}
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
{noformat}

{noformat}
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
{noformat}

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

  was:
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

{noformat}
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
{noformat}

{noformat}
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
{noformat}

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


> Python tests appear to be leaking way too much
> ----------------------------------------------
>
>                 Key: PROTON-2335
>                 URL: https://issues.apache.org/jira/browse/PROTON-2335
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c, python-binding
>    Affects Versions: proton-c-0.34.0
>            Reporter: Jiri Daněk
>            Priority: Major
>              Labels: lsan
>
> 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.
> {noformat}
> 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
> {noformat}
> {noformat}
> 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
> {noformat}
> For example, QPID-5872 might be caused by some of this. That issue is a leak in {{pni_map_allocate}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org