redpanda-data / redpanda

Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
https://redpanda.com
9.61k stars 584 forks source link

LSAN failures in `test_configuration_change_test_rpunit` #7028

Closed dlex closed 2 years ago

dlex commented 2 years ago

FAIL test: ctest.test_configuration_change_test_rpunit (1/16 runs)

failure at 2022-10-29T06:15:46.823Z: None

in job https://buildkite.com/redpanda/redpanda/builds/17568#0184222f-db7b-43ef-8dff-7a00bfe8bdea

      Start 46: test_configuration_change_test_rpunit
45/96 Test #46: test_configuration_change_test_rpunit .............***Failed   28.44 sec
INFO:2022-10-29 06:02:04,264 cmake_test.py:350] Namespace(binary='/var/lib/buildkite-agent/builds/buildkite-amd64-xfs-builders-i-01b7351d8c774d74f-1/redpanda/redpanda/vbuild/debug/clang/bin/test_configuration_change_test_rpunit', pre=[], post=[], log='DEBUG', repeat=1, copy_file=[]) *args=[]
INFO:2022-10-29 06:02:04,265 cmake_test.py:249] Test dir: /dev/shm/vectorized_io/test.dku9ik7oonxJiMcALZURxFpi
INFO:2022-10-29 06:02:04,265 cmake_test.py:266] (cd /dev/shm/vectorized_io/test.dku9ik7oonxJiMcALZURxFpi; true; BOOST_TEST_LOG_LEVEL="test_suite" BOOST_LOGGER="HRF,test_suite" /var/lib/buildkite-agent/builds/buildkite-amd64-xfs-builders-i-01b7351d8c774d74f-1/redpanda/redpanda/vbuild/debug/clang/bin/test_configuration_change_test_rpunit -- --overprovisioned --unsafe-bypass-fsync 1 --default-log-level=trace --logger-log-level='io=debug' --logger-log-level='exception=debug' --blocked-reactor-notify-ms 2000000;  e=$?; rm -rf /dev/shm/vectorized_io/test.dku9ik7oonxJiMcALZURxFpi; echo "Test Exit code $e"; exit $e)
..............

*** No errors detected

LSAN:

==2506==ERROR: LeakSanitizer: detected memory leaks
.....
SUMMARY: AddressSanitizer: 520 byte(s) leaked in 5 allocation(s).
dotnwat commented 2 years ago

@dlex it's useful when reporting ci-failures that a little bit of context be posted in the issue.

=================================================================
--
  | ==2506==ERROR: LeakSanitizer: detected memory leaks
  |  
  | Direct leak of 88 byte(s) in 1 object(s) allocated from:
  | #0 0x5610489ee87d in operator new(unsigned long) /v/llvm/llvm/src/compiler-rt/lib/asan/asan_new_delete.cpp:95:3
  | #1 0x56105b2ae728 in void seastar::future<void>::schedule<seastar::internal::promise_base_with_type<seastar::semaphore_units<seastar::named_semaphore_exception_factory, seastar::lowres_clock> >, seastar::noncopyable_function<seastar::future<seastar::semaphore_units<seastar::named_semaphore_exception_factory, seastar::lowres_clock> > ()>, seastar::future<seastar::semaphore_units<seastar::named_semaphore_exception_factory, seastar::lowres_clock> > seastar::future<void>::then_impl_nrvo<seastar::noncopyable_function<seastar::future<seastar::semaphore_units<seastar::named_semaphore_exception_factory, seastar::lowres_clock> > ()>, seastar::future<seastar::semaphore_units<seastar::named_semaphore_exception_factory, seastar::lowres_clock> > >(seastar::noncopyable_function<seastar::future<seastar::semaphore_units<seastar::named_semaphore_exception_factory, seastar::lowres_clock> >
<...>
  | #19 0x56105bb74ff8 in std::__1::unordered_multimap<std::__1::tuple<int, seastar::socket_address>, seastar::net::posix_ap_server_socket_impl::connection, std::__1::hash<std::__1::tuple<int, seastar::socket_address> >, std::__1::equal_to<std::__1::tuple<int, seastar::socket_address> >, std::__1::allocator<std::__1::pair<std::__1::tuple<int, seastar::socket_address> const, seastar::net::posix_ap_server_socket_impl::connection> > >::~unordered_multimap() /vectorized/llvm/bin/../include/c++/v1/unordered_map:2026:5
  | #20 0x7f8c9b21782e in __call_tls_dtors (/lib64/libc.so.6+0x4582e) (BuildId: 6e7b96dfb83f0bdcb6a410469b82f86415e5ada3)
dotnwat commented 2 years ago

this is a duplicate of https://github.com/redpanda-data/redpanda/issues/3338