Eric Sammons created PROTON-863:
-----------------------------------
Summary: valgrind tests failing with failed status=1
Key: PROTON-863
URL: https://issues.apache.org/jira/browse/PROTON-863
Project: Qpid Proton
Issue Type: Bug
Components: proton-c, python-binding
Reporter: Eric Sammons
Steps to reproduce:
1. In Repo https://github.com/apache/qpid-proton
2. cd bld
3. cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DSYSINSTALL_BINDINGS=ON
4. make all
5. ctest -VV
{quote}
proton_tests.soak.MessengerTests.test_echo_valgrind ..................... fail
1: Error during test: Traceback (most recent call last):
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton-test",
line 355, in run
1: phase()
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/soak.py",
line 312, in test_echo_valgrind
1: self._do_echo_test(MessengerReceiverValgrind(),
MessengerSenderValgrind())
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/soak.py",
line 189, in _do_echo_test
1: self._do_test(iterations)
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/soak.py",
line 103, in _do_test
1: S.stderr()))
1: AssertionError: Command '['/usr/bin/valgrind', '--error-exitcode=1',
'--quiet', '--trace-children=yes', '--leak-check=full',
'--suppressions=/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/valgrind.supp',
'msgr-send', '-a', 'amqp://0.0.0.0:64557/0Y,amqp://0.0.0.0:64557/1Y', '-c',
'4', '-p', '2', '-R', '-t', '60']' failed status=1: 'Messages sent: 4 recv: 4
1: Total time: 1.078000 sec
1: Throughput: 3.710575 msgs/sec
1: Latency (sec): 0.003000 min 0.107000 max 0.047500 avg
1: ==10996== Invalid free() / delete / delete[] / realloc()
1: ==10996== at 0x4C29D17: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
1: ==10996== by 0x5C5ED1B: __libc_freeres (in /usr/lib64/libc-2.17.so)
1: ==10996== by 0x4A236B4: _vgnU_freeres (in
/usr/lib64/valgrind/vgpreload_core-amd64-linux.so)
1: ==10996== by 0x5B341DA: __run_exit_handlers (in /usr/lib64/libc-2.17.so)
1: ==10996== by 0x5B34264: exit (in /usr/lib64/libc-2.17.so)
1: ==10996== by 0x5B1CAFB: (below main) (in /usr/lib64/libc-2.17.so)
1: ==10996== Address 0x5eb53d0 is 0 bytes inside data symbol "noai6ai_cached"
1: ==10996==
1: ' '*** NO STDERR ***'
1: proton_tests.soak.MessengerTests.test_oneway_C ..........................
pass
1: proton_tests.soak.MessengerTests.test_oneway_C_Python ...................
pass
1: proton_tests.soak.MessengerTests.test_oneway_C_SSL ......................
pass
1: proton_tests.soak.MessengerTests.test_oneway_Python .....................
pass
1: proton_tests.soak.MessengerTests.test_oneway_Python_C ...................
pass
1: proton_tests.soak.MessengerTests.test_oneway_reactor ....................
pass
1: proton_tests.soak.MessengerTests.test_oneway_reactor_valgrind ...........
fail
1: Error during test: Traceback (most recent call last):
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton-test",
line 355, in run
1: phase()
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/soak.py",
line 365, in test_oneway_reactor_valgrind
1: self._do_oneway_test(ReactorReceiverValgrind(),
ReactorSenderValgrind())
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/soak.py",
line 156, in _do_oneway_test
1: self._do_test(iterations)
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/soak.py",
line 103, in _do_test
1: S.stderr()))
1: AssertionError: Command '['/usr/bin/valgrind', '--error-exitcode=1',
'--quiet', '--trace-children=yes', '--leak-check=full',
'--suppressions=/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/valgrind.supp',
'reactor-send', '-a', 'amqp://0.0.0.0:55299/X0,amqp://0.0.0.0:55299/X1', '-c',
'4', '-t', '60']' failed status=1: 'Messages sent: 4 recv: 0
1: Total time: 0.059000 sec
1: Throughput: 67.796610 msgs/sec
1: Latency (sec): 0.000000 min 0.000000 max 0.000000 avg
1: ==11040== Invalid free() / delete / delete[] / realloc()
1: ==11040== at 0x4C29D17: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
1: ==11040== by 0x5C5ED1B: __libc_freeres (in /usr/lib64/libc-2.17.so)
1: ==11040== by 0x4A236B4: _vgnU_freeres (in
/usr/lib64/valgrind/vgpreload_core-amd64-linux.so)
1: ==11040== by 0x5B341DA: __run_exit_handlers (in /usr/lib64/libc-2.17.so)
1: ==11040== by 0x5B34264: exit (in /usr/lib64/libc-2.17.so)
1: ==11040== by 0x5B1CAFB: (below main) (in /usr/lib64/libc-2.17.so)
1: ==11040== Address 0x5eb53d0 is 0 bytes inside data symbol "noai6ai_cached"
1: ==11040==
1: ' '*** NO STDERR ***'
1: proton_tests.soak.MessengerTests.test_oneway_valgrind ...................
fail
1: Error during test: Traceback (most recent call last):
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton-test",
line 355, in run
1: phase()
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/soak.py",
line 292, in test_oneway_valgrind
1: self._do_oneway_test(MessengerReceiverValgrind(),
MessengerSenderValgrind())
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/soak.py",
line 156, in _do_oneway_test
1: self._do_test(iterations)
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/soak.py",
line 103, in _do_test
1: S.stderr()))
1: AssertionError: Command '['/usr/bin/valgrind', '--error-exitcode=1',
'--quiet', '--trace-children=yes', '--leak-check=full',
'--suppressions=/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/valgrind.supp',
'msgr-send', '-a', 'amqp://0.0.0.0:54273/X0,amqp://0.0.0.0:54273/X1', '-c',
'4', '-t', '60']' failed status=1: 'Messages sent: 4 recv: 0
1: Total time: 0.974000 sec
1: Throughput: 4.106776 msgs/sec
1: Latency (sec): 0.000000 min 0.000000 max 0.000000 avg
1: ==11042== Invalid free() / delete / delete[] / realloc()
1: ==11042== at 0x4C29D17: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
1: ==11042== by 0x5C5ED1B: __libc_freeres (in /usr/lib64/libc-2.17.so)
1: ==11042== by 0x4A236B4: _vgnU_freeres (in
/usr/lib64/valgrind/vgpreload_core-amd64-linux.so)
1: ==11042== by 0x5B341DA: __run_exit_handlers (in /usr/lib64/libc-2.17.so)
1: ==11042== by 0x5B34264: exit (in /usr/lib64/libc-2.17.so)
1: ==11042== by 0x5B1CAFB: (below main) (in /usr/lib64/libc-2.17.so)
1: ==11042== Address 0x5eb53d0 is 0 bytes inside data symbol "noai6ai_cached"
1: ==11042==
1: ' '*** NO STDERR ***'
1: proton_tests.soak.MessengerTests.test_relay_C ...........................
pass
1: proton_tests.soak.MessengerTests.test_relay_C_Python ....................
pass
1: proton_tests.soak.MessengerTests.test_relay_C_SSL .......................
pass
1: proton_tests.soak.MessengerTests.test_relay_Python ......................
pass
1: proton_tests.soak.MessengerTests.test_relay_valgrind ....................
fail
1: Error during test: Traceback (most recent call last):
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton-test",
line 355, in run
1: phase()
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/soak.py",
line 332, in test_relay_valgrind
1: self._do_relay_test(MessengerReceiverValgrind(),
MessengerReceiverValgrind(), MessengerSenderValgrind())
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/soak.py",
line 235, in _do_relay_test
1: self._do_test(iterations)
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/soak.py",
line 103, in _do_test
1: S.stderr()))
1: AssertionError: Command '['/usr/bin/valgrind', '--error-exitcode=1',
'--quiet', '--trace-children=yes', '--leak-check=full',
'--suppressions=/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/valgrind.supp',
'msgr-send', '-a', 'amqp://0.0.0.0:64632/X0Y,amqp://0.0.0.0:64632/X1Y', '-c',
'4', '-R', '-t', '60']' failed status=1: 'Messages sent: 4 recv: 4
1: Total time: 0.968000 sec
1: Throughput: 4.132231 msgs/sec
1: Latency (sec): 0.136000 min 0.179000 max 0.148500 avg
1: ==11089== Invalid free() / delete / delete[] / realloc()
1: ==11089== at 0x4C29D17: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
1: ==11089== by 0x5C5ED1B: __libc_freeres (in /usr/lib64/libc-2.17.so)
1: ==11089== by 0x4A236B4: _vgnU_freeres (in
/usr/lib64/valgrind/vgpreload_core-amd64-linux.so)
1: ==11089== by 0x5B341DA: __run_exit_handlers (in /usr/lib64/libc-2.17.so)
1: ==11089== by 0x5B34264: exit (in /usr/lib64/libc-2.17.so)
1: ==11089== by 0x5B1CAFB: (below main) (in /usr/lib64/libc-2.17.so)
1: ==11089== Address 0x5eb53d0 is 0 bytes inside data symbol "noai6ai_cached"
1: ==11089==
1: ' '*** NO STDERR ***'
1: proton_tests.soak.MessengerTests.test_star_topology_C ...................
pass
1: proton_tests.soak.MessengerTests.test_star_topology_C_Python ............
pass
1: proton_tests.soak.MessengerTests.test_star_topology_C_SSL ...............
pass
1: proton_tests.soak.MessengerTests.test_star_topology_Python ..............
pass
1: proton_tests.soak.MessengerTests.test_star_topology_Python_C ............
pass
1: proton_tests.soak.MessengerTests.test_star_topology_valgrind ............
fail
1: Error during test: Traceback (most recent call last):
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton-test",
line 355, in run
1: phase()
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/soak.py",
line 349, in test_star_topology_valgrind
1: self._do_star_topology_test( MessengerReceiverValgrind,
MessengerSenderValgrind )
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/soak.py",
line 281, in _do_star_topology_test
1: self._do_test(iterations)
1: File
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/soak.py",
line 103, in _do_test
1: S.stderr()))
1: AssertionError: Command '['/usr/bin/valgrind', '--error-exitcode=1',
'--quiet', '--trace-children=yes', '--leak-check=full',
'--suppressions=/var/tmp/workspace/QPID_Proton_Build/qpid-proton/tests/python/proton_tests/valgrind.supp',
'msgr-send', '-a',
'amqp://0.0.0.0:62595/0,amqp://0.0.0.0:62595/1,amqp://0.0.0.0:59495/0,amqp://0.0.0.0:59495/1',
'-c', '8', '-p', '2', '-R', '-t', '60']' failed status=1: 'Messages sent: 8
recv: 8
1: Total time: 1.906000 sec
1: Throughput: 4.197272 msgs/sec
1: Latency (sec): 0.003000 min 0.136000 max 0.036125 avg
1: ==11162== Invalid free() / delete / delete[] / realloc()
1: ==11162== at 0x4C29D17: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
1: ==11162== by 0x5C5ED1B: __libc_freeres (in /usr/lib64/libc-2.17.so)
1: ==11162== by 0x4A236B4: _vgnU_freeres (in
/usr/lib64/valgrind/vgpreload_core-amd64-linux.so)
1: ==11162== by 0x5B341DA: __run_exit_handlers (in /usr/lib64/libc-2.17.so)
1: ==11162== by 0x5B34264: exit (in /usr/lib64/libc-2.17.so)
1: ==11162== by 0x5B1CAFB: (below main) (in /usr/lib64/libc-2.17.so)
1: ==11162== Address 0x5eb53d0 is 0 bytes inside data symbol "noai6ai_cached"
1: ==11162==
1: ' '*** NO STDERR ***'
1: proton_tests.ssl.MessengerSSLTests.test_client_credentials ..............
pass
{quote}
...
{quote}
Start 7: c-reactor-tests
7: Test command: /usr/bin/valgrind "--error-exitcode=1" "--quiet"
"--leak-check=full" "--trace-children=yes"
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/bld/proton-c/src/tests/c-reactor-tests"
7: Test timeout computed to be: 1500
7: ==11174== Invalid free() / delete / delete[] / realloc()
7: ==11174== at 0x4C29D17: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
7: ==11174== by 0x5C5ED1B: __libc_freeres (in /usr/lib64/libc-2.17.so)
7: ==11174== by 0x4A236B4: _vgnU_freeres (in
/usr/lib64/valgrind/vgpreload_core-amd64-linux.so)
7: ==11174== by 0x5B341DA: __run_exit_handlers (in /usr/lib64/libc-2.17.so)
7: ==11174== by 0x5B34264: exit (in /usr/lib64/libc-2.17.so)
7: ==11174== by 0x5B1CAFB: (below main) (in /usr/lib64/libc-2.17.so)
7: ==11174== Address 0x5eb53d0 is 0 bytes inside data symbol "noai6ai_cached"
7: ==11174==
7/8 Test #7: c-reactor-tests ..................***Failed 10.59 sec
test 8
Start 8: c-event-tests
8: Test command: /usr/bin/valgrind "--error-exitcode=1" "--quiet"
"--leak-check=full" "--trace-children=yes"
"/var/tmp/workspace/QPID_Proton_Build/qpid-proton/bld/proton-c/src/tests/c-event-tests"
8: Test timeout computed to be: 1500
8/8 Test #8: c-event-tests .................... Passed 0.50 sec
{quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)