CI: disable TSAN temporarily
Either this is a rather grave bug in sysrepo, or a TSAN false positive.
I talked with Michal Vasko from sysrepo upstream, and he's pretty sure
that this means that TSAN flags a memory access which happened after the
SHM segment got already remapped.
Considering that sysrepo has a significant number of changes in locking,
and that these will break the current versions of TSAN due to the new
usage of pthread_mutex_clocklock() (which we might blacklist or extend
TSAN to instrument of course), let's not block the CI with this for now.
WARNING: ThreadSanitizer: data race (pid=18592)
Atomic write of size 8 at 0x7f8726e030b0 by thread T8 (mutexes: write M2510, write M2511, write M2865):
#0 __tsan_atomic64_store <null> (test-sysrepo_system-firmware+0x4d48d9)
#1 sr_shmsub_multi_notify_write_event /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo/src/shm_sub.c:826:5 (libsysrepo.so.7+0x624e2)
#2 sr_shmsub_notif_notify /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo/src/shm_sub.c:2597:21 (libsysrepo.so.7+0x67783)
#3 sr_notif_send_tree /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo/src/sysrepo.c:6311:20 (libsysrepo.so.7+0x1cb99)
#4 sysrepo::Session::sendNotification(libyang::DataNode, sysrepo::Wait, std::chrono::duration<long, std::ratio<1l, 1000l> >) /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo-cpp/src/Session.cpp:280:16 (libsysrepo-cpp.so+0xcd2d)
#5 velia::system::Firmware::Firmware(sysrepo::Connection, sdbus::IConnection&, sdbus::IConnection&)::$_4::operator()(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const /home/ci/src/cesnet-gerrit-public/CzechLight/velia/src/system/Firmware.cpp:47:21 (test-sysrepo_system-firmware+0x55f8e3)
#6 void std::__invoke_impl<void, velia::system::Firmware::Firmware(sysrepo::Connection, sdbus::IConnection&, sdbus::IConnection&)::$_4&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(std::__invoke_other, velia::system::Firmware::Firmware(sysrepo::Connection, sdbus::IConnection&, sdbus::IConnection&)::$_4&, int&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/invoke.h:61:14 (test-sysrepo_system-firmware+0x55f8e3)
#7 std::enable_if<is_invocable_r_v<void, velia::system::Firmware::Firmware(sysrepo::Connection, sdbus::IConnection&, sdbus::IConnection&)::$_4&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>, void>::type std::__invoke_r<void, velia::system::Firmware::Firmware(sysrepo::Connection, sdbus::IConnection&, sdbus::IConnection&)::$_4&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(velia::system::Firmware::Firmware(sysrepo::Connection, sdbus::IConnection&, sdbus::IConnection&)::$_4&, int&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/invoke.h:111:2 (test-sysrepo_system-firmware+0x55f8e3)
#8 std::_Function_handler<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), velia::system::Firmware::Firmware(sysrepo::Connection, sdbus::IConnection&, sdbus::IConnection&)::$_4>::_M_invoke(std::_Any_data const&, int&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_function.h:291:9 (test-sysrepo_system-firmware+0x55f8e3)
#9 std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>::operator()(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_function.h:560:9 (test-sysrepo_system-firmware+0x589897)
#10 velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, sdbus::Variant, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, sdbus::Variant> > > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) const /home/ci/src/cesnet-gerrit-public/CzechLight/velia/src/system/RAUC.cpp:71:13 (test-sysrepo_system-firmware+0x589897)
#11 decltype(auto) sdbus::detail::apply_impl<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1 const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, sdbus::Variant, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, sdbus::Variant> > >, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, 0ul, 1ul, 2ul>(velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1 const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, sdbus::Variant, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, sdbus::Variant> > >, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, std::integer_sequence<unsigned long, 0ul, 1ul, 2ul>) /home/ci/target/include/sdbus-c++/TypeTraits.h:549:24 (test-sysrepo_system-firmware+0x589897)
#12 decltype(auto) sdbus::apply<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1 const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, sdbus::Variant, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, sdbus::Variant> > >, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&>(velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1 const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, sdbus::Variant, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, sdbus::Variant> > >, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&) /home/ci/target/include/sdbus-c++/TypeTraits.h:558:16 (test-sysrepo_system-firmware+0x589897)
#13 void sdbus::SignalSubscriber::call<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1>(velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1&&)::'lambda'(sdbus::Signal&)::operator()(sdbus::Signal&) const /home/ci/target/include/sdbus-c++/ConvenienceApiClasses.inl:669:17 (test-sysrepo_system-firmware+0x589897)
#14 velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1 std::__invoke_impl<void, void sdbus::SignalSubscriber::call<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1>(velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1&&)::'lambda'(sdbus::Signal&)&, sdbus::Signal&>(std::__invoke_other, void sdbus::SignalSubscriber::call<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1>(velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1&&)::'lambda'(sdbus::Signal&)&, sdbus::Signal&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/invoke.h:61:14 (test-sysrepo_system-firmware+0x589897)
#15 std::enable_if<is_invocable_r_v<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1, void sdbus::SignalSubscriber::call<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1>(velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1&&)::'lambda'(sdbus::Signal&)&, sdbus::Signal&>, velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1>::type std::__invoke_r<void, void sdbus::SignalSubscriber::call<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1>(velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1&&)::'lambda'(sdbus::Signal&)&, sdbus::Signal&>(void sdbus::SignalSubscriber::call<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1>(velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1&&)::'lambda'(sdbus::Signal&)&, sdbus::Signal&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/invoke.h:111:2 (test-sysrepo_system-firmware+0x589897)
#16 std::_Function_handler<void (sdbus::Signal&), void sdbus::SignalSubscriber::call<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1>(velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1&&)::'lambda'(sdbus::Signal&)>::_M_invoke(std::_Any_data const&, sdbus::Signal&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_function.h:291:9 (test-sysrepo_system-firmware+0x589897)
#17 std::function<void (sdbus::Signal&)>::operator()(sdbus::Signal&) const /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_function.h:560:9 (libsdbus-c++.so.1+0x2a3d2)
#18 sdbus::internal::Proxy::sdbus_signal_handler(sd_bus_message*, void*, sd_bus_error*) /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sdbus-cpp/src/Proxy.cpp:280:9 (libsdbus-c++.so.1+0x2a3d2)
#19 <null> <null> (libsystemd.so.0+0x257cf)
#20 sdbus::internal::Connection::processPendingRequest() /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sdbus-cpp/src/Connection.cpp:396:21 (libsdbus-c++.so.1+0x143b4)
#21 sdbus::internal::Connection::enterEventLoop() /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sdbus-cpp/src/Connection.cpp:101:26 (libsdbus-c++.so.1+0x142d7)
#22 sdbus::internal::Connection::enterEventLoopAsync()::$_5::operator()() const /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sdbus-cpp/src/Connection.cpp:114:50 (libsdbus-c++.so.1+0x181f3)
#23 void std::__invoke_impl<void, sdbus::internal::Connection::enterEventLoopAsync()::$_5>(std::__invoke_other, sdbus::internal::Connection::enterEventLoopAsync()::$_5&&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/invoke.h:61:14 (libsdbus-c++.so.1+0x181f3)
#24 std::__invoke_result<sdbus::internal::Connection::enterEventLoopAsync()::$_5>::type std::__invoke<sdbus::internal::Connection::enterEventLoopAsync()::$_5>(sdbus::internal::Connection::enterEventLoopAsync()::$_5&&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/invoke.h:96:14 (libsdbus-c++.so.1+0x181f3)
#25 void std::thread::_Invoker<std::tuple<sdbus::internal::Connection::enterEventLoopAsync()::$_5> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_thread.h:253:13 (libsdbus-c++.so.1+0x181f3)
#26 std::thread::_Invoker<std::tuple<sdbus::internal::Connection::enterEventLoopAsync()::$_5> >::operator()() /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_thread.h:260:11 (libsdbus-c++.so.1+0x181f3)
#27 std::thread::_State_impl<std::thread::_Invoker<std::tuple<sdbus::internal::Connection::enterEventLoopAsync()::$_5> > >::_M_run() /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_thread.h:211:13 (libsdbus-c++.so.1+0x181f3)
#28 execute_native_thread_routine /usr/src/debug/gcc-11.1.1-1.fc34.x86_64/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/src/c++11/../../../../../libstdc++-v3/src/c++11/thread.cc:82:18 (libstdc++.so.6+0xd9c83)
Previous read of size 1 at 0x7f8726e030b7 by main thread (mutexes: write M788833103187546112):
#0 memcpy <null> (test-sysrepo_system-firmware+0x4ba316)
#1 ly_in_read /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libyang/src/in.c:311:9 (libyang.so.2+0x95c1d)
#2 lyb_read /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libyang/src/parser_lyb.c:133:17 (libyang.so.2+0x4b188)
#3 lyb_read_number /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libyang/src/parser_lyb.c:170:5 (libyang.so.2+0x4d290)
#4 lyb_read_term_value /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libyang/src/parser_lyb.c:269:9 (libyang.so.2+0x4d290)
#5 lyb_create_term /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libyang/src/parser_lyb.c:1050:11 (libyang.so.2+0x4d290)
#6 lyb_parse_node_leaf /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libyang/src/parser_lyb.c:1347:11 (libyang.so.2+0x4d290)
#7 lyb_parse_node /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libyang/src/parser_lyb.c:1509:15 (libyang.so.2+0x4a69b)
#8 lyb_parse_siblings /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libyang/src/parser_lyb.c:1539:9 (libyang.so.2+0x4a69b)
#9 lyb_parse_node_list /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libyang/src/parser_lyb.c:1426:15 (libyang.so.2+0x4cecc)
#10 lyb_parse_node /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libyang/src/parser_lyb.c:1503:15 (libyang.so.2+0x4a241)
#11 lyb_parse_siblings /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libyang/src/parser_lyb.c:1539:9 (libyang.so.2+0x4a241)
#12 lyb_parse_node_inner /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libyang/src/parser_lyb.c:1300:11 (libyang.so.2+0x4a4c9)
#13 lyb_parse_node /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libyang/src/parser_lyb.c:1507:15 (libyang.so.2+0x4a4c9)
#14 lyb_parse_siblings /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libyang/src/parser_lyb.c:1539:9 (libyang.so.2+0x4a4c9)
#15 lyd_parse_lyb /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libyang/src/parser_lyb.c:1684:10 (libyang.so.2+0x49c70)
#16 lyd_parse /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libyang/src/tree_data.c:132:14 (libyang.so.2+0x286e2)
#17 lyd_parse_data /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libyang/src/tree_data.c:204:12 (libyang.so.2+0x28966)
#18 lyd_parse_data_mem /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libyang/src/tree_data.c:215:11 (libyang.so.2+0x28a28)
#19 sr_shmsub_oper_get_notify_single /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo/src/shm_sub.c:1884:9 (libsysrepo.so.7+0x65bfd)
#20 sr_shmsub_oper_get_notify /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo/src/shm_sub.c:2080:20 (libsysrepo.so.7+0x65bfd)
#21 sr_xpath_oper_data_get /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo/src/modinfo.c:824:21 (libsysrepo.so.7+0x40416)
#22 sr_module_oper_data_update /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo/src/modinfo.c:1053:33 (libsysrepo.so.7+0x3af17)
#23 sr_modinfo_module_data_load /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo/src/modinfo.c:2136:25 (libsysrepo.so.7+0x3af17)
#24 sr_modinfo_data_load /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo/src/modinfo.c:2417:29 (libsysrepo.so.7+0x3af17)
#25 sr_modinfo_consolidate /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo/src/modinfo.c:2517:25 (libsysrepo.so.7+0x38009)
#26 sr_get_data /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo/src/sysrepo.c:2807:21 (libsysrepo.so.7+0x1271d)
#27 sysrepo::Session::getData(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo-cpp/src/Session.cpp:180:16 (libsysrepo-cpp.so+0xbcb9)
#28 dataFromSysrepo(sysrepo::Session const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/ci/src/cesnet-gerrit-public/CzechLight/velia/tests/test_sysrepo_helpers.h:20:25 (test-sysrepo_system-firmware+0x4fe3c4)
#29 dataFromSysrepo(sysrepo::Session, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, sysrepo::Datastore) /home/ci/src/cesnet-gerrit-public/CzechLight/velia/tests/test_sysrepo_helpers.h:66:16 (test-sysrepo_system-firmware+0x50b34e)
#30 DOCTEST_ANON_FUNC_4() /home/ci/src/cesnet-gerrit-public/CzechLight/velia/tests/sysrepo_system-firmware.cpp:201:13 (test-sysrepo_system-firmware+0x50b34e)
#31 doctest::Context::run() /home/ci/target/include/doctest/doctest.h:6510:21 (test-sysrepo_system-firmware+0x53a4e5)
#32 main /home/ci/target/include/doctest/doctest.h:6595:71 (test-sysrepo_system-firmware+0x53c0af)
Location is global '??' at 0x7f8726e03000 (velia_test_sysrepo_system-firmwaresub_czechlight-system.notif+0x0000000000b0)
Mutex M2510 (0x7b2000002b50) created at:
#0 pthread_mutex_lock <null> (test-sysrepo_system-firmware+0x4a1fdb)
#1 __gthread_mutex_lock(pthread_mutex_t*) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/x86_64-redhat-linux/bits/gthr-default.h:749:12 (libsdbus-c++.so.1+0x142c4)
#2 std::mutex::lock() /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_mutex.h:100:17 (libsdbus-c++.so.1+0x142c4)
#3 std::lock_guard<std::mutex>::lock_guard(std::mutex&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_mutex.h:229:19 (libsdbus-c++.so.1+0x142c4)
#4 sdbus::internal::Connection::enterEventLoop() /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sdbus-cpp/src/Connection.cpp:97:21 (libsdbus-c++.so.1+0x142c4)
#5 sdbus::internal::Connection::enterEventLoopAsync()::$_5::operator()() const /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sdbus-cpp/src/Connection.cpp:114:50 (libsdbus-c++.so.1+0x181f3)
#6 void std::__invoke_impl<void, sdbus::internal::Connection::enterEventLoopAsync()::$_5>(std::__invoke_other, sdbus::internal::Connection::enterEventLoopAsync()::$_5&&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/invoke.h:61:14 (libsdbus-c++.so.1+0x181f3)
#7 std::__invoke_result<sdbus::internal::Connection::enterEventLoopAsync()::$_5>::type std::__invoke<sdbus::internal::Connection::enterEventLoopAsync()::$_5>(sdbus::internal::Connection::enterEventLoopAsync()::$_5&&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/invoke.h:96:14 (libsdbus-c++.so.1+0x181f3)
#8 void std::thread::_Invoker<std::tuple<sdbus::internal::Connection::enterEventLoopAsync()::$_5> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_thread.h:253:13 (libsdbus-c++.so.1+0x181f3)
#9 std::thread::_Invoker<std::tuple<sdbus::internal::Connection::enterEventLoopAsync()::$_5> >::operator()() /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_thread.h:260:11 (libsdbus-c++.so.1+0x181f3)
#10 std::thread::_State_impl<std::thread::_Invoker<std::tuple<sdbus::internal::Connection::enterEventLoopAsync()::$_5> > >::_M_run() /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_thread.h:211:13 (libsdbus-c++.so.1+0x181f3)
#11 execute_native_thread_routine /usr/src/debug/gcc-11.1.1-1.fc34.x86_64/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/src/c++11/../../../../../libstdc++-v3/src/c++11/thread.cc:82:18 (libstdc++.so.6+0xd9c83)
Mutex M2511 (0x7b0c00002318) created at:
#0 pthread_mutex_lock <null> (test-sysrepo_system-firmware+0x4a1fdb)
#1 __gthread_mutex_lock(pthread_mutex_t*) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/x86_64-redhat-linux/bits/gthr-default.h:749:12 (libsdbus-c++.so.1+0x30851)
#2 __gthread_recursive_mutex_lock(pthread_mutex_t*) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/x86_64-redhat-linux/bits/gthr-default.h:811:10 (libsdbus-c++.so.1+0x30851)
#3 std::recursive_mutex::lock() /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/mutex:108:17 (libsdbus-c++.so.1+0x30851)
#4 std::lock_guard<std::recursive_mutex>::lock_guard(std::recursive_mutex&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_mutex.h:229:19 (libsdbus-c++.so.1+0x30851)
#5 sdbus::internal::SdBus::sd_bus_process(sd_bus*, sd_bus_message**) /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sdbus-cpp/src/SdBus.cpp:234:21 (libsdbus-c++.so.1+0x30851)
#6 sdbus::internal::Connection::processPendingRequest() /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sdbus-cpp/src/Connection.cpp:396:21 (libsdbus-c++.so.1+0x143b4)
#7 sdbus::internal::Connection::enterEventLoop() /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sdbus-cpp/src/Connection.cpp:101:26 (libsdbus-c++.so.1+0x142d7)
#8 sdbus::internal::Connection::enterEventLoopAsync()::$_5::operator()() const /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sdbus-cpp/src/Connection.cpp:114:50 (libsdbus-c++.so.1+0x181f3)
#9 void std::__invoke_impl<void, sdbus::internal::Connection::enterEventLoopAsync()::$_5>(std::__invoke_other, sdbus::internal::Connection::enterEventLoopAsync()::$_5&&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/invoke.h:61:14 (libsdbus-c++.so.1+0x181f3)
#10 std::__invoke_result<sdbus::internal::Connection::enterEventLoopAsync()::$_5>::type std::__invoke<sdbus::internal::Connection::enterEventLoopAsync()::$_5>(sdbus::internal::Connection::enterEventLoopAsync()::$_5&&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/invoke.h:96:14 (libsdbus-c++.so.1+0x181f3)
#11 void std::thread::_Invoker<std::tuple<sdbus::internal::Connection::enterEventLoopAsync()::$_5> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_thread.h:253:13 (libsdbus-c++.so.1+0x181f3)
#12 std::thread::_Invoker<std::tuple<sdbus::internal::Connection::enterEventLoopAsync()::$_5> >::operator()() /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_thread.h:260:11 (libsdbus-c++.so.1+0x181f3)
#13 std::thread::_State_impl<std::thread::_Invoker<std::tuple<sdbus::internal::Connection::enterEventLoopAsync()::$_5> > >::_M_run() /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_thread.h:211:13 (libsdbus-c++.so.1+0x181f3)
#14 execute_native_thread_routine /usr/src/debug/gcc-11.1.1-1.fc34.x86_64/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/src/c++11/../../../../../libstdc++-v3/src/c++11/thread.cc:82:18 (libstdc++.so.6+0xd9c83)
Mutex M2865 (0x7f8726e03000) created at:
#0 pthread_mutex_timedlock <null> (test-sysrepo_system-firmware+0x4898ee)
#1 _sr_rwlock /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo/src/common.c:4385:15 (libsysrepo.so.7+0x2cb36)
#2 sr_rwlock /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo/src/common.c:4565:12 (libsysrepo.so.7+0x23ad4)
#3 sr_shmsub_notify_new_wrlock /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo/src/shm_sub.c:299:21 (libsysrepo.so.7+0x61e5c)
#4 sr_shmsub_notif_notify /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo/src/shm_sub.c:2586:21 (libsysrepo.so.7+0x6769c)
#5 sr_notif_send_tree /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo/src/sysrepo.c:6311:20 (libsysrepo.so.7+0x1cb99)
#6 sysrepo::Session::sendNotification(libyang::DataNode, sysrepo::Wait, std::chrono::duration<long, std::ratio<1l, 1000l> >) /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sysrepo-cpp/src/Session.cpp:280:16 (libsysrepo-cpp.so+0xcd2d)
#7 velia::system::Firmware::Firmware(sysrepo::Connection, sdbus::IConnection&, sdbus::IConnection&)::$_4::operator()(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const /home/ci/src/cesnet-gerrit-public/CzechLight/velia/src/system/Firmware.cpp:47:21 (test-sysrepo_system-firmware+0x55f8e3)
#8 void std::__invoke_impl<void, velia::system::Firmware::Firmware(sysrepo::Connection, sdbus::IConnection&, sdbus::IConnection&)::$_4&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(std::__invoke_other, velia::system::Firmware::Firmware(sysrepo::Connection, sdbus::IConnection&, sdbus::IConnection&)::$_4&, int&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/invoke.h:61:14 (test-sysrepo_system-firmware+0x55f8e3)
#9 std::enable_if<is_invocable_r_v<void, velia::system::Firmware::Firmware(sysrepo::Connection, sdbus::IConnection&, sdbus::IConnection&)::$_4&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>, void>::type std::__invoke_r<void, velia::system::Firmware::Firmware(sysrepo::Connection, sdbus::IConnection&, sdbus::IConnection&)::$_4&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&>(velia::system::Firmware::Firmware(sysrepo::Connection, sdbus::IConnection&, sdbus::IConnection&)::$_4&, int&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/invoke.h:111:2 (test-sysrepo_system-firmware+0x55f8e3)
#10 std::_Function_handler<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), velia::system::Firmware::Firmware(sysrepo::Connection, sdbus::IConnection&, sdbus::IConnection&)::$_4>::_M_invoke(std::_Any_data const&, int&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_function.h:291:9 (test-sysrepo_system-firmware+0x55f8e3)
#11 std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>::operator()(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_function.h:560:9 (test-sysrepo_system-firmware+0x589897)
#12 velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, sdbus::Variant, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, sdbus::Variant> > > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) const /home/ci/src/cesnet-gerrit-public/CzechLight/velia/src/system/RAUC.cpp:71:13 (test-sysrepo_system-firmware+0x589897)
#13 decltype(auto) sdbus::detail::apply_impl<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1 const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, sdbus::Variant, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, sdbus::Variant> > >, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, 0ul, 1ul, 2ul>(velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1 const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, sdbus::Variant, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, sdbus::Variant> > >, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, std::integer_sequence<unsigned long, 0ul, 1ul, 2ul>) /home/ci/target/include/sdbus-c++/TypeTraits.h:549:24 (test-sysrepo_system-firmware+0x589897)
#14 decltype(auto) sdbus::apply<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1 const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, sdbus::Variant, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, sdbus::Variant> > >, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&>(velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1 const&, std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, sdbus::Variant, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, sdbus::Variant> > >, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&) /home/ci/target/include/sdbus-c++/TypeTraits.h:558:16 (test-sysrepo_system-firmware+0x589897)
#15 void sdbus::SignalSubscriber::call<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1>(velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1&&)::'lambda'(sdbus::Signal&)::operator()(sdbus::Signal&) const /home/ci/target/include/sdbus-c++/ConvenienceApiClasses.inl:669:17 (test-sysrepo_system-firmware+0x589897)
#16 velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1 std::__invoke_impl<void, void sdbus::SignalSubscriber::call<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1>(velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1&&)::'lambda'(sdbus::Signal&)&, sdbus::Signal&>(std::__invoke_other, void sdbus::SignalSubscriber::call<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1>(velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1&&)::'lambda'(sdbus::Signal&)&, sdbus::Signal&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/invoke.h:61:14 (test-sysrepo_system-firmware+0x589897)
#17 std::enable_if<is_invocable_r_v<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1, void sdbus::SignalSubscriber::call<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1>(velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1&&)::'lambda'(sdbus::Signal&)&, sdbus::Signal&>, velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1>::type std::__invoke_r<void, void sdbus::SignalSubscriber::call<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1>(velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1&&)::'lambda'(sdbus::Signal&)&, sdbus::Signal&>(void sdbus::SignalSubscriber::call<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1>(velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1&&)::'lambda'(sdbus::Signal&)&, sdbus::Signal&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/invoke.h:111:2 (test-sysrepo_system-firmware+0x589897)
#18 std::_Function_handler<void (sdbus::Signal&), void sdbus::SignalSubscriber::call<velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1>(velia::system::RAUC::RAUC(sdbus::IConnection&, sdbus::IConnection&, std::function<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>, std::function<void (int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)>)::$_1&&)::'lambda'(sdbus::Signal&)>::_M_invoke(std::_Any_data const&, sdbus::Signal&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_function.h:291:9 (test-sysrepo_system-firmware+0x589897)
#19 std::function<void (sdbus::Signal&)>::operator()(sdbus::Signal&) const /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_function.h:560:9 (libsdbus-c++.so.1+0x2a3d2)
#20 sdbus::internal::Proxy::sdbus_signal_handler(sd_bus_message*, void*, sd_bus_error*) /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sdbus-cpp/src/Proxy.cpp:280:9 (libsdbus-c++.so.1+0x2a3d2)
#21 <null> <null> (libsystemd.so.0+0x257cf)
#22 sdbus::internal::Connection::processPendingRequest() /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sdbus-cpp/src/Connection.cpp:396:21 (libsdbus-c++.so.1+0x143b4)
#23 sdbus::internal::Connection::enterEventLoop() /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sdbus-cpp/src/Connection.cpp:101:26 (libsdbus-c++.so.1+0x142d7)
#24 sdbus::internal::Connection::enterEventLoopAsync()::$_5::operator()() const /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/sdbus-cpp/src/Connection.cpp:114:50 (libsdbus-c++.so.1+0x181f3)
#25 void std::__invoke_impl<void, sdbus::internal::Connection::enterEventLoopAsync()::$_5>(std::__invoke_other, sdbus::internal::Connection::enterEventLoopAsync()::$_5&&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/invoke.h:61:14 (libsdbus-c++.so.1+0x181f3)
#26 std::__invoke_result<sdbus::internal::Connection::enterEventLoopAsync()::$_5>::type std::__invoke<sdbus::internal::Connection::enterEventLoopAsync()::$_5>(sdbus::internal::Connection::enterEventLoopAsync()::$_5&&) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/invoke.h:96:14 (libsdbus-c++.so.1+0x181f3)
#27 void std::thread::_Invoker<std::tuple<sdbus::internal::Connection::enterEventLoopAsync()::$_5> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_thread.h:253:13 (libsdbus-c++.so.1+0x181f3)
#28 std::thread::_Invoker<std::tuple<sdbus::internal::Connection::enterEventLoopAsync()::$_5> >::operator()() /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_thread.h:260:11 (libsdbus-c++.so.1+0x181f3)
#29 std::thread::_State_impl<std::thread::_Invoker<std::tuple<sdbus::internal::Connection::enterEventLoopAsync()::$_5> > >::_M_run() /usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/std_thread.h:211:13 (libsdbus-c++.so.1+0x181f3)
#30 execute_native_thread_routine /usr/src/debug/gcc-11.1.1-1.fc34.x86_64/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/src/c++11/../../../../../libstdc++-v3/src/c++11/thread.cc:82:18 (libstdc++.so.6+0xd9c83)
Mutex M788833103187546112 is already destroyed.
Thread T8 (tid=18669, running) created by main thread at:
#0 pthread_create <null> (test-sysrepo_system-firmware+0x4b64c1)
#1 <null> /usr/src/debug/gcc-11.1.1-1.fc34.x86_64/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/x86_64-redhat-linux/bits/gthr-default.h:663:35 (libstdc++.so.6+0xd9f39)
#2 std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) /usr/src/debug/gcc-11.1.1-1.fc34.x86_64/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/src/c++11/../../../../../libstdc++-v3/src/c++11/thread.cc:147:37 (libstdc++.so.6+0xd9f39)
#3 DOCTEST_ANON_FUNC_4() /home/ci/src/cesnet-gerrit-public/CzechLight/velia/tests/sysrepo_system-firmware.cpp:71:34 (test-sysrepo_system-firmware+0x5094fd)
#4 doctest::Context::run() /home/ci/target/include/doctest/doctest.h:6510:21 (test-sysrepo_system-firmware+0x53a4e5)
#5 main /home/ci/target/include/doctest/doctest.h:6595:71 (test-sysrepo_system-firmware+0x53c0af)
SUMMARY: ThreadSanitizer: data race (/home/ci/build/test-sysrepo_system-firmware+0x4d48d9) in __tsan_atomic64_store
Change-Id: I28c5ad1f48df150a0cd4fb4dfe4cebb6954dfa16
diff --git a/.zuul.yaml b/.zuul.yaml
index c89c897..a2aec63 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -20,6 +20,7 @@
requires: CzechLight-deps-f34-clang-tsan
required-projects: *projects
pre-run: ci/pre.yaml
+ voting: false # suspected broken sysrepo/TSAN
- f34-cpp-coverage-diff:
voting: false
- clang-format: