==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_1d715f3e-932c-4a1e-9398-43d227894086]...done ==> Making package: bear 3.1.3-4.1 (Mon Nov 6 21:35:09 2023) ==> Retrieving sources... -> Cloning bear git repo... Cloning into bare repository '/home/alhp/workspace/build/x86-64-v3/bear-3.1.3-4/bear'... ==> Validating source files with b2sums... bear ... Skipped ==> Making package: bear 3.1.3-4.1 (Mon Nov 6 21:35:19 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (8) New Version Net Change Download Size extra/abseil-cpp 20230802.1-1 5.94 MiB extra/c-ares 1.21.0-1 0.49 MiB extra/fmt 10.1.1-1 1.53 MiB extra/grpc 1.59.2-1 21.37 MiB 4.29 MiB extra/nlohmann-json 3.11.2-2 0.98 MiB extra/protobuf 25.0-1 10.97 MiB extra/re2 1:20231101-1 0.40 MiB extra/spdlog 1.12.0-1 0.66 MiB Total Download Size: 4.29 MiB Total Installed Size: 42.34 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... grpc-1.59.2-1-x86_64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing c-ares... installing abseil-cpp... installing protobuf... installing re2... installing grpc... installing fmt... installing spdlog... installing nlohmann-json... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (16) New Version Net Change extra/cppdap 1.58.0-1 1.62 MiB extra/hicolor-icon-theme 0.17-3 0.05 MiB extra/jsoncpp 1.9.5-2 0.73 MiB core/libedit 20230828_3.1-1 0.28 MiB core/libnsl 2.0.1-1 0.07 MiB extra/libuv 1.46.0-1 0.58 MiB extra/llvm-libs 16.0.6-1 131.52 MiB extra/perl-error 0.17029-5 0.04 MiB extra/perl-mailtools 2.21-7 0.10 MiB extra/perl-timedate 2.33-5 0.08 MiB extra/rhash 1.4.4-1 0.32 MiB extra/cmake 3.27.7-2 71.14 MiB extra/git 2.42.1-1 26.32 MiB extra/gtest 1.14.0-1 2.14 MiB extra/llvm 16.0.6-1 102.03 MiB core/python 3.11.5-2 75.23 MiB Total Installed Size: 412.24 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [pending] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libnsl... installing libuv... installing rhash... installing cppdap... installing cmake... Optional dependencies for cmake make: for unix Makefile generator [installed] ninja: for ninja generator qt6-base: cmake-gui installing gtest... Optional dependencies for gtest python: gmock generator [pending] installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing libedit... installing llvm-libs... installing llvm... :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of bear git repo... Cloning into 'bear'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Setting build type to 'Release' as none was specified. -- Looking for nlohman_json dependency -- Looking for nlohman_json dependency -- found -- Looking for fmt dependency -- Looking for fmt dependency -- found -- Looking for spdlog dependency -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for spdlog dependency -- found -- Looking for gRPC::grpc++ dependency -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Checking for modules 'protobuf>=3.11;grpc++>=1.26' -- Found protobuf, version 25.0.0 -- Found grpc++, version 1.59.2 -- Looking for gRPC::grpc++ dependency -- found -- Looking for protoc -- Looking for protoc -- found -- Looking for grpc_cpp_plugin -- Looking for grpc_cpp_plugin -- found -- Looking for GTest dependency -- Checking for modules 'gtest>=1.10;gtest_main>=1.10;gmock>=1.10' -- Found gtest, version 1.14.0 -- Found gtest_main, version 1.14.0 -- Found gmock, version 1.14.0 -- Looking for GTest dependency -- found -- Configuring done (209.1s) -- Generating done (0.1s) -- Build files have been written to: /startdir/src/build ==> Starting build()... [ 0%] Built target grpc_dependency [ 0%] Built target nlohmann_json_dependency [ 0%] Built target googletest_dependency [ 0%] Built target spdlog_dependency [ 0%] Built target fmt_dependency [ 5%] Creating directories for 'BearSource' [ 11%] No download step for 'BearSource' [ 16%] No update step for 'BearSource' [ 22%] No patch step for 'BearSource' [ 27%] Performing configure step for 'BearSource' loading initial cache file /startdir/src/build/subprojects/tmp/BearSource/BearSource-cache-Release.cmake -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Checking for modules 'gtest;gtest_main;gmock' -- Found gtest, version 1.14.0 -- Found gtest_main, version 1.14.0 -- Found gmock, version 1.14.0 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found nlohmann_json: /usr/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.11.2") -- Checking for modules 'protobuf;grpc++' -- Found protobuf, version 25.0.0 -- Found grpc++, version 1.59.2 -- Looking for spawn.h -- Looking for spawn.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for errno.h -- Looking for errno.h - found -- Looking for sys/utsname.h -- Looking for sys/utsname.h - found -- Looking for sys/wait.h -- Looking for sys/wait.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for gnu/lib-names.h -- Looking for gnu/lib-names.h - found -- Looking for _NSGetEnviron -- Looking for _NSGetEnviron - not found -- Looking for dlopen -- Looking for dlopen - found -- Looking for dlsym -- Looking for dlsym - found -- Looking for dlerror -- Looking for dlerror - found -- Looking for dlclose -- Looking for dlclose - found -- Looking for RTLD_NEXT -- Looking for RTLD_NEXT - found -- Looking for EACCES -- Looking for EACCES - found -- Looking for ENOENT -- Looking for ENOENT - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for environ -- Looking for environ - found -- Looking for uname -- Looking for uname - found -- Looking for confstr -- Looking for confstr - found -- Looking for _CS_PATH -- Looking for _CS_PATH - found -- Looking for _CS_GNU_LIBC_VERSION -- Looking for _CS_GNU_LIBC_VERSION - found -- Looking for _CS_GNU_LIBPTHREAD_VERSION -- Looking for _CS_GNU_LIBPTHREAD_VERSION - found -- Looking for protoc ... /usr/bin/protoc -- Looking for grpc_cpp_plugin ... /usr/bin/grpc_cpp_plugin -- Configuring done (272.2s) -- Generating done (17.1s) -- Build files have been written to: /startdir/src/build/subprojects/Build/BearSource [ 33%] Performing build step for 'BearSource' [ 1%] Generating supervise.pb.h, supervise.grpc.pb.h, supervise.pb.cc, supervise.grpc.pb.cc [ 2%] Building CXX object libflags/CMakeFiles/flags_a.dir/source/Flags.cc.o [ 3%] Building CXX object libshell/CMakeFiles/shell_a.dir/source/Command.cc.o [ 4%] Generating intercept.pb.h, intercept.grpc.pb.h, intercept.pb.cc, intercept.grpc.pb.cc [ 5%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Environment.cc.o [ 7%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Buffer.cc.o [ 8%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Executor.cc.o [ 9%] Building CXX object libresult/CMakeFiles/result_unit_test.dir/test/ResultTest.cc.o [ 10%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Linker.cc.o [ 11%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Os.cc.o [ 13%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Guard.cc.o [ 14%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/supervise.pb.cc.o [ 15%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/supervise.grpc.pb.cc.o [ 16%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Logger.cc.o [ 17%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Paths.cc.o [ 19%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Resolver.cc.o [ 20%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Session.cc.o [ 21%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Errors.cc.o [ 22%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Path.cc.o [ 23%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/intercept.pb.cc.o [ 23%] Built target exec_a [ 25%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/intercept.grpc.pb.cc.o [ 26%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/ArrayTest.cc.o [ 27%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Process.cc.o [ 28%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/BufferTest.cc.o [ 29%] Building CXX object intercept/CMakeFiles/exec.dir/source/report/libexec/lib.cc.o [ 30%] Building CXX object intercept/CMakeFiles/exec.dir/source/report/libexec/std.cc.o [ 32%] Linking C shared library libexec.so [ 32%] Built target flags_a [ 33%] Building CXX object libflags/CMakeFiles/flags_unit_test.dir/test/FlagsTest.cc.o [ 33%] Built target exec [ 34%] Building CXX object libmain/CMakeFiles/main_a.dir/source/ApplicationLogConfig.cc.o [ 35%] Linking CXX executable result_unit_test [ 35%] Built target result_unit_test [ 36%] Building CXX object libmain/CMakeFiles/main_a.dir/source/ApplicationFromArgs.cc.o [ 38%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/ExecutorTest.cc.o [ 39%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/PathsTest.cc.o [ 40%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/SessionTest.cc.o [ 41%] Building CXX object libmain/CMakeFiles/main_a.dir/source/SubcommandFromArgs.cc.o [ 42%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Signal.cc.o [ 44%] Linking CXX executable flags_unit_test [ 44%] Built target shell_a [ 45%] Building CXX object libshell/CMakeFiles/shell_unit_test.dir/test/CommandTest.cc.o [ 45%] Built target sys_a [ 46%] Building CXX object citnames/CMakeFiles/citnames_json_a.dir/source/Configuration.cc.o [ 47%] Building CXX object citnames/CMakeFiles/citnames_json_a.dir/source/Output.cc.o [ 48%] Linking CXX executable exec_unit_test [ 48%] Built target flags_unit_test [ 50%] Building CXX object libsys/CMakeFiles/sys_unit_test.dir/test/EnvironmentTest.cc.o [ 51%] Building CXX object libsys/CMakeFiles/sys_unit_test.dir/test/ErrorsTest.cc.o [ 52%] Building CXX object libsys/CMakeFiles/sys_unit_test.dir/test/PathTest.cc.o [ 52%] Built target exec_unit_test [ 53%] Linking CXX executable shell_unit_test [ 53%] Built target shell_unit_test [ 53%] Built target rpc_a [ 54%] Building CXX object intercept/CMakeFiles/domain_a.dir/source/Domain.cc.o [ 55%] Building CXX object intercept/CMakeFiles/domain_a.dir/source/Convert.cc.o [ 57%] Building CXX object intercept/CMakeFiles/events_db_a.dir/source/collect/db/EventsDatabaseReader.cc.o [ 58%] Building CXX object intercept/CMakeFiles/events_db_a.dir/source/collect/db/EventsDatabaseWriter.cc.o [ 58%] Built target main_a [ 59%] Linking CXX executable sys_unit_test [ 59%] Built target sys_unit_test [ 59%] Built target domain_a [ 60%] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/EventReporter.cc.o [ 61%] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/EventFactory.cc.o [ 63%] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/RpcClients.cc.o [ 64%] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/Application.cc.o [ 64%] Built target events_db_a [ 65%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/SessionLibrary.cc.o [ 66%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Reporter.cc.o [ 67%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Intercept.cc.o [ 69%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/RpcServices.cc.o [ 70%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Session.cc.o [ 71%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/SessionWrapper.cc.o In file included from /usr/include/fmt/format.h:49, from /usr/include/fmt/std.h:22, from /startdir/src/bear/source/intercept/source/collect/SessionWrapper.cc:29: In member function ‘constexpr void fmt::v10::detail::fill_t::operator=(fmt::v10::basic_string_view) [with Char = char]’, inlined from ‘constexpr const Char* fmt::v10::detail::parse_align(const Char*, const Char*, fmt::v10::format_specs&) [with Char = char]’ at /usr/include/fmt/format.h:2418:20, inlined from ‘constexpr auto fmt::v10::formatter::parse(ParseContext&) [with ParseContext = fmt::v10::basic_format_parse_context; Char = char]’ at /usr/include/fmt/std.h:117:29, inlined from ‘constexpr void fmt::v10::detail::parse_empty_specs::operator()(Formatter&) [with Formatter = fmt::v10::formatter; ParseContext = fmt::v10::basic_format_parse_context]’ at /usr/include/fmt/ranges.h:302:12, inlined from ‘constexpr void fmt::v10::detail::for_each(std::index_sequence<_Idx ...>, Tuple&&, F&&) [with Tuple = std::tuple, std::allocator >, char, void>, fmt::v10::formatter >&; F = parse_empty_specs >; long unsigned int ...Is = {0, 1}]’ at /usr/include/fmt/ranges.h:233:29, inlined from ‘constexpr void fmt::v10::detail::for_each(Tuple&&, F&&) [with Tuple = std::tuple, std::allocator >, char, void>, fmt::v10::formatter >&; F = parse_empty_specs >]’ at /usr/include/fmt/ranges.h:239:11, inlined from ‘constexpr decltype (ctx.begin()) fmt::v10::formatter::value && fmt::v10::is_tuple_formattable::value), void>::type>::parse(ParseContext&) [with ParseContext = fmt::v10::basic_format_parse_context; Tuple = std::pair, std::filesystem::__cxx11::path>; Char = char]’ at /usr/include/fmt/ranges.h:367:21, inlined from ‘constexpr decltype (ctx.begin()) fmt::v10::range_formatter::type>::type>, std::integral_constant::value, fmt::v10::appender, std::back_insert_iterator > >::type, Char> >().map(declval()))>::value)> >::value, void>::type>::parse(ParseContext&) [with ParseContext = fmt::v10::basic_format_parse_context; T = std::pair, std::filesystem::__cxx11::path>; Char = char]’ at /usr/include/fmt/ranges.h:475:29, inlined from ‘constexpr decltype (ctx.begin()) fmt::v10::detail::range_default_formatter::type>::parse(ParseContext&) [with ParseContext = fmt::v10::basic_format_parse_context; fmt::v10::range_format K = fmt::v10::range_format::map; R = std::map, std::filesystem::__cxx11::path>; Char = char]’ at /usr/include/fmt/ranges.h:542:29, inlined from ‘static void fmt::v10::detail::value::format_custom_arg(void*, typename Context::parse_context_type&, Context&) [with T = std::map, std::filesystem::__cxx11::path>; Formatter = fmt::v10::formatter, std::filesystem::__cxx11::path>, char, void>; Context = fmt::v10::basic_format_context]’ at /usr/include/fmt/core.h:1305:25: /usr/include/fmt/core.h:2005:48: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2005 | for (size_t i = 0; i < size; ++i) data_[i] = s[i]; | ~~~~~~~~~^~~~ /usr/include/fmt/core.h: In static member function ‘static void fmt::v10::detail::value::format_custom_arg(void*, typename Context::parse_context_type&, Context&) [with T = std::map, std::filesystem::__cxx11::path>; Formatter = fmt::v10::formatter, std::filesystem::__cxx11::path>, char, void>; Context = fmt::v10::basic_format_context]’: /usr/include/fmt/core.h:1998:8: note: at offset 4 into destination object ‘fmt::v10::detail::fill_t::data_’ of size 4 1998 | Char data_[max_size] = {Char(' '), Char(0), Char(0), Char(0)}; | ^~~~~ In member function ‘constexpr void fmt::v10::detail::fill_t::operator=(fmt::v10::basic_string_view) [with Char = char]’, inlined from ‘constexpr const Char* fmt::v10::detail::parse_align(const Char*, const Char*, fmt::v10::format_specs&) [with Char = char]’ at /usr/include/fmt/format.h:2418:20, inlined from ‘constexpr auto fmt::v10::formatter::parse(ParseContext&) [with ParseContext = fmt::v10::basic_format_parse_context; Char = char]’ at /usr/include/fmt/std.h:117:29, inlined from ‘constexpr void fmt::v10::detail::parse_empty_specs::operator()(Formatter&) [with Formatter = fmt::v10::formatter; ParseContext = fmt::v10::basic_format_parse_context]’ at /usr/include/fmt/ranges.h:302:12, inlined from ‘constexpr void fmt::v10::detail::for_each(std::index_sequence<_Idx ...>, Tuple&&, F&&) [with Tuple = std::tuple, std::allocator >, char, void>, fmt::v10::formatter >&; F = parse_empty_specs >; long unsigned int ...Is = {0, 1}]’ at /usr/include/fmt/ranges.h:233:29, inlined from ‘constexpr void fmt::v10::detail::for_each(Tuple&&, F&&) [with Tuple = std::tuple, std::allocator >, char, void>, fmt::v10::formatter >&; F = parse_empty_specs >]’ at /usr/include/fmt/ranges.h:239:11, inlined from ‘constexpr decltype (ctx.begin()) fmt::v10::formatter::value && fmt::v10::is_tuple_formattable::value), void>::type>::parse(ParseContext&) [with ParseContext = fmt::v10::basic_format_parse_context; Tuple = std::pair, std::filesystem::__cxx11::path>; Char = char]’ at /usr/include/fmt/ranges.h:367:21, inlined from ‘constexpr decltype (ctx.begin()) fmt::v10::range_formatter::type>::type>, std::integral_constant::value, fmt::v10::appender, std::back_insert_iterator > >::type, Char> >().map(declval()))>::value)> >::value, void>::type>::parse(ParseContext&) [with ParseContext = fmt::v10::basic_format_parse_context; T = std::pair, std::filesystem::__cxx11::path>; Char = char]’ at /usr/include/fmt/ranges.h:475:29, inlined from ‘constexpr decltype (ctx.begin()) fmt::v10::detail::range_default_formatter::type>::parse(ParseContext&) [with ParseContext = fmt::v10::basic_format_parse_context; fmt::v10::range_format K = fmt::v10::range_format::map; R = std::map, std::filesystem::__cxx11::path>; Char = char]’ at /usr/include/fmt/ranges.h:542:29, inlined from ‘static void fmt::v10::detail::value::format_custom_arg(void*, typename Context::parse_context_type&, Context&) [with T = std::map, std::filesystem::__cxx11::path>; Formatter = fmt::v10::formatter, std::filesystem::__cxx11::path>, char, void>; Context = fmt::v10::basic_format_context]’ at /usr/include/fmt/core.h:1305:25: /usr/include/fmt/core.h:2005:48: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 2005 | for (size_t i = 0; i < size; ++i) data_[i] = s[i]; | ~~~~~~~~~^~~~ /usr/include/fmt/core.h: In static member function ‘static void fmt::v10::detail::value::format_custom_arg(void*, typename Context::parse_context_type&, Context&) [with T = std::map, std::filesystem::__cxx11::path>; Formatter = fmt::v10::formatter, std::filesystem::__cxx11::path>, char, void>; Context = fmt::v10::basic_format_context]’: /usr/include/fmt/core.h:1998:8: note: at offset 5 into destination object ‘fmt::v10::detail::fill_t::data_’ of size 4 1998 | Char data_[max_size] = {Char(' '), Char(0), Char(0), Char(0)}; | ^~~~~ [ 71%] Built target wrapper_a [ 72%] Building CXX object intercept/CMakeFiles/wrapper.dir/source/report/wrapper/main.cc.o [ 73%] Linking CXX executable wrapper [ 73%] Built target wrapper [ 73%] Built target intercept_a [ 75%] Building CXX object intercept/CMakeFiles/intercept_unit_test.dir/test/SessionTest.cc.o [ 76%] Building CXX object intercept/CMakeFiles/intercept_unit_test.dir/test/EventFactoryTest.cc.o [ 77%] Linking CXX executable intercept_unit_test [ 77%] Built target intercept_unit_test [ 77%] Built target citnames_json_a [ 78%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/Citnames.cc.o [ 79%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Build.cc.o [ 80%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Parsers.cc.o [ 82%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolAny.cc.o [ 83%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Semantic.cc.o [ 84%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolCuda.cc.o [ 85%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolGcc.cc.o [ 86%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolExtendingWrapper.cc.o [ 88%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolWrapper.cc.o [ 89%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolClang.cc.o [ 89%] Built target citnames_a [ 90%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/OutputTest.cc.o [ 91%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/ToolClangTest.cc.o [ 92%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/ParserTest.cc.o [ 94%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/ToolWrapperTest.cc.o [ 95%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/ToolGccTest.cc.o [ 96%] Building CXX object bear/CMakeFiles/bear_a.dir/source/Application.cc.o [ 96%] Built target bear_a [ 97%] Building CXX object bear/CMakeFiles/bear.dir/main.cc.o [ 98%] Linking CXX executable bear [ 98%] Built target bear [100%] Linking CXX executable citnames_unit_test [100%] Built target citnames_unit_test [ 38%] Performing test step for 'BearSource' Test project /startdir/src/build/subprojects/Build/BearSource Start 1: bear::result_unit_test 1/7 Test #1: bear::result_unit_test ........... Passed 0.01 sec Start 2: bear::flags_unit_test 2/7 Test #2: bear::flags_unit_test ............ Passed 0.00 sec Start 3: bear::shell_unit_test 3/7 Test #3: bear::shell_unit_test ............ Passed 0.02 sec Start 4: bear::sys_unit_test 4/7 Test #4: bear::sys_unit_test .............. Passed 0.00 sec Start 5: bear::exec_unit_test 5/7 Test #5: bear::exec_unit_test ............. Passed 0.00 sec Start 6: bear::intercept_unit_test 6/7 Test #6: bear::intercept_unit_test ........ Passed 0.09 sec Start 7: bear::citnames_unit_test 7/7 Test #7: bear::citnames_unit_test ......... Passed 0.03 sec 100% tests passed, 0 tests failed out of 7 Total Test time (real) = 0.17 sec [ 44%] Performing install step for 'BearSource' [ 1%] Built target flags_a [ 3%] Built target result_unit_test [ 4%] Built target shell_a [ 14%] Built target exec_a [ 16%] Built target flags_unit_test [ 23%] Built target sys_a [ 30%] Built target rpc_a [ 33%] Built target shell_unit_test [ 36%] Built target exec [ 40%] Built target main_a [ 47%] Built target exec_unit_test [ 52%] Built target sys_unit_test [ 54%] Built target citnames_json_a [ 57%] Built target domain_a [ 59%] Built target events_db_a [ 66%] Built target intercept_a [ 71%] Built target wrapper_a [ 73%] Built target wrapper [ 77%] Built target intercept_unit_test [ 89%] Built target citnames_a [ 90%] Built target bear_a [ 97%] Built target citnames_unit_test [100%] Built target bear Install the project... -- Install configuration: "Release" -- Installing: /startdir/src/build/stage/share/man/man1/bear-intercept.1 -- Installing: /startdir/src/build/stage/lib/bear/wrapper -- Installing: /startdir/src/build/stage/lib/bear/wrapper.d -- Installing: /startdir/src/build/stage/lib/bear/libexec.so -- Installing: /startdir/src/build/stage/share/man/man1/bear-citnames.1 -- Installing: /startdir/src/build/stage/bin/bear -- Installing: /startdir/src/build/stage/share/man/man1/bear.1 [ 50%] Completed 'BearSource' [ 50%] Built target BearSource [ 55%] Creating directories for 'BearTest' [ 61%] No download step for 'BearTest' [ 66%] No update step for 'BearTest' [ 72%] No patch step for 'BearTest' [ 77%] Performing configure step for 'BearTest' loading initial cache file /startdir/src/build/subprojects/tmp/BearTest/BearTest-cache-Release.cmake -- The C compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Looking for spawn.h -- Looking for spawn.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for sys/wait.h -- Looking for sys/wait.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for execve -- Looking for execve - found -- Looking for execv -- Looking for execv - found -- Looking for execvpe -- Looking for execvpe - found -- Looking for execvp -- Looking for execvp - found -- Looking for execvP -- Looking for execvP - not found -- Looking for exect -- Looking for exect - not found -- Looking for execl -- Looking for execl - found -- Looking for execlp -- Looking for execlp - found -- Looking for execle -- Looking for execle - found -- Looking for execveat -- Looking for execveat - found -- Looking for fexecve -- Looking for fexecve - found -- Looking for posix_spawn -- Looking for posix_spawn - found -- Looking for posix_spawnp -- Looking for posix_spawnp - found -- Looking for popen -- Looking for popen - found -- Looking for system -- Looking for system - found -- Looking for lit -- Looking for lit -- /usr/bin/lit -- Configuring done (6.5s) -- Generating done (0.0s) -- Build files have been written to: /startdir/src/build/subprojects/Build/BearTest [ 83%] Performing build step for 'BearTest' [ 88%] Performing test step for 'BearTest' UpdateCTestConfiguration from :/startdir/src/build/subprojects/Build/BearTest/DartConfiguration.tcl UpdateCTestConfiguration from :/startdir/src/build/subprojects/Build/BearTest/DartConfiguration.tcl Test project /startdir/src/build/subprojects/Build/BearTest Constructing a list of tests Done constructing a list of tests Updating test list for fixtures Added 0 tests to meet fixture requirements Checking test dependency graph... Checking test dependency graph end test 1 Start 1: bear::func_test 1: Test command: /usr/bin/lit "-D_TEST_EXEC_ROOT=/startdir/src/build/subprojects/Build/BearTest" "-D_BIN_BEAR=/startdir/src/build/stage/bin/bear" "-D_BIN_CITNAMES=/startdir/src/build/stage/bin/citnames" "-D_BIN_INTERCEPT=/startdir/src/build/stage/bin/intercept" "-D_BIN_WRAPPER=/startdir/src/build/stage/lib/bear/wrapper" "-D_BIN_WRAPPER_DIR=/startdir/src/build/stage/lib/bear/wrapper.d" "-D_LIB_EXEC=/startdir/src/build/stage/lib/bear/libexec.so" "-v" "/startdir/src/build/subprojects/Build/BearTest" 1: Working Directory: /startdir/src/build/subprojects/Build/BearTest 1: Test timeout computed to be: 90 1: [('%{compile}', 'cc -I /startdir/src/build/subprojects/Build/BearTest'), ('%{bear}', '/startdir/src/build/stage/bin/bear --bear-path /startdir/src/build/stage/bin/bear --library /startdir/src/build/stage/lib/bear/libexec.so --wrapper /startdir/src/build/stage/lib/bear/wrapper --wrapper-dir /startdir/src/build/stage/lib/bear/wrapper.d'), ('%{intercept}', '/startdir/src/build/stage/bin/bear intercept --wrapper /startdir/src/build/stage/lib/bear/wrapper --library /startdir/src/build/stage/lib/bear/libexec.so --wrapper-dir /startdir/src/build/stage/lib/bear/wrapper.d'), ('%{citnames}', '/startdir/src/build/stage/bin/bear citnames'), ('%{shell}', '/usr/bin/sh'), ('%{make}', '/usr/bin/make'), ('%{true}', '/usr/bin/true'), ('%{false}', '/usr/bin/false'), ('%{echo}', '/usr/bin/echo'), ('%{sleep}', '/usr/bin/sleep'), ('%{c_compiler}', '/usr/bin/cc'), ('%{cxx_compiler}', '/usr/bin/c++'), ('%{libtool}', '/usr/bin/libtool'), ('%{fakeroot}', '/usr/bin/fakeroot')] 1: {'PATH': '/startdir/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl', 'LLVM_DISABLE_CRASH_REPORT': '1', 'TERM': 'unknown', 'SOURCE_DATE_EPOCH': '1699302916', 'LC_CTYPE': 'en_US.UTF-8', 'TRUE': '/usr/bin/true', 'FALSE': '/usr/bin/false', 'ECHO': '/usr/bin/echo', 'SLEEP': '/usr/bin/sleep', 'CC': '/usr/bin/cc', 'CXX': '/usr/bin/c++', 'LIBTOOL': '/usr/bin/libtool'} 1: {'shell', 'dynamic-make', 'libtool', 'dynamic-shell', 'preload', 'make', 'fakeroot'} 1: -- Testing: 100 tests, 12 workers -- 1: UNSUPPORTED: bear :: cases/citnames/exit_code/exit_code_for_success.sh (1 of 100) 1: PASS: bear :: cases/citnames/exit_code/exit_code_for_help.sh (2 of 100) 1: PASS: bear :: cases/compilation/exit_code/exit_code_for_help.sh (3 of 100) 1: UNSUPPORTED: bear :: cases/compilation/output/compile_cuda.sh (4 of 100) 1: XFAIL: bear :: cases/compilation/exit_code/exit_code_for_empty.sh (5 of 100) 1: UNSUPPORTED: bear :: cases/compilation/output/compile_fortran.sh (6 of 100) 1: XFAIL: bear :: cases/citnames/exit_code/exit_code_for_fail.sh (7 of 100) 1: PASS: bear :: cases/citnames/output/relative_paths_converted.sh (8 of 100) 1: PASS: bear :: cases/citnames/output/wrapper_flags_extended.sh (9 of 100) 1: XFAIL: bear :: cases/compilation/exit_code/exit_code_for_fail.sh (10 of 100) 1: PASS: bear :: cases/citnames/output/convert_format.sh (11 of 100) 1: PASS: bear :: cases/compilation/exit_code/exit_code_for_success.sh (12 of 100) 1: PASS: bear :: cases/citnames/output/clang_plugin.sh (13 of 100) 1: PASS: bear :: cases/compilation/output/broken_build.sh (14 of 100) 1: PASS: bear :: cases/compilation/output/assembly_sources.mk (15 of 100) 1: PASS: bear :: cases/compilation/output/bug439.mk (16 of 100) 1: PASS: bear :: cases/compilation/output/define_with_escaped_quote.sh (17 of 100) 1: PASS: bear :: cases/compilation/output/empty_env.sh (18 of 100) 1: PASS: bear :: cases/compilation/output/empty_argument.sh (19 of 100) 1: PASS: bear :: cases/compilation/output/define_with_quote.sh (20 of 100) 1: PASS: bear :: cases/compilation/output/config/filter_flags.sh (21 of 100) 1: PASS: bear :: cases/compilation/output/config/filter_flags_on_known_compiler.sh (22 of 100) 1: PASS: bear :: cases/compilation/output/config/filter_sources_relative.sh (23 of 100) 1: PASS: bear :: cases/compilation/output/config/filter_sources.sh (24 of 100) 1: PASS: bear :: cases/compilation/output/config/filter_compilers.sh (25 of 100) 1: PASS: bear :: cases/compilation/output/flag/field_output.sh (26 of 100) 1: XFAIL: bear :: cases/intercept/exit_code/exit_code_for_empty.sh (27 of 100) 1: XFAIL: bear :: cases/intercept/exit_code/exit_code_for_fail.sh (28 of 100) 1: PASS: bear :: cases/intercept/exit_code/exit_code_for_help.sh (29 of 100) 1: PASS: bear :: cases/intercept/exit_code/exit_code_for_success.sh (30 of 100) 1: PASS: bear :: cases/intercept/output/shell_command_with_iso8859-2.sh (31 of 100) 1: PASS: bear :: cases/compilation/output/duplicate_entries.sh (32 of 100) 1: PASS: bear :: cases/compilation/output/existing_files_only.sh (33 of 100) 1: PASS: bear :: cases/compilation/output/flags_filtered_preproc.sh (34 of 100) 1: PASS: bear :: cases/compilation/output/parallel_build.sh (35 of 100) 1: PASS: bear :: cases/compilation/output/multiple_source_build.sh (36 of 100) 1: PASS: bear :: cases/intercept/preload/build_command_captured.sh (37 of 100) 1: PASS: bear :: cases/compilation/output/successful_build.sh (38 of 100) 1: PASS: bear :: cases/intercept/preload/errno_reset.c (39 of 100) 1: PASS: bear :: cases/intercept/preload/build_stdout_captured.sh (40 of 100) 1: PASS: bear :: cases/intercept/preload/build_stderr_captured.sh (41 of 100) 1: PASS: bear :: cases/intercept/preload/path_resolver/same_name_in_path.c (42 of 100) 1: PASS: bear :: cases/intercept/preload/path_resolver/same_name_without_exec_flag.c (43 of 100) 1: PASS: bear :: cases/compilation/output/flags_filtered_link.sh (44 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execl/success.c (45 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execl/failure_prints_errno.c (46 of 100) 1: UNSUPPORTED: bear :: cases/intercept/preload/posix/exect/success.c (47 of 100) 1: PASS: bear :: cases/compilation/output/flag/append.sh (48 of 100) 1: PASS: bear :: cases/compilation/output/flag/use_cc.sh (49 of 100) 1: PASS: bear :: cases/compilation/output/wrapper.sh (50 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execle/failure_prints_errno.c (51 of 100) 1: UNSUPPORTED: bear :: cases/intercept/preload/posix/execvp2/failure_prints_errno.c (52 of 100) 1: UNSUPPORTED: bear :: cases/intercept/preload/posix/execvp2/success.c (53 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execlp/success_to_resolve.c (54 of 100) 1: PASS: bear :: cases/intercept/output/shell_commands_with_unicode.sh (55 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execlp/failure_prints_errno.c (56 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execlp/success.c (57 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execve/failure_prints_errno.c (58 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execv/failure_prints_errno.c (59 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execle/success.c (60 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execv/success.c (61 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execvpe/failure_prints_errno.c (62 of 100) 1: PASS: bear :: cases/intercept/preload/posix/no_exec.c (63 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execve/success.c (64 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execvpe/success_to_resolve.c (65 of 100) 1: PASS: bear :: cases/intercept/preload/posix/popen/success.c (66 of 100) 1: PASS: bear :: cases/intercept/preload/posix/exevp/failure_prints_errno.c (67 of 100) 1: PASS: bear :: cases/compilation/output/flag/use_cxx.sh (68 of 100) 1: PASS: bear :: cases/intercept/preload/posix/exevp/success_to_resolve.c (69 of 100) 1: PASS: bear :: cases/intercept/preload/posix/posix_spawn/success.c (70 of 100) 1: PASS: bear :: cases/intercept/preload/posix/posix_spawn/failure_prints_errno.c (71 of 100) 1: PASS: bear :: cases/intercept/preload/posix/posix_spawnp/failure_prints_errno.c (72 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execvpe/success.c (73 of 100) 1: PASS: bear :: cases/intercept/preload/posix/posix_spawnp/success.c (74 of 100) 1: PASS: bear :: cases/intercept/preload/posix/exevp/success.c (75 of 100) 1: PASS: bear :: cases/intercept/preload/shell_commands_parallel_intercepted.sh (76 of 100) 1: PASS: bear :: cases/intercept/preload/posix/posix_spawnp/success_to_resolve.c (77 of 100) 1: UNSUPPORTED: bear :: cases/intercept/valgrind/shell_commands_intercepted.sh (78 of 100) 1: PASS: bear :: cases/intercept/preload/preload_append/io_calls.c (79 of 100) 1: PASS: bear :: cases/intercept/preload/shell_commands_intercepted.sh (80 of 100) 1: PASS: bear :: cases/intercept/preload/shell_commands_intercepted_without_shebang.sh (81 of 100) 1: PASS: bear :: cases/intercept/wrapper/build_stdout_captured.sh (82 of 100) 1: PASS: bear :: cases/intercept/preload/posix/system/success.c (83 of 100) 1: PASS: bear :: cases/intercept/wrapper/build_command_captured.sh (84 of 100) 1: PASS: bear :: cases/intercept/preload/shell_commands_with_empty_env.sh (85 of 100) 1: PASS: bear :: cases/intercept/wrapper/build_stderr_captured.sh (86 of 100) 1: PASS: bear :: cases/intercept/preload/shell_fail_commands_intercepted.sh (87 of 100) 1: XFAIL: bear :: cases/intercept/wrapper/shell_commands_with_empty_env.sh (88 of 100) 1: FAIL: bear :: cases/intercept/preload/signal_outside_build.sh (89 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/signal_outside_build.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh -c "/startdir/src/build/stage/bin/bear intercept --wrapper /startdir/src/build/stage/lib/bear/wrapper --library /startdir/src/build/stage/lib/bear/libexec.so --wrapper-dir /startdir/src/build/stage/lib/bear/wrapper.d --verbose --output /startdir/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_outside_build.sh.tmp.json -- /usr/bin/sh /startdir/src/bear/test/cases/intercept/preload/signal_outside_build.sh --sleep /usr/bin/sleep --true /usr/bin/true & /usr/bin/sleep 1; kill -15 %1; wait;" 1: : 'RUN: at line 5'; assert_intercepted /startdir/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_outside_build.sh.tmp.json count -eq 3 1: : 'RUN: at line 6'; assert_intercepted /startdir/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_outside_build.sh.tmp.json contains -program /usr/bin/true 1: : 'RUN: at line 7'; assert_intercepted /startdir/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_outside_build.sh.tmp.json contains -program /usr/bin/sleep -arguments /usr/bin/sleep 5 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "-c" "/startdir/src/build/stage/bin/bear intercept --wrapper /startdir/src/build/stage/lib/bear/wrapper --library /startdir/src/build/stage/lib/bear/libexec.so --wrapper-dir /startdir/src/build/stage/lib/bear/wrapper.d --verbose --output /startdir/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_outside_build.sh.tmp.json -- /usr/bin/sh /startdir/src/bear/test/cases/intercept/preload/signal_outside_build.sh --sleep /usr/bin/sleep --true /usr/bin/true & /usr/bin/sleep 1; kill -15 %1; wait;" 1: # command stderr: 1: [21:55:45.397644, br, 15023] bear: 3.1.3 1: [21:55:45.397710, br, 15023] arguments: ["/startdir/src/build/stage/bin/bear", "intercept", "--wrapper", "/startdir/src/build/stage/lib/bear/wrapper", "--library", "/startdir/src/build/stage/lib/bear/libexec.so", "--wrapper-dir", "/startdir/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/startdir/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_outside_build.sh.tmp.json", "--", "/usr/bin/sh", "/startdir/src/bear/test/cases/intercept/preload/signal_outside_build.sh", "--sleep", "/usr/bin/sleep", "--true", "/usr/bin/true"] 1: [21:55:45.397724, br, 15023] environment: ["LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/startdir/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699302916", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-x3o1dja3", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-x3o1dja3", "TERM=unknown", "TEMP=/tmp/lit-tmp-x3o1dja3", "SHLVL=0", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-x3o1dja3", "PATH=/startdir/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/startdir/src/build/stage/bin/bear"] 1: [21:55:45.397730, br, 15023] sysname: Linux 1: [21:55:45.397731, br, 15023] release: 6.1.60-1.1-lts 1: [21:55:45.397732, br, 15023] version: #1 SMP PREEMPT_DYNAMIC Wed, 25 Oct 2023 23:50:23 +0000 1: [21:55:45.397733, br, 15023] machine: x86_64 1: [21:55:45.397763, br, 15023] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /startdir/src/bear/test/cases/intercept/preload/signal_outside_build.sh, --sleep, /usr/bin/sleep, --true, /usr/bin/true]}, {--library: [/startdir/src/build/stage/lib/bear/libexec.so]}, {--output: [/startdir/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_outside_build.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/startdir/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/startdir/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [21:55:45.397824, br, 15023] Created library preload session. [library=/startdir/src/build/stage/lib/bear/libexec.so, executor=/startdir/src/build/stage/lib/bear/wrapper] 1: [21:55:45.631003, br, 15023] Running gRPC server. dns:///localhost:45495 1: [21:55:45.636622, br, 15023] Process spawned. [pid: 15352, command: ["/startdir/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45495", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/startdir/src/bear/test/cases/intercept/preload/signal_outside_build.sh", "--sleep", "/usr/bin/sleep", "--true", "/usr/bin/true"]] 1: [21:55:45.636659, br, 15023] Process wait requested. [pid: 15352] 1: [21:55:45.755744, el, 15352] lib.cc; on_load 1: [21:55:45.755944, wr, 15352, ppid: 15023] wrapper: 3.1.3 1: [21:55:45.755960, wr, 15352, ppid: 15023] arguments: ["/startdir/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45495", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/startdir/src/bear/test/cases/intercept/preload/signal_outside_build.sh", "--sleep", "/usr/bin/sleep", "--true", "/usr/bin/true"] 1: [21:55:45.755977, wr, 15352, ppid: 15023] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/startdir/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:45495", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/startdir/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/startdir/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "PWD=/startdir/src/build/subprojects/Build/BearTest/cases/intercept/preload", "SHLVL=0", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699302916", "TEMP=/tmp/lit-tmp-x3o1dja3", "TEMPDIR=/tmp/lit-tmp-x3o1dja3", "TERM=unknown", "TMP=/tmp/lit-tmp-x3o1dja3", "TMPDIR=/tmp/lit-tmp-x3o1dja3", "TRUE=/usr/bin/true", "_=/startdir/src/build/stage/bin/bear"] 1: [21:55:45.755998, wr, 15352, ppid: 15023] arguments parsed: {program: /startdir/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /startdir/src/bear/test/cases/intercept/preload/signal_outside_build.sh, --sleep, /usr/bin/sleep, --true, /usr/bin/true]}, {--destination: [dns:///localhost:45495]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [21:55:45.757169, wr, 15352, ppid: 15023] gRPC call requested: supervise::Supervisor::Resolve 1: [21:55:45.764501, br, 15023] trying to resolve for library: /usr/bin/sh 1: [21:55:45.764844, wr, 15352, ppid: 15023] gRPC call [Resolve] finished: true 1: [21:55:45.887335, el, 15378] lib.cc; on_load 1: [21:55:45.888579, wr, 15352, ppid: 15023] Process spawned. [pid: 15378, command: ["/usr/bin/sh", "/startdir/src/bear/test/cases/intercept/preload/signal_outside_build.sh", "--sleep", "/usr/bin/sleep", "--true", "/usr/bin/true"]] 1: [21:55:45.888619, wr, 15352, ppid: 15023] gRPC call requested: supervise::Interceptor::Register 1: [21:55:45.892304, wr, 15352, ppid: 15023] gRPC call [Register] finished: true 1: [21:55:45.892410, wr, 15352, ppid: 15023] Process wait requested. [pid: 15378] 1: [21:55:46.155240, wr, 15352, ppid: 15023] Process wait request: done. [pid: 15378] 1: [21:55:46.155257, wr, 15352, ppid: 15023] gRPC call requested: supervise::Interceptor::Register 1: [21:55:46.155804, wr, 15352, ppid: 15023] gRPC call [Register] finished: true 1: [21:55:46.665548, wr, 15352, ppid: 15023] succeeded with: 1 1: [21:55:46.665588, el, 15352] lib.cc; on_unload 1: [21:55:46.667414, br, 15023] Process wait request: done. [pid: 15352] 1: [21:55:46.667444, br, 15023] Running command. [Exited with 1] 1: [21:55:46.667451, br, 15023] Stopping gRPC server. 1: [21:55:46.849117, br, 15023] succeeded with: 1 1: 1: $ ":" "RUN: at line 5" 1: $ "assert_intercepted" "/startdir/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_outside_build.sh.tmp.json" "count" "-eq" "3" 1: # command stderr: 1: assert_intercepted: failed: expected 3, but got 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/preload/signal_inside_build.sh (90 of 100) 1: PASS: bear :: cases/intercept/preload/shell_redirect_works.sh (91 of 100) 1: PASS: bear :: cases/intercept/wrapper/shell_fail_commands_intercepted.sh (92 of 100) 1: PASS: bear :: cases/intercept/wrapper/shell_commands_parallel_intercepted.sh (93 of 100) 1: PASS: bear :: cases/intercept/wrapper/use_cc_env_to_select_compiler.sh (94 of 100) 1: PASS: bear :: cases/intercept/preload/preload_append/fakeroot.sh (95 of 100) 1: PASS: bear :: cases/intercept/wrapper/shell_commands_intercepted_without_shebang.sh (96 of 100) 1: PASS: bear :: cases/intercept/wrapper/shell_commands_intercepted.sh (97 of 100) 1: PASS: bear :: cases/intercept/wrapper/shell_commands_basename_compiler.sh (98 of 100) 1: PASS: bear :: cases/intercept/wrapper/libtool_commands_captured.sh (99 of 100) 1: PASS: bear :: cases/intercept/preload/libtool_commands_captured.sh (100 of 100) 1: ******************** 1: Failed Tests (1): 1: bear :: cases/intercept/preload/signal_outside_build.sh 1: 1: 1: Testing Time: 62.84s 1: Unsupported : 7 1: Passed : 86 1: Expectedly Failed: 6 1: Failed : 1 1/1 Test #1: bear::func_test ..................***Failed 63.35 sec 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 63.36 sec The following tests FAILED: 1 - bear::func_test (Failed) Errors while running CTest Output from these tests are in: /startdir/src/build/subprojects/Build/BearTest/Testing/Temporary/LastTest.log Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. make[2]: *** [CMakeFiles/BearTest.dir/build.make:123: subprojects/Stamp/BearTest/BearTest-test] Error 8 make[1]: *** [CMakeFiles/Makefile2:219: CMakeFiles/BearTest.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_1d715f3e-932c-4a1e-9398-43d227894086/build