ci: Print tsan errors to stderr #29740

pull maflcko wants to merge 1 commits into bitcoin:master from maflcko:2403-ci-tsan-err- changing 1 files +1 −3
  1. maflcko commented at 6:22 pm on March 26, 2024: member

    This fixes a bug introduced in #27667

    All sanitizers print their errors to stderr, except for tsan, which prints to a file and expects the file to be read.

    Fix this by not using a log file in any sanitizer.

  2. ci: Print tsan errors to stderr fa22a438fa
  3. DrahtBot commented at 6:22 pm on March 26, 2024: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Code Coverage

    For detailed information about the code coverage, see the test coverage report.

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK dergoegge

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

  4. DrahtBot added the label Tests on Mar 26, 2024
  5. maflcko commented at 9:28 am on March 27, 2024: member

    Can be tested by checking out this commit, clearing test/sanitizer_suppressions/tsan, and observing a failure, along with the printed error in the tsan CI.

    On master, clearing test/sanitizer_suppressions/tsan, would result in a failing tsan CI, but without error.

  6. dergoegge approved
  7. dergoegge commented at 10:38 am on March 27, 2024: member
    utACK fa22a438fa8f1c9cd4b4c44ff45cefd178bf5999
  8. fanquake commented at 11:03 am on March 27, 2024: member

    Tested that this dumps a failure:

      02024-03-27T10:57:55.583878Z (mocktime: 2020-08-31T15:34:11Z) [test] [validation.cpp:2812] [UpdateTipLog] UpdateTip: new best=571d80a9967ae599cec0448b0b0ba1cfb606f584d8069bd7166b86854ba7a191 height=100 version=0x20000000 log2_work=7.658211 tx=101 date='2020-08-31T15:34:11Z' progress=1.000000 cache=0.3MiB(100txo)
      12024-03-27T10:57:55.583938Z (mocktime: 2020-08-31T15:34:11Z) [test] [validation.cpp:3069] [ConnectTip] [bench]   - Connect postprocess: 0.29ms [0.03s (0.17ms/blk)]
      22024-03-27T10:57:55.583990Z (mocktime: 2020-08-31T15:34:11Z) [test] [validation.cpp:3073] [ConnectTip] [bench] - Connect block: 1.59ms [0.16s (0.79ms/blk)]
      32024-03-27T10:57:55.584064Z (mocktime: 2020-08-31T15:34:11Z) [test] [txmempool.cpp:663] [check] [mempool] Checking mempool with 0 transactions and 0 inputs
      4==================
      5WARNING: ThreadSanitizer: data race (pid=35866)
      6  Read of size 4 at 0xff5dfa926368 by thread T4 (mutexes: write M0):
      7    [#0](/bitcoin-bitcoin/0/) std::__1::ios_base::flags[abi:ue170006]() const /usr/lib/llvm-17/bin/../include/c++/v1/ios:475:12 (test_bitcoin+0x28ccf4) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
      8    [#1](/bitcoin-bitcoin/1/) std::__1::basic_ostream<char, std::__1::char_traits<char>>& std::__1::__put_character_sequence[abi:ue170006]<char, std::__1::char_traits<char>>(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, char const*, unsigned long) /usr/lib/llvm-17/bin/../include/c++/v1/ostream:772:45 (test_bitcoin+0x28ccf4)
      9    [#2](/bitcoin-bitcoin/2/) std::__1::basic_ostream<char, std::__1::char_traits<char>>& std::__1::operator<<[abi:ue170006]<char, std::__1::char_traits<char>, std::__1::allocator<char>>(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) /usr/lib/llvm-17/bin/../include/c++/v1/ostream:1093:12 (test_bitcoin+0x247bc8) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     10    [#3](/bitcoin-bitcoin/3/) $_0::operator()(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) const src/test/main.cpp:26:15 (test_bitcoin+0x247bc8)
     11    [#4](/bitcoin-bitcoin/4/) decltype(std::declval<$_0&>()(std::declval<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&>())) std::__1::__invoke[abi:ue170006]<$_0&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&>($_0&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) /usr/lib/llvm-17/bin/../include/c++/v1/__type_traits/invoke.h:340:25 (test_bitcoin+0x247bc8)
     12    [#5](/bitcoin-bitcoin/5/) void std::__1::__invoke_void_return_wrapper<void, true>::__call[abi:ue170006]<$_0&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&>($_0&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) /usr/lib/llvm-17/bin/../include/c++/v1/__type_traits/invoke.h:415:5 (test_bitcoin+0x247bc8)
     13    [#6](/bitcoin-bitcoin/6/) std::__1::__function::__alloc_func<$_0, std::__1::allocator<$_0>, void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>::operator()[abi:ue170006](std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) /usr/lib/llvm-17/bin/../include/c++/v1/__functional/function.h:192:16 (test_bitcoin+0x247bc8)
     14    [#7](/bitcoin-bitcoin/7/) std::__1::__function::__func<$_0, std::__1::allocator<$_0>, void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>::operator()(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) /usr/lib/llvm-17/bin/../include/c++/v1/__functional/function.h:363:12 (test_bitcoin+0x247bc8)
     15    [#8](/bitcoin-bitcoin/8/) std::__1::__function::__value_func<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>::operator()[abi:ue170006](std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) const /usr/lib/llvm-17/bin/../include/c++/v1/__functional/function.h:517:16 (test_bitcoin+0x1307e4c) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     16    [#9](/bitcoin-bitcoin/9/) std::__1::function<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)>::operator()(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) const /usr/lib/llvm-17/bin/../include/c++/v1/__functional/function.h:1168:12 (test_bitcoin+0x1307e4c)
     17    [#10](/bitcoin-bitcoin/10/) BCLog::Logger::LogPrintStr(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int, BCLog::LogFlags, BCLog::Level) src/logging.cpp:451:9 (test_bitcoin+0x1307e4c)
     18    [#11](/bitcoin-bitcoin/11/) void LogPrintf_<std::__1::basic_string_view<char, std::__1::char_traits<char>>>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, int, BCLog::LogFlags, BCLog::Level, char const*, std::__1::basic_string_view<char, std::__1::char_traits<char>> const&) src/./logging.h:233:23 (test_bitcoin+0x132e694) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     19    [#12](/bitcoin-bitcoin/12/) util::TraceThread(std::__1::basic_string_view<char, std::__1::char_traits<char>>, std::__1::function<void ()>) src/util/thread.cpp:20:9 (test_bitcoin+0x132e3a0) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     20    [#13](/bitcoin-bitcoin/13/) decltype(std::declval<void (*)(std::__1::basic_string_view<char, std::__1::char_traits<char>>, std::__1::function<void ()>)>()(std::declval<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>(), std::declval<BaseIndex::StartBackgroundSync()::$_0>())) std::__1::__invoke[abi:ue170006]<void (*)(std::__1::basic_string_view<char, std::__1::char_traits<char>>, std::__1::function<void ()>), std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, BaseIndex::StartBackgroundSync()::$_0>(void (*&&)(std::__1::basic_string_view<char, std::__1::char_traits<char>>, std::__1::function<void ()>), std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>&&, BaseIndex::StartBackgroundSync()::$_0&&) /usr/lib/llvm-17/bin/../include/c++/v1/__type_traits/invoke.h:340:25 (test_bitcoin+0xe5c6d8) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     21    [#14](/bitcoin-bitcoin/14/) void std::__1::__thread_execute[abi:ue170006]<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void (*)(std::__1::basic_string_view<char, std::__1::char_traits<char>>, std::__1::function<void ()>), std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, BaseIndex::StartBackgroundSync()::$_0, 2ul, 3ul>(std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void (*)(std::__1::basic_string_view<char, std::__1::char_traits<char>>, std::__1::function<void ()>), std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, BaseIndex::StartBackgroundSync()::$_0>&, std::__1::__tuple_indices<2ul, 3ul>) /usr/lib/llvm-17/bin/../include/c++/v1/__thread/thread.h:221:5 (test_bitcoin+0xe5c6d8)
     22    [#15](/bitcoin-bitcoin/15/) void* std::__1::__thread_proxy[abi:ue170006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, void (*)(std::__1::basic_string_view<char, std::__1::char_traits<char>>, std::__1::function<void ()>), std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, BaseIndex::StartBackgroundSync()::$_0>>(void*) /usr/lib/llvm-17/bin/../include/c++/v1/__thread/thread.h:232:5 (test_bitcoin+0xe5c6d8)
     23
     24  Previous write of size 4 at 0xff5dfa926368 by main thread:
     25    [#0](/bitcoin-bitcoin/0/) std::__1::ios_base::flags[abi:ue170006](unsigned int) /usr/lib/llvm-17/bin/../include/c++/v1/ios:483:17 (test_bitcoin+0x21e264) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     26    [#1](/bitcoin-bitcoin/1/) boost::io::ios_base_all_saver::restore() /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/io/ios_state.hpp:383:17 (test_bitcoin+0x21e264)
     27    [#2](/bitcoin-bitcoin/2/) boost::unit_test::unit_test_log_t::operator<<(boost::unit_test::log::begin const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/unit_test_log.ipp:412:49 (test_bitcoin+0x21e264)
     28    [#3](/bitcoin-bitcoin/3/) boost::test_tools::tt_detail::report_assertion(boost::test_tools::assertion_result const&, boost::unit_test::lazy_ostream const&, boost::unit_test::basic_cstring<char const>, unsigned long, boost::test_tools::tt_detail::tool_level, boost::test_tools::tt_detail::check_type, unsigned long, ...) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/test_tools.ipp:380:19 (test_bitcoin+0x22ae74) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     29    [#4](/bitcoin-bitcoin/4/) coinstatsindex_tests::coinstatsindex_unclean_shutdown::test_method() src/test/coinstatsindex_tests.cpp:88:9 (test_bitcoin+0x467ecc) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     30    [#5](/bitcoin-bitcoin/5/) coinstatsindex_tests::coinstatsindex_unclean_shutdown_invoker() src/test/coinstatsindex_tests.cpp:81:1 (test_bitcoin+0x467454) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     31    [#6](/bitcoin-bitcoin/6/) boost::detail::function::void_function_invoker0<void (*)(), void>::invoke(boost::detail::function::function_buffer&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:117:11 (test_bitcoin+0x310784) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     32    [#7](/bitcoin-bitcoin/7/) boost::function0<void>::operator()() const /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:763:14 (test_bitcoin+0x29480c) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     33    [#8](/bitcoin-bitcoin/8/) boost::detail::forward::operator()() /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:1388:32 (test_bitcoin+0x29480c)
     34    [#9](/bitcoin-bitcoin/9/) boost::detail::function::function_obj_invoker0<boost::detail::forward, int>::invoke(boost::detail::function::function_buffer&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:137:18 (test_bitcoin+0x29480c)
     35    [#10](/bitcoin-bitcoin/10/) boost::function0<int>::operator()() const /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:763:14 (test_bitcoin+0x2244dc) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     36    [#11](/bitcoin-bitcoin/11/) int boost::detail::do_invoke<boost::shared_ptr<boost::detail::translator_holder_base>, boost::function<int ()>>(boost::shared_ptr<boost::detail::translator_holder_base> const&, boost::function<int ()> const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:301:30 (test_bitcoin+0x2244dc)
     37    [#12](/bitcoin-bitcoin/12/) boost::execution_monitor::catch_signals(boost::function<int ()> const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:903:16 (test_bitcoin+0x2244dc)
     38    [#13](/bitcoin-bitcoin/13/) boost::execution_monitor::execute(boost::function<int ()> const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:1301:16 (test_bitcoin+0x2247dc) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     39    [#14](/bitcoin-bitcoin/14/) boost::execution_monitor::vexecute(boost::function<void ()> const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:1397:5 (test_bitcoin+0x21df54) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     40    [#15](/bitcoin-bitcoin/15/) boost::unit_test::unit_test_monitor_t::execute_and_translate(boost::function<void ()> const&, unsigned long) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/unit_test_monitor.ipp:49:9 (test_bitcoin+0x21df54)
     41    [#16](/bitcoin-bitcoin/16/) boost::unit_test::framework::state::execute_test_tree(unsigned long, unsigned long, boost::unit_test::framework::state::random_generator_helper const*) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/framework.ipp:815:44 (test_bitcoin+0x24e860) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     42    [#17](/bitcoin-bitcoin/17/) boost::unit_test::framework::state::execute_test_tree(unsigned long, unsigned long, boost::unit_test::framework::state::random_generator_helper const*) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/framework.ipp:784:58 (test_bitcoin+0x24eed8) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     43    [#18](/bitcoin-bitcoin/18/) boost::unit_test::framework::state::execute_test_tree(unsigned long, unsigned long, boost::unit_test::framework::state::random_generator_helper const*) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/framework.ipp:784:58 (test_bitcoin+0x24eed8) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     44    [#19](/bitcoin-bitcoin/19/) boost::unit_test::framework::run(unsigned long, bool) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/framework.ipp:1722:29 (test_bitcoin+0x21cf24) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     45    [#20](/bitcoin-bitcoin/20/) boost::unit_test::unit_test_main(boost::unit_test::test_suite* (*)(int, char**), int, char**) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/unit_test_main.ipp:250:9 (test_bitcoin+0x237520) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     46    [#21](/bitcoin-bitcoin/21/) main /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/unit_test_main.ipp:306:12 (test_bitcoin+0x237ad0) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     47
     48  Location is global 'std::__1::cout' of size 160 at 0xff5dfa926358 (libc++.so.1+0x116368)
     49
     50  Mutex M0 (0xff5df2e030c0) created at:
     51    [#0](/bitcoin-bitcoin/0/) pthread_mutex_lock <null> (test_bitcoin+0x1786a8) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     52    [#1](/bitcoin-bitcoin/1/) std::__1::mutex::lock() <null> (libc++.so.1+0x517f8) (BuildId: ffe23b881fe5b28d5e89993f80d2cd44feb10104)
     53    [#2](/bitcoin-bitcoin/2/) SeedInsecureRand(SeedRand) src/./test/util/random.h:41:9 (test_bitcoin+0xbb1534) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     54    [#3](/bitcoin-bitcoin/3/) BasicTestingSetup::BasicTestingSetup(ChainType, std::__1::vector<char const*, std::__1::allocator<char const*>> const&) src/test/util/setup_common.cpp:184:5 (test_bitcoin+0xbb1534)
     55    [#4](/bitcoin-bitcoin/4/) ChainTestingSetup::ChainTestingSetup(ChainType, std::__1::vector<char const*, std::__1::allocator<char const*>> const&) src/test/util/setup_common.cpp:221:7 (test_bitcoin+0xbb2360) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     56    [#5](/bitcoin-bitcoin/5/) TestingSetup::TestingSetup(ChainType, std::__1::vector<char const*, std::__1::allocator<char const*>> const&, bool, bool) src/test/util/setup_common.cpp:304:7 (test_bitcoin+0xbb3420) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     57    [#6](/bitcoin-bitcoin/6/) TestChain100Setup::TestChain100Setup(ChainType, std::__1::vector<char const*, std::__1::allocator<char const*>> const&, bool, bool) src/test/util/setup_common.cpp:339:7 (test_bitcoin+0xbb3a5c) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     58    [#7](/bitcoin-bitcoin/7/) coinstatsindex_tests::coinstatsindex_unclean_shutdown::coinstatsindex_unclean_shutdown() src/test/coinstatsindex_tests.cpp:81:1 (test_bitcoin+0x466e48) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     59    [#8](/bitcoin-bitcoin/8/) coinstatsindex_tests::coinstatsindex_unclean_shutdown_invoker() src/test/coinstatsindex_tests.cpp:81:1 (test_bitcoin+0x466e48)
     60    [#9](/bitcoin-bitcoin/9/) boost::detail::function::void_function_invoker0<void (*)(), void>::invoke(boost::detail::function::function_buffer&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:117:11 (test_bitcoin+0x310784) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     61    [#10](/bitcoin-bitcoin/10/) boost::function0<void>::operator()() const /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:763:14 (test_bitcoin+0x29480c) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     62    [#11](/bitcoin-bitcoin/11/) boost::detail::forward::operator()() /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:1388:32 (test_bitcoin+0x29480c)
     63    [#12](/bitcoin-bitcoin/12/) boost::detail::function::function_obj_invoker0<boost::detail::forward, int>::invoke(boost::detail::function::function_buffer&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:137:18 (test_bitcoin+0x29480c)
     64    [#13](/bitcoin-bitcoin/13/) boost::function0<int>::operator()() const /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:763:14 (test_bitcoin+0x2244dc) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     65    [#14](/bitcoin-bitcoin/14/) int boost::detail::do_invoke<boost::shared_ptr<boost::detail::translator_holder_base>, boost::function<int ()>>(boost::shared_ptr<boost::detail::translator_holder_base> const&, boost::function<int ()> const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:301:30 (test_bitcoin+0x2244dc)
     66    [#15](/bitcoin-bitcoin/15/) boost::execution_monitor::catch_signals(boost::function<int ()> const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:903:16 (test_bitcoin+0x2244dc)
     67    [#16](/bitcoin-bitcoin/16/) boost::execution_monitor::execute(boost::function<int ()> const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:1301:16 (test_bitcoin+0x2247dc) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     68    [#17](/bitcoin-bitcoin/17/) boost::execution_monitor::vexecute(boost::function<void ()> const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:1397:5 (test_bitcoin+0x21df54) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     69    [#18](/bitcoin-bitcoin/18/) boost::unit_test::unit_test_monitor_t::execute_and_translate(boost::function<void ()> const&, unsigned long) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/unit_test_monitor.ipp:49:9 (test_bitcoin+0x21df54)
     70    [#19](/bitcoin-bitcoin/19/) boost::unit_test::framework::state::execute_test_tree(unsigned long, unsigned long, boost::unit_test::framework::state::random_generator_helper const*) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/framework.ipp:815:44 (test_bitcoin+0x24e860) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     71    [#20](/bitcoin-bitcoin/20/) boost::unit_test::framework::state::execute_test_tree(unsigned long, unsigned long, boost::unit_test::framework::state::random_generator_helper const*) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/framework.ipp:784:58 (test_bitcoin+0x24eed8) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     72    [#21](/bitcoin-bitcoin/21/) boost::unit_test::framework::state::execute_test_tree(unsigned long, unsigned long, boost::unit_test::framework::state::random_generator_helper const*) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/framework.ipp:784:58 (test_bitcoin+0x24eed8) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     73    [#22](/bitcoin-bitcoin/22/) boost::unit_test::framework::run(unsigned long, bool) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/framework.ipp:1722:29 (test_bitcoin+0x21cf24) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     74    [#23](/bitcoin-bitcoin/23/) boost::unit_test::unit_test_main(boost::unit_test::test_suite* (*)(int, char**), int, char**) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/unit_test_main.ipp:250:9 (test_bitcoin+0x237520) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     75    [#24](/bitcoin-bitcoin/24/) main /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/unit_test_main.ipp:306:12 (test_bitcoin+0x237ad0) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     76
     77  Thread T4 'b-coinstatsinde' (tid=35873, running) created by main thread at:
     78    [#0](/bitcoin-bitcoin/0/) pthread_create <null> (test_bitcoin+0x1766c8) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     79    [#1](/bitcoin-bitcoin/1/) std::__1::__libcpp_thread_create[abi:ue170006](unsigned long*, void* (*)(void*), void*) /usr/lib/llvm-17/bin/../include/c++/v1/__threading_support:371:10 (test_bitcoin+0xe5c2cc) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     80    [#2](/bitcoin-bitcoin/2/) std::__1::thread::thread<void (*)(std::__1::basic_string_view<char, std::__1::char_traits<char>>, std::__1::function<void ()>), std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, BaseIndex::StartBackgroundSync()::$_0, void>(void (*&&)(std::__1::basic_string_view<char, std::__1::char_traits<char>>, std::__1::function<void ()>), std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, BaseIndex::StartBackgroundSync()::$_0&&) /usr/lib/llvm-17/bin/../include/c++/v1/__thread/thread.h:248:16 (test_bitcoin+0xe5c2cc)
     81    [#3](/bitcoin-bitcoin/3/) BaseIndex::StartBackgroundSync() src/index/base.cpp:394:21 (test_bitcoin+0xe5c2cc)
     82    [#4](/bitcoin-bitcoin/4/) coinstatsindex_tests::coinstatsindex_unclean_shutdown::test_method() src/test/coinstatsindex_tests.cpp:88:9 (test_bitcoin+0x467e40) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     83    [#5](/bitcoin-bitcoin/5/) coinstatsindex_tests::coinstatsindex_unclean_shutdown_invoker() src/test/coinstatsindex_tests.cpp:81:1 (test_bitcoin+0x467454) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     84    [#6](/bitcoin-bitcoin/6/) boost::detail::function::void_function_invoker0<void (*)(), void>::invoke(boost::detail::function::function_buffer&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:117:11 (test_bitcoin+0x310784) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     85    [#7](/bitcoin-bitcoin/7/) boost::function0<void>::operator()() const /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:763:14 (test_bitcoin+0x29480c) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     86    [#8](/bitcoin-bitcoin/8/) boost::detail::forward::operator()() /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:1388:32 (test_bitcoin+0x29480c)
     87    [#9](/bitcoin-bitcoin/9/) boost::detail::function::function_obj_invoker0<boost::detail::forward, int>::invoke(boost::detail::function::function_buffer&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:137:18 (test_bitcoin+0x29480c)
     88    [#10](/bitcoin-bitcoin/10/) boost::function0<int>::operator()() const /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/function/function_template.hpp:763:14 (test_bitcoin+0x2244dc) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     89    [#11](/bitcoin-bitcoin/11/) int boost::detail::do_invoke<boost::shared_ptr<boost::detail::translator_holder_base>, boost::function<int ()>>(boost::shared_ptr<boost::detail::translator_holder_base> const&, boost::function<int ()> const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:301:30 (test_bitcoin+0x2244dc)
     90    [#12](/bitcoin-bitcoin/12/) boost::execution_monitor::catch_signals(boost::function<int ()> const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:903:16 (test_bitcoin+0x2244dc)
     91    [#13](/bitcoin-bitcoin/13/) boost::execution_monitor::execute(boost::function<int ()> const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:1301:16 (test_bitcoin+0x2247dc) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     92    [#14](/bitcoin-bitcoin/14/) boost::execution_monitor::vexecute(boost::function<void ()> const&) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/execution_monitor.ipp:1397:5 (test_bitcoin+0x21df54) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     93    [#15](/bitcoin-bitcoin/15/) boost::unit_test::unit_test_monitor_t::execute_and_translate(boost::function<void ()> const&, unsigned long) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/unit_test_monitor.ipp:49:9 (test_bitcoin+0x21df54)
     94    [#16](/bitcoin-bitcoin/16/) boost::unit_test::framework::state::execute_test_tree(unsigned long, unsigned long, boost::unit_test::framework::state::random_generator_helper const*) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/framework.ipp:815:44 (test_bitcoin+0x24e860) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     95    [#17](/bitcoin-bitcoin/17/) boost::unit_test::framework::state::execute_test_tree(unsigned long, unsigned long, boost::unit_test::framework::state::random_generator_helper const*) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/framework.ipp:784:58 (test_bitcoin+0x24eed8) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     96    [#18](/bitcoin-bitcoin/18/) boost::unit_test::framework::state::execute_test_tree(unsigned long, unsigned long, boost::unit_test::framework::state::random_generator_helper const*) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/framework.ipp:784:58 (test_bitcoin+0x24eed8) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     97    [#19](/bitcoin-bitcoin/19/) boost::unit_test::framework::run(unsigned long, bool) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/framework.ipp:1722:29 (test_bitcoin+0x21cf24) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     98    [#20](/bitcoin-bitcoin/20/) boost::unit_test::unit_test_main(boost::unit_test::test_suite* (*)(int, char**), int, char**) /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/unit_test_main.ipp:250:9 (test_bitcoin+0x237520) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
     99    [#21](/bitcoin-bitcoin/21/) main /ci_container_base/depends/aarch64-unknown-linux-gnu/include/boost/test/impl/unit_test_main.ipp:306:12 (test_bitcoin+0x237ad0) (BuildId: f34e9dc99b9cee8e5287ddca9018e74b31bb4330)
    100
    101SUMMARY: ThreadSanitizer: data race /usr/lib/llvm-17/bin/../include/c++/v1/ios:475:12 in std::__1::ios_base::flags[abi:ue170006]() const
    102==================
    103make[3]: *** [Makefile:23057: test/coinstatsindex_tests.cpp.test] Error 1
    104make[3]: Leaving directory '/ci_container_base/ci/scratch/build/bitcoin-aarch64-unknown-linux-gnu/src'
    105make[2]: *** [Makefile:20957: check-am] Error 2
    106make[2]: Leaving directory '/ci_container_base/ci/scratch/build/bitcoin-aarch64-unknown-linux-gnu/src'
    107make[1]: *** [Makefile:20622: check-recursive] Error 1
    108make[1]: Leaving directory '/ci_container_base/ci/scratch/build/bitcoin-aarch64-unknown-linux-gnu/src'
    109make: *** [Makefile:813: check-recursive] Error 1
    110
    111real	28m38.282s
    112user	0m30.357s
    113sys	0m29.373s
    
  9. fanquake merged this on Mar 27, 2024
  10. fanquake closed this on Mar 27, 2024

  11. maflcko deleted the branch on Mar 27, 2024
  12. fanquake referenced this in commit bde54b7627 on Apr 3, 2024
  13. fanquake commented at 9:04 am on April 3, 2024: member
    Pulled this into 27.x in #29780.

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-22 12:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me