==> Building on centiskorch ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ .SRCINFO 651 100% 0.00kB/s 0:00:00 651 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=2/4) PKGBUILD 1,071 100% 1.02MB/s 0:00:00 1,071 100% 1.02MB/s 0:00:00 (xfr#2, to-chk=1/4) bear-3.1.3-4.log 330 100% 322.27kB/s 0:00:00 330 100% 322.27kB/s 0:00:00 (xfr#3, to-chk=0/4) sent 1,432 bytes received 88 bytes 3,040.00 bytes/sec total size is 1,920 speedup is 1.26 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root28 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root28]...done ==> Making package: bear 3.1.3-4 (Sun Nov 12 12:51:03 2023) ==> Retrieving sources...  -> Updating bear git repo... ==> Validating source files with b2sums... bear ... Skipped ==> Making package: bear 3.1.3-4 (Sun Nov 12 12:51:25 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.35 MiB extra/c-ares 1.21.0-1 0.47 MiB extra/fmt 10.1.1-1 1.50 MiB extra/grpc 1.59.2-1 18.22 MiB 4.52 MiB extra/nlohmann-json 3.11.2-2 0.98 MiB extra/protobuf 25.0-1 9.88 MiB extra/re2 1:20231101-1 0.35 MiB 0.16 MiB extra/spdlog 1.12.0-2 0.60 MiB 0.15 MiB Total Download Size: 4.83 MiB Total Installed Size: 37.34 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... grpc-1.59.2-1-riscv64 downloading... re2-1:20231101-1-riscv64 downloading... spdlog-1.12.0-2-riscv64 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.37 MiB extra/hicolor-icon-theme 0.17-3 0.05 MiB extra/jsoncpp 1.9.5-2 1.24 MiB core/libedit 20230828_3.1-1 0.24 MiB core/libnsl 2.0.1-1 0.07 MiB extra/libuv 1.47.0-1 0.55 MiB extra/llvm-libs 16.0.6-1 115.87 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.31 MiB extra/cmake 3.27.7-2 62.35 MiB extra/git 2.42.0-1 24.79 MiB extra/gtest 1.14.0-1 2.01 MiB extra/llvm 16.0.6-1 126.71 MiB core/python 3.11.5-2.1 107.29 MiB Total Installed Size: 443.08 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 (389.5s) -- Generating done (0.0s) -- Build files have been written to: /build/bear/src/build ==> Starting build()... [ 0%] Built target grpc_dependency [ 0%] Built target googletest_dependency [ 0%] Built target spdlog_dependency [ 0%] Built target fmt_dependency [ 0%] Built target nlohmann_json_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 /build/bear/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 (396.8s) -- Generating done (0.5s) -- Build files have been written to: /build/bear/src/build/subprojects/Build/BearSource [ 33%] Performing build step for 'BearSource' [ 2%] Generating intercept.pb.h, intercept.grpc.pb.h, intercept.pb.cc, intercept.grpc.pb.cc [ 2%] Generating supervise.pb.h, supervise.grpc.pb.h, supervise.pb.cc, supervise.grpc.pb.cc [ 5%] Building CXX object libresult/CMakeFiles/result_unit_test.dir/test/ResultTest.cc.o [ 5%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Os.cc.o [ 7%] Building CXX object libshell/CMakeFiles/shell_a.dir/source/Command.cc.o [ 7%] Building CXX object libflags/CMakeFiles/flags_a.dir/source/Flags.cc.o [ 8%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Errors.cc.o [ 10%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Buffer.cc.o [ 10%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Path.cc.o [ 13%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Linker.cc.o [ 13%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Guard.cc.o [ 14%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Process.cc.o [ 16%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Environment.cc.o [ 16%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Signal.cc.o [ 19%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Logger.cc.o [ 19%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Executor.cc.o [ 20%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Paths.cc.o [ 21%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Resolver.cc.o [ 22%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Session.cc.o [ 23%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/supervise.pb.cc.o [ 25%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/supervise.grpc.pb.cc.o [ 26%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/intercept.pb.cc.o [ 27%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/intercept.grpc.pb.cc.o [ 27%] Built target exec_a [ 28%] Building CXX object intercept/CMakeFiles/exec.dir/source/report/libexec/lib.cc.o [ 29%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/ArrayTest.cc.o [ 32%] Building CXX object intercept/CMakeFiles/exec.dir/source/report/libexec/std.cc.o [ 32%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/BufferTest.cc.o [ 33%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/ExecutorTest.cc.o [ 34%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/PathsTest.cc.o [ 35%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/SessionTest.cc.o [ 36%] Linking C shared library libexec.so [ 36%] Built target exec [ 36%] Built target flags_a [ 38%] Building CXX object libmain/CMakeFiles/main_a.dir/source/ApplicationLogConfig.cc.o [ 39%] Building CXX object libflags/CMakeFiles/flags_unit_test.dir/test/FlagsTest.cc.o [ 40%] Building CXX object libmain/CMakeFiles/main_a.dir/source/ApplicationFromArgs.cc.o [ 41%] Building CXX object libmain/CMakeFiles/main_a.dir/source/SubcommandFromArgs.cc.o [ 42%] Linking CXX executable result_unit_test [ 42%] Built target sys_a [ 44%] Building CXX object libsys/CMakeFiles/sys_unit_test.dir/test/EnvironmentTest.cc.o [ 45%] Building CXX object libsys/CMakeFiles/sys_unit_test.dir/test/ErrorsTest.cc.o [ 46%] Building CXX object libsys/CMakeFiles/sys_unit_test.dir/test/PathTest.cc.o [ 46%] Built target result_unit_test [ 46%] Built target shell_a [ 48%] Building CXX object libshell/CMakeFiles/shell_unit_test.dir/test/CommandTest.cc.o [ 48%] Building CXX object citnames/CMakeFiles/citnames_json_a.dir/source/Configuration.cc.o [ 50%] Building CXX object citnames/CMakeFiles/citnames_json_a.dir/source/Output.cc.o [ 50%] Built target main_a [ 51%] Linking CXX executable sys_unit_test [ 51%] Built target sys_unit_test [ 52%] Linking CXX executable flags_unit_test [ 52%] Built target flags_unit_test [ 52%] Built target rpc_a [ 53%] Building CXX object intercept/CMakeFiles/events_db_a.dir/source/collect/db/EventsDatabaseReader.cc.o [ 55%] Building CXX object intercept/CMakeFiles/domain_a.dir/source/Convert.cc.o [ 55%] Building CXX object intercept/CMakeFiles/events_db_a.dir/source/collect/db/EventsDatabaseWriter.cc.o [ 57%] Building CXX object intercept/CMakeFiles/domain_a.dir/source/Domain.cc.o [ 58%] Linking CXX executable shell_unit_test [ 58%] Built target shell_unit_test [ 59%] Linking CXX executable exec_unit_test [ 59%] Built target exec_unit_test [ 59%] Built target domain_a [ 60%] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/EventFactory.cc.o [ 61%] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/Application.cc.o [ 64%] 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/EventReporter.cc.o [ 64%] Built target events_db_a [ 65%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/SessionLibrary.cc.o [ 67%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Intercept.cc.o [ 67%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Reporter.cc.o [ 69%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/RpcServices.cc.o [ 71%] 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 [ 71%] Built target citnames_json_a [ 72%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Build.cc.o [ 73%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Parsers.cc.o [ 75%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Semantic.cc.o [ 76%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolClang.cc.o [ 78%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolCuda.cc.o [ 79%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/Citnames.cc.o [ 79%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolAny.cc.o [ 80%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolGcc.cc.o [ 82%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolWrapper.cc.o [ 83%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolExtendingWrapper.cc.o [ 83%] Built target intercept_a [ 83%] Built target wrapper_a [ 84%] Building CXX object intercept/CMakeFiles/wrapper.dir/source/report/wrapper/main.cc.o [ 85%] Building CXX object intercept/CMakeFiles/intercept_unit_test.dir/test/EventFactoryTest.cc.o [ 86%] Building CXX object intercept/CMakeFiles/intercept_unit_test.dir/test/SessionTest.cc.o [ 88%] Linking CXX executable wrapper [ 88%] Built target wrapper [ 89%] Linking CXX executable intercept_unit_test [ 89%] Built target intercept_unit_test [ 89%] Built target citnames_a [ 90%] Building CXX object bear/CMakeFiles/bear_a.dir/source/Application.cc.o [ 91%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/ParserTest.cc.o [ 92%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/OutputTest.cc.o [ 95%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/ToolGccTest.cc.o [ 95%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/ToolClangTest.cc.o [ 96%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/ToolWrapperTest.cc.o [ 96%] Built target bear_a [ 97%] Building CXX object bear/CMakeFiles/bear.dir/main.cc.o [ 98%] Linking CXX executable citnames_unit_test [ 98%] Built target citnames_unit_test [100%] Linking CXX executable bear [100%] Built target bear [ 38%] Performing test step for 'BearSource' Test project /build/bear/src/build/subprojects/Build/BearSource Start 1: bear::result_unit_test 1/7 Test #1: bear::result_unit_test ........... Passed 0.02 sec Start 2: bear::flags_unit_test 2/7 Test #2: bear::flags_unit_test ............ Passed 0.02 sec Start 3: bear::shell_unit_test 3/7 Test #3: bear::shell_unit_test ............ Passed 0.03 sec Start 4: bear::sys_unit_test 4/7 Test #4: bear::sys_unit_test .............. Passed 0.02 sec Start 5: bear::exec_unit_test 5/7 Test #5: bear::exec_unit_test ............. Passed 0.02 sec Start 6: bear::intercept_unit_test 6/7 Test #6: bear::intercept_unit_test ........ Passed 0.23 sec Start 7: bear::citnames_unit_test 7/7 Test #7: bear::citnames_unit_test ......... Passed 0.14 sec 100% tests passed, 0 tests failed out of 7 Total Test time (real) = 0.52 sec [ 44%] Performing install step for 'BearSource' [ 1%] Built target flags_a [ 2%] Built target shell_a [ 4%] Built target result_unit_test [ 14%] Built target exec_a [ 21%] Built target sys_a [ 28%] Built target rpc_a [ 30%] Built target flags_unit_test [ 33%] Built target shell_unit_test [ 36%] Built target exec [ 40%] Built target main_a [ 42%] Built target citnames_json_a [ 47%] Built target sys_unit_test [ 54%] Built target exec_unit_test [ 57%] Built target domain_a [ 59%] Built target events_db_a [ 64%] Built target wrapper_a [ 71%] Built target intercept_a [ 83%] Built target citnames_a [ 85%] Built target wrapper [ 86%] Built target bear_a [ 90%] Built target intercept_unit_test [ 97%] Built target citnames_unit_test [100%] Built target bear Install the project... -- Install configuration: "Release" -- Installing: /build/bear/src/build/stage/share/man/man1/bear-intercept.1 -- Installing: /build/bear/src/build/stage/lib/bear/wrapper -- Installing: /build/bear/src/build/stage/lib/bear/wrapper.d -- Installing: /build/bear/src/build/stage/lib/bear/libexec.so -- Installing: /build/bear/src/build/stage/share/man/man1/bear-citnames.1 -- Installing: /build/bear/src/build/stage/bin/bear -- Installing: /build/bear/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 /build/bear/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 (11.1s) -- Generating done (0.0s) -- Build files have been written to: /build/bear/src/build/subprojects/Build/BearTest [ 83%] Performing build step for 'BearTest' [ 88%] Performing test step for 'BearTest' UpdateCTestConfiguration from :/build/bear/src/build/subprojects/Build/BearTest/DartConfiguration.tcl UpdateCTestConfiguration from :/build/bear/src/build/subprojects/Build/BearTest/DartConfiguration.tcl Test project /build/bear/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=/build/bear/src/build/subprojects/Build/BearTest" "-D_BIN_BEAR=/build/bear/src/build/stage/bin/bear" "-D_BIN_CITNAMES=/build/bear/src/build/stage/bin/citnames" "-D_BIN_INTERCEPT=/build/bear/src/build/stage/bin/intercept" "-D_BIN_WRAPPER=/build/bear/src/build/stage/lib/bear/wrapper" "-D_BIN_WRAPPER_DIR=/build/bear/src/build/stage/lib/bear/wrapper.d" "-D_LIB_EXEC=/build/bear/src/build/stage/lib/bear/libexec.so" "-v" "/build/bear/src/build/subprojects/Build/BearTest" 1: Working Directory: /build/bear/src/build/subprojects/Build/BearTest 1: Test timeout computed to be: 90 1: [('%{compile}', 'cc -I /build/bear/src/build/subprojects/Build/BearTest'), ('%{bear}', '/build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d'), ('%{intercept}', '/build/bear/src/build/stage/bin/bear intercept --wrapper /build/bear/src/build/stage/lib/bear/wrapper --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d'), ('%{citnames}', '/build/bear/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': '/build/bear/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': 'tmux-256color', 'SOURCE_DATE_EPOCH': '1699811453', '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, 64 workers -- 1: UNSUPPORTED: bear :: cases/citnames/exit_code/exit_code_for_success.sh (1 of 100) 1: UNSUPPORTED: bear :: cases/compilation/output/compile_cuda.sh (2 of 100) 1: UNSUPPORTED: bear :: cases/compilation/output/compile_fortran.sh (3 of 100) 1: UNSUPPORTED: bear :: cases/intercept/preload/posix/execvp2/failure_prints_errno.c (4 of 100) 1: UNSUPPORTED: bear :: cases/intercept/preload/posix/execvp2/success.c (5 of 100) 1: UNSUPPORTED: bear :: cases/intercept/preload/posix/exect/success.c (6 of 100) 1: PASS: bear :: cases/intercept/output/shell_command_with_iso8859-2.sh (7 of 100) 1: PASS: bear :: cases/citnames/exit_code/exit_code_for_help.sh (8 of 100) 1: XFAIL: bear :: cases/citnames/exit_code/exit_code_for_fail.sh (9 of 100) 1: PASS: bear :: cases/compilation/exit_code/exit_code_for_help.sh (10 of 100) 1: XFAIL: bear :: cases/compilation/exit_code/exit_code_for_empty.sh (11 of 100) 1: XFAIL: bear :: cases/intercept/exit_code/exit_code_for_empty.sh (12 of 100) 1: PASS: bear :: cases/intercept/exit_code/exit_code_for_help.sh (13 of 100) 1: PASS: bear :: cases/intercept/exit_code/exit_code_for_success.sh (14 of 100) 1: PASS: bear :: cases/citnames/output/wrapper_flags_extended.sh (15 of 100) 1: PASS: bear :: cases/citnames/output/relative_paths_converted.sh (16 of 100) 1: PASS: bear :: cases/citnames/output/clang_plugin.sh (17 of 100) 1: XFAIL: bear :: cases/intercept/exit_code/exit_code_for_fail.sh (18 of 100) 1: PASS: bear :: cases/compilation/exit_code/exit_code_for_success.sh (19 of 100) 1: XFAIL: bear :: cases/compilation/exit_code/exit_code_for_fail.sh (20 of 100) 1: PASS: bear :: cases/intercept/preload/build_command_captured.sh (21 of 100) 1: PASS: bear :: cases/citnames/output/convert_format.sh (22 of 100) 1: PASS: bear :: cases/intercept/preload/errno_reset.c (23 of 100) 1: PASS: bear :: cases/intercept/preload/path_resolver/same_name_without_exec_flag.c (24 of 100) 1: PASS: bear :: cases/intercept/preload/posix/no_exec.c (25 of 100) 1: UNSUPPORTED: bear :: cases/intercept/valgrind/shell_commands_intercepted.sh (26 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execle/failure_prints_errno.c (27 of 100) 1: PASS: bear :: cases/intercept/preload/build_stderr_captured.sh (28 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execvpe/failure_prints_errno.c (29 of 100) 1: PASS: bear :: cases/intercept/preload/build_stdout_captured.sh (30 of 100) 1: FAIL: bear :: cases/compilation/output/bug439.mk (31 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/bug439.mk' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; mkdir -p /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/make 1: : 'RUN: at line 5'; /usr/bin/make -C /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -f /build/bear/src/bear/test/cases/compilation/output/bug439.mk clean 1: : 'RUN: at line 6'; /usr/bin/sh -c "PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output:$PATH /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json -- /usr/bin/make -C /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -f /build/bear/src/bear/test/cases/compilation/output/bug439.mk" 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json count -eq 2 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -S -o bug439.s bug439.c 1: : 'RUN: at line 9'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.s -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o bug439.o bug439.s 1: -- 1: Exit Code: 2 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "mkdir" "-p" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/make" 1: $ ":" "RUN: at line 5" 1: $ "/usr/bin/make" "-C" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" "-f" "/build/bear/src/bear/test/cases/compilation/output/bug439.mk" "clean" 1: # command output: 1: make: Entering directory '/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output' 1: rm -f bug439 bug439.o bug439.s bug439.c 1: make: Leaving directory '/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output' 1: 1: $ ":" "RUN: at line 6" 1: $ "/usr/bin/sh" "-c" "PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output:$PATH /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json -- /usr/bin/make -C /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -f /build/bear/src/bear/test/cases/compilation/output/bug439.mk" 1: # command output: 1: make: Entering directory '/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output' 1: echo "int main() { return 0; }" > bug439.c 1: /usr/bin/cc -S bug439.c -o bug439.s 1: make: Leaving directory '/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output' 1: 1: # command stderr: 1: [13:07:33.805229, br, 2802] bear: 3.1.3 1: [13:07:33.806043, br, 2802] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/bug439.mk"] 1: [13:07:33.806397, br, 2802] environment: ["PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output:/build/bear/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", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=0", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/build/bear/src/build/stage/bin/bear"] 1: [13:07:33.806668, br, 2802] sysname: Linux 1: [13:07:33.806853, br, 2802] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.807004, br, 2802] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.807123, br, 2802] machine: riscv64 1: [13:07:33.807427, br, 2802] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/make, -C, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output, -f, /build/bear/src/bear/test/cases/compilation/output/bug439.mk]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.809793, br, 2802] Process spawned. [pid: 2955, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.events.json", "--verbose", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/bug439.mk"]] 1: [13:07:33.810202, br, 2802] Process wait requested. [pid: 2955] 1: [13:07:33.973341, br, 2955] bear: 3.1.3 1: [13:07:33.973884, br, 2955] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.events.json", "--verbose", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/bug439.mk"] 1: [13:07:33.974237, br, 2955] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output:/build/bear/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=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output", "SHLVL=0", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true", "_=/build/bear/src/build/stage/bin/bear"] 1: [13:07:33.974534, br, 2955] sysname: Linux 1: [13:07:33.974672, br, 2955] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.974788, br, 2955] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.974898, br, 2955] machine: riscv64 1: [13:07:33.975166, br, 2955] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/make, -C, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output, -f, /build/bear/src/bear/test/cases/compilation/output/bug439.mk]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:33.975782, br, 2955] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:34.006800, br, 2955] Running gRPC server. dns:///localhost:40027 1: [13:07:34.014186, br, 2955] Process spawned. [pid: 3625, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40027", "--verbose", "--execute", "/usr/bin/make", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/bug439.mk"]] 1: [13:07:34.014484, br, 2955] Process wait requested. [pid: 3625] 1: [13:07:34.163606, el, 3625] lib.cc; on_load 1: [13:07:34.165037, wr, 3625, ppid: 2955] wrapper: 3.1.3 1: [13:07:34.165360, wr, 3625, ppid: 2955] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40027", "--verbose", "--execute", "/usr/bin/make", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/bug439.mk"] 1: [13:07:34.165628, wr, 3625, ppid: 2955] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:40027", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output:/build/bear/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=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output", "SHLVL=0", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true", "_=/build/bear/src/build/stage/bin/bear"] 1: [13:07:34.166138, wr, 3625, ppid: 2955] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/make, -C, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output, -f, /build/bear/src/bear/test/cases/compilation/output/bug439.mk]}, {--destination: [dns:///localhost:40027]}, {--execute: [/usr/bin/make]}, {--verbose: []}]} 1: [13:07:34.186283, wr, 3625, ppid: 2955] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.453603, br, 2955] trying to resolve for library: /usr/bin/make 1: [13:07:34.455712, wr, 3625, ppid: 2955] gRPC call [Resolve] finished: true 1: [13:07:34.457610, wr, 3625, ppid: 2955] Process spawned. [pid: 5680, command: ["/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/bug439.mk"]] 1: [13:07:34.457774, wr, 3625, ppid: 2955] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.469192, wr, 3625, ppid: 2955] gRPC call [Register] finished: true 1: [13:07:34.469606, wr, 3625, ppid: 2955] Process wait requested. [pid: 5680] 1: [13:07:34.470839, el, 5680] lib.cc; on_load 1: [13:07:34.475675, el, 5719] lib.cc; execvp file: /bin/sh 1: [13:07:34.606666, el, 5719] lib.cc; on_load 1: [13:07:34.607728, wr, 5719, ppid: 5680] wrapper: 3.1.3 1: [13:07:34.607813, wr, 5719, ppid: 5680] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40027", "--verbose", "--execute", "/bin/sh", "--", "/bin/sh", "-c", "echo \"int main() { return 0; }\" > bug439.c"] 1: [13:07:34.607913, wr, 5719, ppid: 5680] environment: ["TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "LLVM_DISABLE_CRASH_REPORT=1", "FALSE=/usr/bin/false", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output", "SOURCE_DATE_EPOCH=1699811453", "TMP=/tmp/lit-tmp-icqdqr_v", "MAKEFLAGS=", "MFLAGS=", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "SHLVL=0", "MAKELEVEL=1", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:40027", "PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output:/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "LIBTOOL=/usr/bin/libtool", "ECHO=/usr/bin/echo", "_=/build/bear/src/build/stage/bin/bear", "LC_CTYPE=en_US.UTF-8", "TRUE=/usr/bin/true", "TEMP=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "CXX=/usr/bin/c++", "CC=/usr/bin/cc", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper"] 1: [13:07:34.608015, wr, 5719, ppid: 5680] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/bin/sh, -c, echo "int main() { return 0; }" > bug439.c]}, {--destination: [dns:///localhost:40027]}, {--execute: [/bin/sh]}, {--verbose: []}]} 1: [13:07:34.626353, wr, 5719, ppid: 5680] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.884908, br, 2955] trying to resolve for library: /bin/sh 1: [13:07:34.887003, wr, 5719, ppid: 5680] gRPC call [Resolve] finished: true 1: [13:07:34.888912, wr, 5719, ppid: 5680] Process spawned. [pid: 7032, command: ["/bin/sh", "-c", "echo \"int main() { return 0; }\" > bug439.c"]] 1: [13:07:34.889083, wr, 5719, ppid: 5680] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.894303, wr, 5719, ppid: 5680] gRPC call [Register] finished: true 1: [13:07:34.894787, wr, 5719, ppid: 5680] Process wait requested. [pid: 7032] 1: [13:07:34.897799, el, 7032] lib.cc; on_load 1: [13:07:34.907281, el, 7032] lib.cc; on_unload 1: [13:07:34.908885, wr, 5719, ppid: 5680] Process wait request: done. [pid: 7032] 1: [13:07:34.908963, wr, 5719, ppid: 5680] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.911883, wr, 5719, ppid: 5680] gRPC call [Register] finished: true 1: [13:07:34.926187, wr, 5719, ppid: 5680] succeeded with: 0 1: [13:07:34.926524, el, 5719] lib.cc; on_unload 1: [13:07:34.937478, el, 7194] lib.cc; execvp file: /usr/bin/cc 1: [13:07:35.109370, el, 7194] lib.cc; on_load 1: [13:07:35.110666, wr, 7194, ppid: 5680] wrapper: 3.1.3 1: [13:07:35.111024, wr, 7194, ppid: 5680] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40027", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-S", "bug439.c", "-o", "bug439.s"] 1: [13:07:35.111219, wr, 7194, ppid: 5680] environment: ["TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "LLVM_DISABLE_CRASH_REPORT=1", "FALSE=/usr/bin/false", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output", "SOURCE_DATE_EPOCH=1699811453", "TMP=/tmp/lit-tmp-icqdqr_v", "MAKEFLAGS=", "MFLAGS=", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "SHLVL=0", "MAKELEVEL=1", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:40027", "PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output:/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "LIBTOOL=/usr/bin/libtool", "ECHO=/usr/bin/echo", "_=/build/bear/src/build/stage/bin/bear", "LC_CTYPE=en_US.UTF-8", "TRUE=/usr/bin/true", "TEMP=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "CXX=/usr/bin/c++", "CC=/usr/bin/cc", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper"] 1: [13:07:35.111391, wr, 7194, ppid: 5680] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -S, bug439.c, -o, bug439.s]}, {--destination: [dns:///localhost:40027]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:35.390053, wr, 7194, ppid: 5680] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.400607, br, 2955] trying to resolve for library: /usr/bin/cc 1: [13:07:35.403901, wr, 7194, ppid: 5680] gRPC call [Resolve] finished: true 1: [13:07:35.405966, wr, 7194, ppid: 5680] Process spawned. [pid: 8181, command: ["/usr/bin/cc", "-S", "bug439.c", "-o", "bug439.s"]] 1: [13:07:35.406339, wr, 7194, ppid: 5680] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.411966, wr, 7194, ppid: 5680] gRPC call [Register] finished: true 1: [13:07:35.412348, wr, 7194, ppid: 5680] Process wait requested. [pid: 8181] 1: free(): invalid pointer 1: [13:07:35.414809, wr, 7194, ppid: 5680] Process wait request: done. [pid: 8181] 1: [13:07:35.414973, wr, 7194, ppid: 5680] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.417040, wr, 7194, ppid: 5680] gRPC call [Register] finished: true 1: [13:07:35.434408, wr, 7194, ppid: 5680] succeeded with: 1 1: [13:07:35.434546, el, 7194] lib.cc; on_unload 1: make: *** [/build/bear/src/bear/test/cases/compilation/output/bug439.mk:15: bug439.s] Error 1 1: [13:07:35.442254, el, 5680] lib.cc; on_unload 1: [13:07:35.444091, wr, 3625, ppid: 2955] Process wait request: done. [pid: 5680] 1: [13:07:35.444194, wr, 3625, ppid: 2955] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.446563, wr, 3625, ppid: 2955] gRPC call [Register] finished: true 1: [13:07:35.458173, wr, 3625, ppid: 2955] succeeded with: 2 1: [13:07:35.458322, el, 3625] lib.cc; on_unload 1: [13:07:35.467179, br, 2955] Process wait request: done. [pid: 3625] 1: [13:07:35.467385, br, 2955] Running command. [Exited with 2] 1: [13:07:35.467426, br, 2955] Stopping gRPC server. 1: [13:07:35.482149, br, 2955] succeeded with: 2 1: [13:07:35.491374, br, 2802] Process wait request: done. [pid: 2955] 1: [13:07:35.491510, br, 2802] Running intercept finished. [Exited with 2] 1: [13:07:35.492670, br, 2802] Process spawned. [pid: 8242, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json", "--run-checks", "--verbose"]] 1: [13:07:35.492803, br, 2802] Process wait requested. [pid: 8242] 1: [13:07:35.613774, br, 8242] bear: 3.1.3 1: [13:07:35.614282, br, 8242] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json", "--run-checks", "--verbose"] 1: [13:07:35.614487, br, 8242] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output:/build/bear/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=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output", "SHLVL=0", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true", "_=/build/bear/src/build/stage/bin/bear"] 1: [13:07:35.614829, br, 8242] sysname: Linux 1: [13:07:35.615092, br, 8242] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:35.615192, br, 8242] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:35.615274, br, 8242] machine: riscv64 1: [13:07:35.615475, br, 8242] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:07:35.616319, br, 8242] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [13:07:35.623892, br, 8242] [pid: 5680] execution: {"executable":"/usr/bin/make","arguments":["/usr/bin/make","-C","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","-f","/build/bear/src/bear/test/cases/compilation/output/bug439.mk"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output","environment":{"INTERCEPT_VERBOSE":"true","TERM":"tmux-256color","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","TMP":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","LIBTOOL":"/usr/bin/libtool","CC":"/usr/bin/cc","CXX":"/usr/bin/c++","PATH":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output:/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMPDIR":"/tmp/lit-tmp-icqdqr_v","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SLEEP":"/usr/bin/sleep","_":"/build/bear/src/build/stage/bin/bear","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40027","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","SOURCE_DATE_EPOCH":"1699811453","LLVM_DISABLE_CRASH_REPORT":"1","FALSE":"/usr/bin/false","SHLVL":"0","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output","TRUE":"/usr/bin/true","TEMP":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:07:35.625524, br, 8242] [pid: 5680] recognition failed: No tools recognize this execution. 1: [13:07:35.627292, br, 8242] [pid: 7032] execution: {"executable":"/bin/sh","arguments":["/bin/sh","-c","echo \"int main() { return 0; }\" \u003e bug439.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","_":"/build/bear/src/build/stage/bin/bear","FALSE":"/usr/bin/false","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output","TRUE":"/usr/bin/true","TERM":"tmux-256color","MAKEFLAGS":"","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","MAKELEVEL":"1","TMP":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","MFLAGS":"","CC":"/usr/bin/cc","CXX":"/usr/bin/c++","PATH":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output:/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40027","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","SOURCE_DATE_EPOCH":"1699811453","SHLVL":"0","TEMP":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:07:35.627427, br, 8242] [pid: 7032] recognition failed: No tools recognize this execution. 1: [13:07:35.628588, br, 8242] [pid: 8181] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-S","bug439.c","-o","bug439.s"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","_":"/build/bear/src/build/stage/bin/bear","FALSE":"/usr/bin/false","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output","TRUE":"/usr/bin/true","TERM":"tmux-256color","MAKEFLAGS":"","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","MAKELEVEL":"1","TMP":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","MFLAGS":"","CC":"/usr/bin/cc","CXX":"/usr/bin/c++","PATH":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output:/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40027","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","SOURCE_DATE_EPOCH":"1699811453","SHLVL":"0","TEMP":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:07:35.629062, br, 8242] [pid: 8181] recognized. 1: [13:07:35.629865, br, 8242] compilation entries created. [size: 1] 1: [13:07:35.630098, br, 8242] compilation entries to output. [size: 1] 1: [13:07:35.631286, br, 8242] compilation entries written. [size: 1] 1: [13:07:35.631549, br, 8242] succeeded with: 0 1: [13:07:35.638197, br, 2802] Process wait request: done. [pid: 8242] 1: [13:07:35.638311, br, 2802] Running citnames finished. [Exited with 0] 1: [13:07:35.638684, br, 2802] succeeded with: 2 1: 1: error: command failed with exit status: 2 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/preload/path_resolver/same_name_in_path.c (32 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execve/failure_prints_errno.c (33 of 100) 1: PASS: bear :: cases/intercept/preload/posix/exevp/failure_prints_errno.c (34 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execl/failure_prints_errno.c (35 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execlp/failure_prints_errno.c (36 of 100) 1: PASS: bear :: cases/intercept/preload/posix/posix_spawn/failure_prints_errno.c (37 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execv/failure_prints_errno.c (38 of 100) 1: PASS: bear :: cases/intercept/preload/posix/posix_spawnp/failure_prints_errno.c (39 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execvpe/success_to_resolve.c (40 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execl/success.c (41 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execv/success.c (42 of 100) 1: PASS: bear :: cases/intercept/preload/posix/exevp/success.c (43 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execle/success.c (44 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execvpe/success.c (45 of 100) 1: PASS: bear :: cases/intercept/preload/posix/exevp/success_to_resolve.c (46 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execve/success.c (47 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execlp/success_to_resolve.c (48 of 100) 1: PASS: bear :: cases/intercept/preload/posix/popen/success.c (49 of 100) 1: FAIL: bear :: cases/compilation/output/flag/use_cxx.sh (50 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/flag/use_cxx.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --force-preload --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json count -eq 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx_1.cc -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/c++ -c -o use_cxx_1.o use_cxx_1.cc 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx_2.cc -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/c++ -c -o use_cxx_2.o use_cxx_2.cc 1: : 'RUN: at line 10'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; env CXX=/usr/bin/true /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --force-preload --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.all.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh 1: : 'RUN: at line 11'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.all.json count -eq 2 1: : 'RUN: at line 12'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.all.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx_1.cc -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/true -c -o use_cxx_1.o use_cxx_1.cc 1: : 'RUN: at line 13'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.all.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx_2.cc -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/true -c -o use_cxx_2.o use_cxx_2.cc 1: : 'RUN: at line 15'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --force-wrapper --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh 1: : 'RUN: at line 16'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json count -eq 2 1: : 'RUN: at line 17'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx_1.cc -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/c++ -c -o use_cxx_1.o use_cxx_1.cc 1: : 'RUN: at line 18'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx_2.cc -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/c++ -c -o use_cxx_2.o use_cxx_2.cc 1: : 'RUN: at line 20'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; env CXX=/usr/bin/true /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --force-wrapper --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.all.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh 1: : 'RUN: at line 21'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.all.json count -eq 2 1: : 'RUN: at line 22'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.all.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx_1.cc -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/true -c -o use_cxx_1.o use_cxx_1.cc 1: : 'RUN: at line 23'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.all.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx_2.cc -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/true -c -o use_cxx_2.o use_cxx_2.cc 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 5" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--force-preload" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh" 1: # command stderr: 1: [13:07:33.793123, br, 2803] bear: 3.1.3 1: [13:07:33.793917, br, 2803] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--force-preload", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh"] 1: [13:07:33.794164, br, 2803] environment: ["PATH=/build/bear/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=tmux-256color", "SOURCE_DATE_EPOCH=1699811453", "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", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v"] 1: [13:07:33.794353, br, 2803] sysname: Linux 1: [13:07:33.794524, br, 2803] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.794780, br, 2803] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.794937, br, 2803] machine: riscv64 1: [13:07:33.795224, br, 2803] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--force-preload: []}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.797277, br, 2803] Process spawned. [pid: 2938, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.events.json", "--force-preload", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh"]] 1: [13:07:33.797610, br, 2803] Process wait requested. [pid: 2938] 1: [13:07:33.960349, br, 2938] bear: 3.1.3 1: [13:07:33.961599, br, 2938] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.events.json", "--force-preload", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh"] 1: [13:07:33.962939, br, 2938] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:33.963602, br, 2938] sysname: Linux 1: [13:07:33.963905, br, 2938] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.964017, br, 2938] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.964121, br, 2938] machine: riscv64 1: [13:07:33.964374, br, 2938] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh]}, {--force-preload: []}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:33.964998, br, 2938] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:34.008953, br, 2938] Running gRPC server. dns:///localhost:33585 1: [13:07:34.016264, br, 2938] Process spawned. [pid: 3631, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33585", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh"]] 1: [13:07:34.016426, br, 2938] Process wait requested. [pid: 3631] 1: [13:07:34.187813, el, 3631] lib.cc; on_load 1: [13:07:34.189070, wr, 3631, ppid: 2938] wrapper: 3.1.3 1: [13:07:34.189193, wr, 3631, ppid: 2938] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33585", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh"] 1: [13:07:34.189324, wr, 3631, ppid: 2938] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:33585", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.189540, wr, 3631, ppid: 2938] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh]}, {--destination: [dns:///localhost:33585]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:34.208913, wr, 3631, ppid: 2938] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.469813, br, 2938] trying to resolve for library: /usr/bin/sh 1: [13:07:34.472005, wr, 3631, ppid: 2938] gRPC call [Resolve] finished: true 1: [13:07:34.473666, wr, 3631, ppid: 2938] Process spawned. [pid: 5712, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh"]] 1: [13:07:34.473809, wr, 3631, ppid: 2938] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.481624, el, 5712] lib.cc; on_load 1: [13:07:34.487048, wr, 3631, ppid: 2938] gRPC call [Register] finished: true 1: [13:07:34.487454, wr, 3631, ppid: 2938] Process wait requested. [pid: 5712] 1: [13:07:34.490281, el, 5743] lib.cc; execve path: /usr/bin/touch 1: [13:07:34.616978, el, 5743] lib.cc; on_load 1: [13:07:34.618240, wr, 5743, ppid: 5712] wrapper: 3.1.3 1: [13:07:34.618476, wr, 5743, ppid: 5712] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33585", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "use_cxx_1.cc", "use_cxx_2.cc"] 1: [13:07:34.618606, wr, 5743, ppid: 5712] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:33585", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/touch"] 1: [13:07:34.618758, wr, 5743, ppid: 5712] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, use_cxx_1.cc, use_cxx_2.cc]}, {--destination: [dns:///localhost:33585]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [13:07:34.636480, wr, 5743, ppid: 5712] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.902736, br, 2938] trying to resolve for library: /usr/bin/touch 1: [13:07:34.904872, wr, 5743, ppid: 5712] gRPC call [Resolve] finished: true 1: [13:07:34.907358, wr, 5743, ppid: 5712] Process spawned. [pid: 7093, command: ["touch", "use_cxx_1.cc", "use_cxx_2.cc"]] 1: [13:07:34.907501, wr, 5743, ppid: 5712] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.914005, wr, 5743, ppid: 5712] gRPC call [Register] finished: true 1: [13:07:34.914862, wr, 5743, ppid: 5712] Process wait requested. [pid: 7093] 1: [13:07:34.917549, el, 7093] lib.cc; on_load 1: [13:07:34.920809, wr, 5743, ppid: 5712] Process wait request: done. [pid: 7093] 1: [13:07:34.920894, wr, 5743, ppid: 5712] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.923827, wr, 5743, ppid: 5712] gRPC call [Register] finished: true 1: [13:07:34.935980, wr, 5743, ppid: 5712] succeeded with: 0 1: [13:07:34.936116, el, 5743] lib.cc; on_unload 1: [13:07:34.946916, el, 7225] lib.cc; execve path: /usr/bin/c++ 1: [13:07:35.112702, el, 7225] lib.cc; on_load 1: [13:07:35.114773, wr, 7225, ppid: 5712] wrapper: 3.1.3 1: [13:07:35.115177, wr, 7225, ppid: 5712] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33585", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-c", "-o", "use_cxx_1.o", "use_cxx_1.cc"] 1: [13:07:35.115388, wr, 7225, ppid: 5712] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:33585", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/c++"] 1: [13:07:35.115561, wr, 7225, ppid: 5712] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/c++, -c, -o, use_cxx_1.o, use_cxx_1.cc]}, {--destination: [dns:///localhost:33585]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [13:07:35.136536, wr, 7225, ppid: 5712] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.404638, br, 2938] trying to resolve for library: /usr/bin/c++ 1: [13:07:35.406704, wr, 7225, ppid: 5712] gRPC call [Resolve] finished: true 1: [13:07:35.408418, wr, 7225, ppid: 5712] Process spawned. [pid: 8186, command: ["/usr/bin/c++", "-c", "-o", "use_cxx_1.o", "use_cxx_1.cc"]] 1: [13:07:35.408586, wr, 7225, ppid: 5712] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.413439, wr, 7225, ppid: 5712] gRPC call [Register] finished: true 1: [13:07:35.413779, wr, 7225, ppid: 5712] Process wait requested. [pid: 8186] 1: free(): invalid pointer 1: [13:07:35.416513, wr, 7225, ppid: 5712] Process wait request: done. [pid: 8186] 1: [13:07:35.416579, wr, 7225, ppid: 5712] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.419131, wr, 7225, ppid: 5712] gRPC call [Register] finished: true 1: [13:07:35.435641, wr, 7225, ppid: 5712] succeeded with: 1 1: [13:07:35.435998, el, 7225] lib.cc; on_unload 1: [13:07:35.445999, el, 8198] lib.cc; execve path: /usr/bin/c++ 1: [13:07:35.561368, el, 8198] lib.cc; on_load 1: [13:07:35.562295, wr, 8198, ppid: 5712] wrapper: 3.1.3 1: [13:07:35.562400, wr, 8198, ppid: 5712] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33585", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-c", "-o", "use_cxx_2.o", "use_cxx_2.cc"] 1: [13:07:35.562489, wr, 8198, ppid: 5712] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:33585", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/c++"] 1: [13:07:35.562668, wr, 8198, ppid: 5712] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/c++, -c, -o, use_cxx_2.o, use_cxx_2.cc]}, {--destination: [dns:///localhost:33585]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [13:07:35.578216, wr, 8198, ppid: 5712] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.843239, br, 2938] trying to resolve for library: /usr/bin/c++ 1: [13:07:35.845142, wr, 8198, ppid: 5712] gRPC call [Resolve] finished: true 1: [13:07:35.846896, wr, 8198, ppid: 5712] Process spawned. [pid: 8928, command: ["/usr/bin/c++", "-c", "-o", "use_cxx_2.o", "use_cxx_2.cc"]] 1: [13:07:35.847043, wr, 8198, ppid: 5712] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.851903, wr, 8198, ppid: 5712] gRPC call [Register] finished: true 1: [13:07:35.852278, wr, 8198, ppid: 5712] Process wait requested. [pid: 8928] 1: free(): invalid pointer 1: [13:07:35.855211, wr, 8198, ppid: 5712] Process wait request: done. [pid: 8928] 1: [13:07:35.855276, wr, 8198, ppid: 5712] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.857365, wr, 8198, ppid: 5712] gRPC call [Register] finished: true 1: [13:07:35.869542, wr, 8198, ppid: 5712] succeeded with: 1 1: [13:07:35.869683, el, 8198] lib.cc; on_unload 1: [13:07:35.878897, el, 5712] lib.cc; on_unload 1: [13:07:35.880745, wr, 3631, ppid: 2938] Process wait request: done. [pid: 5712] 1: [13:07:35.880837, wr, 3631, ppid: 2938] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.883005, wr, 3631, ppid: 2938] gRPC call [Register] finished: true 1: [13:07:35.898023, wr, 3631, ppid: 2938] succeeded with: 1 1: [13:07:35.898198, el, 3631] lib.cc; on_unload 1: [13:07:35.907084, br, 2938] Process wait request: done. [pid: 3631] 1: [13:07:35.907255, br, 2938] Running command. [Exited with 1] 1: [13:07:35.907295, br, 2938] Stopping gRPC server. 1: [13:07:35.921680, br, 2938] succeeded with: 1 1: [13:07:35.931261, br, 2803] Process wait request: done. [pid: 2938] 1: [13:07:35.931430, br, 2803] Running intercept finished. [Exited with 1] 1: [13:07:35.932701, br, 2803] Process spawned. [pid: 8990, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json", "--run-checks", "--verbose"]] 1: [13:07:35.932874, br, 2803] Process wait requested. [pid: 8990] 1: [13:07:36.044370, br, 8990] bear: 3.1.3 1: [13:07:36.044645, br, 8990] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json", "--run-checks", "--verbose"] 1: [13:07:36.044696, br, 8990] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:36.044721, br, 8990] sysname: Linux 1: [13:07:36.044910, br, 8990] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:36.044918, br, 8990] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:36.044923, br, 8990] machine: riscv64 1: [13:07:36.045014, br, 8990] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:07:36.045589, br, 8990] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [13:07:36.052748, br, 8990] [pid: 5712] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"LIBTOOL":"/usr/bin/libtool","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_VERBOSE":"true","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","FALSE":"/usr/bin/false","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","CC":"/usr/bin/cc","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","ECHO":"/usr/bin/echo","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33585","TERM":"tmux-256color","SOURCE_DATE_EPOCH":"1699811453","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [13:07:36.054048, br, 8990] [pid: 5712] recognition failed: No tools recognize this execution. 1: [13:07:36.055137, br, 8990] [pid: 7093] execution: {"executable":"/usr/bin/touch","arguments":["touch","use_cxx_1.cc","use_cxx_2.cc"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"LIBTOOL":"/usr/bin/libtool","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_VERBOSE":"true","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","FALSE":"/usr/bin/false","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","CC":"/usr/bin/cc","_":"/usr/bin/touch","SHLVL":"1","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","ECHO":"/usr/bin/echo","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33585","TERM":"tmux-256color","SOURCE_DATE_EPOCH":"1699811453","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [13:07:36.055226, br, 8990] [pid: 7093] recognition failed: No tools recognize this execution. 1: [13:07:36.056320, br, 8990] [pid: 8186] execution: {"executable":"/usr/bin/c++","arguments":["/usr/bin/c++","-c","-o","use_cxx_1.o","use_cxx_1.cc"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"LIBTOOL":"/usr/bin/libtool","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_VERBOSE":"true","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","FALSE":"/usr/bin/false","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","CC":"/usr/bin/cc","_":"/usr/bin/c++","SHLVL":"1","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","ECHO":"/usr/bin/echo","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33585","TERM":"tmux-256color","SOURCE_DATE_EPOCH":"1699811453","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [13:07:36.056547, br, 8990] [pid: 8186] recognized. 1: [13:07:36.057687, br, 8990] [pid: 8928] execution: {"executable":"/usr/bin/c++","arguments":["/usr/bin/c++","-c","-o","use_cxx_2.o","use_cxx_2.cc"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"LIBTOOL":"/usr/bin/libtool","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_VERBOSE":"true","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","FALSE":"/usr/bin/false","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","CC":"/usr/bin/cc","_":"/usr/bin/c++","SHLVL":"1","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","ECHO":"/usr/bin/echo","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33585","TERM":"tmux-256color","SOURCE_DATE_EPOCH":"1699811453","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [13:07:36.057778, br, 8990] [pid: 8928] recognized. 1: [13:07:36.058140, br, 8990] compilation entries created. [size: 2] 1: [13:07:36.058170, br, 8990] compilation entries to output. [size: 2] 1: [13:07:36.059033, br, 8990] compilation entries written. [size: 2] 1: [13:07:36.059110, br, 8990] succeeded with: 0 1: [13:07:36.065247, br, 2803] Process wait request: done. [pid: 8990] 1: [13:07:36.065403, br, 2803] Running citnames finished. [Exited with 0] 1: [13:07:36.065842, br, 2803] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/preload/posix/posix_spawnp/success_to_resolve.c (51 of 100) 1: FAIL: bear :: cases/compilation/output/flag/use_cc.sh (52 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/flag/use_cc.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --force-preload --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json count -eq 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/cc -c -o use_cc_1.o use_cc_1.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/cc -c -o use_cc_2.o use_cc_2.c 1: : 'RUN: at line 10'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; env CC=/usr/bin/true /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --force-preload --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.all.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh 1: : 'RUN: at line 11'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.all.json count -eq 2 1: : 'RUN: at line 12'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.all.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/true -c -o use_cc_1.o use_cc_1.c 1: : 'RUN: at line 13'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.all.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/true -c -o use_cc_2.o use_cc_2.c 1: : 'RUN: at line 15'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --force-wrapper --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh 1: : 'RUN: at line 16'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json count -eq 2 1: : 'RUN: at line 17'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/cc -c -o use_cc_1.o use_cc_1.c 1: : 'RUN: at line 18'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/cc -c -o use_cc_2.o use_cc_2.c 1: : 'RUN: at line 20'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; env CC=/usr/bin/true /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --force-wrapper --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.all.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh 1: : 'RUN: at line 21'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.all.json count -eq 2 1: : 'RUN: at line 22'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.all.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/true -c -o use_cc_1.o use_cc_1.c 1: : 'RUN: at line 23'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.all.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/true -c -o use_cc_2.o use_cc_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 5" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--force-preload" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh" 1: # command stderr: 1: [13:07:33.806645, br, 2799] bear: 3.1.3 1: [13:07:33.807651, br, 2799] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--force-preload", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh"] 1: [13:07:33.807965, br, 2799] environment: ["PATH=/build/bear/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=tmux-256color", "SOURCE_DATE_EPOCH=1699811453", "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", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v"] 1: [13:07:33.808188, br, 2799] sysname: Linux 1: [13:07:33.808404, br, 2799] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.808693, br, 2799] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.808897, br, 2799] machine: riscv64 1: [13:07:33.809320, br, 2799] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--force-preload: []}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.811758, br, 2799] Process spawned. [pid: 2957, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.events.json", "--force-preload", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh"]] 1: [13:07:33.811955, br, 2799] Process wait requested. [pid: 2957] 1: [13:07:33.965392, br, 2957] bear: 3.1.3 1: [13:07:33.966012, br, 2957] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.events.json", "--force-preload", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh"] 1: [13:07:33.966212, br, 2957] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:33.966516, br, 2957] sysname: Linux 1: [13:07:33.966743, br, 2957] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.966847, br, 2957] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.966950, br, 2957] machine: riscv64 1: [13:07:33.967188, br, 2957] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh]}, {--force-preload: []}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:33.967758, br, 2957] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:34.003429, br, 2957] Running gRPC server. dns:///localhost:40117 1: [13:07:34.006144, br, 2957] Process spawned. [pid: 3614, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40117", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh"]] 1: [13:07:34.006366, br, 2957] Process wait requested. [pid: 3614] 1: [13:07:34.158743, el, 3614] lib.cc; on_load 1: [13:07:34.160121, wr, 3614, ppid: 2957] wrapper: 3.1.3 1: [13:07:34.160415, wr, 3614, ppid: 2957] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40117", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh"] 1: [13:07:34.160624, wr, 3614, ppid: 2957] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:40117", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.160980, wr, 3614, ppid: 2957] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh]}, {--destination: [dns:///localhost:40117]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:34.180761, wr, 3614, ppid: 2957] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.442222, br, 2957] trying to resolve for library: /usr/bin/sh 1: [13:07:34.444701, wr, 3614, ppid: 2957] gRPC call [Resolve] finished: true 1: [13:07:34.446760, wr, 3614, ppid: 2957] Process spawned. [pid: 5671, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh"]] 1: [13:07:34.446920, wr, 3614, ppid: 2957] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.454630, el, 5671] lib.cc; on_load 1: [13:07:34.458489, wr, 3614, ppid: 2957] gRPC call [Register] finished: true 1: [13:07:34.458831, wr, 3614, ppid: 2957] Process wait requested. [pid: 5671] 1: [13:07:34.463856, el, 5689] lib.cc; execve path: /usr/bin/touch 1: [13:07:34.586325, el, 5689] lib.cc; on_load 1: [13:07:34.587640, wr, 5689, ppid: 5671] wrapper: 3.1.3 1: [13:07:34.587933, wr, 5689, ppid: 5671] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40117", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "use_cc_1.c", "use_cc_2.c"] 1: [13:07:34.588169, wr, 5689, ppid: 5671] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:40117", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/touch"] 1: [13:07:34.588425, wr, 5689, ppid: 5671] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, use_cc_1.c, use_cc_2.c]}, {--destination: [dns:///localhost:40117]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [13:07:34.607294, wr, 5689, ppid: 5671] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.873457, br, 2957] trying to resolve for library: /usr/bin/touch 1: [13:07:34.875619, wr, 5689, ppid: 5671] gRPC call [Resolve] finished: true 1: [13:07:34.877626, wr, 5689, ppid: 5671] Process spawned. [pid: 6996, command: ["touch", "use_cc_1.c", "use_cc_2.c"]] 1: [13:07:34.877791, wr, 5689, ppid: 5671] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.883183, wr, 5689, ppid: 5671] gRPC call [Register] finished: true 1: [13:07:34.883530, wr, 5689, ppid: 5671] Process wait requested. [pid: 6996] 1: [13:07:34.884293, el, 6996] lib.cc; on_load 1: [13:07:34.886869, wr, 5689, ppid: 5671] Process wait request: done. [pid: 6996] 1: [13:07:34.886939, wr, 5689, ppid: 5671] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.889325, wr, 5689, ppid: 5671] gRPC call [Register] finished: true 1: [13:07:34.902150, wr, 5689, ppid: 5671] succeeded with: 0 1: [13:07:34.902311, el, 5689] lib.cc; on_unload 1: [13:07:34.913013, el, 7100] lib.cc; execve path: /usr/bin/cc 1: [13:07:35.108337, el, 7100] lib.cc; on_load 1: [13:07:35.110549, wr, 7100, ppid: 5671] wrapper: 3.1.3 1: [13:07:35.110824, wr, 7100, ppid: 5671] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40117", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "use_cc_1.o", "use_cc_1.c"] 1: [13:07:35.111148, wr, 7100, ppid: 5671] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:40117", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:35.111649, wr, 7100, ppid: 5671] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, use_cc_1.o, use_cc_1.c]}, {--destination: [dns:///localhost:40117]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:35.134726, wr, 7100, ppid: 5671] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.400953, br, 2957] trying to resolve for library: /usr/bin/cc 1: [13:07:35.403500, wr, 7100, ppid: 5671] gRPC call [Resolve] finished: true 1: [13:07:35.405432, wr, 7100, ppid: 5671] Process spawned. [pid: 8179, command: ["/usr/bin/cc", "-c", "-o", "use_cc_1.o", "use_cc_1.c"]] 1: [13:07:35.405617, wr, 7100, ppid: 5671] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.410383, wr, 7100, ppid: 5671] gRPC call [Register] finished: true 1: [13:07:35.410915, wr, 7100, ppid: 5671] Process wait requested. [pid: 8179] 1: free(): invalid pointer 1: [13:07:35.413876, wr, 7100, ppid: 5671] Process wait request: done. [pid: 8179] 1: [13:07:35.414101, wr, 7100, ppid: 5671] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.416475, wr, 7100, ppid: 5671] gRPC call [Register] finished: true 1: [13:07:35.434389, wr, 7100, ppid: 5671] succeeded with: 1 1: [13:07:35.434524, el, 7100] lib.cc; on_unload 1: [13:07:35.444783, el, 8196] lib.cc; execve path: /usr/bin/cc 1: [13:07:35.562836, el, 8196] lib.cc; on_load 1: [13:07:35.563898, wr, 8196, ppid: 5671] wrapper: 3.1.3 1: [13:07:35.563998, wr, 8196, ppid: 5671] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40117", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "use_cc_2.o", "use_cc_2.c"] 1: [13:07:35.564091, wr, 8196, ppid: 5671] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:40117", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:35.564222, wr, 8196, ppid: 5671] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, use_cc_2.o, use_cc_2.c]}, {--destination: [dns:///localhost:40117]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:35.586839, wr, 8196, ppid: 5671] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.852052, br, 2957] trying to resolve for library: /usr/bin/cc 1: [13:07:35.854211, wr, 8196, ppid: 5671] gRPC call [Resolve] finished: true 1: [13:07:35.856380, wr, 8196, ppid: 5671] Process spawned. [pid: 8944, command: ["/usr/bin/cc", "-c", "-o", "use_cc_2.o", "use_cc_2.c"]] 1: [13:07:35.856561, wr, 8196, ppid: 5671] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.861833, wr, 8196, ppid: 5671] gRPC call [Register] finished: true 1: [13:07:35.862161, wr, 8196, ppid: 5671] Process wait requested. [pid: 8944] 1: free(): invalid pointer 1: [13:07:35.865460, wr, 8196, ppid: 5671] Process wait request: done. [pid: 8944] 1: [13:07:35.865537, wr, 8196, ppid: 5671] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.868361, wr, 8196, ppid: 5671] gRPC call [Register] finished: true 1: [13:07:35.882298, wr, 8196, ppid: 5671] succeeded with: 1 1: [13:07:35.882440, el, 8196] lib.cc; on_unload 1: [13:07:35.890549, el, 5671] lib.cc; on_unload 1: [13:07:35.893057, wr, 3614, ppid: 2957] Process wait request: done. [pid: 5671] 1: [13:07:35.893158, wr, 3614, ppid: 2957] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.895651, wr, 3614, ppid: 2957] gRPC call [Register] finished: true 1: [13:07:35.908721, wr, 3614, ppid: 2957] succeeded with: 1 1: [13:07:35.908859, el, 3614] lib.cc; on_unload 1: [13:07:35.915706, br, 2957] Process wait request: done. [pid: 3614] 1: [13:07:35.915851, br, 2957] Running command. [Exited with 1] 1: [13:07:35.915966, br, 2957] Stopping gRPC server. 1: [13:07:35.928638, br, 2957] succeeded with: 1 1: [13:07:35.936667, br, 2799] Process wait request: done. [pid: 2957] 1: [13:07:35.936841, br, 2799] Running intercept finished. [Exited with 1] 1: [13:07:35.937909, br, 2799] Process spawned. [pid: 9009, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json", "--run-checks", "--verbose"]] 1: [13:07:35.938023, br, 2799] Process wait requested. [pid: 9009] 1: [13:07:36.066396, br, 9009] bear: 3.1.3 1: [13:07:36.066885, br, 9009] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json", "--run-checks", "--verbose"] 1: [13:07:36.067288, br, 9009] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:36.067365, br, 9009] sysname: Linux 1: [13:07:36.067377, br, 9009] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:36.067384, br, 9009] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:36.067389, br, 9009] machine: riscv64 1: [13:07:36.067532, br, 9009] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:07:36.068143, br, 9009] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [13:07:36.076665, br, 9009] [pid: 5671] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"SOURCE_DATE_EPOCH":"1699811453","CC":"/usr/bin/cc","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TMPDIR":"/tmp/lit-tmp-icqdqr_v","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMP":"/tmp/lit-tmp-icqdqr_v","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_VERBOSE":"true","SLEEP":"/usr/bin/sleep","CXX":"/usr/bin/c++","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40117","ECHO":"/usr/bin/echo","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [13:07:36.078599, br, 9009] [pid: 5671] recognition failed: No tools recognize this execution. 1: [13:07:36.079848, br, 9009] [pid: 6996] execution: {"executable":"/usr/bin/touch","arguments":["touch","use_cc_1.c","use_cc_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"SOURCE_DATE_EPOCH":"1699811453","CC":"/usr/bin/cc","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMP":"/tmp/lit-tmp-icqdqr_v","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_VERBOSE":"true","SLEEP":"/usr/bin/sleep","CXX":"/usr/bin/c++","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40117","ECHO":"/usr/bin/echo","FALSE":"/usr/bin/false","_":"/usr/bin/touch","PATH":"/build/bear/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":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","LC_CTYPE":"en_US.UTF-8","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [13:07:36.079973, br, 9009] [pid: 6996] recognition failed: No tools recognize this execution. 1: [13:07:36.081124, br, 9009] [pid: 8179] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","use_cc_1.o","use_cc_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"SOURCE_DATE_EPOCH":"1699811453","CC":"/usr/bin/cc","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMP":"/tmp/lit-tmp-icqdqr_v","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_VERBOSE":"true","SLEEP":"/usr/bin/sleep","CXX":"/usr/bin/c++","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40117","ECHO":"/usr/bin/echo","FALSE":"/usr/bin/false","_":"/usr/bin/cc","PATH":"/build/bear/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":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","LC_CTYPE":"en_US.UTF-8","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [13:07:36.081361, br, 9009] [pid: 8179] recognized. 1: [13:07:36.082822, br, 9009] [pid: 8944] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","use_cc_2.o","use_cc_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"SOURCE_DATE_EPOCH":"1699811453","CC":"/usr/bin/cc","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMP":"/tmp/lit-tmp-icqdqr_v","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_VERBOSE":"true","SLEEP":"/usr/bin/sleep","CXX":"/usr/bin/c++","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40117","ECHO":"/usr/bin/echo","FALSE":"/usr/bin/false","_":"/usr/bin/cc","PATH":"/build/bear/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":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","LC_CTYPE":"en_US.UTF-8","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [13:07:36.082940, br, 9009] [pid: 8944] recognized. 1: [13:07:36.083360, br, 9009] compilation entries created. [size: 2] 1: [13:07:36.083407, br, 9009] compilation entries to output. [size: 2] 1: [13:07:36.084541, br, 9009] compilation entries written. [size: 2] 1: [13:07:36.084657, br, 9009] succeeded with: 0 1: [13:07:36.091198, br, 2799] Process wait request: done. [pid: 9009] 1: [13:07:36.091337, br, 2799] Running citnames finished. [Exited with 0] 1: [13:07:36.091741, br, 2799] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/wrapper/build_command_captured.sh (53 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execlp/success.c (54 of 100) 1: XFAIL: bear :: cases/intercept/wrapper/shell_commands_with_empty_env.sh (55 of 100) 1: PASS: bear :: cases/intercept/wrapper/build_stdout_captured.sh (56 of 100) 1: PASS: bear :: cases/intercept/wrapper/build_stderr_captured.sh (57 of 100) 1: FAIL: bear :: cases/compilation/output/multiple_source_build.sh (58 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/multiple_source_build.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json count -eq 3 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o multiple_source_build multiple_source_build_1.c 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o multiple_source_build multiple_source_build_2.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build_3.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o multiple_source_build multiple_source_build_3.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh" 1: # command stderr: 1: [13:07:33.783834, br, 2764] bear: 3.1.3 1: [13:07:33.784769, br, 2764] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh"] 1: [13:07:33.785058, br, 2764] environment: ["PATH=/build/bear/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=tmux-256color", "SOURCE_DATE_EPOCH=1699811453", "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", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v"] 1: [13:07:33.785263, br, 2764] sysname: Linux 1: [13:07:33.785473, br, 2764] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.785765, br, 2764] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.785975, br, 2764] machine: riscv64 1: [13:07:33.786332, br, 2764] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.789687, br, 2764] Process spawned. [pid: 2927, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh"]] 1: [13:07:33.789850, br, 2764] Process wait requested. [pid: 2927] 1: [13:07:33.949638, br, 2927] bear: 3.1.3 1: [13:07:33.950272, br, 2927] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh"] 1: [13:07:33.950516, br, 2927] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:33.950813, br, 2927] sysname: Linux 1: [13:07:33.951065, br, 2927] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.951186, br, 2927] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.951289, br, 2927] machine: riscv64 1: [13:07:33.951547, br, 2927] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:33.952167, br, 2927] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:33.987839, br, 2927] Running gRPC server. dns:///localhost:45811 1: [13:07:33.991458, br, 2927] Process spawned. [pid: 3586, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45811", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh"]] 1: [13:07:33.991628, br, 2927] Process wait requested. [pid: 3586] 1: [13:07:34.140175, el, 3586] lib.cc; on_load 1: [13:07:34.141734, wr, 3586, ppid: 2927] wrapper: 3.1.3 1: [13:07:34.142036, wr, 3586, ppid: 2927] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45811", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh"] 1: [13:07:34.142242, wr, 3586, ppid: 2927] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:45811", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.142626, wr, 3586, ppid: 2927] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh]}, {--destination: [dns:///localhost:45811]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:34.166720, wr, 3586, ppid: 2927] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.427294, br, 2927] trying to resolve for library: /usr/bin/sh 1: [13:07:34.429604, wr, 3586, ppid: 2927] gRPC call [Resolve] finished: true 1: [13:07:34.431792, wr, 3586, ppid: 2927] Process spawned. [pid: 5642, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh"]] 1: [13:07:34.432049, wr, 3586, ppid: 2927] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.443084, el, 5642] lib.cc; on_load 1: [13:07:34.445336, wr, 3586, ppid: 2927] gRPC call [Register] finished: true 1: [13:07:34.445696, wr, 3586, ppid: 2927] Process wait requested. [pid: 5642] 1: [13:07:34.453837, el, 5676] lib.cc; execve path: /usr/bin/cc 1: [13:07:34.576158, el, 5676] lib.cc; on_load 1: [13:07:34.577210, wr, 5676, ppid: 5642] wrapper: 3.1.3 1: [13:07:34.577324, wr, 5676, ppid: 5642] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45811", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-o", "multiple_source_build", "multiple_source_build_1.c", "multiple_source_build_2.c", "multiple_source_build_3.c"] 1: [13:07:34.577430, wr, 5676, ppid: 5642] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45811", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:34.577580, wr, 5676, ppid: 5642] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -o, multiple_source_build, multiple_source_build_1.c, multiple_source_build_2.c, multiple_source_build_3.c]}, {--destination: [dns:///localhost:45811]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:34.594995, wr, 5676, ppid: 5642] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.862254, br, 2927] trying to resolve for library: /usr/bin/cc 1: [13:07:34.864933, wr, 5676, ppid: 5642] gRPC call [Resolve] finished: true 1: [13:07:34.867115, wr, 5676, ppid: 5642] Process spawned. [pid: 6984, command: ["/usr/bin/cc", "-o", "multiple_source_build", "multiple_source_build_1.c", "multiple_source_build_2.c", "multiple_source_build_3.c"]] 1: [13:07:34.867275, wr, 5676, ppid: 5642] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.872960, wr, 5676, ppid: 5642] gRPC call [Register] finished: true 1: [13:07:34.873345, wr, 5676, ppid: 5642] Process wait requested. [pid: 6984] 1: free(): invalid pointer 1: [13:07:36.043043, wr, 5676, ppid: 5642] Process wait request: done. [pid: 6984] 1: [13:07:36.043140, wr, 5676, ppid: 5642] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.045362, wr, 5676, ppid: 5642] gRPC call [Register] finished: true 1: [13:07:36.059521, wr, 5676, ppid: 5642] succeeded with: 1 1: [13:07:36.059646, el, 5676] lib.cc; on_unload 1: [13:07:36.067853, el, 5642] lib.cc; on_unload 1: [13:07:36.070845, wr, 3586, ppid: 2927] Process wait request: done. [pid: 5642] 1: [13:07:36.070924, wr, 3586, ppid: 2927] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.073587, wr, 3586, ppid: 2927] gRPC call [Register] finished: true 1: [13:07:36.088918, wr, 3586, ppid: 2927] succeeded with: 1 1: [13:07:36.089056, el, 3586] lib.cc; on_unload 1: [13:07:36.096819, br, 2927] Process wait request: done. [pid: 3586] 1: [13:07:36.096954, br, 2927] Running command. [Exited with 1] 1: [13:07:36.096988, br, 2927] Stopping gRPC server. 1: [13:07:36.113256, br, 2927] succeeded with: 1 1: [13:07:36.122963, br, 2764] Process wait request: done. [pid: 2927] 1: [13:07:36.123127, br, 2764] Running intercept finished. [Exited with 1] 1: [13:07:36.124101, br, 2764] Process spawned. [pid: 9477, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json", "--run-checks", "--verbose"]] 1: [13:07:36.124213, br, 2764] Process wait requested. [pid: 9477] 1: [13:07:36.214175, br, 9477] bear: 3.1.3 1: [13:07:36.214472, br, 9477] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json", "--run-checks", "--verbose"] 1: [13:07:36.214534, br, 9477] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:36.214573, br, 9477] sysname: Linux 1: [13:07:36.214611, br, 9477] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:36.214626, br, 9477] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:36.214634, br, 9477] machine: riscv64 1: [13:07:36.214727, br, 9477] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:07:36.215253, br, 9477] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [13:07:36.221775, br, 9477] [pid: 5642] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LC_CTYPE":"en_US.UTF-8","LIBTOOL":"/usr/bin/libtool","TEMP":"/tmp/lit-tmp-icqdqr_v","TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-icqdqr_v","TERM":"tmux-256color","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","FALSE":"/usr/bin/false","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TMP":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45811","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"true"}} 1: [13:07:36.223396, br, 9477] [pid: 5642] recognition failed: No tools recognize this execution. 1: [13:07:36.224459, br, 9477] [pid: 6984] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-o","multiple_source_build","multiple_source_build_1.c","multiple_source_build_2.c","multiple_source_build_3.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LC_CTYPE":"en_US.UTF-8","LIBTOOL":"/usr/bin/libtool","TEMP":"/tmp/lit-tmp-icqdqr_v","TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-icqdqr_v","TERM":"tmux-256color","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SOURCE_DATE_EPOCH":"1699811453","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","_":"/usr/bin/cc","CC":"/usr/bin/cc","FALSE":"/usr/bin/false","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TMP":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45811","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"true"}} 1: [13:07:36.224656, br, 9477] [pid: 6984] recognized. 1: [13:07:36.225272, br, 9477] compilation entries created. [size: 3] 1: [13:07:36.225315, br, 9477] compilation entries to output. [size: 3] 1: [13:07:36.226254, br, 9477] compilation entries written. [size: 3] 1: [13:07:36.226342, br, 9477] succeeded with: 0 1: [13:07:36.231491, br, 2764] Process wait request: done. [pid: 9477] 1: [13:07:36.231632, br, 2764] Running citnames finished. [Exited with 0] 1: [13:07:36.232004, br, 2764] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/preload/posix/posix_spawn/success.c (59 of 100) 1: PASS: bear :: cases/intercept/preload/posix/posix_spawnp/success.c (60 of 100) 1: PASS: bear :: cases/intercept/preload/shell_commands_parallel_intercepted.sh (61 of 100) 1: PASS: bear :: cases/intercept/preload/posix/system/success.c (62 of 100) 1: PASS: bear :: cases/intercept/preload/shell_fail_commands_intercepted.sh (63 of 100) 1: PASS: bear :: cases/intercept/preload/preload_append/io_calls.c (64 of 100) 1: PASS: bear :: cases/compilation/output/empty_argument.sh (65 of 100) 1: PASS: bear :: cases/intercept/wrapper/use_cc_env_to_select_compiler.sh (66 of 100) 1: FAIL: bear :: cases/compilation/output/flags_filtered_preproc.sh (67 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/flags_filtered_preproc.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json count -eq 2 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o flags_filtered_preproc_1.o flags_filtered_preproc_1.c 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o flags_filtered_preproc_2.o flags_filtered_preproc_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh" 1: # command stderr: 1: [13:07:33.795820, br, 2777] bear: 3.1.3 1: [13:07:33.796566, br, 2777] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh"] 1: [13:07:33.796834, br, 2777] environment: ["PATH=/build/bear/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=tmux-256color", "SOURCE_DATE_EPOCH=1699811453", "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", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v"] 1: [13:07:33.797050, br, 2777] sysname: Linux 1: [13:07:33.797226, br, 2777] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.797420, br, 2777] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.797557, br, 2777] machine: riscv64 1: [13:07:33.797834, br, 2777] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.801047, br, 2777] Process spawned. [pid: 2943, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh"]] 1: [13:07:33.801415, br, 2777] Process wait requested. [pid: 2943] 1: [13:07:33.952036, br, 2943] bear: 3.1.3 1: [13:07:33.952709, br, 2943] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh"] 1: [13:07:33.952947, br, 2943] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:33.953203, br, 2943] sysname: Linux 1: [13:07:33.953430, br, 2943] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.953536, br, 2943] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.953647, br, 2943] machine: riscv64 1: [13:07:33.953911, br, 2943] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:33.954569, br, 2943] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:33.989810, br, 2943] Running gRPC server. dns:///localhost:45885 1: [13:07:34.006444, br, 2943] Process spawned. [pid: 3595, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45885", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh"]] 1: [13:07:34.006677, br, 2943] Process wait requested. [pid: 3595] 1: [13:07:34.168111, el, 3595] lib.cc; on_load 1: [13:07:34.170365, wr, 3595, ppid: 2943] wrapper: 3.1.3 1: [13:07:34.170659, wr, 3595, ppid: 2943] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45885", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh"] 1: [13:07:34.170855, wr, 3595, ppid: 2943] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:45885", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.171170, wr, 3595, ppid: 2943] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh]}, {--destination: [dns:///localhost:45885]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:34.191151, wr, 3595, ppid: 2943] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.456526, br, 2943] trying to resolve for library: /usr/bin/sh 1: [13:07:34.458581, wr, 3595, ppid: 2943] gRPC call [Resolve] finished: true 1: [13:07:34.460425, wr, 3595, ppid: 2943] Process spawned. [pid: 5684, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh"]] 1: [13:07:34.460589, wr, 3595, ppid: 2943] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.469080, el, 5684] lib.cc; on_load 1: [13:07:34.471604, wr, 3595, ppid: 2943] gRPC call [Register] finished: true 1: [13:07:34.471941, wr, 3595, ppid: 2943] Process wait requested. [pid: 5684] 1: [13:07:34.477841, el, 5722] lib.cc; execve path: /usr/bin/touch 1: [13:07:34.598835, el, 5722] lib.cc; on_load 1: [13:07:34.600216, wr, 5722, ppid: 5684] wrapper: 3.1.3 1: [13:07:34.600544, wr, 5722, ppid: 5684] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45885", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "flags_filtered_preproc_1.c", "flags_filtered_preproc_2.c"] 1: [13:07:34.600860, wr, 5722, ppid: 5684] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45885", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/touch"] 1: [13:07:34.601144, wr, 5722, ppid: 5684] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, flags_filtered_preproc_1.c, flags_filtered_preproc_2.c]}, {--destination: [dns:///localhost:45885]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [13:07:34.619027, wr, 5722, ppid: 5684] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.883654, br, 2943] trying to resolve for library: /usr/bin/touch 1: [13:07:34.885842, wr, 5722, ppid: 5684] gRPC call [Resolve] finished: true 1: [13:07:34.888232, wr, 5722, ppid: 5684] Process spawned. [pid: 7028, command: ["touch", "flags_filtered_preproc_1.c", "flags_filtered_preproc_2.c"]] 1: [13:07:34.888394, wr, 5722, ppid: 5684] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.893930, wr, 5722, ppid: 5684] gRPC call [Register] finished: true 1: [13:07:34.894272, wr, 5722, ppid: 5684] Process wait requested. [pid: 7028] 1: [13:07:34.894648, el, 7028] lib.cc; on_load 1: [13:07:34.897707, wr, 5722, ppid: 5684] Process wait request: done. [pid: 7028] 1: [13:07:34.897786, wr, 5722, ppid: 5684] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.905058, wr, 5722, ppid: 5684] gRPC call [Register] finished: true 1: [13:07:34.922062, wr, 5722, ppid: 5684] succeeded with: 0 1: [13:07:34.922329, el, 5722] lib.cc; on_unload 1: [13:07:34.934383, el, 7177] lib.cc; execve path: /usr/bin/cc 1: [13:07:35.115058, el, 7177] lib.cc; on_load 1: [13:07:35.116991, wr, 7177, ppid: 5684] wrapper: 3.1.3 1: [13:07:35.117146, wr, 7177, ppid: 5684] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45885", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-M", "-o", "flags_filtered_preproc_1.d", "flags_filtered_preproc_1.c"] 1: [13:07:35.117262, wr, 7177, ppid: 5684] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45885", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:35.117397, wr, 7177, ppid: 5684] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -M, -o, flags_filtered_preproc_1.d, flags_filtered_preproc_1.c]}, {--destination: [dns:///localhost:45885]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:35.395750, wr, 7177, ppid: 5684] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.405332, br, 2943] trying to resolve for library: /usr/bin/cc 1: [13:07:35.407132, wr, 7177, ppid: 5684] gRPC call [Resolve] finished: true 1: [13:07:35.408869, wr, 7177, ppid: 5684] Process spawned. [pid: 8187, command: ["/usr/bin/cc", "-c", "-M", "-o", "flags_filtered_preproc_1.d", "flags_filtered_preproc_1.c"]] 1: [13:07:35.409147, wr, 7177, ppid: 5684] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.413823, wr, 7177, ppid: 5684] gRPC call [Register] finished: true 1: [13:07:35.414336, wr, 7177, ppid: 5684] Process wait requested. [pid: 8187] 1: free(): invalid pointer 1: [13:07:35.416753, wr, 7177, ppid: 5684] Process wait request: done. [pid: 8187] 1: [13:07:35.416934, wr, 7177, ppid: 5684] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.419267, wr, 7177, ppid: 5684] gRPC call [Register] finished: true 1: [13:07:35.434542, wr, 7177, ppid: 5684] succeeded with: 1 1: [13:07:35.434688, el, 7177] lib.cc; on_unload 1: [13:07:35.444511, el, 8195] lib.cc; execve path: /usr/bin/cc 1: [13:07:35.568956, el, 8195] lib.cc; on_load 1: [13:07:35.570192, wr, 8195, ppid: 5684] wrapper: 3.1.3 1: [13:07:35.570315, wr, 8195, ppid: 5684] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45885", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-MM", "-o", "flags_filtered_preproc_2.d", "flags_filtered_preproc_2.c"] 1: [13:07:35.570417, wr, 8195, ppid: 5684] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45885", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:35.570546, wr, 8195, ppid: 5684] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -MM, -o, flags_filtered_preproc_2.d, flags_filtered_preproc_2.c]}, {--destination: [dns:///localhost:45885]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:35.843150, wr, 8195, ppid: 5684] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.851684, br, 2943] trying to resolve for library: /usr/bin/cc 1: [13:07:35.853726, wr, 8195, ppid: 5684] gRPC call [Resolve] finished: true 1: [13:07:35.855413, wr, 8195, ppid: 5684] Process spawned. [pid: 8942, command: ["/usr/bin/cc", "-c", "-MM", "-o", "flags_filtered_preproc_2.d", "flags_filtered_preproc_2.c"]] 1: [13:07:35.855733, wr, 8195, ppid: 5684] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.861034, wr, 8195, ppid: 5684] gRPC call [Register] finished: true 1: [13:07:35.861467, wr, 8195, ppid: 5684] Process wait requested. [pid: 8942] 1: free(): invalid pointer 1: [13:07:35.864510, wr, 8195, ppid: 5684] Process wait request: done. [pid: 8942] 1: [13:07:35.864574, wr, 8195, ppid: 5684] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.867661, wr, 8195, ppid: 5684] gRPC call [Register] finished: true 1: [13:07:35.879134, wr, 8195, ppid: 5684] succeeded with: 1 1: [13:07:35.879474, el, 8195] lib.cc; on_unload 1: [13:07:35.888841, el, 8964] lib.cc; execve path: /usr/bin/cc 1: [13:07:36.015071, el, 8964] lib.cc; on_load 1: [13:07:36.016152, wr, 8964, ppid: 5684] wrapper: 3.1.3 1: [13:07:36.016415, wr, 8964, ppid: 5684] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45885", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-MD", "-MF", "flags_filtered_preproc_1.d", "-o", "flags_filtered_preproc_1.o", "flags_filtered_preproc_1.c"] 1: [13:07:36.016538, wr, 8964, ppid: 5684] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45885", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:36.016657, wr, 8964, ppid: 5684] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -MD, -MF, flags_filtered_preproc_1.d, -o, flags_filtered_preproc_1.o, flags_filtered_preproc_1.c]}, {--destination: [dns:///localhost:45885]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:36.036912, wr, 8964, ppid: 5684] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:36.302429, br, 2943] trying to resolve for library: /usr/bin/cc 1: [13:07:36.304193, wr, 8964, ppid: 5684] gRPC call [Resolve] finished: true 1: [13:07:36.305704, wr, 8964, ppid: 5684] Process spawned. [pid: 9699, command: ["/usr/bin/cc", "-c", "-MD", "-MF", "flags_filtered_preproc_1.d", "-o", "flags_filtered_preproc_1.o", "flags_filtered_preproc_1.c"]] 1: [13:07:36.305843, wr, 8964, ppid: 5684] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.310592, wr, 8964, ppid: 5684] gRPC call [Register] finished: true 1: [13:07:36.310934, wr, 8964, ppid: 5684] Process wait requested. [pid: 9699] 1: free(): invalid pointer 1: [13:07:36.312486, wr, 8964, ppid: 5684] Process wait request: done. [pid: 9699] 1: [13:07:36.312631, wr, 8964, ppid: 5684] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.314477, wr, 8964, ppid: 5684] gRPC call [Register] finished: true 1: [13:07:36.325865, wr, 8964, ppid: 5684] succeeded with: 1 1: [13:07:36.326046, el, 8964] lib.cc; on_unload 1: [13:07:36.334644, el, 9709] lib.cc; execve path: /usr/bin/cc 1: [13:07:36.449910, el, 9709] lib.cc; on_load 1: [13:07:36.451038, wr, 9709, ppid: 5684] wrapper: 3.1.3 1: [13:07:36.451266, wr, 9709, ppid: 5684] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45885", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-MMD", "-MF", "flags_filtered_preproc_2.d", "-o", "flags_filtered_preproc_2.o", "flags_filtered_preproc_2.c"] 1: [13:07:36.451405, wr, 9709, ppid: 5684] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45885", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:36.451614, wr, 9709, ppid: 5684] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -MMD, -MF, flags_filtered_preproc_2.d, -o, flags_filtered_preproc_2.o, flags_filtered_preproc_2.c]}, {--destination: [dns:///localhost:45885]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:36.469879, wr, 9709, ppid: 5684] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:36.734023, br, 2943] trying to resolve for library: /usr/bin/cc 1: [13:07:36.735623, wr, 9709, ppid: 5684] gRPC call [Resolve] finished: true 1: [13:07:36.737230, wr, 9709, ppid: 5684] Process spawned. [pid: 10074, command: ["/usr/bin/cc", "-c", "-MMD", "-MF", "flags_filtered_preproc_2.d", "-o", "flags_filtered_preproc_2.o", "flags_filtered_preproc_2.c"]] 1: [13:07:36.737370, wr, 9709, ppid: 5684] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.741021, wr, 9709, ppid: 5684] gRPC call [Register] finished: true 1: [13:07:36.741349, wr, 9709, ppid: 5684] Process wait requested. [pid: 10074] 1: free(): invalid pointer 1: [13:07:36.743543, wr, 9709, ppid: 5684] Process wait request: done. [pid: 10074] 1: [13:07:36.743606, wr, 9709, ppid: 5684] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.745371, wr, 9709, ppid: 5684] gRPC call [Register] finished: true 1: [13:07:36.755726, wr, 9709, ppid: 5684] succeeded with: 1 1: [13:07:36.755857, el, 9709] lib.cc; on_unload 1: [13:07:36.762606, el, 5684] lib.cc; on_unload 1: [13:07:36.764197, wr, 3595, ppid: 2943] Process wait request: done. [pid: 5684] 1: [13:07:36.764269, wr, 3595, ppid: 2943] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.766227, wr, 3595, ppid: 2943] gRPC call [Register] finished: true 1: [13:07:36.776757, wr, 3595, ppid: 2943] succeeded with: 1 1: [13:07:36.776875, el, 3595] lib.cc; on_unload 1: [13:07:36.783270, br, 2943] Process wait request: done. [pid: 3595] 1: [13:07:36.783401, br, 2943] Running command. [Exited with 1] 1: [13:07:36.783433, br, 2943] Stopping gRPC server. 1: [13:07:36.795793, br, 2943] succeeded with: 1 1: [13:07:36.804017, br, 2777] Process wait request: done. [pid: 2943] 1: [13:07:36.804146, br, 2777] Running intercept finished. [Exited with 1] 1: [13:07:36.805081, br, 2777] Process spawned. [pid: 10146, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json", "--run-checks", "--verbose"]] 1: [13:07:36.805201, br, 2777] Process wait requested. [pid: 10146] 1: [13:07:36.884445, br, 10146] bear: 3.1.3 1: [13:07:36.884744, br, 10146] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json", "--run-checks", "--verbose"] 1: [13:07:36.884793, br, 10146] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:36.884831, br, 10146] sysname: Linux 1: [13:07:36.884966, br, 10146] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:36.884976, br, 10146] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:36.884981, br, 10146] machine: riscv64 1: [13:07:36.885072, br, 10146] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:07:36.885523, br, 10146] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [13:07:36.891496, br, 10146] [pid: 5684] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"FALSE":"/usr/bin/false","CXX":"/usr/bin/c++","CC":"/usr/bin/cc","TERM":"tmux-256color","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45885","LIBTOOL":"/usr/bin/libtool","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_VERBOSE":"true"}} 1: [13:07:36.892751, br, 10146] [pid: 5684] recognition failed: No tools recognize this execution. 1: [13:07:36.893561, br, 10146] [pid: 7028] execution: {"executable":"/usr/bin/touch","arguments":["touch","flags_filtered_preproc_1.c","flags_filtered_preproc_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"FALSE":"/usr/bin/false","CXX":"/usr/bin/c++","CC":"/usr/bin/cc","_":"/usr/bin/touch","TERM":"tmux-256color","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","LC_CTYPE":"en_US.UTF-8","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45885","LIBTOOL":"/usr/bin/libtool","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_VERBOSE":"true"}} 1: [13:07:36.893628, br, 10146] [pid: 7028] recognition failed: No tools recognize this execution. 1: [13:07:36.894392, br, 10146] [pid: 8187] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-M","-o","flags_filtered_preproc_1.d","flags_filtered_preproc_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"FALSE":"/usr/bin/false","CXX":"/usr/bin/c++","CC":"/usr/bin/cc","_":"/usr/bin/cc","TERM":"tmux-256color","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","LC_CTYPE":"en_US.UTF-8","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45885","LIBTOOL":"/usr/bin/libtool","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_VERBOSE":"true"}} 1: [13:07:36.894528, br, 10146] [pid: 8187] recognized. 1: [13:07:36.895324, br, 10146] [pid: 8942] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-MM","-o","flags_filtered_preproc_2.d","flags_filtered_preproc_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"FALSE":"/usr/bin/false","CXX":"/usr/bin/c++","CC":"/usr/bin/cc","_":"/usr/bin/cc","TERM":"tmux-256color","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","LC_CTYPE":"en_US.UTF-8","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45885","LIBTOOL":"/usr/bin/libtool","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_VERBOSE":"true"}} 1: [13:07:36.895390, br, 10146] [pid: 8942] recognized. 1: [13:07:36.896211, br, 10146] [pid: 9699] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-MD","-MF","flags_filtered_preproc_1.d","-o","flags_filtered_preproc_1.o","flags_filtered_preproc_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"FALSE":"/usr/bin/false","CXX":"/usr/bin/c++","CC":"/usr/bin/cc","_":"/usr/bin/cc","TERM":"tmux-256color","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","LC_CTYPE":"en_US.UTF-8","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45885","LIBTOOL":"/usr/bin/libtool","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_VERBOSE":"true"}} 1: [13:07:36.896297, br, 10146] [pid: 9699] recognized. 1: [13:07:36.897254, br, 10146] [pid: 10074] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-MMD","-MF","flags_filtered_preproc_2.d","-o","flags_filtered_preproc_2.o","flags_filtered_preproc_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"FALSE":"/usr/bin/false","CXX":"/usr/bin/c++","CC":"/usr/bin/cc","_":"/usr/bin/cc","TERM":"tmux-256color","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","LC_CTYPE":"en_US.UTF-8","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45885","LIBTOOL":"/usr/bin/libtool","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_VERBOSE":"true"}} 1: [13:07:36.897341, br, 10146] [pid: 10074] recognized. 1: [13:07:36.897718, br, 10146] compilation entries created. [size: 2] 1: [13:07:36.897754, br, 10146] compilation entries to output. [size: 2] 1: [13:07:36.898484, br, 10146] compilation entries written. [size: 2] 1: [13:07:36.898559, br, 10146] succeeded with: 0 1: [13:07:36.903355, br, 2777] Process wait request: done. [pid: 10146] 1: [13:07:36.903470, br, 2777] Running citnames finished. [Exited with 0] 1: [13:07:36.903863, br, 2777] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/compilation/output/broken_build.sh (68 of 100) 1: PASS: bear :: cases/intercept/preload/shell_commands_intercepted.sh (69 of 100) 1: PASS: bear :: cases/intercept/wrapper/shell_fail_commands_intercepted.sh (70 of 100) 1: PASS: bear :: cases/intercept/preload/shell_redirect_works.sh (71 of 100) 1: FAIL: bear :: cases/compilation/output/flags_filtered_link.sh (72 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/flags_filtered_link.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json count -eq 4 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -fpic -o flags_filtered_link_1.o flags_filtered_link_1.c 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -fpic -o flags_filtered_link_2.o flags_filtered_link_2.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link_3.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o flags_filtered_link_3 flags_filtered_link_3.c 1: : 'RUN: at line 9'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link_4.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o flags_filtered_link_4 flags_filtered_link_4.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh" 1: # command stderr: 1: [13:07:33.807502, br, 2792] bear: 3.1.3 1: [13:07:33.808465, br, 2792] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh"] 1: [13:07:33.808765, br, 2792] environment: ["PATH=/build/bear/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=tmux-256color", "SOURCE_DATE_EPOCH=1699811453", "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", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v"] 1: [13:07:33.809000, br, 2792] sysname: Linux 1: [13:07:33.809334, br, 2792] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.809614, br, 2792] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.809800, br, 2792] machine: riscv64 1: [13:07:33.810151, br, 2792] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.815754, br, 2792] Process spawned. [pid: 2958, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh"]] 1: [13:07:33.816260, br, 2792] Process wait requested. [pid: 2958] 1: [13:07:34.000602, br, 2958] bear: 3.1.3 1: [13:07:34.001223, br, 2958] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh"] 1: [13:07:34.001486, br, 2958] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.001831, br, 2958] sysname: Linux 1: [13:07:34.002118, br, 2958] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:34.002260, br, 2958] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:34.002397, br, 2958] machine: riscv64 1: [13:07:34.002789, br, 2958] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:34.003437, br, 2958] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:34.045257, br, 2958] Running gRPC server. dns:///localhost:39223 1: [13:07:34.047139, br, 2958] Process spawned. [pid: 3699, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39223", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh"]] 1: [13:07:34.047302, br, 2958] Process wait requested. [pid: 3699] 1: [13:07:34.227023, el, 3699] lib.cc; on_load 1: [13:07:34.228562, wr, 3699, ppid: 2958] wrapper: 3.1.3 1: [13:07:34.228720, wr, 3699, ppid: 2958] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39223", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh"] 1: [13:07:34.228794, wr, 3699, ppid: 2958] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:39223", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.229160, wr, 3699, ppid: 2958] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh]}, {--destination: [dns:///localhost:39223]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:34.249904, wr, 3699, ppid: 2958] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.516718, br, 2958] trying to resolve for library: /usr/bin/sh 1: [13:07:34.518705, wr, 3699, ppid: 2958] gRPC call [Resolve] finished: true 1: [13:07:34.520419, wr, 3699, ppid: 2958] Process spawned. [pid: 5884, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh"]] 1: [13:07:34.520558, wr, 3699, ppid: 2958] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.528800, el, 5884] lib.cc; on_load 1: [13:07:34.532248, wr, 3699, ppid: 2958] gRPC call [Register] finished: true 1: [13:07:34.532647, wr, 3699, ppid: 2958] Process wait requested. [pid: 5884] 1: [13:07:34.538605, el, 5904] lib.cc; execve path: /usr/bin/uname 1: [13:07:34.539568, el, 5905] lib.cc; execve path: /usr/bin/grep 1: [13:07:34.667087, el, 5904] lib.cc; on_load 1: [13:07:34.668433, wr, 5904, ppid: 5901] wrapper: 3.1.3 1: [13:07:34.668604, wr, 5904, ppid: 5901] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39223", "--verbose", "--execute", "/usr/bin/uname", "--", "uname"] 1: [13:07:34.668714, wr, 5904, ppid: 5901] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:39223", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/uname"] 1: [13:07:34.668835, wr, 5904, ppid: 5901] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [uname]}, {--destination: [dns:///localhost:39223]}, {--execute: [/usr/bin/uname]}, {--verbose: []}]} 1: [13:07:34.675347, el, 5905] lib.cc; on_load 1: [13:07:34.677074, wr, 5905, ppid: 5901] wrapper: 3.1.3 1: [13:07:34.677171, wr, 5905, ppid: 5901] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39223", "--verbose", "--execute", "/usr/bin/grep", "--", "grep", "-i", "darwin"] 1: [13:07:34.677304, wr, 5905, ppid: 5901] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:39223", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/grep"] 1: [13:07:34.677457, wr, 5905, ppid: 5901] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [grep, -i, darwin]}, {--destination: [dns:///localhost:39223]}, {--execute: [/usr/bin/grep]}, {--verbose: []}]} 1: [13:07:34.700380, wr, 5905, ppid: 5901] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.949000, wr, 5904, ppid: 5901] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.962260, br, 2958] trying to resolve for library: /usr/bin/uname 1: [13:07:34.964798, wr, 5904, ppid: 5901] gRPC call [Resolve] finished: true 1: [13:07:34.966621, br, 2958] trying to resolve for library: /usr/bin/grep 1: [13:07:34.967554, wr, 5904, ppid: 5901] Process spawned. [pid: 7263, command: ["uname"]] 1: [13:07:34.967686, wr, 5904, ppid: 5901] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.968608, wr, 5905, ppid: 5901] gRPC call [Resolve] finished: true 1: [13:07:34.971021, wr, 5905, ppid: 5901] Process spawned. [pid: 7271, command: ["grep", "-i", "darwin"]] 1: [13:07:34.971195, wr, 5905, ppid: 5901] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.973307, wr, 5904, ppid: 5901] gRPC call [Register] finished: true 1: [13:07:34.973689, wr, 5904, ppid: 5901] Process wait requested. [pid: 7263] 1: [13:07:34.973514, el, 7263] lib.cc; on_load 1: [13:07:34.975239, wr, 5904, ppid: 5901] Process wait request: done. [pid: 7263] 1: [13:07:34.975463, wr, 5904, ppid: 5901] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.976171, wr, 5905, ppid: 5901] gRPC call [Register] finished: true 1: [13:07:34.976593, wr, 5905, ppid: 5901] Process wait requested. [pid: 7271] 1: [13:07:34.977633, wr, 5904, ppid: 5901] gRPC call [Register] finished: true 1: [13:07:34.979560, el, 7271] lib.cc; on_load 1: [13:07:34.992016, wr, 5904, ppid: 5901] succeeded with: 0 1: [13:07:34.992499, el, 5904] lib.cc; on_unload 1: [13:07:35.004229, wr, 5905, ppid: 5901] Process wait request: done. [pid: 7271] 1: [13:07:35.004310, wr, 5905, ppid: 5901] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.010566, wr, 5905, ppid: 5901] gRPC call [Register] finished: true 1: [13:07:35.026863, wr, 5905, ppid: 5901] succeeded with: 1 1: [13:07:35.027118, el, 5905] lib.cc; on_unload 1: [13:07:35.038460, el, 5901] lib.cc; on_unload 1: [13:07:35.047962, el, 7414] lib.cc; execve path: /usr/bin/cc 1: [13:07:35.215372, el, 7414] lib.cc; on_load 1: [13:07:35.216706, wr, 7414, ppid: 5884] wrapper: 3.1.3 1: [13:07:35.216884, wr, 7414, ppid: 5884] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39223", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "flags_filtered_link_1.o", "-fpic", "flags_filtered_link_1.c"] 1: [13:07:35.216996, wr, 7414, ppid: 5884] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:39223", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:35.217286, wr, 7414, ppid: 5884] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, flags_filtered_link_1.o, -fpic, flags_filtered_link_1.c]}, {--destination: [dns:///localhost:39223]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:35.239475, wr, 7414, ppid: 5884] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.505032, br, 2958] trying to resolve for library: /usr/bin/cc 1: [13:07:35.508038, wr, 7414, ppid: 5884] gRPC call [Resolve] finished: true 1: [13:07:35.511060, wr, 7414, ppid: 5884] Process spawned. [pid: 8272, command: ["/usr/bin/cc", "-c", "-o", "flags_filtered_link_1.o", "-fpic", "flags_filtered_link_1.c"]] 1: [13:07:35.511232, wr, 7414, ppid: 5884] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.516424, wr, 7414, ppid: 5884] gRPC call [Register] finished: true 1: [13:07:35.516781, wr, 7414, ppid: 5884] Process wait requested. [pid: 8272] 1: free(): invalid pointer 1: [13:07:35.520132, wr, 7414, ppid: 5884] Process wait request: done. [pid: 8272] 1: [13:07:35.520199, wr, 7414, ppid: 5884] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.522367, wr, 7414, ppid: 5884] gRPC call [Register] finished: true 1: [13:07:35.535860, wr, 7414, ppid: 5884] succeeded with: 1 1: [13:07:35.536126, el, 7414] lib.cc; on_unload 1: [13:07:35.546624, el, 8323] lib.cc; execve path: /usr/bin/cc 1: [13:07:35.660970, el, 8323] lib.cc; on_load 1: [13:07:35.662345, wr, 8323, ppid: 5884] wrapper: 3.1.3 1: [13:07:35.662466, wr, 8323, ppid: 5884] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39223", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "flags_filtered_link_2.o", "-fpic", "flags_filtered_link_2.c"] 1: [13:07:35.662643, wr, 8323, ppid: 5884] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:39223", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:35.662803, wr, 8323, ppid: 5884] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, flags_filtered_link_2.o, -fpic, flags_filtered_link_2.c]}, {--destination: [dns:///localhost:39223]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:35.682771, wr, 8323, ppid: 5884] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.949426, br, 2958] trying to resolve for library: /usr/bin/cc 1: [13:07:35.951569, wr, 8323, ppid: 5884] gRPC call [Resolve] finished: true 1: [13:07:35.953873, wr, 8323, ppid: 5884] Process spawned. [pid: 9088, command: ["/usr/bin/cc", "-c", "-o", "flags_filtered_link_2.o", "-fpic", "flags_filtered_link_2.c"]] 1: [13:07:35.954050, wr, 8323, ppid: 5884] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.958998, wr, 8323, ppid: 5884] gRPC call [Register] finished: true 1: [13:07:35.959471, wr, 8323, ppid: 5884] Process wait requested. [pid: 9088] 1: free(): invalid pointer 1: [13:07:35.961298, wr, 8323, ppid: 5884] Process wait request: done. [pid: 9088] 1: [13:07:35.961368, wr, 8323, ppid: 5884] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.963782, wr, 8323, ppid: 5884] gRPC call [Register] finished: true 1: [13:07:35.978081, wr, 8323, ppid: 5884] succeeded with: 1 1: [13:07:35.978252, el, 8323] lib.cc; on_unload 1: [13:07:35.988935, el, 9203] lib.cc; execve path: /usr/bin/cc 1: [13:07:36.098065, el, 9203] lib.cc; on_load 1: [13:07:36.099498, wr, 9203, ppid: 5884] wrapper: 3.1.3 1: [13:07:36.099642, wr, 9203, ppid: 5884] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39223", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-o", "libfoobar.so", "-shared", "-Wl,-soname,foobar", "flags_filtered_link_1.o", "flags_filtered_link_2.o"] 1: [13:07:36.099748, wr, 9203, ppid: 5884] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:39223", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:36.099897, wr, 9203, ppid: 5884] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -o, libfoobar.so, -shared, -Wl,-soname,foobar, flags_filtered_link_1.o, flags_filtered_link_2.o]}, {--destination: [dns:///localhost:39223]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:36.120742, wr, 9203, ppid: 5884] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:36.385464, br, 2958] trying to resolve for library: /usr/bin/cc 1: [13:07:36.387413, wr, 9203, ppid: 5884] gRPC call [Resolve] finished: true 1: [13:07:36.388873, wr, 9203, ppid: 5884] Process spawned. [pid: 9769, command: ["/usr/bin/cc", "-o", "libfoobar.so", "-shared", "-Wl,-soname,foobar", "flags_filtered_link_1.o", "flags_filtered_link_2.o"]] 1: [13:07:36.389021, wr, 9203, ppid: 5884] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.393106, wr, 9203, ppid: 5884] gRPC call [Register] finished: true 1: [13:07:36.393407, wr, 9203, ppid: 5884] Process wait requested. [pid: 9769] 1: free(): invalid pointer 1: [13:07:36.395095, wr, 9203, ppid: 5884] Process wait request: done. [pid: 9769] 1: [13:07:36.395158, wr, 9203, ppid: 5884] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.397275, wr, 9203, ppid: 5884] gRPC call [Register] finished: true 1: [13:07:36.410661, wr, 9203, ppid: 5884] succeeded with: 1 1: [13:07:36.410786, el, 9203] lib.cc; on_unload 1: [13:07:36.418906, el, 9800] lib.cc; execve path: /usr/bin/cc 1: [13:07:36.521819, el, 9800] lib.cc; on_load 1: [13:07:36.522770, wr, 9800, ppid: 5884] wrapper: 3.1.3 1: [13:07:36.522862, wr, 9800, ppid: 5884] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39223", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-o", "flags_filtered_link_3", "-lfoobar", "-L.", "flags_filtered_link_3.c"] 1: [13:07:36.522955, wr, 9800, ppid: 5884] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:39223", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:36.523062, wr, 9800, ppid: 5884] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -o, flags_filtered_link_3, -lfoobar, -L., flags_filtered_link_3.c]}, {--destination: [dns:///localhost:39223]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:36.538264, wr, 9800, ppid: 5884] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:36.802243, br, 2958] trying to resolve for library: /usr/bin/cc 1: [13:07:36.804278, wr, 9800, ppid: 5884] gRPC call [Resolve] finished: true 1: [13:07:36.805963, wr, 9800, ppid: 5884] Process spawned. [pid: 10147, command: ["/usr/bin/cc", "-o", "flags_filtered_link_3", "-lfoobar", "-L.", "flags_filtered_link_3.c"]] 1: [13:07:36.806125, wr, 9800, ppid: 5884] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.810278, wr, 9800, ppid: 5884] gRPC call [Register] finished: true 1: [13:07:36.810576, wr, 9800, ppid: 5884] Process wait requested. [pid: 10147] 1: free(): invalid pointer 1: [13:07:36.812185, wr, 9800, ppid: 5884] Process wait request: done. [pid: 10147] 1: [13:07:36.812251, wr, 9800, ppid: 5884] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.814283, wr, 9800, ppid: 5884] gRPC call [Register] finished: true 1: [13:07:36.823283, wr, 9800, ppid: 5884] succeeded with: 1 1: [13:07:36.823409, el, 9800] lib.cc; on_unload 1: [13:07:36.831310, el, 10168] lib.cc; execve path: /usr/bin/cc 1: [13:07:36.914480, el, 10168] lib.cc; on_load 1: [13:07:36.915452, wr, 10168, ppid: 5884] wrapper: 3.1.3 1: [13:07:36.915550, wr, 10168, ppid: 5884] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39223", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-o", "flags_filtered_link_4", "-l", "foobar", "-L", ".", "flags_filtered_link_4.c"] 1: [13:07:36.915648, wr, 10168, ppid: 5884] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:39223", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:36.915767, wr, 10168, ppid: 5884] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -o, flags_filtered_link_4, -l, foobar, -L, ., flags_filtered_link_4.c]}, {--destination: [dns:///localhost:39223]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:36.931027, wr, 10168, ppid: 5884] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:37.196020, br, 2958] trying to resolve for library: /usr/bin/cc 1: [13:07:37.197927, wr, 10168, ppid: 5884] gRPC call [Resolve] finished: true 1: [13:07:37.199599, wr, 10168, ppid: 5884] Process spawned. [pid: 10381, command: ["/usr/bin/cc", "-o", "flags_filtered_link_4", "-l", "foobar", "-L", ".", "flags_filtered_link_4.c"]] 1: [13:07:37.199748, wr, 10168, ppid: 5884] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.203573, wr, 10168, ppid: 5884] gRPC call [Register] finished: true 1: [13:07:37.203865, wr, 10168, ppid: 5884] Process wait requested. [pid: 10381] 1: free(): invalid pointer 1: [13:07:37.205678, wr, 10168, ppid: 5884] Process wait request: done. [pid: 10381] 1: [13:07:37.205738, wr, 10168, ppid: 5884] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.207560, wr, 10168, ppid: 5884] gRPC call [Register] finished: true 1: [13:07:37.216126, wr, 10168, ppid: 5884] succeeded with: 1 1: [13:07:37.216264, el, 10168] lib.cc; on_unload 1: [13:07:37.222629, el, 5884] lib.cc; on_unload 1: [13:07:37.224181, wr, 3699, ppid: 2958] Process wait request: done. [pid: 5884] 1: [13:07:37.224254, wr, 3699, ppid: 2958] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.226060, wr, 3699, ppid: 2958] gRPC call [Register] finished: true 1: [13:07:37.237362, wr, 3699, ppid: 2958] succeeded with: 1 1: [13:07:37.237486, el, 3699] lib.cc; on_unload 1: [13:07:37.243932, br, 2958] Process wait request: done. [pid: 3699] 1: [13:07:37.244057, br, 2958] Running command. [Exited with 1] 1: [13:07:37.244088, br, 2958] Stopping gRPC server. 1: [13:07:37.257559, br, 2958] succeeded with: 1 1: [13:07:37.265148, br, 2792] Process wait request: done. [pid: 2958] 1: [13:07:37.265274, br, 2792] Running intercept finished. [Exited with 1] 1: [13:07:37.266206, br, 2792] Process spawned. [pid: 10446, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json", "--run-checks", "--verbose"]] 1: [13:07:37.266324, br, 2792] Process wait requested. [pid: 10446] 1: [13:07:37.343899, br, 10446] bear: 3.1.3 1: [13:07:37.344213, br, 10446] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json", "--run-checks", "--verbose"] 1: [13:07:37.344263, br, 10446] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:37.344292, br, 10446] sysname: Linux 1: [13:07:37.344304, br, 10446] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:37.344311, br, 10446] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:37.344316, br, 10446] machine: riscv64 1: [13:07:37.344409, br, 10446] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:07:37.344851, br, 10446] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [13:07:37.350656, br, 10446] [pid: 5884] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"SOURCE_DATE_EPOCH":"1699811453","ECHO":"/usr/bin/echo","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39223","INTERCEPT_VERBOSE":"true","SLEEP":"/usr/bin/sleep","TEMP":"/tmp/lit-tmp-icqdqr_v","CC":"/usr/bin/cc","TMP":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","CXX":"/usr/bin/c++","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TMPDIR":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:07:37.351841, br, 10446] [pid: 5884] recognition failed: No tools recognize this execution. 1: [13:07:37.352782, br, 10446] [pid: 7263] execution: {"executable":"/usr/bin/uname","arguments":["uname"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"SOURCE_DATE_EPOCH":"1699811453","ECHO":"/usr/bin/echo","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39223","INTERCEPT_VERBOSE":"true","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TEMP":"/tmp/lit-tmp-icqdqr_v","CC":"/usr/bin/cc","TMP":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","SHLVL":"1","TERM":"tmux-256color","CXX":"/usr/bin/c++","_":"/usr/bin/uname","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TMPDIR":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:07:37.352877, br, 10446] [pid: 7263] recognition failed: No tools recognize this execution. 1: [13:07:37.353620, br, 10446] [pid: 7271] execution: {"executable":"/usr/bin/grep","arguments":["grep","-i","darwin"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"SOURCE_DATE_EPOCH":"1699811453","ECHO":"/usr/bin/echo","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39223","INTERCEPT_VERBOSE":"true","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TEMP":"/tmp/lit-tmp-icqdqr_v","CC":"/usr/bin/cc","TMP":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","SHLVL":"1","TERM":"tmux-256color","CXX":"/usr/bin/c++","_":"/usr/bin/grep","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TMPDIR":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:07:37.353692, br, 10446] [pid: 7271] recognition failed: No tools recognize this execution. 1: [13:07:37.354527, br, 10446] [pid: 8272] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","flags_filtered_link_1.o","-fpic","flags_filtered_link_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"SOURCE_DATE_EPOCH":"1699811453","ECHO":"/usr/bin/echo","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39223","INTERCEPT_VERBOSE":"true","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TEMP":"/tmp/lit-tmp-icqdqr_v","CC":"/usr/bin/cc","TMP":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","SHLVL":"1","TERM":"tmux-256color","CXX":"/usr/bin/c++","_":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TMPDIR":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:07:37.354701, br, 10446] [pid: 8272] recognized. 1: [13:07:37.355706, br, 10446] [pid: 9088] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","flags_filtered_link_2.o","-fpic","flags_filtered_link_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"SOURCE_DATE_EPOCH":"1699811453","ECHO":"/usr/bin/echo","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39223","INTERCEPT_VERBOSE":"true","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TEMP":"/tmp/lit-tmp-icqdqr_v","CC":"/usr/bin/cc","TMP":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","SHLVL":"1","TERM":"tmux-256color","CXX":"/usr/bin/c++","_":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TMPDIR":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:07:37.355792, br, 10446] [pid: 9088] recognized. 1: [13:07:37.357770, br, 10446] [pid: 9769] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-o","libfoobar.so","-shared","-Wl,-soname,foobar","flags_filtered_link_1.o","flags_filtered_link_2.o"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"SOURCE_DATE_EPOCH":"1699811453","ECHO":"/usr/bin/echo","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39223","INTERCEPT_VERBOSE":"true","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TEMP":"/tmp/lit-tmp-icqdqr_v","CC":"/usr/bin/cc","TMP":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","SHLVL":"1","TERM":"tmux-256color","CXX":"/usr/bin/c++","_":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TMPDIR":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:07:37.357931, br, 10446] [pid: 9769] recognition failed: Source files not found for compilation. 1: [13:07:37.358923, br, 10446] [pid: 10147] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-o","flags_filtered_link_3","-lfoobar","-L.","flags_filtered_link_3.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"SOURCE_DATE_EPOCH":"1699811453","ECHO":"/usr/bin/echo","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39223","INTERCEPT_VERBOSE":"true","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TEMP":"/tmp/lit-tmp-icqdqr_v","CC":"/usr/bin/cc","TMP":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","SHLVL":"1","TERM":"tmux-256color","CXX":"/usr/bin/c++","_":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TMPDIR":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:07:37.359038, br, 10446] [pid: 10147] recognized. 1: [13:07:37.360411, br, 10446] [pid: 10381] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-o","flags_filtered_link_4","-l","foobar","-L",".","flags_filtered_link_4.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"SOURCE_DATE_EPOCH":"1699811453","ECHO":"/usr/bin/echo","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39223","INTERCEPT_VERBOSE":"true","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TEMP":"/tmp/lit-tmp-icqdqr_v","CC":"/usr/bin/cc","TMP":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","SHLVL":"1","TERM":"tmux-256color","CXX":"/usr/bin/c++","_":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TMPDIR":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:07:37.360520, br, 10446] [pid: 10381] recognized. 1: [13:07:37.360845, br, 10446] compilation entries created. [size: 4] 1: [13:07:37.360883, br, 10446] compilation entries to output. [size: 4] 1: [13:07:37.361680, br, 10446] compilation entries written. [size: 4] 1: [13:07:37.361784, br, 10446] succeeded with: 0 1: [13:07:37.366544, br, 2792] Process wait request: done. [pid: 10446] 1: [13:07:37.366654, br, 2792] Running citnames finished. [Exited with 0] 1: [13:07:37.366987, br, 2792] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/preload/shell_commands_intercepted_without_shebang.sh (73 of 100) 1: PASS: bear :: cases/intercept/wrapper/shell_commands_parallel_intercepted.sh (74 of 100) 1: PASS: bear :: cases/intercept/preload/shell_commands_with_empty_env.sh (75 of 100) 1: PASS: bear :: cases/intercept/wrapper/shell_commands_basename_compiler.sh (76 of 100) 1: PASS: bear :: cases/intercept/wrapper/shell_commands_intercepted.sh (77 of 100) 1: PASS: bear :: cases/intercept/wrapper/shell_commands_intercepted_without_shebang.sh (78 of 100) 1: FAIL: bear :: cases/compilation/output/existing_files_only.sh (79 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/existing_files_only.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh -build 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json count -ge 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/exists/src/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o exists/src/source_1.o exists/src/source_1.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/exists/src/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o exists/src/source_2.o exists/src/source_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 5" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh" "-build" 1: # command stderr: 1: [13:07:33.772741, br, 2767] bear: 3.1.3 1: [13:07:33.773531, br, 2767] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh", "-build"] 1: [13:07:33.773763, br, 2767] environment: ["PATH=/build/bear/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=tmux-256color", "SOURCE_DATE_EPOCH=1699811453", "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", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v"] 1: [13:07:33.773951, br, 2767] sysname: Linux 1: [13:07:33.774112, br, 2767] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.774416, br, 2767] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.774563, br, 2767] machine: riscv64 1: [13:07:33.774872, br, 2767] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh, -build]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.779844, br, 2767] Process spawned. [pid: 2915, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh", "-build"]] 1: [13:07:33.780209, br, 2767] Process wait requested. [pid: 2915] 1: [13:07:33.935295, br, 2915] bear: 3.1.3 1: [13:07:33.935968, br, 2915] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh", "-build"] 1: [13:07:33.936223, br, 2915] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:33.936543, br, 2915] sysname: Linux 1: [13:07:33.936827, br, 2915] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.936960, br, 2915] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.937087, br, 2915] machine: riscv64 1: [13:07:33.937369, br, 2915] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh, -build]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:33.937976, br, 2915] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:33.971913, br, 2915] Running gRPC server. dns:///localhost:42631 1: [13:07:33.974126, br, 2915] Process spawned. [pid: 3492, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42631", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh", "-build"]] 1: [13:07:33.974447, br, 2915] Process wait requested. [pid: 3492] 1: [13:07:34.128157, el, 3492] lib.cc; on_load 1: [13:07:34.129793, wr, 3492, ppid: 2915] wrapper: 3.1.3 1: [13:07:34.130105, wr, 3492, ppid: 2915] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42631", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh", "-build"] 1: [13:07:34.130344, wr, 3492, ppid: 2915] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:42631", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.130771, wr, 3492, ppid: 2915] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh, -build]}, {--destination: [dns:///localhost:42631]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:34.152717, wr, 3492, ppid: 2915] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.413847, br, 2915] trying to resolve for library: /usr/bin/sh 1: [13:07:34.416398, wr, 3492, ppid: 2915] gRPC call [Resolve] finished: true 1: [13:07:34.418481, wr, 3492, ppid: 2915] Process spawned. [pid: 5577, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh", "-build"]] 1: [13:07:34.418644, wr, 3492, ppid: 2915] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.425508, el, 5577] lib.cc; on_load 1: [13:07:34.431353, wr, 3492, ppid: 2915] gRPC call [Register] finished: true 1: [13:07:34.431675, wr, 3492, ppid: 2915] Process wait requested. [pid: 5577] 1: [13:07:34.433597, el, 5652] lib.cc; execve path: /usr/bin/mkdir 1: [13:07:34.545692, el, 5652] lib.cc; on_load 1: [13:07:34.547009, wr, 5652, ppid: 5577] wrapper: 3.1.3 1: [13:07:34.547264, wr, 5652, ppid: 5577] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42631", "--verbose", "--execute", "/usr/bin/mkdir", "--", "mkdir", "-p", "exists", "exists/config"] 1: [13:07:34.547439, wr, 5652, ppid: 5577] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42631", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/mkdir"] 1: [13:07:34.547690, wr, 5652, ppid: 5577] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [mkdir, -p, exists, exists/config]}, {--destination: [dns:///localhost:42631]}, {--execute: [/usr/bin/mkdir]}, {--verbose: []}]} 1: [13:07:34.564601, wr, 5652, ppid: 5577] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.828309, br, 2915] trying to resolve for library: /usr/bin/mkdir 1: [13:07:34.830126, wr, 5652, ppid: 5577] gRPC call [Resolve] finished: true 1: [13:07:34.831930, wr, 5652, ppid: 5577] Process spawned. [pid: 6941, command: ["mkdir", "-p", "exists", "exists/config"]] 1: [13:07:34.832059, wr, 5652, ppid: 5577] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.836197, wr, 5652, ppid: 5577] gRPC call [Register] finished: true 1: [13:07:34.836496, wr, 5652, ppid: 5577] Process wait requested. [pid: 6941] 1: [13:07:34.837080, el, 6941] lib.cc; on_load 1: [13:07:34.839614, wr, 5652, ppid: 5577] Process wait request: done. [pid: 6941] 1: [13:07:34.839682, wr, 5652, ppid: 5577] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.841574, wr, 5652, ppid: 5577] gRPC call [Register] finished: true 1: [13:07:34.852138, wr, 5652, ppid: 5577] succeeded with: 0 1: [13:07:34.852284, el, 5652] lib.cc; on_unload 1: [13:07:34.861385, el, 6974] lib.cc; execve path: /usr/bin/touch 1: [13:07:35.007772, el, 6974] lib.cc; on_load 1: [13:07:35.009284, wr, 6974, ppid: 5577] wrapper: 3.1.3 1: [13:07:35.009580, wr, 6974, ppid: 5577] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42631", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "exists/config/source_1.c", "exists/config/source_2.c"] 1: [13:07:35.009981, wr, 6974, ppid: 5577] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42631", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/touch"] 1: [13:07:35.010414, wr, 6974, ppid: 5577] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, exists/config/source_1.c, exists/config/source_2.c]}, {--destination: [dns:///localhost:42631]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [13:07:35.291506, wr, 6974, ppid: 5577] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.301092, br, 2915] trying to resolve for library: /usr/bin/touch 1: [13:07:35.303020, wr, 6974, ppid: 5577] gRPC call [Resolve] finished: true 1: [13:07:35.305265, wr, 6974, ppid: 5577] Process spawned. [pid: 7909, command: ["touch", "exists/config/source_1.c", "exists/config/source_2.c"]] 1: [13:07:35.305594, wr, 6974, ppid: 5577] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.310461, wr, 6974, ppid: 5577] gRPC call [Register] finished: true 1: [13:07:35.310619, el, 7909] lib.cc; on_load 1: [13:07:35.311097, wr, 6974, ppid: 5577] Process wait requested. [pid: 7909] 1: [13:07:35.312848, wr, 6974, ppid: 5577] Process wait request: done. [pid: 7909] 1: [13:07:35.312921, wr, 6974, ppid: 5577] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.314919, wr, 6974, ppid: 5577] gRPC call [Register] finished: true 1: [13:07:35.327311, wr, 6974, ppid: 5577] succeeded with: 0 1: [13:07:35.327449, el, 6974] lib.cc; on_unload 1: [13:07:35.335714, el, 7952] lib.cc; execve path: /usr/bin/cc 1: [13:07:35.476215, el, 7952] lib.cc; on_load 1: [13:07:35.477946, wr, 7952, ppid: 5577] wrapper: 3.1.3 1: [13:07:35.478055, wr, 7952, ppid: 5577] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42631", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "exists/config/source_1.o", "exists/config/source_1.c"] 1: [13:07:35.478185, wr, 7952, ppid: 5577] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42631", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:35.478311, wr, 7952, ppid: 5577] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, exists/config/source_1.o, exists/config/source_1.c]}, {--destination: [dns:///localhost:42631]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:35.497589, wr, 7952, ppid: 5577] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.763810, br, 2915] trying to resolve for library: /usr/bin/cc 1: [13:07:35.767366, wr, 7952, ppid: 5577] gRPC call [Resolve] finished: true 1: [13:07:35.769486, wr, 7952, ppid: 5577] Process spawned. [pid: 8717, command: ["/usr/bin/cc", "-c", "-o", "exists/config/source_1.o", "exists/config/source_1.c"]] 1: [13:07:35.769705, wr, 7952, ppid: 5577] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.774973, wr, 7952, ppid: 5577] gRPC call [Register] finished: true 1: [13:07:35.775315, wr, 7952, ppid: 5577] Process wait requested. [pid: 8717] 1: free(): invalid pointer 1: [13:07:35.777781, wr, 7952, ppid: 5577] Process wait request: done. [pid: 8717] 1: [13:07:35.777853, wr, 7952, ppid: 5577] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.780200, wr, 7952, ppid: 5577] gRPC call [Register] finished: true 1: [13:07:35.793856, wr, 7952, ppid: 5577] succeeded with: 1 1: [13:07:35.794027, el, 7952] lib.cc; on_unload 1: [13:07:35.805271, el, 8807] lib.cc; execve path: /usr/bin/cc 1: [13:07:35.935592, el, 8807] lib.cc; on_load 1: [13:07:35.936709, wr, 8807, ppid: 5577] wrapper: 3.1.3 1: [13:07:35.936798, wr, 8807, ppid: 5577] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42631", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "exists/config/source_2.o", "exists/config/source_2.c"] 1: [13:07:35.936894, wr, 8807, ppid: 5577] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42631", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:35.937011, wr, 8807, ppid: 5577] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, exists/config/source_2.o, exists/config/source_2.c]}, {--destination: [dns:///localhost:42631]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:35.954994, wr, 8807, ppid: 5577] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:36.219470, br, 2915] trying to resolve for library: /usr/bin/cc 1: [13:07:36.221432, wr, 8807, ppid: 5577] gRPC call [Resolve] finished: true 1: [13:07:36.224096, wr, 8807, ppid: 5577] Process spawned. [pid: 9643, command: ["/usr/bin/cc", "-c", "-o", "exists/config/source_2.o", "exists/config/source_2.c"]] 1: [13:07:36.224258, wr, 8807, ppid: 5577] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.228002, wr, 8807, ppid: 5577] gRPC call [Register] finished: true 1: [13:07:36.228288, wr, 8807, ppid: 5577] Process wait requested. [pid: 9643] 1: free(): invalid pointer 1: [13:07:36.230485, wr, 8807, ppid: 5577] Process wait request: done. [pid: 9643] 1: [13:07:36.230545, wr, 8807, ppid: 5577] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.232474, wr, 8807, ppid: 5577] gRPC call [Register] finished: true 1: [13:07:36.243173, wr, 8807, ppid: 5577] succeeded with: 1 1: [13:07:36.243295, el, 8807] lib.cc; on_unload 1: [13:07:36.255342, el, 9667] lib.cc; execve path: /usr/bin/rm 1: [13:07:36.356888, el, 9667] lib.cc; on_load 1: [13:07:36.357748, wr, 9667, ppid: 5577] wrapper: 3.1.3 1: [13:07:36.357830, wr, 9667, ppid: 5577] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42631", "--verbose", "--execute", "/usr/bin/rm", "--", "rm", "exists/config/source_1.c", "exists/config/source_2.c"] 1: [13:07:36.357918, wr, 9667, ppid: 5577] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42631", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/rm"] 1: [13:07:36.358021, wr, 9667, ppid: 5577] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [rm, exists/config/source_1.c, exists/config/source_2.c]}, {--destination: [dns:///localhost:42631]}, {--execute: [/usr/bin/rm]}, {--verbose: []}]} 1: [13:07:36.372302, wr, 9667, ppid: 5577] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:36.635272, br, 2915] trying to resolve for library: /usr/bin/rm 1: [13:07:36.636814, wr, 9667, ppid: 5577] gRPC call [Resolve] finished: true 1: [13:07:36.638195, wr, 9667, ppid: 5577] Process spawned. [pid: 10036, command: ["rm", "exists/config/source_1.c", "exists/config/source_2.c"]] 1: [13:07:36.638313, wr, 9667, ppid: 5577] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.641776, wr, 9667, ppid: 5577] gRPC call [Register] finished: true 1: [13:07:36.642032, wr, 9667, ppid: 5577] Process wait requested. [pid: 10036] 1: [13:07:36.643308, el, 10036] lib.cc; on_load 1: [13:07:36.645212, wr, 9667, ppid: 5577] Process wait request: done. [pid: 10036] 1: [13:07:36.645274, wr, 9667, ppid: 5577] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.649105, wr, 9667, ppid: 5577] gRPC call [Register] finished: true 1: [13:07:36.657394, wr, 9667, ppid: 5577] succeeded with: 0 1: [13:07:36.657523, el, 9667] lib.cc; on_unload 1: [13:07:36.666020, el, 10061] lib.cc; execve path: /usr/bin/mkdir 1: [13:07:36.751049, el, 10061] lib.cc; on_load 1: [13:07:36.751873, wr, 10061, ppid: 5577] wrapper: 3.1.3 1: [13:07:36.751941, wr, 10061, ppid: 5577] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42631", "--verbose", "--execute", "/usr/bin/mkdir", "--", "mkdir", "-p", "exists", "exists/src"] 1: [13:07:36.752030, wr, 10061, ppid: 5577] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42631", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/mkdir"] 1: [13:07:36.752123, wr, 10061, ppid: 5577] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [mkdir, -p, exists, exists/src]}, {--destination: [dns:///localhost:42631]}, {--execute: [/usr/bin/mkdir]}, {--verbose: []}]} 1: [13:07:36.764398, wr, 10061, ppid: 5577] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:37.028234, br, 2915] trying to resolve for library: /usr/bin/mkdir 1: [13:07:37.030323, wr, 10061, ppid: 5577] gRPC call [Resolve] finished: true 1: [13:07:37.050714, wr, 10061, ppid: 5577] Process spawned. [pid: 10244, command: ["mkdir", "-p", "exists", "exists/src"]] 1: [13:07:37.050856, wr, 10061, ppid: 5577] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.055452, wr, 10061, ppid: 5577] gRPC call [Register] finished: true 1: [13:07:37.055838, wr, 10061, ppid: 5577] Process wait requested. [pid: 10244] 1: [13:07:37.055976, el, 10244] lib.cc; on_load 1: [13:07:37.057664, wr, 10061, ppid: 5577] Process wait request: done. [pid: 10244] 1: [13:07:37.057729, wr, 10061, ppid: 5577] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.059794, wr, 10061, ppid: 5577] gRPC call [Register] finished: true 1: [13:07:37.068873, wr, 10061, ppid: 5577] succeeded with: 0 1: [13:07:37.069018, el, 10061] lib.cc; on_unload 1: [13:07:37.077260, el, 10297] lib.cc; execve path: /usr/bin/touch 1: [13:07:37.159716, el, 10297] lib.cc; on_load 1: [13:07:37.160628, wr, 10297, ppid: 5577] wrapper: 3.1.3 1: [13:07:37.160708, wr, 10297, ppid: 5577] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42631", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "exists/src/source_1.c", "exists/src/source_2.c"] 1: [13:07:37.160797, wr, 10297, ppid: 5577] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42631", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/touch"] 1: [13:07:37.160901, wr, 10297, ppid: 5577] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, exists/src/source_1.c, exists/src/source_2.c]}, {--destination: [dns:///localhost:42631]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [13:07:37.173885, wr, 10297, ppid: 5577] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:37.437248, br, 2915] trying to resolve for library: /usr/bin/touch 1: [13:07:37.438977, wr, 10297, ppid: 5577] gRPC call [Resolve] finished: true 1: [13:07:37.440528, wr, 10297, ppid: 5577] Process spawned. [pid: 10510, command: ["touch", "exists/src/source_1.c", "exists/src/source_2.c"]] 1: [13:07:37.440665, wr, 10297, ppid: 5577] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.444282, wr, 10297, ppid: 5577] gRPC call [Register] finished: true 1: [13:07:37.444560, wr, 10297, ppid: 5577] Process wait requested. [pid: 10510] 1: [13:07:37.445062, el, 10510] lib.cc; on_load 1: [13:07:37.446615, wr, 10297, ppid: 5577] Process wait request: done. [pid: 10510] 1: [13:07:37.446672, wr, 10297, ppid: 5577] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.448456, wr, 10297, ppid: 5577] gRPC call [Register] finished: true 1: [13:07:37.456660, wr, 10297, ppid: 5577] succeeded with: 0 1: [13:07:37.456780, el, 10297] lib.cc; on_unload 1: [13:07:37.464286, el, 10535] lib.cc; execve path: /usr/bin/cc 1: [13:07:37.551409, el, 10535] lib.cc; on_load 1: [13:07:37.552210, wr, 10535, ppid: 5577] wrapper: 3.1.3 1: [13:07:37.552272, wr, 10535, ppid: 5577] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42631", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "exists/src/source_1.o", "exists/src/source_1.c"] 1: [13:07:37.552363, wr, 10535, ppid: 5577] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42631", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:37.552480, wr, 10535, ppid: 5577] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, exists/src/source_1.o, exists/src/source_1.c]}, {--destination: [dns:///localhost:42631]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:37.564758, wr, 10535, ppid: 5577] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:37.827564, br, 2915] trying to resolve for library: /usr/bin/cc 1: [13:07:37.829051, wr, 10535, ppid: 5577] gRPC call [Resolve] finished: true 1: [13:07:37.830450, wr, 10535, ppid: 5577] Process spawned. [pid: 10669, command: ["/usr/bin/cc", "-c", "-o", "exists/src/source_1.o", "exists/src/source_1.c"]] 1: [13:07:37.830566, wr, 10535, ppid: 5577] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.833998, wr, 10535, ppid: 5577] gRPC call [Register] finished: true 1: [13:07:37.834249, wr, 10535, ppid: 5577] Process wait requested. [pid: 10669] 1: free(): invalid pointer 1: [13:07:37.836327, wr, 10535, ppid: 5577] Process wait request: done. [pid: 10669] 1: [13:07:37.836363, wr, 10535, ppid: 5577] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.837914, wr, 10535, ppid: 5577] gRPC call [Register] finished: true 1: [13:07:37.846099, wr, 10535, ppid: 5577] succeeded with: 1 1: [13:07:37.846235, el, 10535] lib.cc; on_unload 1: [13:07:37.854065, el, 10691] lib.cc; execve path: /usr/bin/cc 1: [13:07:37.936361, el, 10691] lib.cc; on_load 1: [13:07:37.937179, wr, 10691, ppid: 5577] wrapper: 3.1.3 1: [13:07:37.937246, wr, 10691, ppid: 5577] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42631", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "exists/src/source_2.o", "exists/src/source_2.c"] 1: [13:07:37.937335, wr, 10691, ppid: 5577] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42631", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:37.937419, wr, 10691, ppid: 5577] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, exists/src/source_2.o, exists/src/source_2.c]}, {--destination: [dns:///localhost:42631]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:37.950516, wr, 10691, ppid: 5577] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:38.213195, br, 2915] trying to resolve for library: /usr/bin/cc 1: [13:07:38.214779, wr, 10691, ppid: 5577] gRPC call [Resolve] finished: true 1: [13:07:38.216372, wr, 10691, ppid: 5577] Process spawned. [pid: 10803, command: ["/usr/bin/cc", "-c", "-o", "exists/src/source_2.o", "exists/src/source_2.c"]] 1: [13:07:38.216498, wr, 10691, ppid: 5577] gRPC call requested: supervise::Interceptor::Register 1: [13:07:38.220064, wr, 10691, ppid: 5577] gRPC call [Register] finished: true 1: [13:07:38.220331, wr, 10691, ppid: 5577] Process wait requested. [pid: 10803] 1: free(): invalid pointer 1: [13:07:38.222201, wr, 10691, ppid: 5577] Process wait request: done. [pid: 10803] 1: [13:07:38.222257, wr, 10691, ppid: 5577] gRPC call requested: supervise::Interceptor::Register 1: [13:07:38.223987, wr, 10691, ppid: 5577] gRPC call [Register] finished: true 1: [13:07:38.231971, wr, 10691, ppid: 5577] succeeded with: 1 1: [13:07:38.232080, el, 10691] lib.cc; on_unload 1: [13:07:38.238476, el, 5577] lib.cc; on_unload 1: [13:07:38.240022, wr, 3492, ppid: 2915] Process wait request: done. [pid: 5577] 1: [13:07:38.240087, wr, 3492, ppid: 2915] gRPC call requested: supervise::Interceptor::Register 1: [13:07:38.241633, wr, 3492, ppid: 2915] gRPC call [Register] finished: true 1: [13:07:38.252389, wr, 3492, ppid: 2915] succeeded with: 1 1: [13:07:38.252504, el, 3492] lib.cc; on_unload 1: [13:07:38.259115, br, 2915] Process wait request: done. [pid: 3492] 1: [13:07:38.259274, br, 2915] Running command. [Exited with 1] 1: [13:07:38.259307, br, 2915] Stopping gRPC server. 1: [13:07:38.269511, br, 2915] succeeded with: 1 1: [13:07:38.276629, br, 2767] Process wait request: done. [pid: 2915] 1: [13:07:38.276751, br, 2767] Running intercept finished. [Exited with 1] 1: [13:07:38.277724, br, 2767] Process spawned. [pid: 10820, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json", "--run-checks", "--verbose"]] 1: [13:07:38.277853, br, 2767] Process wait requested. [pid: 10820] 1: [13:07:38.362030, br, 10820] bear: 3.1.3 1: [13:07:38.362290, br, 10820] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json", "--run-checks", "--verbose"] 1: [13:07:38.362342, br, 10820] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:38.362371, br, 10820] sysname: Linux 1: [13:07:38.362383, br, 10820] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:38.362389, br, 10820] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:38.362395, br, 10820] machine: riscv64 1: [13:07:38.362482, br, 10820] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:07:38.362982, br, 10820] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [13:07:38.368714, br, 10820] [pid: 5577] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh","-build"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42631","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TRUE":"/usr/bin/true","TERM":"tmux-256color","SOURCE_DATE_EPOCH":"1699811453","SLEEP":"/usr/bin/sleep","LC_CTYPE":"en_US.UTF-8","FALSE":"/usr/bin/false","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-icqdqr_v","CC":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-icqdqr_v","TMP":"/tmp/lit-tmp-icqdqr_v","LLVM_DISABLE_CRASH_REPORT":"1","ECHO":"/usr/bin/echo","LIBTOOL":"/usr/bin/libtool"}} 1: [13:07:38.370013, br, 10820] [pid: 5577] recognition failed: No tools recognize this execution. 1: [13:07:38.370833, br, 10820] [pid: 6941] execution: {"executable":"/usr/bin/mkdir","arguments":["mkdir","-p","exists","exists/config"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42631","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TRUE":"/usr/bin/true","TERM":"tmux-256color","SOURCE_DATE_EPOCH":"1699811453","SLEEP":"/usr/bin/sleep","LC_CTYPE":"en_US.UTF-8","FALSE":"/usr/bin/false","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TEMP":"/tmp/lit-tmp-icqdqr_v","CC":"/usr/bin/cc","_":"/usr/bin/mkdir","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","TMP":"/tmp/lit-tmp-icqdqr_v","LLVM_DISABLE_CRASH_REPORT":"1","ECHO":"/usr/bin/echo","LIBTOOL":"/usr/bin/libtool"}} 1: [13:07:38.370901, br, 10820] [pid: 6941] recognition failed: No tools recognize this execution. 1: [13:07:38.371657, br, 10820] [pid: 7909] execution: {"executable":"/usr/bin/touch","arguments":["touch","exists/config/source_1.c","exists/config/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42631","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TRUE":"/usr/bin/true","TERM":"tmux-256color","SOURCE_DATE_EPOCH":"1699811453","SLEEP":"/usr/bin/sleep","LC_CTYPE":"en_US.UTF-8","FALSE":"/usr/bin/false","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TEMP":"/tmp/lit-tmp-icqdqr_v","CC":"/usr/bin/cc","_":"/usr/bin/touch","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","TMP":"/tmp/lit-tmp-icqdqr_v","LLVM_DISABLE_CRASH_REPORT":"1","ECHO":"/usr/bin/echo","LIBTOOL":"/usr/bin/libtool"}} 1: [13:07:38.371711, br, 10820] [pid: 7909] recognition failed: No tools recognize this execution. 1: [13:07:38.372458, br, 10820] [pid: 8717] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","exists/config/source_1.o","exists/config/source_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42631","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TRUE":"/usr/bin/true","TERM":"tmux-256color","SOURCE_DATE_EPOCH":"1699811453","SLEEP":"/usr/bin/sleep","LC_CTYPE":"en_US.UTF-8","FALSE":"/usr/bin/false","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TEMP":"/tmp/lit-tmp-icqdqr_v","CC":"/usr/bin/cc","_":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","TMP":"/tmp/lit-tmp-icqdqr_v","LLVM_DISABLE_CRASH_REPORT":"1","ECHO":"/usr/bin/echo","LIBTOOL":"/usr/bin/libtool"}} 1: [13:07:38.372654, br, 10820] [pid: 8717] recognized. 1: [13:07:38.373718, br, 10820] [pid: 9643] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","exists/config/source_2.o","exists/config/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42631","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TRUE":"/usr/bin/true","TERM":"tmux-256color","SOURCE_DATE_EPOCH":"1699811453","SLEEP":"/usr/bin/sleep","LC_CTYPE":"en_US.UTF-8","FALSE":"/usr/bin/false","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TEMP":"/tmp/lit-tmp-icqdqr_v","CC":"/usr/bin/cc","_":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","TMP":"/tmp/lit-tmp-icqdqr_v","LLVM_DISABLE_CRASH_REPORT":"1","ECHO":"/usr/bin/echo","LIBTOOL":"/usr/bin/libtool"}} 1: [13:07:38.373810, br, 10820] [pid: 9643] recognized. 1: [13:07:38.374725, br, 10820] [pid: 10036] execution: {"executable":"/usr/bin/rm","arguments":["rm","exists/config/source_1.c","exists/config/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42631","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TRUE":"/usr/bin/true","TERM":"tmux-256color","SOURCE_DATE_EPOCH":"1699811453","SLEEP":"/usr/bin/sleep","LC_CTYPE":"en_US.UTF-8","FALSE":"/usr/bin/false","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TEMP":"/tmp/lit-tmp-icqdqr_v","CC":"/usr/bin/cc","_":"/usr/bin/rm","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","TMP":"/tmp/lit-tmp-icqdqr_v","LLVM_DISABLE_CRASH_REPORT":"1","ECHO":"/usr/bin/echo","LIBTOOL":"/usr/bin/libtool"}} 1: [13:07:38.374791, br, 10820] [pid: 10036] recognition failed: No tools recognize this execution. 1: [13:07:38.375599, br, 10820] [pid: 10244] execution: {"executable":"/usr/bin/mkdir","arguments":["mkdir","-p","exists","exists/src"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42631","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TRUE":"/usr/bin/true","TERM":"tmux-256color","SOURCE_DATE_EPOCH":"1699811453","SLEEP":"/usr/bin/sleep","LC_CTYPE":"en_US.UTF-8","FALSE":"/usr/bin/false","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TEMP":"/tmp/lit-tmp-icqdqr_v","CC":"/usr/bin/cc","_":"/usr/bin/mkdir","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","TMP":"/tmp/lit-tmp-icqdqr_v","LLVM_DISABLE_CRASH_REPORT":"1","ECHO":"/usr/bin/echo","LIBTOOL":"/usr/bin/libtool"}} 1: [13:07:38.375661, br, 10820] [pid: 10244] recognition failed: No tools recognize this execution. 1: [13:07:38.376477, br, 10820] [pid: 10510] execution: {"executable":"/usr/bin/touch","arguments":["touch","exists/src/source_1.c","exists/src/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42631","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TRUE":"/usr/bin/true","TERM":"tmux-256color","SOURCE_DATE_EPOCH":"1699811453","SLEEP":"/usr/bin/sleep","LC_CTYPE":"en_US.UTF-8","FALSE":"/usr/bin/false","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TEMP":"/tmp/lit-tmp-icqdqr_v","CC":"/usr/bin/cc","_":"/usr/bin/touch","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","TMP":"/tmp/lit-tmp-icqdqr_v","LLVM_DISABLE_CRASH_REPORT":"1","ECHO":"/usr/bin/echo","LIBTOOL":"/usr/bin/libtool"}} 1: [13:07:38.376539, br, 10820] [pid: 10510] recognition failed: No tools recognize this execution. 1: [13:07:38.377325, br, 10820] [pid: 10669] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","exists/src/source_1.o","exists/src/source_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42631","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TRUE":"/usr/bin/true","TERM":"tmux-256color","SOURCE_DATE_EPOCH":"1699811453","SLEEP":"/usr/bin/sleep","LC_CTYPE":"en_US.UTF-8","FALSE":"/usr/bin/false","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TEMP":"/tmp/lit-tmp-icqdqr_v","CC":"/usr/bin/cc","_":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","TMP":"/tmp/lit-tmp-icqdqr_v","LLVM_DISABLE_CRASH_REPORT":"1","ECHO":"/usr/bin/echo","LIBTOOL":"/usr/bin/libtool"}} 1: [13:07:38.377412, br, 10820] [pid: 10669] recognized. 1: [13:07:38.378335, br, 10820] [pid: 10803] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","exists/src/source_2.o","exists/src/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42631","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TRUE":"/usr/bin/true","TERM":"tmux-256color","SOURCE_DATE_EPOCH":"1699811453","SLEEP":"/usr/bin/sleep","LC_CTYPE":"en_US.UTF-8","FALSE":"/usr/bin/false","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TEMP":"/tmp/lit-tmp-icqdqr_v","CC":"/usr/bin/cc","_":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","TMP":"/tmp/lit-tmp-icqdqr_v","LLVM_DISABLE_CRASH_REPORT":"1","ECHO":"/usr/bin/echo","LIBTOOL":"/usr/bin/libtool"}} 1: [13:07:38.378411, br, 10820] [pid: 10803] recognized. 1: [13:07:38.378703, br, 10820] compilation entries created. [size: 4] 1: [13:07:38.378736, br, 10820] compilation entries to output. [size: 4] 1: [13:07:38.379575, br, 10820] compilation entries written. [size: 2] 1: [13:07:38.379669, br, 10820] succeeded with: 0 1: [13:07:38.384056, br, 2767] Process wait request: done. [pid: 10820] 1: [13:07:38.384165, br, 2767] Running citnames finished. [Exited with 0] 1: [13:07:38.384556, br, 2767] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/wrapper.sh (80 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/wrapper.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/wrapper.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json count -eq 2 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o wrapper_1.o wrapper_1.c 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o wrapper_2.o wrapper_2.c 1: : 'RUN: at line 9'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json --force-wrapper -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/wrapper.sh 1: : 'RUN: at line 10'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json count -eq 2 1: : 'RUN: at line 11'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o wrapper_1.o wrapper_1.c 1: : 'RUN: at line 12'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o wrapper_2.o wrapper_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/wrapper.sh" 1: # command stderr: 1: [13:07:33.799360, br, 2797] bear: 3.1.3 1: [13:07:33.800160, br, 2797] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/wrapper.sh"] 1: [13:07:33.800382, br, 2797] environment: ["PATH=/build/bear/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=tmux-256color", "SOURCE_DATE_EPOCH=1699811453", "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", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v"] 1: [13:07:33.800544, br, 2797] sysname: Linux 1: [13:07:33.800706, br, 2797] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.800914, br, 2797] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.801034, br, 2797] machine: riscv64 1: [13:07:33.801281, br, 2797] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/wrapper.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.809786, br, 2797] Process spawned. [pid: 2949, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/wrapper.sh"]] 1: [13:07:33.809973, br, 2797] Process wait requested. [pid: 2949] 1: [13:07:33.995399, br, 2949] bear: 3.1.3 1: [13:07:33.996175, br, 2949] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/wrapper.sh"] 1: [13:07:33.996424, br, 2949] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:33.996739, br, 2949] sysname: Linux 1: [13:07:33.996991, br, 2949] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.997094, br, 2949] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.997198, br, 2949] machine: riscv64 1: [13:07:33.997492, br, 2949] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/wrapper.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:33.998307, br, 2949] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:34.034305, br, 2949] Running gRPC server. dns:///localhost:38165 1: [13:07:34.035705, br, 2949] Process spawned. [pid: 3689, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38165", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/wrapper.sh"]] 1: [13:07:34.035851, br, 2949] Process wait requested. [pid: 3689] 1: [13:07:34.197529, el, 3689] lib.cc; on_load 1: [13:07:34.198854, wr, 3689, ppid: 2949] wrapper: 3.1.3 1: [13:07:34.199131, wr, 3689, ppid: 2949] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38165", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/wrapper.sh"] 1: [13:07:34.199362, wr, 3689, ppid: 2949] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:38165", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.199663, wr, 3689, ppid: 2949] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/wrapper.sh]}, {--destination: [dns:///localhost:38165]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:34.217866, wr, 3689, ppid: 2949] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.477824, br, 2949] trying to resolve for library: /usr/bin/sh 1: [13:07:34.480405, wr, 3689, ppid: 2949] gRPC call [Resolve] finished: true 1: [13:07:34.482145, wr, 3689, ppid: 2949] Process spawned. [pid: 5728, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/wrapper.sh"]] 1: [13:07:34.482288, wr, 3689, ppid: 2949] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.489720, el, 5728] lib.cc; on_load 1: [13:07:34.494330, wr, 3689, ppid: 2949] gRPC call [Register] finished: true 1: [13:07:34.494694, wr, 3689, ppid: 2949] Process wait requested. [pid: 5728] 1: [13:07:34.498292, el, 5782] lib.cc; execve path: /usr/bin/touch 1: [13:07:34.613028, el, 5782] lib.cc; on_load 1: [13:07:34.614182, wr, 5782, ppid: 5728] wrapper: 3.1.3 1: [13:07:34.614278, wr, 5782, ppid: 5728] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38165", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "wrapper_1.c", "wrapper_2.c"] 1: [13:07:34.614370, wr, 5782, ppid: 5728] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38165", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/touch"] 1: [13:07:34.614485, wr, 5782, ppid: 5728] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, wrapper_1.c, wrapper_2.c]}, {--destination: [dns:///localhost:38165]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [13:07:34.629809, wr, 5782, ppid: 5728] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.895674, br, 2949] trying to resolve for library: /usr/bin/touch 1: [13:07:34.897760, wr, 5782, ppid: 5728] gRPC call [Resolve] finished: true 1: [13:07:34.899840, wr, 5782, ppid: 5728] Process spawned. [pid: 7083, command: ["touch", "wrapper_1.c", "wrapper_2.c"]] 1: [13:07:34.899990, wr, 5782, ppid: 5728] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.905777, wr, 5782, ppid: 5728] gRPC call [Register] finished: true 1: [13:07:34.906442, wr, 5782, ppid: 5728] Process wait requested. [pid: 7083] 1: [13:07:34.906345, el, 7083] lib.cc; on_load 1: [13:07:34.908462, wr, 5782, ppid: 5728] Process wait request: done. [pid: 7083] 1: [13:07:34.908523, wr, 5782, ppid: 5728] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.911436, wr, 5782, ppid: 5728] gRPC call [Register] finished: true 1: [13:07:34.927542, wr, 5782, ppid: 5728] succeeded with: 0 1: [13:07:34.927693, el, 5782] lib.cc; on_unload 1: [13:07:34.936914, el, 7187] lib.cc; execve path: /usr/bin/cat 1: [13:07:35.118043, el, 7187] lib.cc; on_load 1: [13:07:35.119201, wr, 7187, ppid: 5728] wrapper: 3.1.3 1: [13:07:35.119530, wr, 7187, ppid: 5728] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38165", "--verbose", "--execute", "/usr/bin/cat", "--", "cat"] 1: [13:07:35.119663, wr, 7187, ppid: 5728] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38165", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cat"] 1: [13:07:35.119824, wr, 7187, ppid: 5728] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [cat]}, {--destination: [dns:///localhost:38165]}, {--execute: [/usr/bin/cat]}, {--verbose: []}]} 1: [13:07:35.137990, wr, 7187, ppid: 5728] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.403665, br, 2949] trying to resolve for library: /usr/bin/cat 1: [13:07:35.405683, wr, 7187, ppid: 5728] gRPC call [Resolve] finished: true 1: [13:07:35.407527, wr, 7187, ppid: 5728] Process spawned. [pid: 8185, command: ["cat"]] 1: [13:07:35.407661, wr, 7187, ppid: 5728] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.411913, wr, 7187, ppid: 5728] gRPC call [Register] finished: true 1: [13:07:35.412334, wr, 7187, ppid: 5728] Process wait requested. [pid: 8185] 1: [13:07:35.412226, el, 8185] lib.cc; on_load 1: [13:07:35.414248, wr, 7187, ppid: 5728] Process wait request: done. [pid: 8185] 1: [13:07:35.414308, wr, 7187, ppid: 5728] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.416762, wr, 7187, ppid: 5728] gRPC call [Register] finished: true 1: [13:07:35.428673, wr, 7187, ppid: 5728] succeeded with: 0 1: [13:07:35.428904, el, 7187] lib.cc; on_unload 1: [13:07:35.441023, el, 8191] lib.cc; execve path: /usr/bin/chmod 1: [13:07:35.563334, el, 8191] lib.cc; on_load 1: [13:07:35.564468, wr, 8191, ppid: 5728] wrapper: 3.1.3 1: [13:07:35.564580, wr, 8191, ppid: 5728] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38165", "--verbose", "--execute", "/usr/bin/chmod", "--", "chmod", "+x", "wrapper"] 1: [13:07:35.564684, wr, 8191, ppid: 5728] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38165", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/chmod"] 1: [13:07:35.564827, wr, 8191, ppid: 5728] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [chmod, +x, wrapper]}, {--destination: [dns:///localhost:38165]}, {--execute: [/usr/bin/chmod]}, {--verbose: []}]} 1: [13:07:35.582523, wr, 8191, ppid: 5728] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.848237, br, 2949] trying to resolve for library: /usr/bin/chmod 1: [13:07:35.850230, wr, 8191, ppid: 5728] gRPC call [Resolve] finished: true 1: [13:07:35.851954, wr, 8191, ppid: 5728] Process spawned. [pid: 8934, command: ["chmod", "+x", "wrapper"]] 1: [13:07:35.852102, wr, 8191, ppid: 5728] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.857009, wr, 8191, ppid: 5728] gRPC call [Register] finished: true 1: [13:07:35.857347, wr, 8191, ppid: 5728] Process wait requested. [pid: 8934] 1: [13:07:35.857947, el, 8934] lib.cc; on_load 1: [13:07:35.860102, wr, 8191, ppid: 5728] Process wait request: done. [pid: 8934] 1: [13:07:35.860173, wr, 8191, ppid: 5728] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.862752, wr, 8191, ppid: 5728] gRPC call [Register] finished: true 1: [13:07:35.876064, wr, 8191, ppid: 5728] succeeded with: 0 1: [13:07:35.876214, el, 8191] lib.cc; on_unload 1: [13:07:35.885996, el, 8962] lib.cc; execve path: ./wrapper 1: [13:07:36.018530, el, 8962] lib.cc; on_load 1: [13:07:36.019745, wr, 8962, ppid: 5728] wrapper: 3.1.3 1: [13:07:36.019852, wr, 8962, ppid: 5728] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38165", "--verbose", "--execute", "./wrapper", "--", "./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_1.o", "wrapper_1.c"] 1: [13:07:36.019953, wr, 8962, ppid: 5728] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38165", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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=./wrapper", "SLEEP=/usr/bin/sleep", "_=./wrapper"] 1: [13:07:36.020200, wr, 8962, ppid: 5728] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [./wrapper, /usr/bin/cc, -c, -o, wrapper_1.o, wrapper_1.c]}, {--destination: [dns:///localhost:38165]}, {--execute: [./wrapper]}, {--verbose: []}]} 1: [13:07:36.038398, wr, 8962, ppid: 5728] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:36.302773, br, 2949] trying to resolve for library: ./wrapper 1: [13:07:36.304393, wr, 8962, ppid: 5728] gRPC call [Resolve] finished: true 1: [13:07:36.305859, wr, 8962, ppid: 5728] Process spawned. [pid: 9700, command: ["./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_1.o", "wrapper_1.c"]] 1: [13:07:36.306058, wr, 8962, ppid: 5728] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.309849, wr, 8962, ppid: 5728] gRPC call [Register] finished: true 1: [13:07:36.310117, wr, 8962, ppid: 5728] Process wait requested. [pid: 9700] 1: [13:07:36.310941, el, 9700] lib.cc; on_load 1: [13:07:36.311499, el, 9700] lib.cc; execvp file: sh 1: [13:07:36.412126, el, 9700] lib.cc; on_load 1: [13:07:36.413250, wr, 9700, ppid: 8962] wrapper: 3.1.3 1: [13:07:36.413337, wr, 9700, ppid: 8962] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38165", "--verbose", "--execute", "/usr/bin/sh", "--", "sh", "./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_1.o", "wrapper_1.c"] 1: [13:07:36.413451, wr, 9700, ppid: 8962] environment: ["CC=./wrapper", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:38165", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/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=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "SHLVL=1", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true", "_=./wrapper"] 1: [13:07:36.413574, wr, 9700, ppid: 8962] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [sh, ./wrapper, /usr/bin/cc, -c, -o, wrapper_1.o, wrapper_1.c]}, {--destination: [dns:///localhost:38165]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:36.425975, wr, 9700, ppid: 8962] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:36.688368, br, 2949] trying to resolve for library: /usr/bin/sh 1: [13:07:36.689949, wr, 9700, ppid: 8962] gRPC call [Resolve] finished: true 1: [13:07:36.691243, wr, 9700, ppid: 8962] Process spawned. [pid: 10065, command: ["sh", "./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_1.o", "wrapper_1.c"]] 1: [13:07:36.691356, wr, 9700, ppid: 8962] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.694802, wr, 9700, ppid: 8962] gRPC call [Register] finished: true 1: [13:07:36.695050, wr, 9700, ppid: 8962] Process wait requested. [pid: 10065] 1: [13:07:36.697402, el, 10065] lib.cc; on_load 1: [13:07:36.704741, el, 10065] lib.cc; execve path: /usr/bin/cc 1: [13:07:36.788093, el, 10065] lib.cc; on_load 1: [13:07:36.789058, wr, 10065, ppid: 9700] wrapper: 3.1.3 1: [13:07:36.789169, wr, 10065, ppid: 9700] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38165", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "wrapper_1.o", "wrapper_1.c"] 1: [13:07:36.789318, wr, 10065, ppid: 9700] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38165", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "_=./wrapper", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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=./wrapper", "SLEEP=/usr/bin/sleep"] 1: [13:07:36.789445, wr, 10065, ppid: 9700] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, wrapper_1.o, wrapper_1.c]}, {--destination: [dns:///localhost:38165]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:36.803184, wr, 10065, ppid: 9700] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:37.066238, br, 2949] trying to resolve for library: /usr/bin/cc 1: [13:07:37.068311, wr, 10065, ppid: 9700] gRPC call [Resolve] finished: true 1: [13:07:37.070027, wr, 10065, ppid: 9700] Process spawned. [pid: 10295, command: ["/usr/bin/cc", "-c", "-o", "wrapper_1.o", "wrapper_1.c"]] 1: [13:07:37.070174, wr, 10065, ppid: 9700] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.074247, wr, 10065, ppid: 9700] gRPC call [Register] finished: true 1: [13:07:37.074523, wr, 10065, ppid: 9700] Process wait requested. [pid: 10295] 1: free(): invalid pointer 1: [13:07:37.076129, wr, 10065, ppid: 9700] Process wait request: done. [pid: 10295] 1: [13:07:37.076185, wr, 10065, ppid: 9700] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.078280, wr, 10065, ppid: 9700] gRPC call [Register] finished: true 1: [13:07:37.083428, wr, 10065, ppid: 9700] succeeded with: 1 1: [13:07:37.083565, el, 10065] lib.cc; on_unload 1: [13:07:37.089575, wr, 9700, ppid: 8962] Process wait request: done. [pid: 10065] 1: [13:07:37.089651, wr, 9700, ppid: 8962] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.091426, wr, 9700, ppid: 8962] gRPC call [Register] finished: true 1: [13:07:37.100562, wr, 9700, ppid: 8962] succeeded with: 1 1: [13:07:37.100696, el, 9700] lib.cc; on_unload 1: [13:07:37.107862, wr, 8962, ppid: 5728] Process wait request: done. [pid: 9700] 1: [13:07:37.107941, wr, 8962, ppid: 5728] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.109711, wr, 8962, ppid: 5728] gRPC call [Register] finished: true 1: [13:07:37.121004, wr, 8962, ppid: 5728] succeeded with: 1 1: [13:07:37.121130, el, 8962] lib.cc; on_unload 1: [13:07:37.128907, el, 10318] lib.cc; execve path: ./wrapper 1: [13:07:37.210378, el, 10318] lib.cc; on_load 1: [13:07:37.211304, wr, 10318, ppid: 5728] wrapper: 3.1.3 1: [13:07:37.211378, wr, 10318, ppid: 5728] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38165", "--verbose", "--execute", "./wrapper", "--", "./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_2.o", "wrapper_2.c"] 1: [13:07:37.211478, wr, 10318, ppid: 5728] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38165", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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=./wrapper", "SLEEP=/usr/bin/sleep", "_=./wrapper"] 1: [13:07:37.211606, wr, 10318, ppid: 5728] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [./wrapper, /usr/bin/cc, -c, -o, wrapper_2.o, wrapper_2.c]}, {--destination: [dns:///localhost:38165]}, {--execute: [./wrapper]}, {--verbose: []}]} 1: [13:07:37.226673, wr, 10318, ppid: 5728] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:37.490537, br, 2949] trying to resolve for library: ./wrapper 1: [13:07:37.492138, wr, 10318, ppid: 5728] gRPC call [Resolve] finished: true 1: [13:07:37.493943, wr, 10318, ppid: 5728] Process spawned. [pid: 10537, command: ["./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_2.o", "wrapper_2.c"]] 1: [13:07:37.494081, wr, 10318, ppid: 5728] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.498037, wr, 10318, ppid: 5728] gRPC call [Register] finished: true 1: [13:07:37.498325, wr, 10318, ppid: 5728] Process wait requested. [pid: 10537] 1: [13:07:37.498475, el, 10537] lib.cc; on_load 1: [13:07:37.499008, el, 10537] lib.cc; execvp file: sh 1: [13:07:37.576763, el, 10537] lib.cc; on_load 1: [13:07:37.577535, wr, 10537, ppid: 10318] wrapper: 3.1.3 1: [13:07:37.577607, wr, 10537, ppid: 10318] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38165", "--verbose", "--execute", "/usr/bin/sh", "--", "sh", "./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_2.o", "wrapper_2.c"] 1: [13:07:37.577699, wr, 10537, ppid: 10318] environment: ["CC=./wrapper", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:38165", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/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=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "SHLVL=1", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true", "_=./wrapper"] 1: [13:07:37.577790, wr, 10537, ppid: 10318] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [sh, ./wrapper, /usr/bin/cc, -c, -o, wrapper_2.o, wrapper_2.c]}, {--destination: [dns:///localhost:38165]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:37.589940, wr, 10537, ppid: 10318] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:37.852873, br, 2949] trying to resolve for library: /usr/bin/sh 1: [13:07:37.854395, wr, 10537, ppid: 10318] gRPC call [Resolve] finished: true 1: [13:07:37.855722, wr, 10537, ppid: 10318] Process spawned. [pid: 10692, command: ["sh", "./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_2.o", "wrapper_2.c"]] 1: [13:07:37.855844, wr, 10537, ppid: 10318] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.859358, wr, 10537, ppid: 10318] gRPC call [Register] finished: true 1: [13:07:37.859624, wr, 10537, ppid: 10318] Process wait requested. [pid: 10692] 1: [13:07:37.861960, el, 10692] lib.cc; on_load 1: [13:07:37.867976, el, 10692] lib.cc; execve path: /usr/bin/cc 1: [13:07:37.946278, el, 10692] lib.cc; on_load 1: [13:07:37.947095, wr, 10692, ppid: 10537] wrapper: 3.1.3 1: [13:07:37.947164, wr, 10692, ppid: 10537] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38165", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "wrapper_2.o", "wrapper_2.c"] 1: [13:07:37.947261, wr, 10692, ppid: 10537] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38165", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "_=./wrapper", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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=./wrapper", "SLEEP=/usr/bin/sleep"] 1: [13:07:37.947375, wr, 10692, ppid: 10537] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, wrapper_2.o, wrapper_2.c]}, {--destination: [dns:///localhost:38165]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:37.958584, wr, 10692, ppid: 10537] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:38.221045, br, 2949] trying to resolve for library: /usr/bin/cc 1: [13:07:38.222477, wr, 10692, ppid: 10537] gRPC call [Resolve] finished: true 1: [13:07:38.223822, wr, 10692, ppid: 10537] Process spawned. [pid: 10804, command: ["/usr/bin/cc", "-c", "-o", "wrapper_2.o", "wrapper_2.c"]] 1: [13:07:38.223939, wr, 10692, ppid: 10537] gRPC call requested: supervise::Interceptor::Register 1: [13:07:38.227234, wr, 10692, ppid: 10537] gRPC call [Register] finished: true 1: [13:07:38.227492, wr, 10692, ppid: 10537] Process wait requested. [pid: 10804] 1: free(): invalid pointer 1: [13:07:38.229664, wr, 10692, ppid: 10537] Process wait request: done. [pid: 10804] 1: [13:07:38.229707, wr, 10692, ppid: 10537] gRPC call requested: supervise::Interceptor::Register 1: [13:07:38.231286, wr, 10692, ppid: 10537] gRPC call [Register] finished: true 1: [13:07:38.238301, wr, 10692, ppid: 10537] succeeded with: 1 1: [13:07:38.238411, el, 10692] lib.cc; on_unload 1: [13:07:38.243999, wr, 10537, ppid: 10318] Process wait request: done. [pid: 10692] 1: [13:07:38.244095, wr, 10537, ppid: 10318] gRPC call requested: supervise::Interceptor::Register 1: [13:07:38.246100, wr, 10537, ppid: 10318] gRPC call [Register] finished: true 1: [13:07:38.254251, wr, 10537, ppid: 10318] succeeded with: 1 1: [13:07:38.254383, el, 10537] lib.cc; on_unload 1: [13:07:38.260497, wr, 10318, ppid: 5728] Process wait request: done. [pid: 10537] 1: [13:07:38.260572, wr, 10318, ppid: 5728] gRPC call requested: supervise::Interceptor::Register 1: [13:07:38.262665, wr, 10318, ppid: 5728] gRPC call [Register] finished: true 1: [13:07:38.272207, wr, 10318, ppid: 5728] succeeded with: 1 1: [13:07:38.272319, el, 10318] lib.cc; on_unload 1: [13:07:38.278852, el, 5728] lib.cc; on_unload 1: [13:07:38.280294, wr, 3689, ppid: 2949] Process wait request: done. [pid: 5728] 1: [13:07:38.280370, wr, 3689, ppid: 2949] gRPC call requested: supervise::Interceptor::Register 1: [13:07:38.282083, wr, 3689, ppid: 2949] gRPC call [Register] finished: true 1: [13:07:38.292001, wr, 3689, ppid: 2949] succeeded with: 1 1: [13:07:38.292123, el, 3689] lib.cc; on_unload 1: [13:07:38.298525, br, 2949] Process wait request: done. [pid: 3689] 1: [13:07:38.298649, br, 2949] Running command. [Exited with 1] 1: [13:07:38.298694, br, 2949] Stopping gRPC server. 1: [13:07:38.309046, br, 2949] succeeded with: 1 1: [13:07:38.315835, br, 2797] Process wait request: done. [pid: 2949] 1: [13:07:38.316012, br, 2797] Running intercept finished. [Exited with 1] 1: [13:07:38.316841, br, 2797] Process spawned. [pid: 10843, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json", "--run-checks", "--verbose"]] 1: [13:07:38.316954, br, 2797] Process wait requested. [pid: 10843] 1: [13:07:38.396340, br, 10843] bear: 3.1.3 1: [13:07:38.396587, br, 10843] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json", "--run-checks", "--verbose"] 1: [13:07:38.396635, br, 10843] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:38.396657, br, 10843] sysname: Linux 1: [13:07:38.396665, br, 10843] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:38.396671, br, 10843] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:38.396677, br, 10843] machine: riscv64 1: [13:07:38.396752, br, 10843] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:07:38.397152, br, 10843] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [13:07:38.403085, br, 10843] [pid: 5728] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/wrapper.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CC":"/usr/bin/cc","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","TERM":"tmux-256color","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","TMP":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38165","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-icqdqr_v","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:07:38.404237, br, 10843] [pid: 5728] recognition failed: No tools recognize this execution. 1: [13:07:38.405005, br, 10843] [pid: 7083] execution: {"executable":"/usr/bin/touch","arguments":["touch","wrapper_1.c","wrapper_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CC":"/usr/bin/cc","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","TERM":"tmux-256color","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","TMP":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38165","_":"/usr/bin/touch","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:07:38.405058, br, 10843] [pid: 7083] recognition failed: No tools recognize this execution. 1: [13:07:38.405776, br, 10843] [pid: 8185] execution: {"executable":"/usr/bin/cat","arguments":["cat"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CC":"/usr/bin/cc","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","TERM":"tmux-256color","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","TMP":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38165","_":"/usr/bin/cat","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:07:38.405822, br, 10843] [pid: 8185] recognition failed: No tools recognize this execution. 1: [13:07:38.406608, br, 10843] [pid: 8934] execution: {"executable":"/usr/bin/chmod","arguments":["chmod","+x","wrapper"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CC":"/usr/bin/cc","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","TERM":"tmux-256color","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","TMP":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38165","_":"/usr/bin/chmod","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:07:38.406663, br, 10843] [pid: 8934] recognition failed: No tools recognize this execution. 1: [13:07:38.407390, br, 10843] [pid: 9700] execution: {"executable":"./wrapper","arguments":["./wrapper","/usr/bin/cc","-c","-o","wrapper_1.o","wrapper_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CC":"./wrapper","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","TERM":"tmux-256color","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","TMP":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38165","_":"./wrapper","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:07:38.407435, br, 10843] [pid: 9700] recognition failed: No tools recognize this execution. 1: [13:07:38.408113, br, 10843] [pid: 10065] execution: {"executable":"/usr/bin/sh","arguments":["sh","./wrapper","/usr/bin/cc","-c","-o","wrapper_1.o","wrapper_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CC":"./wrapper","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","TERM":"tmux-256color","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","TMP":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38165","_":"./wrapper","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:07:38.408153, br, 10843] [pid: 10065] recognition failed: No tools recognize this execution. 1: [13:07:38.408914, br, 10843] [pid: 10295] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","wrapper_1.o","wrapper_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CC":"./wrapper","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","TERM":"tmux-256color","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","TMP":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38165","_":"./wrapper","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:07:38.409032, br, 10843] [pid: 10295] recognized. 1: [13:07:38.410087, br, 10843] [pid: 10537] execution: {"executable":"./wrapper","arguments":["./wrapper","/usr/bin/cc","-c","-o","wrapper_2.o","wrapper_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CC":"./wrapper","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","TERM":"tmux-256color","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","TMP":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38165","_":"./wrapper","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:07:38.410153, br, 10843] [pid: 10537] recognition failed: No tools recognize this execution. 1: [13:07:38.410853, br, 10843] [pid: 10692] execution: {"executable":"/usr/bin/sh","arguments":["sh","./wrapper","/usr/bin/cc","-c","-o","wrapper_2.o","wrapper_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CC":"./wrapper","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","TERM":"tmux-256color","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","TMP":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38165","_":"./wrapper","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:07:38.410897, br, 10843] [pid: 10692] recognition failed: No tools recognize this execution. 1: [13:07:38.411579, br, 10843] [pid: 10804] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","wrapper_2.o","wrapper_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CC":"./wrapper","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","TERM":"tmux-256color","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","TMP":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38165","_":"./wrapper","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:07:38.411647, br, 10843] [pid: 10804] recognized. 1: [13:07:38.411989, br, 10843] compilation entries created. [size: 2] 1: [13:07:38.412019, br, 10843] compilation entries to output. [size: 2] 1: [13:07:38.412763, br, 10843] compilation entries written. [size: 2] 1: [13:07:38.412835, br, 10843] succeeded with: 0 1: [13:07:38.417067, br, 2797] Process wait request: done. [pid: 10843] 1: [13:07:38.417192, br, 2797] Running citnames finished. [Exited with 0] 1: [13:07:38.417582, br, 2797] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/output/shell_commands_with_unicode.sh (81 of 100) 1: PASS: bear :: cases/intercept/preload/signal_inside_build.sh (82 of 100) 1: PASS: bear :: cases/intercept/preload/preload_append/fakeroot.sh (83 of 100) 1: PASS: bear :: cases/compilation/output/config/filter_flags.sh (84 of 100) 1: FAIL: bear :: cases/compilation/output/define_with_quote.sh (85 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/define_with_quote.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.json count -ge 1 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/c++ -c -DEXPORT="extern \"C\"" -o define_with_quote define_with_quote.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh" 1: # command stderr: 1: [13:07:33.790332, br, 2771] bear: 3.1.3 1: [13:07:33.790765, br, 2771] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh"] 1: [13:07:33.790852, br, 2771] environment: ["PATH=/build/bear/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=tmux-256color", "SOURCE_DATE_EPOCH=1699811453", "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", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v"] 1: [13:07:33.790909, br, 2771] sysname: Linux 1: [13:07:33.790931, br, 2771] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.790942, br, 2771] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.790948, br, 2771] machine: riscv64 1: [13:07:33.791128, br, 2771] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.793430, br, 2771] Process spawned. [pid: 2935, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh"]] 1: [13:07:33.793813, br, 2771] Process wait requested. [pid: 2935] 1: [13:07:33.942199, br, 2935] bear: 3.1.3 1: [13:07:33.942872, br, 2935] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh"] 1: [13:07:33.943119, br, 2935] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:33.943427, br, 2935] sysname: Linux 1: [13:07:33.943687, br, 2935] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.943819, br, 2935] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.943928, br, 2935] machine: riscv64 1: [13:07:33.944176, br, 2935] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:33.944711, br, 2935] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:33.978791, br, 2935] Running gRPC server. dns:///localhost:41743 1: [13:07:33.980466, br, 2935] Process spawned. [pid: 3534, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41743", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh"]] 1: [13:07:33.980648, br, 2935] Process wait requested. [pid: 3534] 1: [13:07:34.146381, el, 3534] lib.cc; on_load 1: [13:07:34.147731, wr, 3534, ppid: 2935] wrapper: 3.1.3 1: [13:07:34.147866, wr, 3534, ppid: 2935] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41743", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh"] 1: [13:07:34.147934, wr, 3534, ppid: 2935] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:41743", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.148123, wr, 3534, ppid: 2935] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh]}, {--destination: [dns:///localhost:41743]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:34.429984, wr, 3534, ppid: 2935] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.441207, br, 2935] trying to resolve for library: /usr/bin/sh 1: [13:07:34.443587, wr, 3534, ppid: 2935] gRPC call [Resolve] finished: true 1: [13:07:34.445239, wr, 3534, ppid: 2935] Process spawned. [pid: 5668, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh"]] 1: [13:07:34.445382, wr, 3534, ppid: 2935] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.452788, el, 5668] lib.cc; on_load 1: [13:07:34.457868, wr, 3534, ppid: 2935] gRPC call [Register] finished: true 1: [13:07:34.458386, wr, 3534, ppid: 2935] Process wait requested. [pid: 5668] 1: [13:07:34.462512, el, 5686] lib.cc; execve path: /usr/bin/cat 1: [13:07:34.573959, el, 5686] lib.cc; on_load 1: [13:07:34.575290, wr, 5686, ppid: 5668] wrapper: 3.1.3 1: [13:07:34.575395, wr, 5686, ppid: 5668] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41743", "--verbose", "--execute", "/usr/bin/cat", "--", "cat"] 1: [13:07:34.575508, wr, 5686, ppid: 5668] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:41743", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cat"] 1: [13:07:34.575733, wr, 5686, ppid: 5668] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [cat]}, {--destination: [dns:///localhost:41743]}, {--execute: [/usr/bin/cat]}, {--verbose: []}]} 1: [13:07:34.597476, wr, 5686, ppid: 5668] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.856596, br, 2935] trying to resolve for library: /usr/bin/cat 1: [13:07:34.858651, wr, 5686, ppid: 5668] gRPC call [Resolve] finished: true 1: [13:07:34.860691, wr, 5686, ppid: 5668] Process spawned. [pid: 6973, command: ["cat"]] 1: [13:07:34.860899, wr, 5686, ppid: 5668] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.865759, wr, 5686, ppid: 5668] gRPC call [Register] finished: true 1: [13:07:34.866211, wr, 5686, ppid: 5668] Process wait requested. [pid: 6973] 1: [13:07:34.866306, el, 6973] lib.cc; on_load 1: [13:07:34.868079, wr, 5686, ppid: 5668] Process wait request: done. [pid: 6973] 1: [13:07:34.868144, wr, 5686, ppid: 5668] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.870425, wr, 5686, ppid: 5668] gRPC call [Register] finished: true 1: [13:07:34.884582, wr, 5686, ppid: 5668] succeeded with: 0 1: [13:07:34.884721, el, 5686] lib.cc; on_unload 1: [13:07:34.894306, el, 7057] lib.cc; execve path: /usr/bin/c++ 1: [13:07:35.028536, el, 7057] lib.cc; on_load 1: [13:07:35.030106, wr, 7057, ppid: 5668] wrapper: 3.1.3 1: [13:07:35.030418, wr, 7057, ppid: 5668] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41743", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-DEXPORT=extern \"C\"", "-o", "define_with_quote", "define_with_quote.c"] 1: [13:07:35.030573, wr, 7057, ppid: 5668] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:41743", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/c++"] 1: [13:07:35.030719, wr, 7057, ppid: 5668] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/c++, -DEXPORT=extern "C", -o, define_with_quote, define_with_quote.c]}, {--destination: [dns:///localhost:41743]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [13:07:35.051337, wr, 7057, ppid: 5668] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.310548, br, 2935] trying to resolve for library: /usr/bin/c++ 1: [13:07:35.312775, wr, 7057, ppid: 5668] gRPC call [Resolve] finished: true 1: [13:07:35.314527, wr, 7057, ppid: 5668] Process spawned. [pid: 7915, command: ["/usr/bin/c++", "-DEXPORT=extern \"C\"", "-o", "define_with_quote", "define_with_quote.c"]] 1: [13:07:35.314674, wr, 7057, ppid: 5668] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.319815, wr, 7057, ppid: 5668] gRPC call [Register] finished: true 1: [13:07:35.320472, wr, 7057, ppid: 5668] Process wait requested. [pid: 7915] 1: free(): invalid pointer 1: [13:07:39.720949, wr, 7057, ppid: 5668] Process wait request: done. [pid: 7915] 1: [13:07:39.721026, wr, 7057, ppid: 5668] gRPC call requested: supervise::Interceptor::Register 1: [13:07:39.723188, wr, 7057, ppid: 5668] gRPC call [Register] finished: true 1: [13:07:39.732605, wr, 7057, ppid: 5668] succeeded with: 1 1: [13:07:39.732758, el, 7057] lib.cc; on_unload 1: [13:07:39.740098, el, 5668] lib.cc; on_unload 1: [13:07:39.741789, wr, 3534, ppid: 2935] Process wait request: done. [pid: 5668] 1: [13:07:39.741857, wr, 3534, ppid: 2935] gRPC call requested: supervise::Interceptor::Register 1: [13:07:39.744181, wr, 3534, ppid: 2935] gRPC call [Register] finished: true 1: [13:07:39.755591, wr, 3534, ppid: 2935] succeeded with: 1 1: [13:07:39.755729, el, 3534] lib.cc; on_unload 1: [13:07:39.763095, br, 2935] Process wait request: done. [pid: 3534] 1: [13:07:39.763267, br, 2935] Running command. [Exited with 1] 1: [13:07:39.763301, br, 2935] Stopping gRPC server. 1: [13:07:39.773466, br, 2935] succeeded with: 1 1: [13:07:39.781306, br, 2771] Process wait request: done. [pid: 2935] 1: [13:07:39.781435, br, 2771] Running intercept finished. [Exited with 1] 1: [13:07:39.782381, br, 2771] Process spawned. [pid: 11118, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.json", "--run-checks", "--verbose"]] 1: [13:07:39.782513, br, 2771] Process wait requested. [pid: 11118] 1: [13:07:39.875693, br, 11118] bear: 3.1.3 1: [13:07:39.876100, br, 11118] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.json", "--run-checks", "--verbose"] 1: [13:07:39.876156, br, 11118] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:39.876188, br, 11118] sysname: Linux 1: [13:07:39.876213, br, 11118] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:39.876220, br, 11118] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:39.876225, br, 11118] machine: riscv64 1: [13:07:39.876348, br, 11118] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:07:39.876933, br, 11118] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [13:07:39.884208, br, 11118] [pid: 5668] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","CXX":"/usr/bin/c++","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:41743","LLVM_DISABLE_CRASH_REPORT":"1","SOURCE_DATE_EPOCH":"1699811453","FALSE":"/usr/bin/false","CC":"/usr/bin/cc","ECHO":"/usr/bin/echo","LIBTOOL":"/usr/bin/libtool","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-icqdqr_v","TRUE":"/usr/bin/true","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","TMPDIR":"/tmp/lit-tmp-icqdqr_v","TERM":"tmux-256color","SLEEP":"/usr/bin/sleep"}} 1: [13:07:39.885680, br, 11118] [pid: 5668] recognition failed: No tools recognize this execution. 1: [13:07:39.886770, br, 11118] [pid: 6973] execution: {"executable":"/usr/bin/cat","arguments":["cat"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","CXX":"/usr/bin/c++","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","_":"/usr/bin/cat","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:41743","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LLVM_DISABLE_CRASH_REPORT":"1","SOURCE_DATE_EPOCH":"1699811453","FALSE":"/usr/bin/false","CC":"/usr/bin/cc","ECHO":"/usr/bin/echo","LIBTOOL":"/usr/bin/libtool","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","TRUE":"/usr/bin/true","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","TMPDIR":"/tmp/lit-tmp-icqdqr_v","TERM":"tmux-256color","SLEEP":"/usr/bin/sleep"}} 1: [13:07:39.886876, br, 11118] [pid: 6973] recognition failed: No tools recognize this execution. 1: [13:07:39.887955, br, 11118] [pid: 7915] execution: {"executable":"/usr/bin/c++","arguments":["/usr/bin/c++","-DEXPORT=extern \"C\"","-o","define_with_quote","define_with_quote.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","CXX":"/usr/bin/c++","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","_":"/usr/bin/c++","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:41743","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LLVM_DISABLE_CRASH_REPORT":"1","SOURCE_DATE_EPOCH":"1699811453","FALSE":"/usr/bin/false","CC":"/usr/bin/cc","ECHO":"/usr/bin/echo","LIBTOOL":"/usr/bin/libtool","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-icqdqr_v","SHLVL":"1","TRUE":"/usr/bin/true","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","TMPDIR":"/tmp/lit-tmp-icqdqr_v","TERM":"tmux-256color","SLEEP":"/usr/bin/sleep"}} 1: [13:07:39.888166, br, 11118] [pid: 7915] recognized. 1: [13:07:39.888627, br, 11118] compilation entries created. [size: 1] 1: [13:07:39.888684, br, 11118] compilation entries to output. [size: 1] 1: [13:07:39.889645, br, 11118] compilation entries written. [size: 1] 1: [13:07:39.889733, br, 11118] succeeded with: 0 1: [13:07:39.894967, br, 2771] Process wait request: done. [pid: 11118] 1: [13:07:39.895098, br, 2771] Running citnames finished. [Exited with 0] 1: [13:07:39.895480, br, 2771] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/define_with_escaped_quote.sh (86 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/define_with_escaped_quote.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.json count -ge 1 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c '-DMESSAGE="Hello World\n"' -o define_with_escaped_quote define_with_escaped_quote.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh" 1: # command stderr: 1: [13:07:33.779805, br, 2762] bear: 3.1.3 1: [13:07:33.780657, br, 2762] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh"] 1: [13:07:33.780931, br, 2762] environment: ["PATH=/build/bear/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=tmux-256color", "SOURCE_DATE_EPOCH=1699811453", "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", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v"] 1: [13:07:33.781174, br, 2762] sysname: Linux 1: [13:07:33.781370, br, 2762] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.781640, br, 2762] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.781802, br, 2762] machine: riscv64 1: [13:07:33.782106, br, 2762] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.783943, br, 2762] Process spawned. [pid: 2921, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh"]] 1: [13:07:33.784109, br, 2762] Process wait requested. [pid: 2921] 1: [13:07:33.927839, br, 2921] bear: 3.1.3 1: [13:07:33.928297, br, 2921] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh"] 1: [13:07:33.928368, br, 2921] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:33.928417, br, 2921] sysname: Linux 1: [13:07:33.928512, br, 2921] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.928524, br, 2921] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.928533, br, 2921] machine: riscv64 1: [13:07:33.928712, br, 2921] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:33.929494, br, 2921] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:33.969482, br, 2921] Running gRPC server. dns:///localhost:33907 1: [13:07:33.975941, br, 2921] Process spawned. [pid: 3505, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33907", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh"]] 1: [13:07:33.976116, br, 2921] Process wait requested. [pid: 3505] 1: [13:07:34.137978, el, 3505] lib.cc; on_load 1: [13:07:34.139529, wr, 3505, ppid: 2921] wrapper: 3.1.3 1: [13:07:34.139669, wr, 3505, ppid: 2921] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33907", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh"] 1: [13:07:34.139737, wr, 3505, ppid: 2921] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:33907", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.139940, wr, 3505, ppid: 2921] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh]}, {--destination: [dns:///localhost:33907]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:34.162074, wr, 3505, ppid: 2921] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.429563, br, 2921] trying to resolve for library: /usr/bin/sh 1: [13:07:34.431912, wr, 3505, ppid: 2921] gRPC call [Resolve] finished: true 1: [13:07:34.433912, wr, 3505, ppid: 2921] Process spawned. [pid: 5651, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh"]] 1: [13:07:34.434052, wr, 3505, ppid: 2921] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.442886, el, 5651] lib.cc; on_load 1: [13:07:34.447151, wr, 3505, ppid: 2921] gRPC call [Register] finished: true 1: [13:07:34.447477, wr, 3505, ppid: 2921] Process wait requested. [pid: 5651] 1: [13:07:34.452995, el, 5675] lib.cc; execve path: /usr/bin/cat 1: [13:07:34.567206, el, 5675] lib.cc; on_load 1: [13:07:34.568233, wr, 5675, ppid: 5651] wrapper: 3.1.3 1: [13:07:34.568334, wr, 5675, ppid: 5651] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33907", "--verbose", "--execute", "/usr/bin/cat", "--", "cat"] 1: [13:07:34.568424, wr, 5675, ppid: 5651] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:33907", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cat"] 1: [13:07:34.568613, wr, 5675, ppid: 5651] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [cat]}, {--destination: [dns:///localhost:33907]}, {--execute: [/usr/bin/cat]}, {--verbose: []}]} 1: [13:07:34.586458, wr, 5675, ppid: 5651] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.850663, br, 2921] trying to resolve for library: /usr/bin/cat 1: [13:07:34.852499, wr, 5675, ppid: 5651] gRPC call [Resolve] finished: true 1: [13:07:34.854384, wr, 5675, ppid: 5651] Process spawned. [pid: 6964, command: ["cat"]] 1: [13:07:34.854535, wr, 5675, ppid: 5651] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.860014, wr, 5675, ppid: 5651] gRPC call [Register] finished: true 1: [13:07:34.860464, wr, 5675, ppid: 5651] Process wait requested. [pid: 6964] 1: [13:07:34.860544, el, 6964] lib.cc; on_load 1: [13:07:34.863404, wr, 5675, ppid: 5651] Process wait request: done. [pid: 6964] 1: [13:07:34.863472, wr, 5675, ppid: 5651] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.866145, wr, 5675, ppid: 5651] gRPC call [Register] finished: true 1: [13:07:34.880630, wr, 5675, ppid: 5651] succeeded with: 0 1: [13:07:34.880798, el, 5675] lib.cc; on_unload 1: [13:07:34.891888, el, 7046] lib.cc; execve path: /usr/bin/cc 1: [13:07:35.035293, el, 7046] lib.cc; on_load 1: [13:07:35.036832, wr, 7046, ppid: 5651] wrapper: 3.1.3 1: [13:07:35.036946, wr, 7046, ppid: 5651] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33907", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-DMESSAGE=\"Hello World\\n\"", "-o", "define_with_escaped_quote", "define_with_escaped_quote.c"] 1: [13:07:35.037042, wr, 7046, ppid: 5651] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:33907", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:35.037177, wr, 7046, ppid: 5651] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -DMESSAGE="Hello World\n", -o, define_with_escaped_quote, define_with_escaped_quote.c]}, {--destination: [dns:///localhost:33907]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:35.063540, wr, 7046, ppid: 5651] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.322648, br, 2921] trying to resolve for library: /usr/bin/cc 1: [13:07:35.324661, wr, 7046, ppid: 5651] gRPC call [Resolve] finished: true 1: [13:07:35.326670, wr, 7046, ppid: 5651] Process spawned. [pid: 7922, command: ["/usr/bin/cc", "-DMESSAGE=\"Hello World\\n\"", "-o", "define_with_escaped_quote", "define_with_escaped_quote.c"]] 1: [13:07:35.326818, wr, 7046, ppid: 5651] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.331488, wr, 7046, ppid: 5651] gRPC call [Register] finished: true 1: [13:07:35.331839, wr, 7046, ppid: 5651] Process wait requested. [pid: 7922] 1: free(): invalid pointer 1: [13:07:39.965997, wr, 7046, ppid: 5651] Process wait request: done. [pid: 7922] 1: [13:07:39.966081, wr, 7046, ppid: 5651] gRPC call requested: supervise::Interceptor::Register 1: [13:07:39.968067, wr, 7046, ppid: 5651] gRPC call [Register] finished: true 1: [13:07:39.979806, wr, 7046, ppid: 5651] succeeded with: 1 1: [13:07:39.979932, el, 7046] lib.cc; on_unload 1: [13:07:39.986735, el, 5651] lib.cc; on_unload 1: [13:07:39.988273, wr, 3505, ppid: 2921] Process wait request: done. [pid: 5651] 1: [13:07:39.988355, wr, 3505, ppid: 2921] gRPC call requested: supervise::Interceptor::Register 1: [13:07:39.990821, wr, 3505, ppid: 2921] gRPC call [Register] finished: true 1: [13:07:40.004446, wr, 3505, ppid: 2921] succeeded with: 1 1: [13:07:40.004583, el, 3505] lib.cc; on_unload 1: [13:07:40.011790, br, 2921] Process wait request: done. [pid: 3505] 1: [13:07:40.011959, br, 2921] Running command. [Exited with 1] 1: [13:07:40.012007, br, 2921] Stopping gRPC server. 1: [13:07:40.023429, br, 2921] succeeded with: 1 1: [13:07:40.031040, br, 2762] Process wait request: done. [pid: 2921] 1: [13:07:40.031182, br, 2762] Running intercept finished. [Exited with 1] 1: [13:07:40.032188, br, 2762] Process spawned. [pid: 11124, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.json", "--run-checks", "--verbose"]] 1: [13:07:40.032333, br, 2762] Process wait requested. [pid: 11124] 1: [13:07:40.125353, br, 11124] bear: 3.1.3 1: [13:07:40.125694, br, 11124] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.json", "--run-checks", "--verbose"] 1: [13:07:40.125753, br, 11124] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:40.125795, br, 11124] sysname: Linux 1: [13:07:40.125803, br, 11124] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:40.125808, br, 11124] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:40.125813, br, 11124] machine: riscv64 1: [13:07:40.125990, br, 11124] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:07:40.126492, br, 11124] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [13:07:40.133252, br, 11124] [pid: 5651] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TERM":"tmux-256color","TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1699811453","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","CXX":"/usr/bin/c++","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TMP":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LIBTOOL":"/usr/bin/libtool","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","LLVM_DISABLE_CRASH_REPORT":"1","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33907"}} 1: [13:07:40.134557, br, 11124] [pid: 5651] recognition failed: No tools recognize this execution. 1: [13:07:40.135566, br, 11124] [pid: 6964] execution: {"executable":"/usr/bin/cat","arguments":["cat"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TERM":"tmux-256color","SHLVL":"1","TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1699811453","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","CXX":"/usr/bin/c++","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TMP":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","_":"/usr/bin/cat","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LIBTOOL":"/usr/bin/libtool","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-icqdqr_v","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","LLVM_DISABLE_CRASH_REPORT":"1","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33907"}} 1: [13:07:40.135654, br, 11124] [pid: 6964] recognition failed: No tools recognize this execution. 1: [13:07:40.136668, br, 11124] [pid: 7922] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-DMESSAGE=\"Hello World\\n\"","-o","define_with_escaped_quote","define_with_escaped_quote.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TERM":"tmux-256color","SHLVL":"1","TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1699811453","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","CXX":"/usr/bin/c++","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","TMP":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","_":"/usr/bin/cc","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LIBTOOL":"/usr/bin/libtool","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-icqdqr_v","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","LLVM_DISABLE_CRASH_REPORT":"1","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33907"}} 1: [13:07:40.136899, br, 11124] [pid: 7922] recognized. 1: [13:07:40.137332, br, 11124] compilation entries created. [size: 1] 1: [13:07:40.137366, br, 11124] compilation entries to output. [size: 1] 1: [13:07:40.142510, br, 11124] compilation entries written. [size: 1] 1: [13:07:40.142624, br, 11124] succeeded with: 0 1: [13:07:40.147491, br, 2762] Process wait request: done. [pid: 11124] 1: [13:07:40.147619, br, 2762] Running citnames finished. [Exited with 0] 1: [13:07:40.147969, br, 2762] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/assembly_sources.mk (87 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/assembly_sources.mk' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/make -C /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -f /build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk clean 1: : 'RUN: at line 5'; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json -- /usr/bin/make -C /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -f /build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json count -eq 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/main.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -S -o main.s main.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/main.s -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o main.o main.s 1: -- 1: Exit Code: 2 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/make" "-C" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" "-f" "/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk" "clean" 1: # command output: 1: make: Entering directory '/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output' 1: rm -f main main.o main.s main.c 1: make: Leaving directory '/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output' 1: 1: $ ":" "RUN: at line 5" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json" "--" "/usr/bin/make" "-C" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" "-f" "/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk" 1: # command output: 1: make: Entering directory '/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output' 1: echo "int main() { return 0; }" > main.c 1: /usr/bin/cc -S main.c -o main.s 1: make: Leaving directory '/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output' 1: 1: # command stderr: 1: [13:07:33.788104, br, 2800] bear: 3.1.3 1: [13:07:33.788692, br, 2800] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk"] 1: [13:07:33.788924, br, 2800] environment: ["PATH=/build/bear/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=tmux-256color", "SOURCE_DATE_EPOCH=1699811453", "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", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v"] 1: [13:07:33.789115, br, 2800] sysname: Linux 1: [13:07:33.789349, br, 2800] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.789493, br, 2800] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.789606, br, 2800] machine: riscv64 1: [13:07:33.789862, br, 2800] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/make, -C, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output, -f, /build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.793253, br, 2800] Process spawned. [pid: 2933, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.events.json", "--verbose", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk"]] 1: [13:07:33.793459, br, 2800] Process wait requested. [pid: 2933] 1: [13:07:33.935242, br, 2933] bear: 3.1.3 1: [13:07:33.935970, br, 2933] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.events.json", "--verbose", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk"] 1: [13:07:33.936351, br, 2933] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:33.936671, br, 2933] sysname: Linux 1: [13:07:33.936860, br, 2933] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.936995, br, 2933] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.937110, br, 2933] machine: riscv64 1: [13:07:33.937382, br, 2933] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/make, -C, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output, -f, /build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:33.938019, br, 2933] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:33.974991, br, 2933] Running gRPC server. dns:///localhost:38315 1: [13:07:33.977020, br, 2933] Process spawned. [pid: 3507, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38315", "--verbose", "--execute", "/usr/bin/make", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk"]] 1: [13:07:33.977390, br, 2933] Process wait requested. [pid: 3507] 1: [13:07:34.166551, el, 3507] lib.cc; on_load 1: [13:07:34.168367, wr, 3507, ppid: 2933] wrapper: 3.1.3 1: [13:07:34.168539, wr, 3507, ppid: 2933] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38315", "--verbose", "--execute", "/usr/bin/make", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk"] 1: [13:07:34.168613, wr, 3507, ppid: 2933] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:38315", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.169143, wr, 3507, ppid: 2933] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/make, -C, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output, -f, /build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk]}, {--destination: [dns:///localhost:38315]}, {--execute: [/usr/bin/make]}, {--verbose: []}]} 1: [13:07:34.191113, wr, 3507, ppid: 2933] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.456654, br, 2933] trying to resolve for library: /usr/bin/make 1: [13:07:34.458657, wr, 3507, ppid: 2933] gRPC call [Resolve] finished: true 1: [13:07:34.460860, wr, 3507, ppid: 2933] Process spawned. [pid: 5685, command: ["/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk"]] 1: [13:07:34.461015, wr, 3507, ppid: 2933] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.471870, el, 5685] lib.cc; on_load 1: [13:07:34.472360, wr, 3507, ppid: 2933] gRPC call [Register] finished: true 1: [13:07:34.472777, wr, 3507, ppid: 2933] Process wait requested. [pid: 5685] 1: [13:07:34.476381, el, 5721] lib.cc; execvp file: /bin/sh 1: [13:07:34.596371, el, 5721] lib.cc; on_load 1: [13:07:34.597701, wr, 5721, ppid: 5685] wrapper: 3.1.3 1: [13:07:34.598017, wr, 5721, ppid: 5685] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38315", "--verbose", "--execute", "/bin/sh", "--", "/bin/sh", "-c", "echo \"int main() { return 0; }\" > main.c"] 1: [13:07:34.598247, wr, 5721, ppid: 5685] environment: ["TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "LLVM_DISABLE_CRASH_REPORT=1", "FALSE=/usr/bin/false", "SOURCE_DATE_EPOCH=1699811453", "TMP=/tmp/lit-tmp-icqdqr_v", "MAKEFLAGS=", "MFLAGS=", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "MAKELEVEL=1", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:38315", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "LIBTOOL=/usr/bin/libtool", "ECHO=/usr/bin/echo", "LC_CTYPE=en_US.UTF-8", "TRUE=/usr/bin/true", "TEMP=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "CXX=/usr/bin/c++", "CC=/usr/bin/cc", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper"] 1: [13:07:34.598554, wr, 5721, ppid: 5685] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/bin/sh, -c, echo "int main() { return 0; }" > main.c]}, {--destination: [dns:///localhost:38315]}, {--execute: [/bin/sh]}, {--verbose: []}]} 1: [13:07:34.619015, wr, 5721, ppid: 5685] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.883628, br, 2933] trying to resolve for library: /bin/sh 1: [13:07:34.885532, wr, 5721, ppid: 5685] gRPC call [Resolve] finished: true 1: [13:07:34.887571, wr, 5721, ppid: 5685] Process spawned. [pid: 7026, command: ["/bin/sh", "-c", "echo \"int main() { return 0; }\" > main.c"]] 1: [13:07:34.887730, wr, 5721, ppid: 5685] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.892778, wr, 5721, ppid: 5685] gRPC call [Register] finished: true 1: [13:07:34.893348, wr, 5721, ppid: 5685] Process wait requested. [pid: 7026] 1: [13:07:34.895810, el, 7026] lib.cc; on_load 1: [13:07:34.903696, el, 7026] lib.cc; on_unload 1: [13:07:34.905346, wr, 5721, ppid: 5685] Process wait request: done. [pid: 7026] 1: [13:07:34.905422, wr, 5721, ppid: 5685] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.907822, wr, 5721, ppid: 5685] gRPC call [Register] finished: true 1: [13:07:34.925661, wr, 5721, ppid: 5685] succeeded with: 0 1: [13:07:34.925856, el, 5721] lib.cc; on_unload 1: [13:07:34.934724, el, 7182] lib.cc; execvp file: /usr/bin/cc 1: [13:07:35.101433, el, 7182] lib.cc; on_load 1: [13:07:35.102783, wr, 7182, ppid: 5685] wrapper: 3.1.3 1: [13:07:35.102905, wr, 7182, ppid: 5685] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38315", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-S", "main.c", "-o", "main.s"] 1: [13:07:35.102973, wr, 7182, ppid: 5685] environment: ["TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "LLVM_DISABLE_CRASH_REPORT=1", "FALSE=/usr/bin/false", "SOURCE_DATE_EPOCH=1699811453", "TMP=/tmp/lit-tmp-icqdqr_v", "MAKEFLAGS=", "MFLAGS=", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "MAKELEVEL=1", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:38315", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "LIBTOOL=/usr/bin/libtool", "ECHO=/usr/bin/echo", "LC_CTYPE=en_US.UTF-8", "TRUE=/usr/bin/true", "TEMP=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "CXX=/usr/bin/c++", "CC=/usr/bin/cc", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper"] 1: [13:07:35.103155, wr, 7182, ppid: 5685] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -S, main.c, -o, main.s]}, {--destination: [dns:///localhost:38315]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:35.127308, wr, 7182, ppid: 5685] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.393552, br, 2933] trying to resolve for library: /usr/bin/cc 1: [13:07:35.395463, wr, 7182, ppid: 5685] gRPC call [Resolve] finished: true 1: [13:07:35.397212, wr, 7182, ppid: 5685] Process spawned. [pid: 8157, command: ["/usr/bin/cc", "-S", "main.c", "-o", "main.s"]] 1: [13:07:35.397393, wr, 7182, ppid: 5685] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.402174, wr, 7182, ppid: 5685] gRPC call [Register] finished: true 1: [13:07:35.402798, wr, 7182, ppid: 5685] Process wait requested. [pid: 8157] 1: free(): invalid pointer 1: [13:07:40.975576, wr, 7182, ppid: 5685] Process wait request: done. [pid: 8157] 1: [13:07:40.975679, wr, 7182, ppid: 5685] gRPC call requested: supervise::Interceptor::Register 1: [13:07:40.978049, wr, 7182, ppid: 5685] gRPC call [Register] finished: true 1: [13:07:40.988968, wr, 7182, ppid: 5685] succeeded with: 1 1: [13:07:40.989087, el, 7182] lib.cc; on_unload 1: make: *** [/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk:14: main.s] Error 1 1: [13:07:40.996284, el, 5685] lib.cc; on_unload 1: [13:07:40.997781, wr, 3507, ppid: 2933] Process wait request: done. [pid: 5685] 1: [13:07:40.997851, wr, 3507, ppid: 2933] gRPC call requested: supervise::Interceptor::Register 1: [13:07:40.999971, wr, 3507, ppid: 2933] gRPC call [Register] finished: true 1: [13:07:41.010686, wr, 3507, ppid: 2933] succeeded with: 2 1: [13:07:41.010814, el, 3507] lib.cc; on_unload 1: [13:07:41.017913, br, 2933] Process wait request: done. [pid: 3507] 1: [13:07:41.018060, br, 2933] Running command. [Exited with 2] 1: [13:07:41.018097, br, 2933] Stopping gRPC server. 1: [13:07:41.028809, br, 2933] succeeded with: 2 1: [13:07:41.035771, br, 2800] Process wait request: done. [pid: 2933] 1: [13:07:41.035939, br, 2800] Running intercept finished. [Exited with 2] 1: [13:07:41.036784, br, 2800] Process spawned. [pid: 11295, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json", "--run-checks", "--verbose"]] 1: [13:07:41.036874, br, 2800] Process wait requested. [pid: 11295] 1: [13:07:41.116802, br, 11295] bear: 3.1.3 1: [13:07:41.117079, br, 11295] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json", "--run-checks", "--verbose"] 1: [13:07:41.117131, br, 11295] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:41.117159, br, 11295] sysname: Linux 1: [13:07:41.117171, br, 11295] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:41.117178, br, 11295] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:41.117185, br, 11295] machine: riscv64 1: [13:07:41.117271, br, 11295] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:07:41.117704, br, 11295] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [13:07:41.123512, br, 11295] [pid: 5685] execution: {"executable":"/usr/bin/make","arguments":["/usr/bin/make","-C","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","-f","/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output","environment":{"TRUE":"/usr/bin/true","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","CXX":"/usr/bin/c++","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-icqdqr_v","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_VERBOSE":"true","LLVM_DISABLE_CRASH_REPORT":"1","TERM":"tmux-256color","FALSE":"/usr/bin/false","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38315","TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","ECHO":"/usr/bin/echo"}} 1: [13:07:41.124703, br, 11295] [pid: 5685] recognition failed: No tools recognize this execution. 1: [13:07:41.125560, br, 11295] [pid: 7026] execution: {"executable":"/bin/sh","arguments":["/bin/sh","-c","echo \"int main() { return 0; }\" \u003e main.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","CXX":"/usr/bin/c++","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-icqdqr_v","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_VERBOSE":"true","LLVM_DISABLE_CRASH_REPORT":"1","TERM":"tmux-256color","FALSE":"/usr/bin/false","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","SLEEP":"/usr/bin/sleep","MFLAGS":"","TMPDIR":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38315","TMP":"/tmp/lit-tmp-icqdqr_v","MAKEFLAGS":"","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","ECHO":"/usr/bin/echo","MAKELEVEL":"1"}} 1: [13:07:41.125642, br, 11295] [pid: 7026] recognition failed: No tools recognize this execution. 1: [13:07:41.126453, br, 11295] [pid: 8157] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-S","main.c","-o","main.s"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","CXX":"/usr/bin/c++","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-icqdqr_v","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_VERBOSE":"true","LLVM_DISABLE_CRASH_REPORT":"1","TERM":"tmux-256color","FALSE":"/usr/bin/false","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","SLEEP":"/usr/bin/sleep","MFLAGS":"","TMPDIR":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38315","TMP":"/tmp/lit-tmp-icqdqr_v","MAKEFLAGS":"","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","ECHO":"/usr/bin/echo","MAKELEVEL":"1"}} 1: [13:07:41.126619, br, 11295] [pid: 8157] recognized. 1: [13:07:41.126988, br, 11295] compilation entries created. [size: 1] 1: [13:07:41.127032, br, 11295] compilation entries to output. [size: 1] 1: [13:07:41.127724, br, 11295] compilation entries written. [size: 1] 1: [13:07:41.127804, br, 11295] succeeded with: 0 1: [13:07:41.132260, br, 2800] Process wait request: done. [pid: 11295] 1: [13:07:41.132376, br, 2800] Running citnames finished. [Exited with 0] 1: [13:07:41.132774, br, 2800] succeeded with: 2 1: 1: error: command failed with exit status: 2 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/compilation/output/parallel_build.sh (88 of 100) 1: PASS: bear :: cases/intercept/wrapper/libtool_commands_captured.sh (89 of 100) 1: PASS: bear :: cases/intercept/preload/signal_outside_build.sh (90 of 100) 1: FAIL: bear :: cases/compilation/output/empty_env.sh (91 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/empty_env.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/empty_env.sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /usr/bin/env - /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json -- /usr/bin/sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json count -eq 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.o /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.o /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/empty_env.sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp" 1: $ ":" "RUN: at line 5" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/usr/bin/env" "-" "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh" 1: # command stderr: 1: [13:07:33.899448, br, 2879] bear: 3.1.3 1: [13:07:33.900068, br, 2879] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh"] 1: [13:07:33.900257, br, 2879] environment: [] 1: [13:07:33.900550, br, 2879] sysname: Linux 1: [13:07:33.900725, br, 2879] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.900844, br, 2879] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.900936, br, 2879] machine: riscv64 1: [13:07:33.901182, br, 2879] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.916632, br, 2879] Process spawned. [pid: 3169, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh"]] 1: [13:07:33.916876, br, 2879] Process wait requested. [pid: 3169] 1: [13:07:34.083723, br, 3169] bear: 3.1.3 1: [13:07:34.084295, br, 3169] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh"] 1: [13:07:34.084478, br, 3169] environment: [] 1: [13:07:34.084632, br, 3169] sysname: Linux 1: [13:07:34.084786, br, 3169] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:34.084914, br, 3169] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:34.085039, br, 3169] machine: riscv64 1: [13:07:34.085348, br, 3169] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:34.086246, br, 3169] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:34.118140, br, 3169] Running gRPC server. dns:///localhost:38575 1: [13:07:34.120215, br, 3169] Process spawned. [pid: 4058, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38575", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh"]] 1: [13:07:34.120576, br, 3169] Process wait requested. [pid: 4058] 1: [13:07:34.302436, el, 4058] lib.cc; on_load 1: [13:07:34.303645, wr, 4058, ppid: 3169] wrapper: 3.1.3 1: [13:07:34.303876, wr, 4058, ppid: 3169] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38575", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh"] 1: [13:07:34.303980, wr, 4058, ppid: 3169] environment: ["INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:38575", "INTERCEPT_VERBOSE=true", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so"] 1: [13:07:34.304278, wr, 4058, ppid: 3169] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh]}, {--destination: [dns:///localhost:38575]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:34.319113, wr, 4058, ppid: 3169] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.579092, br, 3169] trying to resolve for library: /usr/bin/sh 1: [13:07:34.581328, wr, 4058, ppid: 3169] gRPC call [Resolve] finished: true 1: [13:07:34.583145, wr, 4058, ppid: 3169] Process spawned. [pid: 6036, command: ["/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh"]] 1: [13:07:34.583328, wr, 4058, ppid: 3169] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.592070, el, 6036] lib.cc; on_load 1: [13:07:34.595188, el, 6116] lib.cc; execve path: /usr/bin/cc 1: [13:07:34.597039, wr, 4058, ppid: 3169] gRPC call [Register] finished: true 1: [13:07:34.597369, wr, 4058, ppid: 3169] Process wait requested. [pid: 6036] 1: [13:07:34.718527, el, 6116] lib.cc; on_load 1: [13:07:34.719906, wr, 6116, ppid: 6036] wrapper: 3.1.3 1: [13:07:34.720388, wr, 6116, ppid: 6036] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38575", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.o", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.c"] 1: [13:07:34.720621, wr, 6116, ppid: 6036] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38575", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_VERBOSE=true", "SHLVL=1", "_=/usr/bin/cc"] 1: [13:07:34.720899, wr, 6116, ppid: 6036] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.o, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.c]}, {--destination: [dns:///localhost:38575]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:34.738691, wr, 6116, ppid: 6036] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.003898, br, 3169] trying to resolve for library: /usr/bin/cc 1: [13:07:35.005853, wr, 6116, ppid: 6036] gRPC call [Resolve] finished: true 1: [13:07:35.007797, wr, 6116, ppid: 6036] Process spawned. [pid: 7317, command: ["/usr/bin/cc", "-c", "-o", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.o", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.c"]] 1: [13:07:35.007984, wr, 6116, ppid: 6036] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.013323, wr, 6116, ppid: 6036] gRPC call [Register] finished: true 1: [13:07:35.013844, wr, 6116, ppid: 6036] Process wait requested. [pid: 7317] 1: free(): invalid pointer 1: [13:07:39.376014, wr, 6116, ppid: 6036] Process wait request: done. [pid: 7317] 1: [13:07:39.376102, wr, 6116, ppid: 6036] gRPC call requested: supervise::Interceptor::Register 1: [13:07:39.378143, wr, 6116, ppid: 6036] gRPC call [Register] finished: true 1: [13:07:39.390043, wr, 6116, ppid: 6036] succeeded with: 1 1: [13:07:39.390170, el, 6116] lib.cc; on_unload 1: [13:07:39.398452, el, 11023] lib.cc; execve path: /usr/bin/cc 1: [13:07:39.494028, el, 11023] lib.cc; on_load 1: [13:07:39.495388, wr, 11023, ppid: 6036] wrapper: 3.1.3 1: [13:07:39.495497, wr, 11023, ppid: 6036] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38575", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.o", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.c"] 1: [13:07:39.495538, wr, 11023, ppid: 6036] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38575", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_VERBOSE=true", "SHLVL=1", "_=/usr/bin/cc"] 1: [13:07:39.495674, wr, 11023, ppid: 6036] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.o, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.c]}, {--destination: [dns:///localhost:38575]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:39.513289, wr, 11023, ppid: 6036] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:39.777590, br, 3169] trying to resolve for library: /usr/bin/cc 1: [13:07:39.779147, wr, 11023, ppid: 6036] gRPC call [Resolve] finished: true 1: [13:07:39.780686, wr, 11023, ppid: 6036] Process spawned. [pid: 11117, command: ["/usr/bin/cc", "-c", "-o", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.o", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.c"]] 1: [13:07:39.780811, wr, 11023, ppid: 6036] gRPC call requested: supervise::Interceptor::Register 1: [13:07:39.784534, wr, 11023, ppid: 6036] gRPC call [Register] finished: true 1: [13:07:39.784848, wr, 11023, ppid: 6036] Process wait requested. [pid: 11117] 1: free(): invalid pointer 1: [13:07:55.941170, wr, 11023, ppid: 6036] Process wait request: done. [pid: 11117] 1: [13:07:55.941241, wr, 11023, ppid: 6036] gRPC call requested: supervise::Interceptor::Register 1: [13:07:55.943468, wr, 11023, ppid: 6036] gRPC call [Register] finished: true 1: [13:07:55.952455, wr, 11023, ppid: 6036] succeeded with: 1 1: [13:07:55.952636, el, 11023] lib.cc; on_unload 1: [13:07:55.959610, el, 6036] lib.cc; on_unload 1: [13:07:55.960894, wr, 4058, ppid: 3169] Process wait request: done. [pid: 6036] 1: [13:07:55.960965, wr, 4058, ppid: 3169] gRPC call requested: supervise::Interceptor::Register 1: [13:07:55.962991, wr, 4058, ppid: 3169] gRPC call [Register] finished: true 1: [13:07:55.973346, wr, 4058, ppid: 3169] succeeded with: 1 1: [13:07:55.973451, el, 4058] lib.cc; on_unload 1: [13:07:55.979428, br, 3169] Process wait request: done. [pid: 4058] 1: [13:07:55.979561, br, 3169] Running command. [Exited with 1] 1: [13:07:55.979583, br, 3169] Stopping gRPC server. 1: [13:07:55.989455, br, 3169] succeeded with: 1 1: [13:07:55.997403, br, 2879] Process wait request: done. [pid: 3169] 1: [13:07:55.997524, br, 2879] Running intercept finished. [Exited with 1] 1: [13:07:55.999354, br, 2879] Process spawned. [pid: 11569, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json", "--run-checks", "--verbose"]] 1: [13:07:55.999453, br, 2879] Process wait requested. [pid: 11569] 1: [13:07:56.079609, br, 11569] bear: 3.1.3 1: [13:07:56.079863, br, 11569] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json", "--run-checks", "--verbose"] 1: [13:07:56.079879, br, 11569] environment: [] 1: [13:07:56.079899, br, 11569] sysname: Linux 1: [13:07:56.079906, br, 11569] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:56.079914, br, 11569] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:56.079918, br, 11569] machine: riscv64 1: [13:07:56.080000, br, 11569] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:07:56.080396, br, 11569] Configuration: {"compilation":null,"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [13:07:56.085959, br, 11569] [pid: 6036] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38575","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true"}} 1: [13:07:56.087089, br, 11569] [pid: 6036] recognition failed: No tools recognize this execution. 1: [13:07:56.087632, br, 11569] [pid: 7317] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.o","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38575","_":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output"}} 1: [13:07:56.087795, br, 11569] [pid: 7317] recognized. 1: [13:07:56.088487, br, 11569] [pid: 11117] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.o","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38575","_":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output"}} 1: [13:07:56.088570, br, 11569] [pid: 11117] recognized. 1: [13:07:56.088852, br, 11569] compilation entries created. [size: 2] 1: [13:07:56.088881, br, 11569] compilation entries to output. [size: 2] 1: [13:07:56.089682, br, 11569] compilation entries written. [size: 2] 1: [13:07:56.089755, br, 11569] succeeded with: 0 1: [13:07:56.094507, br, 2879] Process wait request: done. [pid: 11569] 1: [13:07:56.094678, br, 2879] Running citnames finished. [Exited with 0] 1: [13:07:56.095000, br, 2879] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/config/filter_flags_on_known_compiler.sh (92 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/config/filter_flags_on_known_compiler.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/config/filter_flags_on_known_compiler.sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json --config /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/config.json -- /usr/bin/sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json count -eq 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c -I. /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_1.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c -Werror -I. /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_2.c 1: : 'RUN: at line 10'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json --config /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/config.json --force-wrapper -- /usr/bin/sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh 1: : 'RUN: at line 11'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json count -eq 2 1: : 'RUN: at line 12'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c -I. /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_1.c 1: : 'RUN: at line 13'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c -Werror -I. /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/config/filter_flags_on_known_compiler.sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp" 1: $ ":" "RUN: at line 5" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json" "--config" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/config.json" "--" "/usr/bin/sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh" 1: # command stderr: 1: [13:07:33.825613, br, 2895] bear: 3.1.3 1: [13:07:33.826308, br, 2895] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/config.json", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh"] 1: [13:07:33.826628, br, 2895] environment: ["PATH=/build/bear/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=tmux-256color", "SOURCE_DATE_EPOCH=1699811453", "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", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v"] 1: [13:07:33.827010, br, 2895] sysname: Linux 1: [13:07:33.827278, br, 2895] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.827494, br, 2895] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.827690, br, 2895] machine: riscv64 1: [13:07:33.828023, br, 2895] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/config.json]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.830152, br, 2895] Process spawned. [pid: 2979, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh"]] 1: [13:07:33.830356, br, 2895] Process wait requested. [pid: 2979] 1: [13:07:34.012745, br, 2979] bear: 3.1.3 1: [13:07:34.013572, br, 2979] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh"] 1: [13:07:34.013962, br, 2979] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.014302, br, 2979] sysname: Linux 1: [13:07:34.014523, br, 2979] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:34.014667, br, 2979] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:34.014809, br, 2979] machine: riscv64 1: [13:07:34.015481, br, 2979] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:34.016259, br, 2979] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:34.053607, br, 2979] Running gRPC server. dns:///localhost:39479 1: [13:07:34.058461, br, 2979] Process spawned. [pid: 3750, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39479", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh"]] 1: [13:07:34.058659, br, 2979] Process wait requested. [pid: 3750] 1: [13:07:34.205139, el, 3750] lib.cc; on_load 1: [13:07:34.206453, wr, 3750, ppid: 2979] wrapper: 3.1.3 1: [13:07:34.206722, wr, 3750, ppid: 2979] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39479", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh"] 1: [13:07:34.206860, wr, 3750, ppid: 2979] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:39479", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.207163, wr, 3750, ppid: 2979] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh]}, {--destination: [dns:///localhost:39479]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:34.223137, wr, 3750, ppid: 2979] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.487745, br, 2979] trying to resolve for library: /usr/bin/sh 1: [13:07:34.489915, wr, 3750, ppid: 2979] gRPC call [Resolve] finished: true 1: [13:07:34.491508, wr, 3750, ppid: 2979] Process spawned. [pid: 5748, command: ["/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh"]] 1: [13:07:34.491672, wr, 3750, ppid: 2979] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.500587, el, 5748] lib.cc; on_load 1: [13:07:34.503128, wr, 3750, ppid: 2979] gRPC call [Register] finished: true 1: [13:07:34.503454, wr, 3750, ppid: 2979] Process wait requested. [pid: 5748] 1: [13:07:34.509337, el, 5835] lib.cc; execve path: /usr/bin/cc 1: [13:07:34.654198, el, 5835] lib.cc; on_load 1: [13:07:34.655604, wr, 5835, ppid: 5748] wrapper: 3.1.3 1: [13:07:34.655832, wr, 5835, ppid: 5748] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39479", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_1.c", "-Wall"] 1: [13:07:34.656046, wr, 5835, ppid: 5748] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:39479", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:34.656282, wr, 5835, ppid: 5748] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_1.c, -Wall]}, {--destination: [dns:///localhost:39479]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:34.677334, wr, 5835, ppid: 5748] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.937138, br, 2979] trying to resolve for library: /usr/bin/cc 1: [13:07:34.939487, wr, 5835, ppid: 5748] gRPC call [Resolve] finished: true 1: [13:07:34.942056, wr, 5835, ppid: 5748] Process spawned. [pid: 7210, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_1.c", "-Wall"]] 1: [13:07:34.942293, wr, 5835, ppid: 5748] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.948704, wr, 5835, ppid: 5748] gRPC call [Register] finished: true 1: free(): invalid pointer 1: [13:07:34.949307, wr, 5835, ppid: 5748] Process wait requested. [pid: 7210] 1: [13:07:39.492411, wr, 5835, ppid: 5748] Process wait request: done. [pid: 7210] 1: [13:07:39.492508, wr, 5835, ppid: 5748] gRPC call requested: supervise::Interceptor::Register 1: [13:07:39.495198, wr, 5835, ppid: 5748] gRPC call [Register] finished: true 1: [13:07:39.508674, wr, 5835, ppid: 5748] succeeded with: 1 1: [13:07:39.508814, el, 5835] lib.cc; on_unload 1: [13:07:39.518327, el, 11067] lib.cc; execve path: /usr/bin/cc 1: [13:07:39.610727, el, 11067] lib.cc; on_load 1: [13:07:39.611675, wr, 11067, ppid: 5748] wrapper: 3.1.3 1: [13:07:39.611776, wr, 11067, ppid: 5748] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39479", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_2.c", "-Werror"] 1: [13:07:39.611884, wr, 11067, ppid: 5748] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:39479", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:39.612018, wr, 11067, ppid: 5748] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_2.c, -Werror]}, {--destination: [dns:///localhost:39479]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:39.626010, wr, 11067, ppid: 5748] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:39.889411, br, 2979] trying to resolve for library: /usr/bin/cc 1: [13:07:39.891154, wr, 11067, ppid: 5748] gRPC call [Resolve] finished: true 1: [13:07:39.892944, wr, 11067, ppid: 5748] Process spawned. [pid: 11119, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_2.c", "-Werror"]] 1: [13:07:39.893093, wr, 11067, ppid: 5748] gRPC call requested: supervise::Interceptor::Register 1: [13:07:39.897014, wr, 11067, ppid: 5748] gRPC call [Register] finished: true 1: [13:07:39.897329, wr, 11067, ppid: 5748] Process wait requested. [pid: 11119] 1: free(): invalid pointer 1: [13:07:56.066126, wr, 11067, ppid: 5748] Process wait request: done. [pid: 11119] 1: [13:07:56.066210, wr, 11067, ppid: 5748] gRPC call requested: supervise::Interceptor::Register 1: [13:07:56.068362, wr, 11067, ppid: 5748] gRPC call [Register] finished: true 1: [13:07:56.078771, wr, 11067, ppid: 5748] succeeded with: 1 1: [13:07:56.078901, el, 11067] lib.cc; on_unload 1: [13:07:56.085512, el, 5748] lib.cc; on_unload 1: [13:07:56.087017, wr, 3750, ppid: 2979] Process wait request: done. [pid: 5748] 1: [13:07:56.087095, wr, 3750, ppid: 2979] gRPC call requested: supervise::Interceptor::Register 1: [13:07:56.089366, wr, 3750, ppid: 2979] gRPC call [Register] finished: true 1: [13:07:56.099930, wr, 3750, ppid: 2979] succeeded with: 1 1: [13:07:56.100062, el, 3750] lib.cc; on_unload 1: [13:07:56.106000, br, 2979] Process wait request: done. [pid: 3750] 1: [13:07:56.106127, br, 2979] Running command. [Exited with 1] 1: [13:07:56.106156, br, 2979] Stopping gRPC server. 1: [13:07:56.115516, br, 2979] succeeded with: 1 1: [13:07:56.122087, br, 2895] Process wait request: done. [pid: 2979] 1: [13:07:56.122197, br, 2895] Running intercept finished. [Exited with 1] 1: [13:07:56.123085, br, 2895] Process spawned. [pid: 11573, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json", "--run-checks", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/config.json", "--verbose"]] 1: [13:07:56.123178, br, 2895] Process wait requested. [pid: 11573] 1: [13:07:56.203789, br, 11573] bear: 3.1.3 1: [13:07:56.204050, br, 11573] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json", "--run-checks", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/config.json", "--verbose"] 1: [13:07:56.204098, br, 11573] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:56.204123, br, 11573] sysname: Linux 1: [13:07:56.204131, br, 11573] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:56.204138, br, 11573] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:56.204144, br, 11573] machine: riscv64 1: [13:07:56.204231, br, 11573] arguments parsed: {program: citnames, arguments: [{--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/config.json]}, {--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:07:56.204922, br, 11573] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc","flags_to_add":["-I."],"flags_to_remove":["-Wall"]},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":true}}} 1: [13:07:56.210565, br, 11573] [pid: 5748] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TEMP":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","TERM":"tmux-256color","INTERCEPT_VERBOSE":"true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39479","ECHO":"/usr/bin/echo","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","LLVM_DISABLE_CRASH_REPORT":"1","SOURCE_DATE_EPOCH":"1699811453","LIBTOOL":"/usr/bin/libtool","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-icqdqr_v","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false"}} 1: [13:07:56.211723, br, 11573] [pid: 5748] recognition failed: No tools recognize this execution. 1: [13:07:56.212532, br, 11573] [pid: 7210] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_1.c","-Wall"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"SHLVL":"1","TEMP":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","_":"/usr/bin/cc","TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","TERM":"tmux-256color","INTERCEPT_VERBOSE":"true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39479","ECHO":"/usr/bin/echo","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","LLVM_DISABLE_CRASH_REPORT":"1","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","SOURCE_DATE_EPOCH":"1699811453","LIBTOOL":"/usr/bin/libtool","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-icqdqr_v","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false"}} 1: [13:07:56.212748, br, 11573] [pid: 7210] recognized. 1: [13:07:56.213668, br, 11573] [pid: 11119] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_2.c","-Werror"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"SHLVL":"1","TEMP":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","_":"/usr/bin/cc","TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","TERM":"tmux-256color","INTERCEPT_VERBOSE":"true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39479","ECHO":"/usr/bin/echo","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","LLVM_DISABLE_CRASH_REPORT":"1","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","SOURCE_DATE_EPOCH":"1699811453","LIBTOOL":"/usr/bin/libtool","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-icqdqr_v","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false"}} 1: [13:07:56.213751, br, 11573] [pid: 11119] recognized. 1: [13:07:56.214018, br, 11573] compilation entries created. [size: 2] 1: [13:07:56.214050, br, 11573] compilation entries to output. [size: 2] 1: [13:07:56.214733, br, 11573] compilation entries written. [size: 2] 1: [13:07:56.214803, br, 11573] succeeded with: 0 1: [13:07:56.219272, br, 2895] Process wait request: done. [pid: 11573] 1: [13:07:56.219378, br, 2895] Running citnames finished. [Exited with 0] 1: [13:07:56.219725, br, 2895] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/flag/field_output.sh (93 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/flag/field_output.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json count -eq 2 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output_1.c -output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output_1.o -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/cc -c -o field_output_1.o field_output_1.c 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output_2.c -output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output_2.o -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/cc -c -o field_output_2.o field_output_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh" 1: # command stderr: 1: [13:07:33.802703, br, 2780] bear: 3.1.3 1: [13:07:33.803700, br, 2780] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh"] 1: [13:07:33.804016, br, 2780] environment: ["PATH=/build/bear/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=tmux-256color", "SOURCE_DATE_EPOCH=1699811453", "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", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v"] 1: [13:07:33.804250, br, 2780] sysname: Linux 1: [13:07:33.804467, br, 2780] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.804705, br, 2780] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.804864, br, 2780] machine: riscv64 1: [13:07:33.805240, br, 2780] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.815264, br, 2780] Process spawned. [pid: 2952, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh"]] 1: [13:07:33.815741, br, 2780] Process wait requested. [pid: 2952] 1: [13:07:33.964872, br, 2952] bear: 3.1.3 1: [13:07:33.965478, br, 2952] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh"] 1: [13:07:33.965734, br, 2952] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:33.966113, br, 2952] sysname: Linux 1: [13:07:33.966500, br, 2952] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.966656, br, 2952] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.966765, br, 2952] machine: riscv64 1: [13:07:33.967098, br, 2952] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:33.967762, br, 2952] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:34.002699, br, 2952] Running gRPC server. dns:///localhost:36439 1: [13:07:34.004166, br, 2952] Process spawned. [pid: 3613, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:36439", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh"]] 1: [13:07:34.004318, br, 2952] Process wait requested. [pid: 3613] 1: [13:07:34.149889, el, 3613] lib.cc; on_load 1: [13:07:34.151262, wr, 3613, ppid: 2952] wrapper: 3.1.3 1: [13:07:34.151540, wr, 3613, ppid: 2952] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:36439", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh"] 1: [13:07:34.151727, wr, 3613, ppid: 2952] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:36439", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.152077, wr, 3613, ppid: 2952] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh]}, {--destination: [dns:///localhost:36439]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:34.174154, wr, 3613, ppid: 2952] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.434487, br, 2952] trying to resolve for library: /usr/bin/sh 1: [13:07:34.436894, wr, 3613, ppid: 2952] gRPC call [Resolve] finished: true 1: [13:07:34.438877, wr, 3613, ppid: 2952] Process spawned. [pid: 5663, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh"]] 1: [13:07:34.439020, wr, 3613, ppid: 2952] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.448649, el, 5663] lib.cc; on_load 1: [13:07:34.451334, wr, 3613, ppid: 2952] gRPC call [Register] finished: true 1: [13:07:34.451740, wr, 3613, ppid: 2952] Process wait requested. [pid: 5663] 1: [13:07:34.458015, el, 5682] lib.cc; execve path: /usr/bin/touch 1: [13:07:34.567691, el, 5682] lib.cc; on_load 1: [13:07:34.568677, wr, 5682, ppid: 5663] wrapper: 3.1.3 1: [13:07:34.568766, wr, 5682, ppid: 5663] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:36439", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "field_output_1.c", "field_output_2.c"] 1: [13:07:34.568873, wr, 5682, ppid: 5663] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:36439", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/touch"] 1: [13:07:34.569037, wr, 5682, ppid: 5663] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, field_output_1.c, field_output_2.c]}, {--destination: [dns:///localhost:36439]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [13:07:34.586438, wr, 5682, ppid: 5663] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.852523, br, 2952] trying to resolve for library: /usr/bin/touch 1: [13:07:34.854530, wr, 5682, ppid: 5663] gRPC call [Resolve] finished: true 1: [13:07:34.856301, wr, 5682, ppid: 5663] Process spawned. [pid: 6967, command: ["touch", "field_output_1.c", "field_output_2.c"]] 1: [13:07:34.856458, wr, 5682, ppid: 5663] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.861328, wr, 5682, ppid: 5663] gRPC call [Register] finished: true 1: [13:07:34.861653, wr, 5682, ppid: 5663] Process wait requested. [pid: 6967] 1: [13:07:34.862411, el, 6967] lib.cc; on_load 1: [13:07:34.864668, wr, 5682, ppid: 5663] Process wait request: done. [pid: 6967] 1: [13:07:34.864750, wr, 5682, ppid: 5663] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.867441, wr, 5682, ppid: 5663] gRPC call [Register] finished: true 1: [13:07:34.881338, wr, 5682, ppid: 5663] succeeded with: 0 1: [13:07:34.881508, el, 5682] lib.cc; on_unload 1: [13:07:34.891556, el, 7044] lib.cc; execve path: /usr/bin/cc 1: [13:07:35.066902, el, 7044] lib.cc; on_load 1: [13:07:35.068602, wr, 7044, ppid: 5663] wrapper: 3.1.3 1: [13:07:35.068901, wr, 7044, ppid: 5663] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:36439", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "field_output_1.o", "field_output_1.c"] 1: [13:07:35.069129, wr, 7044, ppid: 5663] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:36439", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:35.069534, wr, 7044, ppid: 5663] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, field_output_1.o, field_output_1.c]}, {--destination: [dns:///localhost:36439]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:35.091672, wr, 7044, ppid: 5663] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.356868, br, 2952] trying to resolve for library: /usr/bin/cc 1: [13:07:35.359005, wr, 7044, ppid: 5663] gRPC call [Resolve] finished: true 1: [13:07:35.360848, wr, 7044, ppid: 5663] Process spawned. [pid: 8042, command: ["/usr/bin/cc", "-c", "-o", "field_output_1.o", "field_output_1.c"]] 1: [13:07:35.361053, wr, 7044, ppid: 5663] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.366192, wr, 7044, ppid: 5663] gRPC call [Register] finished: true 1: [13:07:35.366592, wr, 7044, ppid: 5663] Process wait requested. [pid: 8042] 1: free(): invalid pointer 1: [13:07:40.107918, wr, 7044, ppid: 5663] Process wait request: done. [pid: 8042] 1: [13:07:40.108009, wr, 7044, ppid: 5663] gRPC call requested: supervise::Interceptor::Register 1: [13:07:40.110059, wr, 7044, ppid: 5663] gRPC call [Register] finished: true 1: [13:07:40.121353, wr, 7044, ppid: 5663] succeeded with: 1 1: [13:07:40.121474, el, 7044] lib.cc; on_unload 1: [13:07:40.131046, el, 11133] lib.cc; execve path: /usr/bin/cc 1: [13:07:40.219508, el, 11133] lib.cc; on_load 1: [13:07:40.220368, wr, 11133, ppid: 5663] wrapper: 3.1.3 1: [13:07:40.220440, wr, 11133, ppid: 5663] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:36439", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "field_output_2.o", "field_output_2.c"] 1: [13:07:40.220527, wr, 11133, ppid: 5663] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:36439", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:40.220620, wr, 11133, ppid: 5663] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, field_output_2.o, field_output_2.c]}, {--destination: [dns:///localhost:36439]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:40.235572, wr, 11133, ppid: 5663] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:40.498288, br, 2952] trying to resolve for library: /usr/bin/cc 1: [13:07:40.499804, wr, 11133, ppid: 5663] gRPC call [Resolve] finished: true 1: [13:07:40.501184, wr, 11133, ppid: 5663] Process spawned. [pid: 11185, command: ["/usr/bin/cc", "-c", "-o", "field_output_2.o", "field_output_2.c"]] 1: [13:07:40.501313, wr, 11133, ppid: 5663] gRPC call requested: supervise::Interceptor::Register 1: [13:07:40.504687, wr, 11133, ppid: 5663] gRPC call [Register] finished: true 1: [13:07:40.504947, wr, 11133, ppid: 5663] Process wait requested. [pid: 11185] 1: free(): invalid pointer 1: [13:07:56.403433, wr, 11133, ppid: 5663] Process wait request: done. [pid: 11185] 1: [13:07:56.403505, wr, 11133, ppid: 5663] gRPC call requested: supervise::Interceptor::Register 1: [13:07:56.405636, wr, 11133, ppid: 5663] gRPC call [Register] finished: true 1: [13:07:56.415683, wr, 11133, ppid: 5663] succeeded with: 1 1: [13:07:56.415828, el, 11133] lib.cc; on_unload 1: [13:07:56.422950, el, 5663] lib.cc; on_unload 1: [13:07:56.424598, wr, 3613, ppid: 2952] Process wait request: done. [pid: 5663] 1: [13:07:56.424671, wr, 3613, ppid: 2952] gRPC call requested: supervise::Interceptor::Register 1: [13:07:56.426891, wr, 3613, ppid: 2952] gRPC call [Register] finished: true 1: [13:07:56.437359, wr, 3613, ppid: 2952] succeeded with: 1 1: [13:07:56.437480, el, 3613] lib.cc; on_unload 1: [13:07:56.443541, br, 2952] Process wait request: done. [pid: 3613] 1: [13:07:56.443664, br, 2952] Running command. [Exited with 1] 1: [13:07:56.443695, br, 2952] Stopping gRPC server. 1: [13:07:56.453220, br, 2952] succeeded with: 1 1: [13:07:56.459730, br, 2780] Process wait request: done. [pid: 2952] 1: [13:07:56.459849, br, 2780] Running intercept finished. [Exited with 1] 1: [13:07:56.460838, br, 2780] Process spawned. [pid: 11603, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json", "--run-checks", "--verbose"]] 1: [13:07:56.460955, br, 2780] Process wait requested. [pid: 11603] 1: [13:07:56.541431, br, 11603] bear: 3.1.3 1: [13:07:56.541697, br, 11603] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json", "--run-checks", "--verbose"] 1: [13:07:56.541744, br, 11603] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:56.541769, br, 11603] sysname: Linux 1: [13:07:56.541777, br, 11603] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:56.541783, br, 11603] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:56.541788, br, 11603] machine: riscv64 1: [13:07:56.541991, br, 11603] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:07:56.542427, br, 11603] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [13:07:56.548456, br, 11603] [pid: 5663] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"FALSE":"/usr/bin/false","LIBTOOL":"/usr/bin/libtool","CC":"/usr/bin/cc","TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1699811453","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TMP":"/tmp/lit-tmp-icqdqr_v","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:36439","ECHO":"/usr/bin/echo","CXX":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-icqdqr_v","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:07:56.549736, br, 11603] [pid: 5663] recognition failed: No tools recognize this execution. 1: [13:07:56.550574, br, 11603] [pid: 6967] execution: {"executable":"/usr/bin/touch","arguments":["touch","field_output_1.c","field_output_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","FALSE":"/usr/bin/false","LIBTOOL":"/usr/bin/libtool","CC":"/usr/bin/cc","TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1699811453","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SHLVL":"1","TMP":"/tmp/lit-tmp-icqdqr_v","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:36439","ECHO":"/usr/bin/echo","CXX":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-icqdqr_v","_":"/usr/bin/touch","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:07:56.550643, br, 11603] [pid: 6967] recognition failed: No tools recognize this execution. 1: [13:07:56.551431, br, 11603] [pid: 8042] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","field_output_1.o","field_output_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","FALSE":"/usr/bin/false","LIBTOOL":"/usr/bin/libtool","CC":"/usr/bin/cc","TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1699811453","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SHLVL":"1","TMP":"/tmp/lit-tmp-icqdqr_v","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:36439","ECHO":"/usr/bin/echo","CXX":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-icqdqr_v","_":"/usr/bin/cc","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:07:56.551567, br, 11603] [pid: 8042] recognized. 1: [13:07:56.552616, br, 11603] [pid: 11185] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","field_output_2.o","field_output_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","FALSE":"/usr/bin/false","LIBTOOL":"/usr/bin/libtool","CC":"/usr/bin/cc","TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1699811453","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SHLVL":"1","TMP":"/tmp/lit-tmp-icqdqr_v","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:36439","ECHO":"/usr/bin/echo","CXX":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-icqdqr_v","_":"/usr/bin/cc","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:07:56.552692, br, 11603] [pid: 11185] recognized. 1: [13:07:56.553002, br, 11603] compilation entries created. [size: 2] 1: [13:07:56.553033, br, 11603] compilation entries to output. [size: 2] 1: [13:07:56.553780, br, 11603] compilation entries written. [size: 2] 1: [13:07:56.553858, br, 11603] succeeded with: 0 1: [13:07:56.558032, br, 2780] Process wait request: done. [pid: 11603] 1: [13:07:56.558141, br, 2780] Running citnames finished. [Exited with 0] 1: [13:07:56.558481, br, 2780] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/libtool_commands_captured.sh (94 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/libtool_commands_captured.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/bear intercept --wrapper /build/bear/src/build/stage/lib/bear/wrapper --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --force-preload --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/libtool_commands_captured.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/libtool_commands_captured.sh.tmp.json count -ge 4 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/libtool_commands_captured.sh.tmp.json contains -program /usr/bin/cc -arguments /usr/bin/cc -g -O -c main.c -o main.o 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/libtool_commands_captured.sh.tmp.json contains -program /usr/bin/cc -arguments /usr/bin/cc -g -O -c hello.c -o hello.o 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/bear" "intercept" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--force-preload" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/libtool_commands_captured.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh" 1: # command output: 1: libtool: compile: /usr/bin/cc -g -O -c main.c -fPIC -DPIC -o .libs/main.o 1: libtool: compile: /usr/bin/cc -g -O -c hello.c -fPIC -DPIC -o .libs/hello.o 1: 1: # command stderr: 1: [13:07:33.824957, br, 2835] bear: 3.1.3 1: [13:07:33.825862, br, 2835] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--force-preload", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/libtool_commands_captured.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh"] 1: [13:07:33.826211, br, 2835] environment: ["PATH=/build/bear/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=tmux-256color", "SOURCE_DATE_EPOCH=1699811453", "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", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v"] 1: [13:07:33.826478, br, 2835] sysname: Linux 1: [13:07:33.826720, br, 2835] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.827062, br, 2835] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.827253, br, 2835] machine: riscv64 1: [13:07:33.827677, br, 2835] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh]}, {--force-preload: []}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/libtool_commands_captured.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:33.828465, br, 2835] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:33.884409, br, 2835] Running gRPC server. dns:///localhost:42705 1: [13:07:33.899601, br, 2835] Process spawned. [pid: 3154, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh"]] 1: [13:07:33.900025, br, 2835] Process wait requested. [pid: 3154] 1: [13:07:34.042081, el, 3154] lib.cc; on_load 1: [13:07:34.045694, wr, 3154, ppid: 2835] wrapper: 3.1.3 1: [13:07:34.046070, wr, 3154, ppid: 2835] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh"] 1: [13:07:34.046316, wr, 3154, ppid: 2835] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.046745, wr, 3154, ppid: 2835] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:34.061361, wr, 3154, ppid: 2835] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.339873, br, 2835] trying to resolve for library: /usr/bin/sh 1: [13:07:34.342146, wr, 3154, ppid: 2835] gRPC call [Resolve] finished: true 1: [13:07:34.343832, wr, 3154, ppid: 2835] Process spawned. [pid: 5285, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh"]] 1: [13:07:34.343986, wr, 3154, ppid: 2835] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.351802, el, 5285] lib.cc; on_load 1: [13:07:34.355961, wr, 3154, ppid: 2835] gRPC call [Register] finished: true 1: [13:07:34.356310, wr, 3154, ppid: 2835] Process wait requested. [pid: 5285] 1: [13:07:34.362510, el, 5383] lib.cc; execve path: /usr/bin/libtool 1: [13:07:34.483784, el, 5383] lib.cc; on_load 1: [13:07:34.484734, wr, 5383, ppid: 5285] wrapper: 3.1.3 1: [13:07:34.484827, wr, 5383, ppid: 5285] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/libtool", "--", "/usr/bin/libtool", "--mode=compile", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-c", "main.c", "-o", "main.o"] 1: [13:07:34.484918, wr, 5383, ppid: 5285] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/libtool"] 1: [13:07:34.485122, wr, 5383, ppid: 5285] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/libtool, --mode=compile, --tag=CC, /usr/bin/cc, -g, -O, -c, main.c, -o, main.o]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/libtool]}, {--verbose: []}]} 1: [13:07:34.501609, wr, 5383, ppid: 5285] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.760719, br, 2835] trying to resolve for library: /usr/bin/libtool 1: [13:07:34.762438, wr, 5383, ppid: 5285] gRPC call [Resolve] finished: true 1: [13:07:34.764734, wr, 5383, ppid: 5285] Process spawned. [pid: 6804, command: ["/usr/bin/libtool", "--mode=compile", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-c", "main.c", "-o", "main.o"]] 1: [13:07:34.764865, wr, 5383, ppid: 5285] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.769190, wr, 5383, ppid: 5285] gRPC call [Register] finished: true 1: [13:07:34.769535, wr, 5383, ppid: 5285] Process wait requested. [pid: 6804] 1: [13:07:34.773193, el, 6804] lib.cc; on_load 1: [13:07:34.791400, el, 6860] lib.cc; on_unload 1: [13:07:34.807954, el, 6912] lib.cc; on_unload 1: [13:07:34.808138, el, 6914] lib.cc; execve path: /usr/bin/sed 1: [13:07:34.925966, el, 6914] lib.cc; on_load 1: [13:07:34.927379, wr, 6914, ppid: 6909] wrapper: 3.1.3 1: [13:07:34.927709, wr, 6914, ppid: 6909] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|^.*/||"] 1: [13:07:34.927857, wr, 6914, ppid: 6909] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [13:07:34.928093, wr, 6914, ppid: 6909] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|^.*/||]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [13:07:34.947522, wr, 6914, ppid: 6909] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.214175, br, 2835] trying to resolve for library: /usr/bin/sed 1: [13:07:35.216301, wr, 6914, ppid: 6909] gRPC call [Resolve] finished: true 1: [13:07:35.218741, wr, 6914, ppid: 6909] Process spawned. [pid: 7794, command: ["/usr/bin/sed", "s|^.*/||"]] 1: [13:07:35.218952, wr, 6914, ppid: 6909] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.224312, wr, 6914, ppid: 6909] gRPC call [Register] finished: true 1: [13:07:35.224701, wr, 6914, ppid: 6909] Process wait requested. [pid: 7794] 1: [13:07:35.227116, el, 7794] lib.cc; on_load 1: [13:07:35.228365, el, 7794] lib.cc; on_unload 1: [13:07:35.229690, wr, 6914, ppid: 6909] Process wait request: done. [pid: 7794] 1: [13:07:35.229915, wr, 6914, ppid: 6909] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.232489, wr, 6914, ppid: 6909] gRPC call [Register] finished: true 1: [13:07:35.247220, wr, 6914, ppid: 6909] succeeded with: 0 1: [13:07:35.247370, el, 6914] lib.cc; on_unload 1: [13:07:35.255472, el, 6909] lib.cc; on_unload 1: [13:07:35.271634, el, 7852] lib.cc; on_unload 1: [13:07:35.384872, el, 8113] lib.cc; execve path: /usr/bin/rm 1: [13:07:35.517367, el, 8113] lib.cc; on_load 1: [13:07:35.518716, wr, 8113, ppid: 6804] wrapper: 3.1.3 1: [13:07:35.518986, wr, 8113, ppid: 6804] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/rm", "--", "rm", "-f", "main.o", ".libs/main.o", "main.lo", "main.loT"] 1: [13:07:35.519462, wr, 8113, ppid: 6804] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/rm"] 1: [13:07:35.519711, wr, 8113, ppid: 6804] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [rm, -f, main.o, .libs/main.o, main.lo, main.loT]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/rm]}, {--verbose: []}]} 1: [13:07:35.539170, wr, 8113, ppid: 6804] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.807543, br, 2835] trying to resolve for library: /usr/bin/rm 1: [13:07:35.809896, wr, 8113, ppid: 6804] gRPC call [Resolve] finished: true 1: [13:07:35.811670, wr, 8113, ppid: 6804] Process spawned. [pid: 8852, command: ["rm", "-f", "main.o", ".libs/main.o", "main.lo", "main.loT"]] 1: [13:07:35.811823, wr, 8113, ppid: 6804] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.817925, wr, 8113, ppid: 6804] gRPC call [Register] finished: true 1: [13:07:35.817914, el, 8852] lib.cc; on_load 1: [13:07:35.818478, wr, 8113, ppid: 6804] Process wait requested. [pid: 8852] 1: [13:07:35.819707, wr, 8113, ppid: 6804] Process wait request: done. [pid: 8852] 1: [13:07:35.819777, wr, 8113, ppid: 6804] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.822046, wr, 8113, ppid: 6804] gRPC call [Register] finished: true 1: [13:07:35.833688, wr, 8113, ppid: 6804] succeeded with: 0 1: [13:07:35.833843, el, 8113] lib.cc; on_unload 1: [13:07:35.846858, el, 8926] lib.cc; on_unload 1: [13:07:35.847580, el, 8929] lib.cc; execve path: /usr/bin/sed 1: [13:07:35.969833, el, 8929] lib.cc; on_load 1: [13:07:35.971368, wr, 8929, ppid: 8924] wrapper: 3.1.3 1: [13:07:35.971487, wr, 8929, ppid: 8924] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|:*$||"] 1: [13:07:35.971614, wr, 8929, ppid: 8924] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [13:07:35.971769, wr, 8929, ppid: 8924] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|:*$||]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [13:07:36.246958, wr, 8929, ppid: 8924] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:36.254436, br, 2835] trying to resolve for library: /usr/bin/sed 1: [13:07:36.256215, wr, 8929, ppid: 8924] gRPC call [Resolve] finished: true 1: [13:07:36.257898, wr, 8929, ppid: 8924] Process spawned. [pid: 9669, command: ["/usr/bin/sed", "s|:*$||"]] 1: [13:07:36.258053, wr, 8929, ppid: 8924] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.262150, wr, 8929, ppid: 8924] gRPC call [Register] finished: true 1: [13:07:36.262479, wr, 8929, ppid: 8924] Process wait requested. [pid: 9669] 1: [13:07:36.263587, el, 9669] lib.cc; on_load 1: [13:07:36.264438, el, 9669] lib.cc; on_unload 1: [13:07:36.265406, wr, 8929, ppid: 8924] Process wait request: done. [pid: 9669] 1: [13:07:36.265483, wr, 8929, ppid: 8924] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.267746, wr, 8929, ppid: 8924] gRPC call [Register] finished: true 1: [13:07:36.278672, wr, 8929, ppid: 8924] succeeded with: 0 1: [13:07:36.278810, el, 8929] lib.cc; on_unload 1: [13:07:36.286425, el, 8924] lib.cc; on_unload 1: [13:07:36.662386, br, 2835] trying to resolve for library: /usr/bin/mkdir 1: [13:07:36.691143, el, 10064] lib.cc; on_unload 1: [13:07:36.691724, el, 10066] lib.cc; execve path: /usr/bin/sed 1: [13:07:36.782342, el, 10066] lib.cc; on_load 1: [13:07:36.783224, wr, 10066, ppid: 10063] wrapper: 3.1.3 1: [13:07:36.783298, wr, 10066, ppid: 10063] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "-e", "s/\\([\"`\\\\]\\)/\\\\\\1/g", "-e", " s/\\\\\\\\\\\\\\\\/&\\\n/g\n s/^\\\\\\\\\\$/\\\\&/\n s/\\([^\\\\]\\)\\\\\\\\\\$/\\1\\\\\\\\\\\\\\$/g\n s/\\n//g"] 1: [13:07:36.783384, wr, 10066, ppid: 10063] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [13:07:36.783469, wr, 10066, ppid: 10063] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, -e, s/\(["`\\]\)/\\\1/g, -e, s/\\\\\\\\/&\ 1: /g 1: s/^\\\\\$/\\&/ 1: s/\([^\\]\)\\\\\$/\1\\\\\\\$/g 1: s/\n//g]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [13:07:36.797766, wr, 10066, ppid: 10063] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:37.061478, br, 2835] trying to resolve for library: /usr/bin/sed 1: [13:07:37.063334, wr, 10066, ppid: 10063] gRPC call [Resolve] finished: true 1: [13:07:37.064945, wr, 10066, ppid: 10063] Process spawned. [pid: 10291, command: ["/usr/bin/sed", "-e", "s/\\([\"`\\\\]\\)/\\\\\\1/g", "-e", " s/\\\\\\\\\\\\\\\\/&\\\n/g\n s/^\\\\\\\\\\$/\\\\&/\n s/\\([^\\\\]\\)\\\\\\\\\\$/\\1\\\\\\\\\\\\\\$/g\n s/\\n//g"]] 1: [13:07:37.065086, wr, 10066, ppid: 10063] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.068856, wr, 10066, ppid: 10063] gRPC call [Register] finished: true 1: [13:07:37.069165, wr, 10066, ppid: 10063] Process wait requested. [pid: 10291] 1: [13:07:37.071481, el, 10291] lib.cc; on_load 1: [13:07:37.072396, el, 10291] lib.cc; on_unload 1: [13:07:37.073353, wr, 10066, ppid: 10063] Process wait request: done. [pid: 10291] 1: [13:07:37.073421, wr, 10066, ppid: 10063] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.075075, wr, 10066, ppid: 10063] gRPC call [Register] finished: true 1: [13:07:37.080715, wr, 10066, ppid: 10063] succeeded with: 0 1: [13:07:37.080842, el, 10066] lib.cc; on_unload 1: [13:07:37.087718, el, 10063] lib.cc; on_unload 1: [13:07:37.091897, el, 10301] lib.cc; execve path: /usr/bin/cc 1: [13:07:37.179874, el, 10301] lib.cc; on_load 1: [13:07:37.180708, wr, 10301, ppid: 6804] wrapper: 3.1.3 1: [13:07:37.180785, wr, 10301, ppid: 6804] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-g", "-O", "-c", "main.c", "-fPIC", "-DPIC", "-o", ".libs/main.o"] 1: [13:07:37.180875, wr, 10301, ppid: 6804] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=en_US.UTF-8", "LC_ALL=C", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [13:07:37.180979, wr, 10301, ppid: 6804] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -g, -O, -c, main.c, -fPIC, -DPIC, -o, .libs/main.o]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:37.194244, wr, 10301, ppid: 6804] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:37.457615, br, 2835] trying to resolve for library: /usr/bin/cc 1: [13:07:37.459197, wr, 10301, ppid: 6804] gRPC call [Resolve] finished: true 1: [13:07:37.460698, wr, 10301, ppid: 6804] Process spawned. [pid: 10534, command: ["/usr/bin/cc", "-g", "-O", "-c", "main.c", "-fPIC", "-DPIC", "-o", ".libs/main.o"]] 1: [13:07:37.460831, wr, 10301, ppid: 6804] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.464287, wr, 10301, ppid: 6804] gRPC call [Register] finished: true 1: [13:07:37.464568, wr, 10301, ppid: 6804] Process wait requested. [pid: 10534] 1: free(): invalid pointer 1: [13:07:37.466544, wr, 10301, ppid: 6804] Process wait request: done. [pid: 10534] 1: [13:07:37.466606, wr, 10301, ppid: 6804] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.468327, wr, 10301, ppid: 6804] gRPC call [Register] finished: true 1: [13:07:37.476903, wr, 10301, ppid: 6804] succeeded with: 1 1: [13:07:37.477025, el, 10301] lib.cc; on_unload 1: [13:07:37.485193, el, 10536] lib.cc; on_unload 1: [13:07:37.486762, el, 6804] lib.cc; on_unload 1: [13:07:37.488555, wr, 5383, ppid: 5285] Process wait request: done. [pid: 6804] 1: [13:07:37.488625, wr, 5383, ppid: 5285] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.490557, wr, 5383, ppid: 5285] gRPC call [Register] finished: true 1: [13:07:37.500607, wr, 5383, ppid: 5285] succeeded with: 1 1: [13:07:37.500723, el, 5383] lib.cc; on_unload 1: [13:07:37.507653, el, 10540] lib.cc; execve path: /usr/bin/libtool 1: [13:07:37.582864, el, 10540] lib.cc; on_load 1: [13:07:37.583665, wr, 10540, ppid: 5285] wrapper: 3.1.3 1: [13:07:37.583739, wr, 10540, ppid: 5285] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/libtool", "--", "/usr/bin/libtool", "--mode=compile", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-c", "hello.c", "-o", "hello.o"] 1: [13:07:37.583820, wr, 10540, ppid: 5285] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/libtool"] 1: [13:07:37.583905, wr, 10540, ppid: 5285] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/libtool, --mode=compile, --tag=CC, /usr/bin/cc, -g, -O, -c, hello.c, -o, hello.o]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/libtool]}, {--verbose: []}]} 1: [13:07:37.595558, wr, 10540, ppid: 5285] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:37.858041, br, 2835] trying to resolve for library: /usr/bin/libtool 1: [13:07:37.859610, wr, 10540, ppid: 5285] gRPC call [Resolve] finished: true 1: [13:07:37.861068, wr, 10540, ppid: 5285] Process spawned. [pid: 10693, command: ["/usr/bin/libtool", "--mode=compile", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-c", "hello.c", "-o", "hello.o"]] 1: [13:07:37.861193, wr, 10540, ppid: 5285] gRPC call requested: supervise::Interceptor::Register 1: [13:07:37.864652, wr, 10540, ppid: 5285] gRPC call [Register] finished: true 1: [13:07:37.864920, wr, 10540, ppid: 5285] Process wait requested. [pid: 10693] 1: [13:07:37.867722, el, 10693] lib.cc; on_load 1: [13:07:37.881633, el, 10694] lib.cc; on_unload 1: [13:07:37.894901, el, 10699] lib.cc; on_unload 1: [13:07:37.895333, el, 10700] lib.cc; execve path: /usr/bin/sed 1: [13:07:37.973622, el, 10700] lib.cc; on_load 1: [13:07:37.974460, wr, 10700, ppid: 10698] wrapper: 3.1.3 1: [13:07:37.974530, wr, 10700, ppid: 10698] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|^.*/||"] 1: [13:07:37.974619, wr, 10700, ppid: 10698] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [13:07:37.974714, wr, 10700, ppid: 10698] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|^.*/||]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [13:07:37.987873, wr, 10700, ppid: 10698] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:38.251472, br, 2835] trying to resolve for library: /usr/bin/sed 1: [13:07:38.253089, wr, 10700, ppid: 10698] gRPC call [Resolve] finished: true 1: [13:07:38.254468, wr, 10700, ppid: 10698] Process spawned. [pid: 10812, command: ["/usr/bin/sed", "s|^.*/||"]] 1: [13:07:38.254592, wr, 10700, ppid: 10698] gRPC call requested: supervise::Interceptor::Register 1: [13:07:38.258329, wr, 10700, ppid: 10698] gRPC call [Register] finished: true 1: [13:07:38.258612, wr, 10700, ppid: 10698] Process wait requested. [pid: 10812] 1: [13:07:38.258864, el, 10812] lib.cc; on_load 1: [13:07:38.259565, el, 10812] lib.cc; on_unload 1: [13:07:38.260336, wr, 10700, ppid: 10698] Process wait request: done. [pid: 10812] 1: [13:07:38.260392, wr, 10700, ppid: 10698] gRPC call requested: supervise::Interceptor::Register 1: [13:07:38.262309, wr, 10700, ppid: 10698] gRPC call [Register] finished: true 1: [13:07:38.271160, wr, 10700, ppid: 10698] succeeded with: 0 1: [13:07:38.271285, el, 10700] lib.cc; on_unload 1: [13:07:38.277574, el, 10698] lib.cc; on_unload 1: [13:07:38.288925, el, 10823] lib.cc; on_unload 1: [13:07:38.369110, el, 10859] lib.cc; execve path: /usr/bin/rm 1: [13:07:38.454218, el, 10859] lib.cc; on_load 1: [13:07:38.455165, wr, 10859, ppid: 10693] wrapper: 3.1.3 1: [13:07:38.455258, wr, 10859, ppid: 10693] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/rm", "--", "rm", "-f", "hello.o", ".libs/hello.o", "hello.lo", "hello.loT"] 1: [13:07:38.455372, wr, 10859, ppid: 10693] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/rm"] 1: [13:07:38.455486, wr, 10859, ppid: 10693] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [rm, -f, hello.o, .libs/hello.o, hello.lo, hello.loT]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/rm]}, {--verbose: []}]} 1: [13:07:38.469895, wr, 10859, ppid: 10693] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:38.732198, br, 2835] trying to resolve for library: /usr/bin/rm 1: [13:07:38.733990, wr, 10859, ppid: 10693] gRPC call [Resolve] finished: true 1: [13:07:38.735577, wr, 10859, ppid: 10693] Process spawned. [pid: 10908, command: ["rm", "-f", "hello.o", ".libs/hello.o", "hello.lo", "hello.loT"]] 1: [13:07:38.735726, wr, 10859, ppid: 10693] gRPC call requested: supervise::Interceptor::Register 1: [13:07:38.739720, wr, 10859, ppid: 10693] gRPC call [Register] finished: true 1: [13:07:38.740002, wr, 10859, ppid: 10693] Process wait requested. [pid: 10908] 1: [13:07:38.740768, el, 10908] lib.cc; on_load 1: [13:07:38.741979, wr, 10859, ppid: 10693] Process wait request: done. [pid: 10908] 1: [13:07:38.742030, wr, 10859, ppid: 10693] gRPC call requested: supervise::Interceptor::Register 1: [13:07:38.743705, wr, 10859, ppid: 10693] gRPC call [Register] finished: true 1: [13:07:38.752164, wr, 10859, ppid: 10693] succeeded with: 0 1: [13:07:38.752288, el, 10859] lib.cc; on_unload 1: [13:07:38.763685, el, 10910] lib.cc; on_unload 1: [13:07:38.764034, el, 10911] lib.cc; execve path: /usr/bin/sed 1: [13:07:38.851981, el, 10911] lib.cc; on_load 1: [13:07:38.853138, wr, 10911, ppid: 10909] wrapper: 3.1.3 1: [13:07:38.853239, wr, 10911, ppid: 10909] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|:*$||"] 1: [13:07:38.853339, wr, 10911, ppid: 10909] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [13:07:38.853453, wr, 10911, ppid: 10909] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|:*$||]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [13:07:38.866836, wr, 10911, ppid: 10909] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:39.130017, br, 2835] trying to resolve for library: /usr/bin/sed 1: [13:07:39.131595, wr, 10911, ppid: 10909] gRPC call [Resolve] finished: true 1: [13:07:39.133374, wr, 10911, ppid: 10909] Process spawned. [pid: 10958, command: ["/usr/bin/sed", "s|:*$||"]] 1: [13:07:39.133522, wr, 10911, ppid: 10909] gRPC call requested: supervise::Interceptor::Register 1: [13:07:39.137209, wr, 10911, ppid: 10909] gRPC call [Register] finished: true 1: [13:07:39.137496, wr, 10911, ppid: 10909] Process wait requested. [pid: 10958] 1: [13:07:39.139600, el, 10958] lib.cc; on_load 1: [13:07:39.140217, el, 10958] lib.cc; on_unload 1: [13:07:39.141013, wr, 10911, ppid: 10909] Process wait request: done. [pid: 10958] 1: [13:07:39.141080, wr, 10911, ppid: 10909] gRPC call requested: supervise::Interceptor::Register 1: [13:07:39.142593, wr, 10911, ppid: 10909] gRPC call [Register] finished: true 1: [13:07:39.151937, wr, 10911, ppid: 10909] succeeded with: 0 1: [13:07:39.152066, el, 10911] lib.cc; on_unload 1: [13:07:39.158893, el, 10909] lib.cc; on_unload 1: [13:07:39.165610, el, 10966] lib.cc; on_unload 1: [13:07:39.166338, el, 10967] lib.cc; execve path: /usr/bin/sed 1: [13:07:39.257110, el, 10967] lib.cc; on_load 1: [13:07:39.258003, wr, 10967, ppid: 10964] wrapper: 3.1.3 1: [13:07:39.258076, wr, 10967, ppid: 10964] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "-e", "s/\\([\"`\\\\]\\)/\\\\\\1/g", "-e", " s/\\\\\\\\\\\\\\\\/&\\\n/g\n s/^\\\\\\\\\\$/\\\\&/\n s/\\([^\\\\]\\)\\\\\\\\\\$/\\1\\\\\\\\\\\\\\$/g\n s/\\n//g"] 1: [13:07:39.258186, wr, 10967, ppid: 10964] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [13:07:39.258290, wr, 10967, ppid: 10964] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, -e, s/\(["`\\]\)/\\\1/g, -e, s/\\\\\\\\/&\ 1: /g 1: s/^\\\\\$/\\&/ 1: s/\([^\\]\)\\\\\$/\1\\\\\\\$/g 1: s/\n//g]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [13:07:39.274544, wr, 10967, ppid: 10964] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:39.537938, br, 2835] trying to resolve for library: /usr/bin/sed 1: [13:07:39.539676, wr, 10967, ppid: 10964] gRPC call [Resolve] finished: true 1: [13:07:39.541310, wr, 10967, ppid: 10964] Process spawned. [pid: 11068, command: ["/usr/bin/sed", "-e", "s/\\([\"`\\\\]\\)/\\\\\\1/g", "-e", " s/\\\\\\\\\\\\\\\\/&\\\n/g\n s/^\\\\\\\\\\$/\\\\&/\n s/\\([^\\\\]\\)\\\\\\\\\\$/\\1\\\\\\\\\\\\\\$/g\n s/\\n//g"]] 1: [13:07:39.541446, wr, 10967, ppid: 10964] gRPC call requested: supervise::Interceptor::Register 1: [13:07:39.545224, wr, 10967, ppid: 10964] gRPC call [Register] finished: true 1: [13:07:39.545507, wr, 10967, ppid: 10964] Process wait requested. [pid: 11068] 1: [13:07:39.546980, el, 11068] lib.cc; on_load 1: [13:07:39.548052, el, 11068] lib.cc; on_unload 1: [13:07:39.548971, wr, 10967, ppid: 10964] Process wait request: done. [pid: 11068] 1: [13:07:39.549006, wr, 10967, ppid: 10964] gRPC call requested: supervise::Interceptor::Register 1: [13:07:39.550745, wr, 10967, ppid: 10964] gRPC call [Register] finished: true 1: [13:07:39.561066, wr, 10967, ppid: 10964] succeeded with: 0 1: [13:07:39.561186, el, 10967] lib.cc; on_unload 1: [13:07:39.567854, el, 10964] lib.cc; on_unload 1: [13:07:39.572416, el, 11069] lib.cc; execve path: /usr/bin/cc 1: [13:07:39.660690, el, 11069] lib.cc; on_load 1: [13:07:39.661767, wr, 11069, ppid: 10693] wrapper: 3.1.3 1: [13:07:39.661832, wr, 11069, ppid: 10693] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-g", "-O", "-c", "hello.c", "-fPIC", "-DPIC", "-o", ".libs/hello.o"] 1: [13:07:39.661936, wr, 11069, ppid: 10693] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=en_US.UTF-8", "LC_ALL=C", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [13:07:39.662037, wr, 11069, ppid: 10693] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -g, -O, -c, hello.c, -fPIC, -DPIC, -o, .libs/hello.o]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:39.679059, wr, 11069, ppid: 10693] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:39.942913, br, 2835] trying to resolve for library: /usr/bin/cc 1: [13:07:39.944649, wr, 11069, ppid: 10693] gRPC call [Resolve] finished: true 1: [13:07:39.946343, wr, 11069, ppid: 10693] Process spawned. [pid: 11120, command: ["/usr/bin/cc", "-g", "-O", "-c", "hello.c", "-fPIC", "-DPIC", "-o", ".libs/hello.o"]] 1: [13:07:39.946495, wr, 11069, ppid: 10693] gRPC call requested: supervise::Interceptor::Register 1: [13:07:39.950612, wr, 11069, ppid: 10693] gRPC call [Register] finished: true 1: [13:07:39.950904, wr, 11069, ppid: 10693] Process wait requested. [pid: 11120] 1: free(): invalid pointer 1: [13:07:56.174940, wr, 11069, ppid: 10693] Process wait request: done. [pid: 11120] 1: [13:07:56.175005, wr, 11069, ppid: 10693] gRPC call requested: supervise::Interceptor::Register 1: [13:07:56.177106, wr, 11069, ppid: 10693] gRPC call [Register] finished: true 1: [13:07:56.186871, wr, 11069, ppid: 10693] succeeded with: 1 1: [13:07:56.187011, el, 11069] lib.cc; on_unload 1: [13:07:56.195503, el, 11576] lib.cc; on_unload 1: [13:07:56.197230, el, 10693] lib.cc; on_unload 1: [13:07:56.200324, wr, 10540, ppid: 5285] Process wait request: done. [pid: 10693] 1: [13:07:56.200397, wr, 10540, ppid: 5285] gRPC call requested: supervise::Interceptor::Register 1: [13:07:56.202420, wr, 10540, ppid: 5285] gRPC call [Register] finished: true 1: [13:07:56.211669, wr, 10540, ppid: 5285] succeeded with: 1 1: [13:07:56.211775, el, 10540] lib.cc; on_unload 1: [13:07:56.218971, el, 11578] lib.cc; execve path: /usr/bin/libtool 1: [13:07:56.300913, el, 11578] lib.cc; on_load 1: [13:07:56.301709, wr, 11578, ppid: 5285] wrapper: 3.1.3 1: [13:07:56.301788, wr, 11578, ppid: 5285] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/libtool", "--", "/usr/bin/libtool", "--mode=link", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-o", "libhello.la", "hello.lo"] 1: [13:07:56.301877, wr, 11578, ppid: 5285] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/libtool"] 1: [13:07:56.301980, wr, 11578, ppid: 5285] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/libtool, --mode=link, --tag=CC, /usr/bin/cc, -g, -O, -o, libhello.la, hello.lo]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/libtool]}, {--verbose: []}]} 1: [13:07:56.312275, wr, 11578, ppid: 5285] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:56.574869, br, 2835] trying to resolve for library: /usr/bin/libtool 1: [13:07:56.576393, wr, 11578, ppid: 5285] gRPC call [Resolve] finished: true 1: [13:07:56.577774, wr, 11578, ppid: 5285] Process spawned. [pid: 11604, command: ["/usr/bin/libtool", "--mode=link", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-o", "libhello.la", "hello.lo"]] 1: [13:07:56.577894, wr, 11578, ppid: 5285] gRPC call requested: supervise::Interceptor::Register 1: [13:07:56.581122, wr, 11578, ppid: 5285] gRPC call [Register] finished: true 1: [13:07:56.581376, wr, 11578, ppid: 5285] Process wait requested. [pid: 11604] 1: [13:07:56.584161, el, 11604] lib.cc; on_load 1: [13:07:56.597882, el, 11605] lib.cc; on_unload 1: [13:07:56.613058, el, 11610] lib.cc; on_unload 1: [13:07:56.613436, el, 11611] lib.cc; execve path: /usr/bin/sed 1: [13:07:56.693325, el, 11611] lib.cc; on_load 1: [13:07:56.694124, wr, 11611, ppid: 11609] wrapper: 3.1.3 1: [13:07:56.694188, wr, 11611, ppid: 11609] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|^.*/||"] 1: [13:07:56.694272, wr, 11611, ppid: 11609] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [13:07:56.694358, wr, 11611, ppid: 11609] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|^.*/||]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [13:07:56.730060, wr, 11611, ppid: 11609] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:56.992628, br, 2835] trying to resolve for library: /usr/bin/sed 1: [13:07:56.993993, wr, 11611, ppid: 11609] gRPC call [Resolve] finished: true 1: [13:07:56.995343, wr, 11611, ppid: 11609] Process spawned. [pid: 11702, command: ["/usr/bin/sed", "s|^.*/||"]] 1: [13:07:56.995464, wr, 11611, ppid: 11609] gRPC call requested: supervise::Interceptor::Register 1: [13:07:56.998984, wr, 11611, ppid: 11609] gRPC call [Register] finished: true 1: [13:07:56.999276, wr, 11611, ppid: 11609] Process wait requested. [pid: 11702] 1: [13:07:56.999979, el, 11702] lib.cc; on_load 1: [13:07:57.000545, el, 11702] lib.cc; on_unload 1: [13:07:57.001241, wr, 11611, ppid: 11609] Process wait request: done. [pid: 11702] 1: [13:07:57.001300, wr, 11611, ppid: 11609] gRPC call requested: supervise::Interceptor::Register 1: [13:07:57.002829, wr, 11611, ppid: 11609] gRPC call [Register] finished: true 1: [13:07:57.010569, wr, 11611, ppid: 11609] succeeded with: 0 1: [13:07:57.010678, el, 11611] lib.cc; on_unload 1: [13:07:57.016582, el, 11609] lib.cc; on_unload 1: [13:07:57.026755, el, 11704] lib.cc; on_unload 1: [13:07:57.138328, el, 11720] lib.cc; on_unload 1: [13:07:57.147990, el, 11722] lib.cc; on_unload 1: [13:07:57.148555, el, 11723] lib.cc; execve path: /usr/bin/sed 1: [13:07:57.227653, el, 11723] lib.cc; on_load 1: [13:07:57.228426, wr, 11723, ppid: 11721] wrapper: 3.1.3 1: [13:07:57.228486, wr, 11723, ppid: 11721] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|.| |g"] 1: [13:07:57.228576, wr, 11723, ppid: 11721] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [13:07:57.228661, wr, 11723, ppid: 11721] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|.| |g]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [13:07:57.240912, wr, 11723, ppid: 11721] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:57.502995, br, 2835] trying to resolve for library: /usr/bin/sed 1: [13:07:57.504388, wr, 11723, ppid: 11721] gRPC call [Resolve] finished: true 1: [13:07:57.505734, wr, 11723, ppid: 11721] Process spawned. [pid: 11746, command: ["/usr/bin/sed", "s|.| |g"]] 1: [13:07:57.505842, wr, 11723, ppid: 11721] gRPC call requested: supervise::Interceptor::Register 1: [13:07:57.509130, wr, 11723, ppid: 11721] gRPC call [Register] finished: true 1: [13:07:57.509401, wr, 11723, ppid: 11721] Process wait requested. [pid: 11746] 1: [13:07:57.510490, el, 11746] lib.cc; on_load 1: [13:07:57.511074, el, 11746] lib.cc; on_unload 1: [13:07:57.511769, wr, 11723, ppid: 11721] Process wait request: done. [pid: 11746] 1: [13:07:57.511802, wr, 11723, ppid: 11721] gRPC call requested: supervise::Interceptor::Register 1: [13:07:57.513214, wr, 11723, ppid: 11721] gRPC call [Register] finished: true 1: [13:07:57.520020, wr, 11723, ppid: 11721] succeeded with: 0 1: [13:07:57.520118, el, 11723] lib.cc; on_unload 1: [13:07:57.525659, el, 11721] lib.cc; on_unload 1: libtool: error: 'hello.lo' is not a valid libtool object 1: [13:07:57.527981, el, 11604] lib.cc; on_unload 1: [13:07:57.530955, wr, 11578, ppid: 5285] Process wait request: done. [pid: 11604] 1: [13:07:57.531030, wr, 11578, ppid: 5285] gRPC call requested: supervise::Interceptor::Register 1: [13:07:57.532497, wr, 11578, ppid: 5285] gRPC call [Register] finished: true 1: [13:07:57.539327, wr, 11578, ppid: 5285] succeeded with: 1 1: [13:07:57.539439, el, 11578] lib.cc; on_unload 1: [13:07:57.546058, el, 11748] lib.cc; execve path: /usr/bin/libtool 1: [13:07:57.627148, el, 11748] lib.cc; on_load 1: [13:07:57.627966, wr, 11748, ppid: 5285] wrapper: 3.1.3 1: [13:07:57.628035, wr, 11748, ppid: 5285] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/libtool", "--", "/usr/bin/libtool", "--mode=link", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-o", "libtool_test", "main.lo", "libhello.la"] 1: [13:07:57.628125, wr, 11748, ppid: 5285] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/libtool"] 1: [13:07:57.628220, wr, 11748, ppid: 5285] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/libtool, --mode=link, --tag=CC, /usr/bin/cc, -g, -O, -o, libtool_test, main.lo, libhello.la]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/libtool]}, {--verbose: []}]} 1: [13:07:57.640495, wr, 11748, ppid: 5285] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:57.902735, br, 2835] trying to resolve for library: /usr/bin/libtool 1: [13:07:57.904140, wr, 11748, ppid: 5285] gRPC call [Resolve] finished: true 1: [13:07:57.905474, wr, 11748, ppid: 5285] Process spawned. [pid: 11770, command: ["/usr/bin/libtool", "--mode=link", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-o", "libtool_test", "main.lo", "libhello.la"]] 1: [13:07:57.905584, wr, 11748, ppid: 5285] gRPC call requested: supervise::Interceptor::Register 1: [13:07:57.908724, wr, 11748, ppid: 5285] gRPC call [Register] finished: true 1: [13:07:57.908957, wr, 11748, ppid: 5285] Process wait requested. [pid: 11770] 1: [13:07:57.911660, el, 11770] lib.cc; on_load 1: [13:07:57.925409, el, 11771] lib.cc; on_unload 1: [13:07:57.937916, el, 11776] lib.cc; on_unload 1: [13:07:57.938412, el, 11777] lib.cc; execve path: /usr/bin/sed 1: [13:07:58.016571, el, 11777] lib.cc; on_load 1: [13:07:58.017375, wr, 11777, ppid: 11775] wrapper: 3.1.3 1: [13:07:58.017440, wr, 11777, ppid: 11775] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|^.*/||"] 1: [13:07:58.017532, wr, 11777, ppid: 11775] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [13:07:58.017620, wr, 11777, ppid: 11775] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|^.*/||]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [13:07:58.031556, wr, 11777, ppid: 11775] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:58.294563, br, 2835] trying to resolve for library: /usr/bin/sed 1: [13:07:58.296078, wr, 11777, ppid: 11775] gRPC call [Resolve] finished: true 1: [13:07:58.297553, wr, 11777, ppid: 11775] Process spawned. [pid: 11799, command: ["/usr/bin/sed", "s|^.*/||"]] 1: [13:07:58.297683, wr, 11777, ppid: 11775] gRPC call requested: supervise::Interceptor::Register 1: [13:07:58.301399, wr, 11777, ppid: 11775] gRPC call [Register] finished: true 1: [13:07:58.301667, wr, 11777, ppid: 11775] Process wait requested. [pid: 11799] 1: [13:07:58.302408, el, 11799] lib.cc; on_load 1: [13:07:58.303099, el, 11799] lib.cc; on_unload 1: [13:07:58.303839, wr, 11777, ppid: 11775] Process wait request: done. [pid: 11799] 1: [13:07:58.303878, wr, 11777, ppid: 11775] gRPC call requested: supervise::Interceptor::Register 1: [13:07:58.305458, wr, 11777, ppid: 11775] gRPC call [Register] finished: true 1: [13:07:58.312948, wr, 11777, ppid: 11775] succeeded with: 0 1: [13:07:58.313073, el, 11777] lib.cc; on_unload 1: [13:07:58.319498, el, 11775] lib.cc; on_unload 1: [13:07:58.330527, el, 11800] lib.cc; on_unload 1: [13:07:58.457357, el, 11815] lib.cc; on_unload 1: [13:07:58.467116, el, 11817] lib.cc; on_unload 1: [13:07:58.467810, el, 11818] lib.cc; execve path: /usr/bin/sed 1: [13:07:58.545574, el, 11818] lib.cc; on_load 1: [13:07:58.546448, wr, 11818, ppid: 11816] wrapper: 3.1.3 1: [13:07:58.546521, wr, 11818, ppid: 11816] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42705", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|.| |g"] 1: [13:07:58.546610, wr, 11818, ppid: 11816] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42705", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [13:07:58.546703, wr, 11818, ppid: 11816] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|.| |g]}, {--destination: [dns:///localhost:42705]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [13:07:58.558941, wr, 11818, ppid: 11816] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:58.822323, br, 2835] trying to resolve for library: /usr/bin/sed 1: [13:07:58.824235, wr, 11818, ppid: 11816] gRPC call [Resolve] finished: true 1: [13:07:58.825840, wr, 11818, ppid: 11816] Process spawned. [pid: 11840, command: ["/usr/bin/sed", "s|.| |g"]] 1: [13:07:58.826069, wr, 11818, ppid: 11816] gRPC call requested: supervise::Interceptor::Register 1: [13:07:58.830064, wr, 11818, ppid: 11816] gRPC call [Register] finished: true 1: [13:07:58.830339, wr, 11818, ppid: 11816] Process wait requested. [pid: 11840] 1: [13:07:58.831583, el, 11840] lib.cc; on_load 1: [13:07:58.832245, el, 11840] lib.cc; on_unload 1: [13:07:58.833174, wr, 11818, ppid: 11816] Process wait request: done. [pid: 11840] 1: [13:07:58.833220, wr, 11818, ppid: 11816] gRPC call requested: supervise::Interceptor::Register 1: [13:07:58.834950, wr, 11818, ppid: 11816] gRPC call [Register] finished: true 1: [13:07:58.878277, wr, 11818, ppid: 11816] succeeded with: 0 1: [13:07:58.878439, el, 11818] lib.cc; on_unload 1: [13:07:58.885237, el, 11816] lib.cc; on_unload 1: libtool: error: 'main.lo' is not a valid libtool object 1: [13:07:58.888254, el, 11770] lib.cc; on_unload 1: [13:07:58.891688, wr, 11748, ppid: 5285] Process wait request: done. [pid: 11770] 1: [13:07:58.891762, wr, 11748, ppid: 5285] gRPC call requested: supervise::Interceptor::Register 1: [13:07:58.893803, wr, 11748, ppid: 5285] gRPC call [Register] finished: true 1: [13:07:58.902875, wr, 11748, ppid: 5285] succeeded with: 1 1: [13:07:58.903013, el, 11748] lib.cc; on_unload 1: [13:07:58.910121, el, 5285] lib.cc; on_unload 1: [13:07:58.911725, wr, 3154, ppid: 2835] Process wait request: done. [pid: 5285] 1: [13:07:58.911789, wr, 3154, ppid: 2835] gRPC call requested: supervise::Interceptor::Register 1: [13:07:58.914233, wr, 3154, ppid: 2835] gRPC call [Register] finished: true 1: [13:07:58.920070, wr, 3154, ppid: 2835] succeeded with: 1 1: [13:07:58.920222, el, 3154] lib.cc; on_unload 1: [13:07:58.927703, br, 2835] Process wait request: done. [pid: 3154] 1: [13:07:58.927843, br, 2835] Running command. [Exited with 1] 1: [13:07:58.927875, br, 2835] Stopping gRPC server. 1: [13:07:58.940507, br, 2835] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/compilation/output/flag/append.sh (95 of 100) 1: FAIL: bear :: cases/compilation/output/config/filter_compilers.sh (96 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/config/filter_compilers.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/config/filter_compilers.sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json --config /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/config.json -- /usr/bin/sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json count -eq 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_1.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/config/filter_compilers.sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp" 1: $ ":" "RUN: at line 5" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json" "--config" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/config.json" "--" "/usr/bin/sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh" 1: # command stderr: 1: [13:07:33.849082, br, 2894] bear: 3.1.3 1: [13:07:33.849807, br, 2894] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/config.json", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh"] 1: [13:07:33.850086, br, 2894] environment: ["PATH=/build/bear/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=tmux-256color", "SOURCE_DATE_EPOCH=1699811453", "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", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v"] 1: [13:07:33.850485, br, 2894] sysname: Linux 1: [13:07:33.850704, br, 2894] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.850838, br, 2894] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.850951, br, 2894] machine: riscv64 1: [13:07:33.851207, br, 2894] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/config.json]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.866155, br, 2894] Process spawned. [pid: 3054, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh"]] 1: [13:07:33.866318, br, 2894] Process wait requested. [pid: 3054] 1: [13:07:34.042796, br, 3054] bear: 3.1.3 1: [13:07:34.043522, br, 3054] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh"] 1: [13:07:34.043950, br, 3054] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.044334, br, 3054] sysname: Linux 1: [13:07:34.044546, br, 3054] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:34.044714, br, 3054] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:34.044871, br, 3054] machine: riscv64 1: [13:07:34.045273, br, 3054] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:34.046022, br, 3054] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:34.085994, br, 3054] Running gRPC server. dns:///localhost:45731 1: [13:07:34.088040, br, 3054] Process spawned. [pid: 3903, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45731", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh"]] 1: [13:07:34.088192, br, 3054] Process wait requested. [pid: 3903] 1: [13:07:34.230412, el, 3903] lib.cc; on_load 1: [13:07:34.231582, wr, 3903, ppid: 3054] wrapper: 3.1.3 1: [13:07:34.231828, wr, 3903, ppid: 3054] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45731", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh"] 1: [13:07:34.231976, wr, 3903, ppid: 3054] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:45731", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.232285, wr, 3903, ppid: 3054] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh]}, {--destination: [dns:///localhost:45731]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:34.248314, wr, 3903, ppid: 3054] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.514954, br, 3054] trying to resolve for library: /usr/bin/sh 1: [13:07:34.517285, wr, 3903, ppid: 3054] gRPC call [Resolve] finished: true 1: [13:07:34.519341, wr, 3903, ppid: 3054] Process spawned. [pid: 5877, command: ["/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh"]] 1: [13:07:34.519522, wr, 3903, ppid: 3054] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.527829, el, 5877] lib.cc; on_load 1: [13:07:34.532475, wr, 3903, ppid: 3054] gRPC call [Register] finished: true 1: [13:07:34.532939, wr, 3903, ppid: 3054] Process wait requested. [pid: 5877] 1: [13:07:34.536777, el, 5900] lib.cc; execve path: /usr/bin/cc 1: [13:07:34.695778, el, 5900] lib.cc; on_load 1: [13:07:34.697330, wr, 5900, ppid: 5877] wrapper: 3.1.3 1: [13:07:34.697446, wr, 5900, ppid: 5877] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45731", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_1.c"] 1: [13:07:34.697608, wr, 5900, ppid: 5877] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45731", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:34.697933, wr, 5900, ppid: 5877] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_1.c]}, {--destination: [dns:///localhost:45731]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:34.717339, wr, 5900, ppid: 5877] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.983665, br, 3054] trying to resolve for library: /usr/bin/cc 1: [13:07:34.985648, wr, 5900, ppid: 5877] gRPC call [Resolve] finished: true 1: [13:07:34.988073, wr, 5900, ppid: 5877] Process spawned. [pid: 7289, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_1.c"]] 1: [13:07:34.988240, wr, 5900, ppid: 5877] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.993212, wr, 5900, ppid: 5877] gRPC call [Register] finished: true 1: [13:07:34.993549, wr, 5900, ppid: 5877] Process wait requested. [pid: 7289] 1: free(): invalid pointer 1: [13:07:38.895079, wr, 5900, ppid: 5877] Process wait request: done. [pid: 7289] 1: [13:07:38.895159, wr, 5900, ppid: 5877] gRPC call requested: supervise::Interceptor::Register 1: [13:07:38.897228, wr, 5900, ppid: 5877] gRPC call [Register] finished: true 1: [13:07:38.908327, wr, 5900, ppid: 5877] succeeded with: 1 1: [13:07:38.908465, el, 5900] lib.cc; on_unload 1: [13:07:38.917337, el, 10935] lib.cc; execve path: /usr/bin/cc 1: [13:07:39.010718, el, 10935] lib.cc; on_load 1: [13:07:39.011623, wr, 10935, ppid: 5877] wrapper: 3.1.3 1: [13:07:39.011712, wr, 10935, ppid: 5877] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45731", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_2.c"] 1: [13:07:39.011812, wr, 10935, ppid: 5877] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45731", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:39.011923, wr, 10935, ppid: 5877] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_2.c]}, {--destination: [dns:///localhost:45731]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:39.025993, wr, 10935, ppid: 5877] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:39.289545, br, 3054] trying to resolve for library: /usr/bin/cc 1: [13:07:39.291338, wr, 10935, ppid: 5877] gRPC call [Resolve] finished: true 1: [13:07:39.293007, wr, 10935, ppid: 5877] Process spawned. [pid: 10997, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_2.c"]] 1: [13:07:39.293144, wr, 10935, ppid: 5877] gRPC call requested: supervise::Interceptor::Register 1: [13:07:39.297136, wr, 10935, ppid: 5877] gRPC call [Register] finished: true 1: [13:07:39.297442, wr, 10935, ppid: 5877] Process wait requested. [pid: 10997] 1: free(): invalid pointer 1: [13:07:55.168433, wr, 10935, ppid: 5877] Process wait request: done. [pid: 10997] 1: [13:07:55.168513, wr, 10935, ppid: 5877] gRPC call requested: supervise::Interceptor::Register 1: [13:07:55.170809, wr, 10935, ppid: 5877] gRPC call [Register] finished: true 1: [13:07:55.179348, wr, 10935, ppid: 5877] succeeded with: 1 1: [13:07:55.179460, el, 10935] lib.cc; on_unload 1: [13:07:55.186723, el, 11496] lib.cc; execve path: /usr/bin/c++ 1: [13:07:55.272281, el, 11496] lib.cc; on_load 1: [13:07:55.273181, wr, 11496, ppid: 5877] wrapper: 3.1.3 1: [13:07:55.273259, wr, 11496, ppid: 5877] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45731", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/exclude/source_1.cc"] 1: [13:07:55.273369, wr, 11496, ppid: 5877] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45731", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/c++"] 1: [13:07:55.273479, wr, 11496, ppid: 5877] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/c++, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/exclude/source_1.cc]}, {--destination: [dns:///localhost:45731]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [13:07:55.286776, wr, 11496, ppid: 5877] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:55.549761, br, 3054] trying to resolve for library: /usr/bin/c++ 1: [13:07:55.551501, wr, 11496, ppid: 5877] gRPC call [Resolve] finished: true 1: [13:07:55.553070, wr, 11496, ppid: 5877] Process spawned. [pid: 11541, command: ["/usr/bin/c++", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/exclude/source_1.cc"]] 1: [13:07:55.553200, wr, 11496, ppid: 5877] gRPC call requested: supervise::Interceptor::Register 1: [13:07:55.557171, wr, 11496, ppid: 5877] gRPC call [Register] finished: true 1: [13:07:55.557481, wr, 11496, ppid: 5877] Process wait requested. [pid: 11541] 1: free(): invalid pointer 1: [13:08:06.034632, wr, 11496, ppid: 5877] Process wait request: done. [pid: 11541] 1: [13:08:06.034705, wr, 11496, ppid: 5877] gRPC call requested: supervise::Interceptor::Register 1: [13:08:06.037137, wr, 11496, ppid: 5877] gRPC call [Register] finished: true 1: [13:08:06.047508, wr, 11496, ppid: 5877] succeeded with: 1 1: [13:08:06.047653, el, 11496] lib.cc; on_unload 1: [13:08:06.055995, el, 11851] lib.cc; execve path: /usr/bin/c++ 1: [13:08:06.146376, el, 11851] lib.cc; on_load 1: [13:08:06.147306, wr, 11851, ppid: 5877] wrapper: 3.1.3 1: [13:08:06.147397, wr, 11851, ppid: 5877] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45731", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/exclude/source_2.cc"] 1: [13:08:06.147508, wr, 11851, ppid: 5877] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45731", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/c++"] 1: [13:08:06.147611, wr, 11851, ppid: 5877] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/c++, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/exclude/source_2.cc]}, {--destination: [dns:///localhost:45731]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [13:08:06.161567, wr, 11851, ppid: 5877] gRPC call requested: supervise::Supervisor::Resolve 1: [13:08:06.424936, br, 3054] trying to resolve for library: /usr/bin/c++ 1: [13:08:06.426597, wr, 11851, ppid: 5877] gRPC call [Resolve] finished: true 1: [13:08:06.428101, wr, 11851, ppid: 5877] Process spawned. [pid: 11873, command: ["/usr/bin/c++", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/exclude/source_2.cc"]] 1: [13:08:06.428233, wr, 11851, ppid: 5877] gRPC call requested: supervise::Interceptor::Register 1: [13:08:06.431859, wr, 11851, ppid: 5877] gRPC call [Register] finished: true 1: [13:08:06.432122, wr, 11851, ppid: 5877] Process wait requested. [pid: 11873] 1: free(): invalid pointer 1: [13:08:15.526853, wr, 11851, ppid: 5877] Process wait request: done. [pid: 11873] 1: [13:08:15.526934, wr, 11851, ppid: 5877] gRPC call requested: supervise::Interceptor::Register 1: [13:08:15.529456, wr, 11851, ppid: 5877] gRPC call [Register] finished: true 1: [13:08:15.540524, wr, 11851, ppid: 5877] succeeded with: 1 1: [13:08:15.540657, el, 11851] lib.cc; on_unload 1: [13:08:15.547174, el, 5877] lib.cc; on_unload 1: [13:08:15.548782, wr, 3903, ppid: 3054] Process wait request: done. [pid: 5877] 1: [13:08:15.548866, wr, 3903, ppid: 3054] gRPC call requested: supervise::Interceptor::Register 1: [13:08:15.551102, wr, 3903, ppid: 3054] gRPC call [Register] finished: true 1: [13:08:15.560501, wr, 3903, ppid: 3054] succeeded with: 1 1: [13:08:15.560614, el, 3903] lib.cc; on_unload 1: [13:08:15.567129, br, 3054] Process wait request: done. [pid: 3903] 1: [13:08:15.567266, br, 3054] Running command. [Exited with 1] 1: [13:08:15.567298, br, 3054] Stopping gRPC server. 1: [13:08:15.577317, br, 3054] succeeded with: 1 1: [13:08:15.584597, br, 2894] Process wait request: done. [pid: 3054] 1: [13:08:15.584736, br, 2894] Running intercept finished. [Exited with 1] 1: [13:08:15.585630, br, 2894] Process spawned. [pid: 12061, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json", "--run-checks", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/config.json", "--verbose"]] 1: [13:08:15.585730, br, 2894] Process wait requested. [pid: 12061] 1: [13:08:15.665193, br, 12061] bear: 3.1.3 1: [13:08:15.665469, br, 12061] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json", "--run-checks", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/config.json", "--verbose"] 1: [13:08:15.665519, br, 12061] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:08:15.665550, br, 12061] sysname: Linux 1: [13:08:15.665558, br, 12061] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:08:15.665565, br, 12061] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:08:15.665570, br, 12061] machine: riscv64 1: [13:08:15.665663, br, 12061] arguments parsed: {program: citnames, arguments: [{--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/config.json]}, {--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:08:15.666395, br, 12061] Configuration: {"compilation":{"compilers_to_exclude":["/usr/bin/c++"],"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":true}}} 1: [13:08:15.671892, br, 12061] [pid: 5877] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TEMPDIR":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45731","INTERCEPT_VERBOSE":"true","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8","TMP":"/tmp/lit-tmp-icqdqr_v","TERM":"tmux-256color","TRUE":"/usr/bin/true","CXX":"/usr/bin/c++","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","SLEEP":"/usr/bin/sleep","TEMP":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:08:15.673201, br, 12061] [pid: 5877] recognition failed: No tools recognize this execution. 1: [13:08:15.674071, br, 12061] [pid: 7289] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TEMPDIR":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45731","_":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8","TMP":"/tmp/lit-tmp-icqdqr_v","TERM":"tmux-256color","TRUE":"/usr/bin/true","SHLVL":"1","CXX":"/usr/bin/c++","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","SLEEP":"/usr/bin/sleep","TEMP":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:08:15.674242, br, 12061] [pid: 7289] recognized. 1: [13:08:15.675199, br, 12061] [pid: 10997] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TEMPDIR":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45731","_":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8","TMP":"/tmp/lit-tmp-icqdqr_v","TERM":"tmux-256color","TRUE":"/usr/bin/true","SHLVL":"1","CXX":"/usr/bin/c++","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","SLEEP":"/usr/bin/sleep","TEMP":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:08:15.675315, br, 12061] [pid: 10997] recognized. 1: [13:08:15.676243, br, 12061] [pid: 11541] execution: {"executable":"/usr/bin/c++","arguments":["/usr/bin/c++","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/exclude/source_1.cc"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TEMPDIR":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45731","_":"/usr/bin/c++","INTERCEPT_VERBOSE":"true","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8","TMP":"/tmp/lit-tmp-icqdqr_v","TERM":"tmux-256color","TRUE":"/usr/bin/true","SHLVL":"1","CXX":"/usr/bin/c++","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","SLEEP":"/usr/bin/sleep","TEMP":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:08:15.676296, br, 12061] [pid: 11541] recognition failed: The tool is on the exclude list from configuration. 1: [13:08:15.677105, br, 12061] [pid: 11873] execution: {"executable":"/usr/bin/c++","arguments":["/usr/bin/c++","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/exclude/source_2.cc"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TEMPDIR":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","SOURCE_DATE_EPOCH":"1699811453","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45731","_":"/usr/bin/c++","INTERCEPT_VERBOSE":"true","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8","TMP":"/tmp/lit-tmp-icqdqr_v","TERM":"tmux-256color","TRUE":"/usr/bin/true","SHLVL":"1","CXX":"/usr/bin/c++","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","SLEEP":"/usr/bin/sleep","TEMP":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:08:15.677152, br, 12061] [pid: 11873] recognition failed: The tool is on the exclude list from configuration. 1: [13:08:15.677380, br, 12061] compilation entries created. [size: 2] 1: [13:08:15.677418, br, 12061] compilation entries to output. [size: 2] 1: [13:08:15.678096, br, 12061] compilation entries written. [size: 2] 1: [13:08:15.678168, br, 12061] succeeded with: 0 1: [13:08:15.682289, br, 2894] Process wait request: done. [pid: 12061] 1: [13:08:15.682387, br, 2894] Running citnames finished. [Exited with 0] 1: [13:08:15.682822, br, 2894] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/config/filter_sources_relative.sh (97 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/config/filter_sources_relative.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/config/filter_sources_relative.sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json --config /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/config.json -- /usr/bin/sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json count -eq 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_1.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/config/filter_sources_relative.sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp" 1: $ ":" "RUN: at line 5" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json" "--config" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/config.json" "--" "/usr/bin/sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh" 1: # command stderr: 1: [13:07:33.876635, br, 2907] bear: 3.1.3 1: [13:07:33.877730, br, 2907] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/config.json", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh"] 1: [13:07:33.878096, br, 2907] environment: ["PATH=/build/bear/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=tmux-256color", "SOURCE_DATE_EPOCH=1699811453", "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", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v"] 1: [13:07:33.878508, br, 2907] sysname: Linux 1: [13:07:33.878745, br, 2907] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.878935, br, 2907] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.879122, br, 2907] machine: riscv64 1: [13:07:33.879736, br, 2907] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/config.json]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.887710, br, 2907] Process spawned. [pid: 3147, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh"]] 1: [13:07:33.887959, br, 2907] Process wait requested. [pid: 3147] 1: [13:07:34.080785, br, 3147] bear: 3.1.3 1: [13:07:34.081454, br, 3147] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh"] 1: [13:07:34.081772, br, 3147] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.082039, br, 3147] sysname: Linux 1: [13:07:34.082205, br, 3147] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:34.082304, br, 3147] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:34.082397, br, 3147] machine: riscv64 1: [13:07:34.082719, br, 3147] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:34.083346, br, 3147] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:34.123013, br, 3147] Running gRPC server. dns:///localhost:40319 1: [13:07:34.124734, br, 3147] Process spawned. [pid: 4084, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40319", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh"]] 1: [13:07:34.125081, br, 3147] Process wait requested. [pid: 4084] 1: [13:07:34.262708, el, 4084] lib.cc; on_load 1: [13:07:34.263928, wr, 4084, ppid: 3147] wrapper: 3.1.3 1: [13:07:34.264216, wr, 4084, ppid: 3147] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40319", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh"] 1: [13:07:34.264380, wr, 4084, ppid: 3147] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:40319", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.264691, wr, 4084, ppid: 3147] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh]}, {--destination: [dns:///localhost:40319]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:34.280539, wr, 4084, ppid: 3147] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.547400, br, 3147] trying to resolve for library: /usr/bin/sh 1: [13:07:34.549721, wr, 4084, ppid: 3147] gRPC call [Resolve] finished: true 1: [13:07:34.551712, wr, 4084, ppid: 3147] Process spawned. [pid: 5917, command: ["/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh"]] 1: [13:07:34.551874, wr, 4084, ppid: 3147] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.560833, el, 5917] lib.cc; on_load 1: [13:07:34.565690, wr, 4084, ppid: 3147] gRPC call [Register] finished: true 1: [13:07:34.566349, wr, 4084, ppid: 3147] Process wait requested. [pid: 5917] 1: [13:07:34.570671, el, 5971] lib.cc; execve path: /usr/bin/cc 1: [13:07:34.713360, el, 5971] lib.cc; on_load 1: [13:07:34.714576, wr, 5971, ppid: 5917] wrapper: 3.1.3 1: [13:07:34.714690, wr, 5971, ppid: 5917] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40319", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_1.c"] 1: [13:07:34.714812, wr, 5971, ppid: 5917] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:40319", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:34.714977, wr, 5971, ppid: 5917] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_1.c]}, {--destination: [dns:///localhost:40319]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:34.736370, wr, 5971, ppid: 5917] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.002445, br, 3147] trying to resolve for library: /usr/bin/cc 1: [13:07:35.005206, wr, 5971, ppid: 5917] gRPC call [Resolve] finished: true 1: [13:07:35.007559, wr, 5971, ppid: 5917] Process spawned. [pid: 7315, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_1.c"]] 1: [13:07:35.007785, wr, 5971, ppid: 5917] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.013066, wr, 5971, ppid: 5917] gRPC call [Register] finished: true 1: [13:07:35.013441, wr, 5971, ppid: 5917] Process wait requested. [pid: 7315] 1: free(): invalid pointer 1: [13:07:39.202994, wr, 5971, ppid: 5917] Process wait request: done. [pid: 7315] 1: [13:07:39.203086, wr, 5971, ppid: 5917] gRPC call requested: supervise::Interceptor::Register 1: [13:07:39.205091, wr, 5971, ppid: 5917] gRPC call [Register] finished: true 1: [13:07:39.217964, wr, 5971, ppid: 5917] succeeded with: 1 1: [13:07:39.218092, el, 5971] lib.cc; on_unload 1: [13:07:39.225942, el, 10972] lib.cc; execve path: /usr/bin/cc 1: [13:07:39.317095, el, 10972] lib.cc; on_load 1: [13:07:39.318004, wr, 10972, ppid: 5917] wrapper: 3.1.3 1: [13:07:39.318093, wr, 10972, ppid: 5917] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40319", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_2.c"] 1: [13:07:39.318193, wr, 10972, ppid: 5917] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:40319", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:39.318293, wr, 10972, ppid: 5917] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_2.c]}, {--destination: [dns:///localhost:40319]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:39.334519, wr, 10972, ppid: 5917] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:39.598505, br, 3147] trying to resolve for library: /usr/bin/cc 1: [13:07:39.600182, wr, 10972, ppid: 5917] gRPC call [Resolve] finished: true 1: [13:07:39.601680, wr, 10972, ppid: 5917] Process spawned. [pid: 11070, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_2.c"]] 1: [13:07:39.601800, wr, 10972, ppid: 5917] gRPC call requested: supervise::Interceptor::Register 1: [13:07:39.605488, wr, 10972, ppid: 5917] gRPC call [Register] finished: true 1: [13:07:39.605757, wr, 10972, ppid: 5917] Process wait requested. [pid: 11070] 1: free(): invalid pointer 1: [13:07:55.417688, wr, 10972, ppid: 5917] Process wait request: done. [pid: 11070] 1: [13:07:55.417760, wr, 10972, ppid: 5917] gRPC call requested: supervise::Interceptor::Register 1: [13:07:55.420872, wr, 10972, ppid: 5917] gRPC call [Register] finished: true 1: [13:07:55.429491, wr, 10972, ppid: 5917] succeeded with: 1 1: [13:07:55.429605, el, 10972] lib.cc; on_unload 1: [13:07:55.436995, el, 11519] lib.cc; execve path: /usr/bin/cc 1: [13:07:55.513721, el, 11519] lib.cc; on_load 1: [13:07:55.514489, wr, 11519, ppid: 5917] wrapper: 3.1.3 1: [13:07:55.514568, wr, 11519, ppid: 5917] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40319", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/exclude/source_1.c"] 1: [13:07:55.514665, wr, 11519, ppid: 5917] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:40319", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:55.514778, wr, 11519, ppid: 5917] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/exclude/source_1.c]}, {--destination: [dns:///localhost:40319]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:55.527141, wr, 11519, ppid: 5917] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:55.789352, br, 3147] trying to resolve for library: /usr/bin/cc 1: [13:07:55.790782, wr, 11519, ppid: 5917] gRPC call [Resolve] finished: true 1: [13:07:55.792089, wr, 11519, ppid: 5917] Process spawned. [pid: 11544, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/exclude/source_1.c"]] 1: [13:07:55.792198, wr, 11519, ppid: 5917] gRPC call requested: supervise::Interceptor::Register 1: [13:07:55.795524, wr, 11519, ppid: 5917] gRPC call [Register] finished: true 1: [13:07:55.795762, wr, 11519, ppid: 5917] Process wait requested. [pid: 11544] 1: free(): invalid pointer 1: [13:08:06.509402, wr, 11519, ppid: 5917] Process wait request: done. [pid: 11544] 1: [13:08:06.509472, wr, 11519, ppid: 5917] gRPC call requested: supervise::Interceptor::Register 1: [13:08:06.511620, wr, 11519, ppid: 5917] gRPC call [Register] finished: true 1: [13:08:06.519471, wr, 11519, ppid: 5917] succeeded with: 1 1: [13:08:06.519585, el, 11519] lib.cc; on_unload 1: [13:08:06.526654, el, 11875] lib.cc; execve path: /usr/bin/cc 1: [13:08:06.608583, el, 11875] lib.cc; on_load 1: [13:08:06.609513, wr, 11875, ppid: 5917] wrapper: 3.1.3 1: [13:08:06.609602, wr, 11875, ppid: 5917] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40319", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/exclude/source_2.c"] 1: [13:08:06.609711, wr, 11875, ppid: 5917] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:40319", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:08:06.609809, wr, 11875, ppid: 5917] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/exclude/source_2.c]}, {--destination: [dns:///localhost:40319]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:08:06.622374, wr, 11875, ppid: 5917] gRPC call requested: supervise::Supervisor::Resolve 1: [13:08:06.885034, br, 3147] trying to resolve for library: /usr/bin/cc 1: [13:08:06.886486, wr, 11875, ppid: 5917] gRPC call [Resolve] finished: true 1: [13:08:06.887827, wr, 11875, ppid: 5917] Process spawned. [pid: 11922, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/exclude/source_2.c"]] 1: [13:08:06.887945, wr, 11875, ppid: 5917] gRPC call requested: supervise::Interceptor::Register 1: [13:08:06.891211, wr, 11875, ppid: 5917] gRPC call [Register] finished: true 1: [13:08:06.891496, wr, 11875, ppid: 5917] Process wait requested. [pid: 11922] 1: free(): invalid pointer 1: [13:08:15.768904, wr, 11875, ppid: 5917] Process wait request: done. [pid: 11922] 1: [13:08:15.768972, wr, 11875, ppid: 5917] gRPC call requested: supervise::Interceptor::Register 1: [13:08:15.771571, wr, 11875, ppid: 5917] gRPC call [Register] finished: true 1: [13:08:15.781359, wr, 11875, ppid: 5917] succeeded with: 1 1: [13:08:15.781503, el, 11875] lib.cc; on_unload 1: [13:08:15.788027, el, 5917] lib.cc; on_unload 1: [13:08:15.789888, wr, 4084, ppid: 3147] Process wait request: done. [pid: 5917] 1: [13:08:15.789953, wr, 4084, ppid: 3147] gRPC call requested: supervise::Interceptor::Register 1: [13:08:15.792077, wr, 4084, ppid: 3147] gRPC call [Register] finished: true 1: [13:08:15.801659, wr, 4084, ppid: 3147] succeeded with: 1 1: [13:08:15.801767, el, 4084] lib.cc; on_unload 1: [13:08:15.807845, br, 3147] Process wait request: done. [pid: 4084] 1: [13:08:15.807982, br, 3147] Running command. [Exited with 1] 1: [13:08:15.808013, br, 3147] Stopping gRPC server. 1: [13:08:15.820428, br, 3147] succeeded with: 1 1: [13:08:15.827579, br, 2907] Process wait request: done. [pid: 3147] 1: [13:08:15.827702, br, 2907] Running intercept finished. [Exited with 1] 1: [13:08:15.828684, br, 2907] Process spawned. [pid: 12066, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json", "--run-checks", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/config.json", "--verbose"]] 1: [13:08:15.828830, br, 2907] Process wait requested. [pid: 12066] 1: [13:08:15.906688, br, 12066] bear: 3.1.3 1: [13:08:15.906998, br, 12066] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json", "--run-checks", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/config.json", "--verbose"] 1: [13:08:15.907061, br, 12066] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:08:15.907090, br, 12066] sysname: Linux 1: [13:08:15.907099, br, 12066] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:08:15.907105, br, 12066] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:08:15.907111, br, 12066] machine: riscv64 1: [13:08:15.907210, br, 12066] arguments parsed: {program: citnames, arguments: [{--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/config.json]}, {--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:08:15.908008, br, 12066] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true,"paths_to_exclude":["/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/exclude"]},"format":{"command_as_array":true,"drop_output_field":true}}} 1: [13:08:15.913797, br, 12066] [pid: 5917] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TEMPDIR":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SOURCE_DATE_EPOCH":"1699811453","TERM":"tmux-256color","LLVM_DISABLE_CRASH_REPORT":"1","PATH":"/build/bear/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","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40319","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","ECHO":"/usr/bin/echo"}} 1: [13:08:15.915022, br, 12066] [pid: 5917] recognition failed: No tools recognize this execution. 1: [13:08:15.915939, br, 12066] [pid: 7315] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"_":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SOURCE_DATE_EPOCH":"1699811453","TERM":"tmux-256color","LLVM_DISABLE_CRASH_REPORT":"1","PATH":"/build/bear/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":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40319","LIBTOOL":"/usr/bin/libtool","SHLVL":"1","INTERCEPT_VERBOSE":"true","CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","ECHO":"/usr/bin/echo"}} 1: [13:08:15.916091, br, 12066] [pid: 7315] recognized. 1: [13:08:15.917019, br, 12066] [pid: 11070] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"_":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SOURCE_DATE_EPOCH":"1699811453","TERM":"tmux-256color","LLVM_DISABLE_CRASH_REPORT":"1","PATH":"/build/bear/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":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40319","LIBTOOL":"/usr/bin/libtool","SHLVL":"1","INTERCEPT_VERBOSE":"true","CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","ECHO":"/usr/bin/echo"}} 1: [13:08:15.917098, br, 12066] [pid: 11070] recognized. 1: [13:08:15.917973, br, 12066] [pid: 11544] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/exclude/source_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"_":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SOURCE_DATE_EPOCH":"1699811453","TERM":"tmux-256color","LLVM_DISABLE_CRASH_REPORT":"1","PATH":"/build/bear/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":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40319","LIBTOOL":"/usr/bin/libtool","SHLVL":"1","INTERCEPT_VERBOSE":"true","CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","ECHO":"/usr/bin/echo"}} 1: [13:08:15.918053, br, 12066] [pid: 11544] recognized. 1: [13:08:15.918986, br, 12066] [pid: 11922] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/exclude/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"_":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-icqdqr_v","SOURCE_DATE_EPOCH":"1699811453","TERM":"tmux-256color","LLVM_DISABLE_CRASH_REPORT":"1","PATH":"/build/bear/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":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40319","LIBTOOL":"/usr/bin/libtool","SHLVL":"1","INTERCEPT_VERBOSE":"true","CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","ECHO":"/usr/bin/echo"}} 1: [13:08:15.919069, br, 12066] [pid: 11922] recognized. 1: [13:08:15.919442, br, 12066] compilation entries created. [size: 4] 1: [13:08:15.919506, br, 12066] compilation entries to output. [size: 4] 1: [13:08:15.920220, br, 12066] compilation entries written. [size: 2] 1: [13:08:15.920296, br, 12066] succeeded with: 0 1: [13:08:15.924550, br, 2907] Process wait request: done. [pid: 12066] 1: [13:08:15.924660, br, 2907] Running citnames finished. [Exited with 0] 1: [13:08:15.925009, br, 2907] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/config/filter_sources.sh (98 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/config/filter_sources.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/config/filter_sources.sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json --config /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/config.json -- /usr/bin/sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json count -eq 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_1.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/config/filter_sources.sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp" 1: $ ":" "RUN: at line 5" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json" "--config" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/config.json" "--" "/usr/bin/sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh" 1: # command stderr: 1: [13:07:33.897938, br, 2906] bear: 3.1.3 1: [13:07:33.898581, br, 2906] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/config.json", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh"] 1: [13:07:33.898860, br, 2906] environment: ["PATH=/build/bear/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=tmux-256color", "SOURCE_DATE_EPOCH=1699811453", "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", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v"] 1: [13:07:33.899286, br, 2906] sysname: Linux 1: [13:07:33.899527, br, 2906] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.899669, br, 2906] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.899809, br, 2906] machine: riscv64 1: [13:07:33.900130, br, 2906] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/config.json]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.902078, br, 2906] Process spawned. [pid: 3168, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh"]] 1: [13:07:33.902287, br, 2906] Process wait requested. [pid: 3168] 1: [13:07:34.049187, br, 3168] bear: 3.1.3 1: [13:07:34.056631, br, 3168] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh"] 1: [13:07:34.056975, br, 3168] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.057263, br, 3168] sysname: Linux 1: [13:07:34.057420, br, 3168] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:34.057555, br, 3168] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:34.057654, br, 3168] machine: riscv64 1: [13:07:34.057979, br, 3168] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:34.058721, br, 3168] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:34.098499, br, 3168] Running gRPC server. dns:///localhost:41083 1: [13:07:34.100571, br, 3168] Process spawned. [pid: 3953, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41083", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh"]] 1: [13:07:34.100746, br, 3168] Process wait requested. [pid: 3953] 1: [13:07:34.253989, el, 3953] lib.cc; on_load 1: [13:07:34.255224, wr, 3953, ppid: 3168] wrapper: 3.1.3 1: [13:07:34.255488, wr, 3953, ppid: 3168] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41083", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh"] 1: [13:07:34.255638, wr, 3953, ppid: 3168] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:41083", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.256061, wr, 3953, ppid: 3168] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh]}, {--destination: [dns:///localhost:41083]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:34.271645, wr, 3953, ppid: 3168] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.538125, br, 3168] trying to resolve for library: /usr/bin/sh 1: [13:07:34.540544, wr, 3953, ppid: 3168] gRPC call [Resolve] finished: true 1: [13:07:34.542420, wr, 3953, ppid: 3168] Process spawned. [pid: 5906, command: ["/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh"]] 1: [13:07:34.542646, wr, 3953, ppid: 3168] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.549865, el, 5906] lib.cc; on_load 1: [13:07:34.555569, wr, 3953, ppid: 3168] gRPC call [Register] finished: true 1: [13:07:34.555997, wr, 3953, ppid: 3168] Process wait requested. [pid: 5906] 1: [13:07:34.558805, el, 5930] lib.cc; execve path: /usr/bin/cc 1: [13:07:34.707837, el, 5930] lib.cc; on_load 1: [13:07:34.709069, wr, 5930, ppid: 5906] wrapper: 3.1.3 1: [13:07:34.709531, wr, 5930, ppid: 5906] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41083", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_1.c"] 1: [13:07:34.709724, wr, 5930, ppid: 5906] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:41083", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:34.709851, wr, 5930, ppid: 5906] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_1.c]}, {--destination: [dns:///localhost:41083]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:34.728498, wr, 5930, ppid: 5906] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.994391, br, 3168] trying to resolve for library: /usr/bin/cc 1: [13:07:34.997229, wr, 5930, ppid: 5906] gRPC call [Resolve] finished: true 1: [13:07:34.999345, wr, 5930, ppid: 5906] Process spawned. [pid: 7299, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_1.c"]] 1: [13:07:34.999491, wr, 5930, ppid: 5906] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.006124, wr, 5930, ppid: 5906] gRPC call [Register] finished: true 1: [13:07:35.006715, wr, 5930, ppid: 5906] Process wait requested. [pid: 7299] 1: free(): invalid pointer 1: [13:07:39.295757, wr, 5930, ppid: 5906] Process wait request: done. [pid: 7299] 1: [13:07:39.295840, wr, 5930, ppid: 5906] gRPC call requested: supervise::Interceptor::Register 1: [13:07:39.298012, wr, 5930, ppid: 5906] gRPC call [Register] finished: true 1: [13:07:39.310627, wr, 5930, ppid: 5906] succeeded with: 1 1: [13:07:39.310769, el, 5930] lib.cc; on_unload 1: [13:07:39.318578, el, 11000] lib.cc; execve path: /usr/bin/cc 1: [13:07:39.410834, el, 11000] lib.cc; on_load 1: [13:07:39.411810, wr, 11000, ppid: 5906] wrapper: 3.1.3 1: [13:07:39.411905, wr, 11000, ppid: 5906] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41083", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_2.c"] 1: [13:07:39.412015, wr, 11000, ppid: 5906] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:41083", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:39.412121, wr, 11000, ppid: 5906] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_2.c]}, {--destination: [dns:///localhost:41083]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:39.427776, wr, 11000, ppid: 5906] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:39.691421, br, 3168] trying to resolve for library: /usr/bin/cc 1: [13:07:39.693095, wr, 11000, ppid: 5906] gRPC call [Resolve] finished: true 1: [13:07:39.694770, wr, 11000, ppid: 5906] Process spawned. [pid: 11113, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_2.c"]] 1: [13:07:39.694903, wr, 11000, ppid: 5906] gRPC call requested: supervise::Interceptor::Register 1: [13:07:39.698638, wr, 11000, ppid: 5906] gRPC call [Register] finished: true 1: [13:07:39.698937, wr, 11000, ppid: 5906] Process wait requested. [pid: 11113] 1: free(): invalid pointer 1: [13:07:55.760669, wr, 11000, ppid: 5906] Process wait request: done. [pid: 11113] 1: [13:07:55.760742, wr, 11000, ppid: 5906] gRPC call requested: supervise::Interceptor::Register 1: [13:07:55.763200, wr, 11000, ppid: 5906] gRPC call [Register] finished: true 1: [13:07:55.773356, wr, 11000, ppid: 5906] succeeded with: 1 1: [13:07:55.773487, el, 11000] lib.cc; on_unload 1: [13:07:55.780492, el, 11543] lib.cc; execve path: /usr/bin/cc 1: [13:07:55.860534, el, 11543] lib.cc; on_load 1: [13:07:55.861384, wr, 11543, ppid: 5906] wrapper: 3.1.3 1: [13:07:55.861470, wr, 11543, ppid: 5906] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41083", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude/source_1.c"] 1: [13:07:55.861556, wr, 11543, ppid: 5906] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:41083", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:55.861687, wr, 11543, ppid: 5906] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude/source_1.c]}, {--destination: [dns:///localhost:41083]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:55.873095, wr, 11543, ppid: 5906] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:56.135534, br, 3168] trying to resolve for library: /usr/bin/cc 1: [13:07:56.137188, wr, 11543, ppid: 5906] gRPC call [Resolve] finished: true 1: [13:07:56.138647, wr, 11543, ppid: 5906] Process spawned. [pid: 11574, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude/source_1.c"]] 1: [13:07:56.138767, wr, 11543, ppid: 5906] gRPC call requested: supervise::Interceptor::Register 1: [13:07:56.142350, wr, 11543, ppid: 5906] gRPC call [Register] finished: true 1: [13:07:56.142660, wr, 11543, ppid: 5906] Process wait requested. [pid: 11574] 1: free(): invalid pointer 1: [13:08:06.651085, wr, 11543, ppid: 5906] Process wait request: done. [pid: 11574] 1: [13:08:06.651161, wr, 11543, ppid: 5906] gRPC call requested: supervise::Interceptor::Register 1: [13:08:06.653448, wr, 11543, ppid: 5906] gRPC call [Register] finished: true 1: [13:08:06.663494, wr, 11543, ppid: 5906] succeeded with: 1 1: [13:08:06.663631, el, 11543] lib.cc; on_unload 1: [13:08:06.670900, el, 11898] lib.cc; execve path: /usr/bin/cc 1: [13:08:06.750159, el, 11898] lib.cc; on_load 1: [13:08:06.751021, wr, 11898, ppid: 5906] wrapper: 3.1.3 1: [13:08:06.751103, wr, 11898, ppid: 5906] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41083", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude/source_2.c"] 1: [13:08:06.751191, wr, 11898, ppid: 5906] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:41083", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:08:06.751291, wr, 11898, ppid: 5906] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude/source_2.c]}, {--destination: [dns:///localhost:41083]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:08:06.762733, wr, 11898, ppid: 5906] gRPC call requested: supervise::Supervisor::Resolve 1: [13:08:07.025480, br, 3168] trying to resolve for library: /usr/bin/cc 1: [13:08:07.027049, wr, 11898, ppid: 5906] gRPC call [Resolve] finished: true 1: [13:08:07.028372, wr, 11898, ppid: 5906] Process spawned. [pid: 11946, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude/source_2.c"]] 1: [13:08:07.028491, wr, 11898, ppid: 5906] gRPC call requested: supervise::Interceptor::Register 1: [13:08:07.032132, wr, 11898, ppid: 5906] gRPC call [Register] finished: true 1: [13:08:07.032412, wr, 11898, ppid: 5906] Process wait requested. [pid: 11946] 1: free(): invalid pointer 1: [13:08:15.801244, wr, 11898, ppid: 5906] Process wait request: done. [pid: 11946] 1: [13:08:15.801318, wr, 11898, ppid: 5906] gRPC call requested: supervise::Interceptor::Register 1: [13:08:15.803565, wr, 11898, ppid: 5906] gRPC call [Register] finished: true 1: [13:08:15.812847, wr, 11898, ppid: 5906] succeeded with: 1 1: [13:08:15.812976, el, 11898] lib.cc; on_unload 1: [13:08:15.819935, el, 5906] lib.cc; on_unload 1: [13:08:15.821481, wr, 3953, ppid: 3168] Process wait request: done. [pid: 5906] 1: [13:08:15.821563, wr, 3953, ppid: 3168] gRPC call requested: supervise::Interceptor::Register 1: [13:08:15.823630, wr, 3953, ppid: 3168] gRPC call [Register] finished: true 1: [13:08:15.834386, wr, 3953, ppid: 3168] succeeded with: 1 1: [13:08:15.834504, el, 3953] lib.cc; on_unload 1: [13:08:15.840675, br, 3168] Process wait request: done. [pid: 3953] 1: [13:08:15.840808, br, 3168] Running command. [Exited with 1] 1: [13:08:15.840838, br, 3168] Stopping gRPC server. 1: [13:08:15.850811, br, 3168] succeeded with: 1 1: [13:08:15.857441, br, 2906] Process wait request: done. [pid: 3168] 1: [13:08:15.857558, br, 2906] Running intercept finished. [Exited with 1] 1: [13:08:15.858420, br, 2906] Process spawned. [pid: 12069, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json", "--run-checks", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/config.json", "--verbose"]] 1: [13:08:15.858513, br, 2906] Process wait requested. [pid: 12069] 1: [13:08:15.937579, br, 12069] bear: 3.1.3 1: [13:08:15.937919, br, 12069] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json", "--run-checks", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/config.json", "--verbose"] 1: [13:08:15.937975, br, 12069] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:08:15.938032, br, 12069] sysname: Linux 1: [13:08:15.938045, br, 12069] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:08:15.938056, br, 12069] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:08:15.938063, br, 12069] machine: riscv64 1: [13:08:15.938167, br, 12069] arguments parsed: {program: citnames, arguments: [{--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/config.json]}, {--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:08:15.939077, br, 12069] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true,"paths_to_exclude":["/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude"],"paths_to_include":["/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp"]},"format":{"command_as_array":true,"drop_output_field":true}}} 1: [13:08:15.944643, br, 12069] [pid: 5906] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:41083","SOURCE_DATE_EPOCH":"1699811453","LC_CTYPE":"en_US.UTF-8","TMPDIR":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","TRUE":"/usr/bin/true","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LLVM_DISABLE_CRASH_REPORT":"1","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:08:15.945851, br, 12069] [pid: 5906] recognition failed: No tools recognize this execution. 1: [13:08:15.946756, br, 12069] [pid: 7299] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","CC":"/usr/bin/cc","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:41083","SOURCE_DATE_EPOCH":"1699811453","LC_CTYPE":"en_US.UTF-8","TMPDIR":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","TRUE":"/usr/bin/true","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LLVM_DISABLE_CRASH_REPORT":"1","_":"/usr/bin/cc","CXX":"/usr/bin/c++","SHLVL":"1","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:08:15.946891, br, 12069] [pid: 7299] recognized. 1: [13:08:15.947824, br, 12069] [pid: 11113] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","CC":"/usr/bin/cc","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:41083","SOURCE_DATE_EPOCH":"1699811453","LC_CTYPE":"en_US.UTF-8","TMPDIR":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","TRUE":"/usr/bin/true","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LLVM_DISABLE_CRASH_REPORT":"1","_":"/usr/bin/cc","CXX":"/usr/bin/c++","SHLVL":"1","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:08:15.947894, br, 12069] [pid: 11113] recognized. 1: [13:08:15.948802, br, 12069] [pid: 11574] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude/source_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","CC":"/usr/bin/cc","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:41083","SOURCE_DATE_EPOCH":"1699811453","LC_CTYPE":"en_US.UTF-8","TMPDIR":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","TRUE":"/usr/bin/true","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LLVM_DISABLE_CRASH_REPORT":"1","_":"/usr/bin/cc","CXX":"/usr/bin/c++","SHLVL":"1","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:08:15.948871, br, 12069] [pid: 11574] recognized. 1: [13:08:15.949814, br, 12069] [pid: 11946] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","CC":"/usr/bin/cc","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:41083","SOURCE_DATE_EPOCH":"1699811453","LC_CTYPE":"en_US.UTF-8","TMPDIR":"/tmp/lit-tmp-icqdqr_v","ECHO":"/usr/bin/echo","TRUE":"/usr/bin/true","TMP":"/tmp/lit-tmp-icqdqr_v","TEMP":"/tmp/lit-tmp-icqdqr_v","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LLVM_DISABLE_CRASH_REPORT":"1","_":"/usr/bin/cc","CXX":"/usr/bin/c++","SHLVL":"1","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [13:08:15.949885, br, 12069] [pid: 11946] recognized. 1: [13:08:15.950170, br, 12069] compilation entries created. [size: 4] 1: [13:08:15.950204, br, 12069] compilation entries to output. [size: 4] 1: [13:08:15.950905, br, 12069] compilation entries written. [size: 2] 1: [13:08:15.950982, br, 12069] succeeded with: 0 1: [13:08:15.955274, br, 2906] Process wait request: done. [pid: 12069] 1: [13:08:15.955379, br, 2906] Running citnames finished. [Exited with 0] 1: [13:08:15.955744, br, 2906] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/successful_build.sh (99 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/successful_build.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/successful_build.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json count -eq 4 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o successful_build_1.o successful_build_1.c 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o successful_build_2.o successful_build_2.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build_3.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/c++ -c -o successful_build_3.o successful_build_3.c 1: : 'RUN: at line 9'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build_4.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/c++ -c -o successful_build_4.o successful_build_4.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/successful_build.sh" 1: # command stderr: 1: [13:07:33.796833, br, 2782] bear: 3.1.3 1: [13:07:33.797633, br, 2782] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/successful_build.sh"] 1: [13:07:33.797908, br, 2782] environment: ["PATH=/build/bear/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=tmux-256color", "SOURCE_DATE_EPOCH=1699811453", "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", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v"] 1: [13:07:33.798118, br, 2782] sysname: Linux 1: [13:07:33.798319, br, 2782] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.798584, br, 2782] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.798756, br, 2782] machine: riscv64 1: [13:07:33.799089, br, 2782] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/successful_build.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.805099, br, 2782] Process spawned. [pid: 2946, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/successful_build.sh"]] 1: [13:07:33.805337, br, 2782] Process wait requested. [pid: 2946] 1: [13:07:33.947870, br, 2946] bear: 3.1.3 1: [13:07:33.948418, br, 2946] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/successful_build.sh"] 1: [13:07:33.948661, br, 2946] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:33.948975, br, 2946] sysname: Linux 1: [13:07:33.949193, br, 2946] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.949378, br, 2946] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.949516, br, 2946] machine: riscv64 1: [13:07:33.949808, br, 2946] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/successful_build.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:33.950364, br, 2946] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:33.987282, br, 2946] Running gRPC server. dns:///localhost:39473 1: [13:07:33.989506, br, 2946] Process spawned. [pid: 3583, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39473", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/successful_build.sh"]] 1: [13:07:33.989681, br, 2946] Process wait requested. [pid: 3583] 1: [13:07:34.149974, el, 3583] lib.cc; on_load 1: [13:07:34.151262, wr, 3583, ppid: 2946] wrapper: 3.1.3 1: [13:07:34.151540, wr, 3583, ppid: 2946] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39473", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/successful_build.sh"] 1: [13:07:34.151727, wr, 3583, ppid: 2946] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:39473", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.152077, wr, 3583, ppid: 2946] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/successful_build.sh]}, {--destination: [dns:///localhost:39473]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:34.175734, wr, 3583, ppid: 2946] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.435990, br, 2946] trying to resolve for library: /usr/bin/sh 1: [13:07:34.438122, wr, 3583, ppid: 2946] gRPC call [Resolve] finished: true 1: [13:07:34.440125, wr, 3583, ppid: 2946] Process spawned. [pid: 5664, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/successful_build.sh"]] 1: [13:07:34.440290, wr, 3583, ppid: 2946] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.448660, el, 5664] lib.cc; on_load 1: [13:07:34.453239, wr, 3583, ppid: 2946] gRPC call [Register] finished: true 1: [13:07:34.453744, wr, 3583, ppid: 2946] Process wait requested. [pid: 5664] 1: [13:07:34.457590, el, 5681] lib.cc; execve path: /usr/bin/touch 1: [13:07:34.578556, el, 5681] lib.cc; on_load 1: [13:07:34.579673, wr, 5681, ppid: 5664] wrapper: 3.1.3 1: [13:07:34.579769, wr, 5681, ppid: 5664] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39473", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "successful_build_1.c", "successful_build_2.c", "successful_build_3.c", "successful_build_4.c"] 1: [13:07:34.579866, wr, 5681, ppid: 5664] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:39473", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/touch"] 1: [13:07:34.579989, wr, 5681, ppid: 5664] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, successful_build_1.c, successful_build_2.c, successful_build_3.c, successful_build_4.c]}, {--destination: [dns:///localhost:39473]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [13:07:34.598425, wr, 5681, ppid: 5664] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.858289, br, 2946] trying to resolve for library: /usr/bin/touch 1: [13:07:34.860624, wr, 5681, ppid: 5664] gRPC call [Resolve] finished: true 1: [13:07:34.862958, wr, 5681, ppid: 5664] Process spawned. [pid: 6976, command: ["touch", "successful_build_1.c", "successful_build_2.c", "successful_build_3.c", "successful_build_4.c"]] 1: [13:07:34.863154, wr, 5681, ppid: 5664] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.868203, wr, 5681, ppid: 5664] gRPC call [Register] finished: true 1: [13:07:34.868557, wr, 5681, ppid: 5664] Process wait requested. [pid: 6976] 1: [13:07:34.869163, el, 6976] lib.cc; on_load 1: [13:07:34.871506, wr, 5681, ppid: 5664] Process wait request: done. [pid: 6976] 1: [13:07:34.871597, wr, 5681, ppid: 5664] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.874274, wr, 5681, ppid: 5664] gRPC call [Register] finished: true 1: [13:07:34.887561, wr, 5681, ppid: 5664] succeeded with: 0 1: [13:07:34.887711, el, 5681] lib.cc; on_unload 1: [13:07:34.898902, el, 7081] lib.cc; execve path: /usr/bin/cc 1: [13:07:35.064691, el, 7081] lib.cc; on_load 1: [13:07:35.066561, wr, 7081, ppid: 5664] wrapper: 3.1.3 1: [13:07:35.066685, wr, 7081, ppid: 5664] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39473", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "successful_build_1.o", "successful_build_1.c"] 1: [13:07:35.066818, wr, 7081, ppid: 5664] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:39473", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:35.067048, wr, 7081, ppid: 5664] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, successful_build_1.o, successful_build_1.c]}, {--destination: [dns:///localhost:39473]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:35.091974, wr, 7081, ppid: 5664] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.360358, br, 2946] trying to resolve for library: /usr/bin/cc 1: [13:07:35.362728, wr, 7081, ppid: 5664] gRPC call [Resolve] finished: true 1: [13:07:35.364803, wr, 7081, ppid: 5664] Process spawned. [pid: 8068, command: ["/usr/bin/cc", "-c", "-o", "successful_build_1.o", "successful_build_1.c"]] 1: [13:07:35.364972, wr, 7081, ppid: 5664] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.369937, wr, 7081, ppid: 5664] gRPC call [Register] finished: true 1: [13:07:35.370343, wr, 7081, ppid: 5664] Process wait requested. [pid: 8068] 1: free(): invalid pointer 1: [13:07:40.448984, wr, 7081, ppid: 5664] Process wait request: done. [pid: 8068] 1: [13:07:40.449066, wr, 7081, ppid: 5664] gRPC call requested: supervise::Interceptor::Register 1: [13:07:40.451244, wr, 7081, ppid: 5664] gRPC call [Register] finished: true 1: [13:07:40.461246, wr, 7081, ppid: 5664] succeeded with: 1 1: [13:07:40.461371, el, 7081] lib.cc; on_unload 1: [13:07:40.469500, el, 11184] lib.cc; execve path: /usr/bin/cc 1: [13:07:40.552074, el, 11184] lib.cc; on_load 1: [13:07:40.552878, wr, 11184, ppid: 5664] wrapper: 3.1.3 1: [13:07:40.552956, wr, 11184, ppid: 5664] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39473", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "successful_build_2.o", "successful_build_2.c"] 1: [13:07:40.553047, wr, 11184, ppid: 5664] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:39473", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:40.553148, wr, 11184, ppid: 5664] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, successful_build_2.o, successful_build_2.c]}, {--destination: [dns:///localhost:39473]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:40.564594, wr, 11184, ppid: 5664] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:40.827793, br, 2946] trying to resolve for library: /usr/bin/cc 1: [13:07:40.829400, wr, 11184, ppid: 5664] gRPC call [Resolve] finished: true 1: [13:07:40.830932, wr, 11184, ppid: 5664] Process spawned. [pid: 11244, command: ["/usr/bin/cc", "-c", "-o", "successful_build_2.o", "successful_build_2.c"]] 1: [13:07:40.831065, wr, 11184, ppid: 5664] gRPC call requested: supervise::Interceptor::Register 1: [13:07:40.834876, wr, 11184, ppid: 5664] gRPC call [Register] finished: true 1: [13:07:40.835128, wr, 11184, ppid: 5664] Process wait requested. [pid: 11244] 1: free(): invalid pointer 1: [13:07:56.644490, wr, 11184, ppid: 5664] Process wait request: done. [pid: 11244] 1: [13:07:56.644561, wr, 11184, ppid: 5664] gRPC call requested: supervise::Interceptor::Register 1: [13:07:56.646763, wr, 11184, ppid: 5664] gRPC call [Register] finished: true 1: [13:07:56.654871, wr, 11184, ppid: 5664] succeeded with: 1 1: [13:07:56.654980, el, 11184] lib.cc; on_unload 1: [13:07:56.662461, el, 11613] lib.cc; execve path: /usr/bin/c++ 1: [13:07:56.742326, el, 11613] lib.cc; on_load 1: [13:07:56.743241, wr, 11613, ppid: 5664] wrapper: 3.1.3 1: [13:07:56.743324, wr, 11613, ppid: 5664] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39473", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-c", "-o", "successful_build_3.o", "successful_build_3.c"] 1: [13:07:56.743424, wr, 11613, ppid: 5664] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:39473", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/c++"] 1: [13:07:56.743517, wr, 11613, ppid: 5664] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/c++, -c, -o, successful_build_3.o, successful_build_3.c]}, {--destination: [dns:///localhost:39473]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [13:07:56.755481, wr, 11613, ppid: 5664] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:57.017907, br, 2946] trying to resolve for library: /usr/bin/c++ 1: [13:07:57.019409, wr, 11613, ppid: 5664] gRPC call [Resolve] finished: true 1: [13:07:57.020689, wr, 11613, ppid: 5664] Process spawned. [pid: 11703, command: ["/usr/bin/c++", "-c", "-o", "successful_build_3.o", "successful_build_3.c"]] 1: [13:07:57.020798, wr, 11613, ppid: 5664] gRPC call requested: supervise::Interceptor::Register 1: [13:07:57.024022, wr, 11613, ppid: 5664] gRPC call [Register] finished: true 1: [13:07:57.024266, wr, 11613, ppid: 5664] Process wait requested. [pid: 11703] 1: free(): invalid pointer 1: [13:08:06.822701, wr, 11613, ppid: 5664] Process wait request: done. [pid: 11703] 1: [13:08:06.822771, wr, 11613, ppid: 5664] gRPC call requested: supervise::Interceptor::Register 1: [13:08:06.825127, wr, 11613, ppid: 5664] gRPC call [Register] finished: true 1: [13:08:06.834161, wr, 11613, ppid: 5664] succeeded with: 1 1: [13:08:06.834269, el, 11613] lib.cc; on_unload 1: [13:08:06.841403, el, 11921] lib.cc; execve path: /usr/bin/c++ 1: [13:08:06.919733, el, 11921] lib.cc; on_load 1: [13:08:06.920529, wr, 11921, ppid: 5664] wrapper: 3.1.3 1: [13:08:06.920592, wr, 11921, ppid: 5664] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:39473", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-c", "-o", "successful_build_4.o", "successful_build_4.c"] 1: [13:08:06.920677, wr, 11921, ppid: 5664] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:39473", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/c++"] 1: [13:08:06.920761, wr, 11921, ppid: 5664] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/c++, -c, -o, successful_build_4.o, successful_build_4.c]}, {--destination: [dns:///localhost:39473]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [13:08:06.934888, wr, 11921, ppid: 5664] gRPC call requested: supervise::Supervisor::Resolve 1: [13:08:07.197667, br, 2946] trying to resolve for library: /usr/bin/c++ 1: [13:08:07.199034, wr, 11921, ppid: 5664] gRPC call [Resolve] finished: true 1: [13:08:07.200396, wr, 11921, ppid: 5664] Process spawned. [pid: 11972, command: ["/usr/bin/c++", "-c", "-o", "successful_build_4.o", "successful_build_4.c"]] 1: [13:08:07.200513, wr, 11921, ppid: 5664] gRPC call requested: supervise::Interceptor::Register 1: [13:08:07.203735, wr, 11921, ppid: 5664] gRPC call [Register] finished: true 1: [13:08:07.203973, wr, 11921, ppid: 5664] Process wait requested. [pid: 11972] 1: free(): invalid pointer 1: [13:08:16.079158, wr, 11921, ppid: 5664] Process wait request: done. [pid: 11972] 1: [13:08:16.079286, wr, 11921, ppid: 5664] gRPC call requested: supervise::Interceptor::Register 1: [13:08:16.081593, wr, 11921, ppid: 5664] gRPC call [Register] finished: true 1: [13:08:16.090339, wr, 11921, ppid: 5664] succeeded with: 1 1: [13:08:16.090463, el, 11921] lib.cc; on_unload 1: [13:08:16.096342, el, 5664] lib.cc; on_unload 1: [13:08:16.097802, wr, 3583, ppid: 2946] Process wait request: done. [pid: 5664] 1: [13:08:16.097870, wr, 3583, ppid: 2946] gRPC call requested: supervise::Interceptor::Register 1: [13:08:16.099913, wr, 3583, ppid: 2946] gRPC call [Register] finished: true 1: [13:08:16.109697, wr, 3583, ppid: 2946] succeeded with: 1 1: [13:08:16.109814, el, 3583] lib.cc; on_unload 1: [13:08:16.115438, br, 2946] Process wait request: done. [pid: 3583] 1: [13:08:16.115564, br, 2946] Running command. [Exited with 1] 1: [13:08:16.115610, br, 2946] Stopping gRPC server. 1: [13:08:16.124835, br, 2946] succeeded with: 1 1: [13:08:16.130975, br, 2782] Process wait request: done. [pid: 2946] 1: [13:08:16.131090, br, 2782] Running intercept finished. [Exited with 1] 1: [13:08:16.131954, br, 2782] Process spawned. [pid: 12073, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json", "--run-checks", "--verbose"]] 1: [13:08:16.132054, br, 2782] Process wait requested. [pid: 12073] 1: [13:08:16.207811, br, 12073] bear: 3.1.3 1: [13:08:16.208103, br, 12073] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json", "--run-checks", "--verbose"] 1: [13:08:16.208160, br, 12073] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:08:16.208192, br, 12073] sysname: Linux 1: [13:08:16.208201, br, 12073] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:08:16.208207, br, 12073] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:08:16.208212, br, 12073] machine: riscv64 1: [13:08:16.208303, br, 12073] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:08:16.208813, br, 12073] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [13:08:16.215081, br, 12073] [pid: 5664] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/successful_build.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TERM":"tmux-256color","LIBTOOL":"/usr/bin/libtool","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","CC":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","TEMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","CXX":"/usr/bin/c++","ECHO":"/usr/bin/echo","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39473","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SOURCE_DATE_EPOCH":"1699811453","TMP":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","TMPDIR":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:08:16.216334, br, 12073] [pid: 5664] recognition failed: No tools recognize this execution. 1: [13:08:16.217176, br, 12073] [pid: 6976] execution: {"executable":"/usr/bin/touch","arguments":["touch","successful_build_1.c","successful_build_2.c","successful_build_3.c","successful_build_4.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TERM":"tmux-256color","LIBTOOL":"/usr/bin/libtool","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","_":"/usr/bin/touch","CC":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","TEMP":"/tmp/lit-tmp-icqdqr_v","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","CXX":"/usr/bin/c++","ECHO":"/usr/bin/echo","SHLVL":"1","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39473","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SOURCE_DATE_EPOCH":"1699811453","TMP":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","TMPDIR":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:08:16.217242, br, 12073] [pid: 6976] recognition failed: No tools recognize this execution. 1: [13:08:16.217992, br, 12073] [pid: 8068] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","successful_build_1.o","successful_build_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TERM":"tmux-256color","LIBTOOL":"/usr/bin/libtool","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","_":"/usr/bin/cc","CC":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","TEMP":"/tmp/lit-tmp-icqdqr_v","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","CXX":"/usr/bin/c++","ECHO":"/usr/bin/echo","SHLVL":"1","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39473","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SOURCE_DATE_EPOCH":"1699811453","TMP":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","TMPDIR":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:08:16.218130, br, 12073] [pid: 8068] recognized. 1: [13:08:16.219045, br, 12073] [pid: 11244] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","successful_build_2.o","successful_build_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TERM":"tmux-256color","LIBTOOL":"/usr/bin/libtool","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","_":"/usr/bin/cc","CC":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","TEMP":"/tmp/lit-tmp-icqdqr_v","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","CXX":"/usr/bin/c++","ECHO":"/usr/bin/echo","SHLVL":"1","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39473","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SOURCE_DATE_EPOCH":"1699811453","TMP":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","TMPDIR":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:08:16.219115, br, 12073] [pid: 11244] recognized. 1: [13:08:16.220067, br, 12073] [pid: 11703] execution: {"executable":"/usr/bin/c++","arguments":["/usr/bin/c++","-c","-o","successful_build_3.o","successful_build_3.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TERM":"tmux-256color","LIBTOOL":"/usr/bin/libtool","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","_":"/usr/bin/c++","CC":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","TEMP":"/tmp/lit-tmp-icqdqr_v","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","CXX":"/usr/bin/c++","ECHO":"/usr/bin/echo","SHLVL":"1","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39473","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SOURCE_DATE_EPOCH":"1699811453","TMP":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","TMPDIR":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:08:16.220147, br, 12073] [pid: 11703] recognized. 1: [13:08:16.221001, br, 12073] [pid: 11972] execution: {"executable":"/usr/bin/c++","arguments":["/usr/bin/c++","-c","-o","successful_build_4.o","successful_build_4.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TERM":"tmux-256color","LIBTOOL":"/usr/bin/libtool","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SLEEP":"/usr/bin/sleep","_":"/usr/bin/c++","CC":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","TEMP":"/tmp/lit-tmp-icqdqr_v","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","CXX":"/usr/bin/c++","ECHO":"/usr/bin/echo","SHLVL":"1","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39473","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SOURCE_DATE_EPOCH":"1699811453","TMP":"/tmp/lit-tmp-icqdqr_v","FALSE":"/usr/bin/false","TMPDIR":"/tmp/lit-tmp-icqdqr_v"}} 1: [13:08:16.221062, br, 12073] [pid: 11972] recognized. 1: [13:08:16.221390, br, 12073] compilation entries created. [size: 4] 1: [13:08:16.221421, br, 12073] compilation entries to output. [size: 4] 1: [13:08:16.222199, br, 12073] compilation entries written. [size: 4] 1: [13:08:16.222290, br, 12073] succeeded with: 0 1: [13:08:16.226824, br, 2782] Process wait request: done. [pid: 12073] 1: [13:08:16.226925, br, 2782] Running citnames finished. [Exited with 0] 1: [13:08:16.227274, br, 2782] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/duplicate_entries.sh (100 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/duplicate_entries.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json count -eq 4 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o duplicate_entries_1.o duplicate_entries_1.c 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o duplicate_entries_2.o duplicate_entries_2.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -D_FLAG=value -o duplicate_entries_3.o duplicate_entries_1.c 1: : 'RUN: at line 9'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -D_FLAG=value -o duplicate_entries_4.o duplicate_entries_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh" 1: # command stderr: 1: [13:07:33.787217, br, 2769] bear: 3.1.3 1: [13:07:33.788165, br, 2769] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh"] 1: [13:07:33.788469, br, 2769] environment: ["PATH=/build/bear/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=tmux-256color", "SOURCE_DATE_EPOCH=1699811453", "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", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v"] 1: [13:07:33.788703, br, 2769] sysname: Linux 1: [13:07:33.788919, br, 2769] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.789247, br, 2769] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.789467, br, 2769] machine: riscv64 1: [13:07:33.789806, br, 2769] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [13:07:33.796334, br, 2769] Process spawned. [pid: 2934, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh"]] 1: [13:07:33.796519, br, 2769] Process wait requested. [pid: 2934] 1: [13:07:33.943993, br, 2934] bear: 3.1.3 1: [13:07:33.944623, br, 2934] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh"] 1: [13:07:33.944863, br, 2934] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:33.945196, br, 2934] sysname: Linux 1: [13:07:33.945491, br, 2934] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:07:33.945638, br, 2934] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:07:33.945759, br, 2934] machine: riscv64 1: [13:07:33.946073, br, 2934] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [13:07:33.946781, br, 2934] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [13:07:33.983897, br, 2934] Running gRPC server. dns:///localhost:34361 1: [13:07:33.987590, br, 2934] Process spawned. [pid: 3564, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:34361", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh"]] 1: [13:07:33.987776, br, 2934] Process wait requested. [pid: 3564] 1: [13:07:34.166920, el, 3564] lib.cc; on_load 1: [13:07:34.169734, wr, 3564, ppid: 2934] wrapper: 3.1.3 1: [13:07:34.169882, wr, 3564, ppid: 2934] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:34361", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh"] 1: [13:07:34.169955, wr, 3564, ppid: 2934] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:34361", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:07:34.170320, wr, 3564, ppid: 2934] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh]}, {--destination: [dns:///localhost:34361]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [13:07:34.193295, wr, 3564, ppid: 2934] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.459310, br, 2934] trying to resolve for library: /usr/bin/sh 1: [13:07:34.461648, wr, 3564, ppid: 2934] gRPC call [Resolve] finished: true 1: [13:07:34.463694, wr, 3564, ppid: 2934] Process spawned. [pid: 5688, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh"]] 1: [13:07:34.463863, wr, 3564, ppid: 2934] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.470425, el, 5688] lib.cc; on_load 1: [13:07:34.475982, wr, 3564, ppid: 2934] gRPC call [Register] finished: true 1: [13:07:34.476358, wr, 3564, ppid: 2934] Process wait requested. [pid: 5688] 1: [13:07:34.479806, el, 5725] lib.cc; execve path: /usr/bin/touch 1: [13:07:34.600685, el, 5725] lib.cc; on_load 1: [13:07:34.602033, wr, 5725, ppid: 5688] wrapper: 3.1.3 1: [13:07:34.602324, wr, 5725, ppid: 5688] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:34361", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "duplicate_entries_1.c", "duplicate_entries_2.c"] 1: [13:07:34.602941, wr, 5725, ppid: 5688] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:34361", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/touch"] 1: [13:07:34.603272, wr, 5725, ppid: 5688] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, duplicate_entries_1.c, duplicate_entries_2.c]}, {--destination: [dns:///localhost:34361]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [13:07:34.880700, wr, 5725, ppid: 5688] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:34.890836, br, 2934] trying to resolve for library: /usr/bin/touch 1: [13:07:34.894253, wr, 5725, ppid: 5688] gRPC call [Resolve] finished: true 1: [13:07:34.896869, wr, 5725, ppid: 5688] Process spawned. [pid: 7067, command: ["touch", "duplicate_entries_1.c", "duplicate_entries_2.c"]] 1: [13:07:34.897033, wr, 5725, ppid: 5688] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.902451, wr, 5725, ppid: 5688] gRPC call [Register] finished: true 1: [13:07:34.902900, wr, 5725, ppid: 5688] Process wait requested. [pid: 7067] 1: [13:07:34.902734, el, 7067] lib.cc; on_load 1: [13:07:34.905151, wr, 5725, ppid: 5688] Process wait request: done. [pid: 7067] 1: [13:07:34.905210, wr, 5725, ppid: 5688] gRPC call requested: supervise::Interceptor::Register 1: [13:07:34.907740, wr, 5725, ppid: 5688] gRPC call [Register] finished: true 1: [13:07:34.928297, wr, 5725, ppid: 5688] succeeded with: 0 1: [13:07:34.928675, el, 5725] lib.cc; on_unload 1: [13:07:34.938935, el, 7200] lib.cc; execve path: /usr/bin/cc 1: [13:07:35.116554, el, 7200] lib.cc; on_load 1: [13:07:35.117902, wr, 7200, ppid: 5688] wrapper: 3.1.3 1: [13:07:35.118285, wr, 7200, ppid: 5688] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:34361", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_1.o"] 1: [13:07:35.118592, wr, 7200, ppid: 5688] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:34361", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:35.119158, wr, 7200, ppid: 5688] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, duplicate_entries_1.c, -o, duplicate_entries_1.o]}, {--destination: [dns:///localhost:34361]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:35.140356, wr, 7200, ppid: 5688] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.399591, br, 2934] trying to resolve for library: /usr/bin/cc 1: [13:07:35.401671, wr, 7200, ppid: 5688] gRPC call [Resolve] finished: true 1: [13:07:35.403543, wr, 7200, ppid: 5688] Process spawned. [pid: 8173, command: ["/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_1.o"]] 1: [13:07:35.403743, wr, 7200, ppid: 5688] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.408123, wr, 7200, ppid: 5688] gRPC call [Register] finished: true 1: [13:07:35.408459, wr, 7200, ppid: 5688] Process wait requested. [pid: 8173] 1: free(): invalid pointer 1: [13:07:35.412694, wr, 7200, ppid: 5688] Process wait request: done. [pid: 8173] 1: [13:07:35.412955, wr, 7200, ppid: 5688] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.415282, wr, 7200, ppid: 5688] gRPC call [Register] finished: true 1: [13:07:35.431124, wr, 7200, ppid: 5688] succeeded with: 1 1: [13:07:35.431533, el, 7200] lib.cc; on_unload 1: [13:07:35.441702, el, 8192] lib.cc; execve path: /usr/bin/cc 1: [13:07:35.563741, el, 8192] lib.cc; on_load 1: [13:07:35.564903, wr, 8192, ppid: 5688] wrapper: 3.1.3 1: [13:07:35.564996, wr, 8192, ppid: 5688] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:34361", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_2.o"] 1: [13:07:35.565091, wr, 8192, ppid: 5688] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:34361", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:35.565217, wr, 8192, ppid: 5688] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, duplicate_entries_2.c, -o, duplicate_entries_2.o]}, {--destination: [dns:///localhost:34361]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:35.839832, wr, 8192, ppid: 5688] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:35.848615, br, 2934] trying to resolve for library: /usr/bin/cc 1: [13:07:35.850343, wr, 8192, ppid: 5688] gRPC call [Resolve] finished: true 1: [13:07:35.853044, wr, 8192, ppid: 5688] Process spawned. [pid: 8936, command: ["/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_2.o"]] 1: [13:07:35.853441, wr, 8192, ppid: 5688] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.858298, wr, 8192, ppid: 5688] gRPC call [Register] finished: true 1: [13:07:35.858629, wr, 8192, ppid: 5688] Process wait requested. [pid: 8936] 1: free(): invalid pointer 1: [13:07:35.860484, wr, 8192, ppid: 5688] Process wait request: done. [pid: 8936] 1: [13:07:35.860565, wr, 8192, ppid: 5688] gRPC call requested: supervise::Interceptor::Register 1: [13:07:35.862866, wr, 8192, ppid: 5688] gRPC call [Register] finished: true 1: [13:07:35.895167, wr, 8192, ppid: 5688] succeeded with: 1 1: [13:07:35.895354, el, 8192] lib.cc; on_unload 1: [13:07:35.906313, el, 8969] lib.cc; execve path: /usr/bin/cc 1: [13:07:36.029647, el, 8969] lib.cc; on_load 1: [13:07:36.030818, wr, 8969, ppid: 5688] wrapper: 3.1.3 1: [13:07:36.030915, wr, 8969, ppid: 5688] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:34361", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_3.o", "-D_FLAG=value"] 1: [13:07:36.031010, wr, 8969, ppid: 5688] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:34361", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:36.031157, wr, 8969, ppid: 5688] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, duplicate_entries_1.c, -o, duplicate_entries_3.o, -D_FLAG=value]}, {--destination: [dns:///localhost:34361]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:36.052962, wr, 8969, ppid: 5688] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:36.317334, br, 2934] trying to resolve for library: /usr/bin/cc 1: [13:07:36.319331, wr, 8969, ppid: 5688] gRPC call [Resolve] finished: true 1: [13:07:36.321256, wr, 8969, ppid: 5688] Process spawned. [pid: 9704, command: ["/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_3.o", "-D_FLAG=value"]] 1: [13:07:36.321426, wr, 8969, ppid: 5688] gRPC call requested: supervise::Interceptor::Register 1: [13:07:36.325843, wr, 8969, ppid: 5688] gRPC call [Register] finished: true 1: [13:07:36.326276, wr, 8969, ppid: 5688] Process wait requested. [pid: 9704] 1: free(): invalid pointer 1: [13:07:41.141758, wr, 8969, ppid: 5688] Process wait request: done. [pid: 9704] 1: [13:07:41.141838, wr, 8969, ppid: 5688] gRPC call requested: supervise::Interceptor::Register 1: [13:07:41.143875, wr, 8969, ppid: 5688] gRPC call [Register] finished: true 1: [13:07:41.155547, wr, 8969, ppid: 5688] succeeded with: 1 1: [13:07:41.155677, el, 8969] lib.cc; on_unload 1: [13:07:41.163805, el, 11318] lib.cc; execve path: /usr/bin/cc 1: [13:07:41.244728, el, 11318] lib.cc; on_load 1: [13:07:41.245574, wr, 11318, ppid: 5688] wrapper: 3.1.3 1: [13:07:41.245647, wr, 11318, ppid: 5688] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:34361", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_4.o", "-D_FLAG=value"] 1: [13:07:41.245754, wr, 11318, ppid: 5688] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:34361", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:41.245866, wr, 11318, ppid: 5688] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, duplicate_entries_2.c, -o, duplicate_entries_4.o, -D_FLAG=value]}, {--destination: [dns:///localhost:34361]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:41.259485, wr, 11318, ppid: 5688] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:41.522437, br, 2934] trying to resolve for library: /usr/bin/cc 1: [13:07:41.523985, wr, 11318, ppid: 5688] gRPC call [Resolve] finished: true 1: [13:07:41.525378, wr, 11318, ppid: 5688] Process spawned. [pid: 11354, command: ["/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_4.o", "-D_FLAG=value"]] 1: [13:07:41.525501, wr, 11318, ppid: 5688] gRPC call requested: supervise::Interceptor::Register 1: [13:07:41.528836, wr, 11318, ppid: 5688] gRPC call [Register] finished: true 1: [13:07:41.529088, wr, 11318, ppid: 5688] Process wait requested. [pid: 11354] 1: free(): invalid pointer 1: [13:07:56.717677, wr, 11318, ppid: 5688] Process wait request: done. [pid: 11354] 1: [13:07:56.717756, wr, 11318, ppid: 5688] gRPC call requested: supervise::Interceptor::Register 1: [13:07:56.720131, wr, 11318, ppid: 5688] gRPC call [Register] finished: true 1: [13:07:56.728841, wr, 11318, ppid: 5688] succeeded with: 1 1: [13:07:56.728970, el, 11318] lib.cc; on_unload 1: [13:07:56.736244, el, 11636] lib.cc; execve path: /usr/bin/cc 1: [13:07:56.815571, el, 11636] lib.cc; on_load 1: [13:07:56.816423, wr, 11636, ppid: 5688] wrapper: 3.1.3 1: [13:07:56.816493, wr, 11636, ppid: 5688] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:34361", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_1.o"] 1: [13:07:56.816581, wr, 11636, ppid: 5688] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:34361", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:07:56.816672, wr, 11636, ppid: 5688] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, duplicate_entries_1.c, -o, duplicate_entries_1.o]}, {--destination: [dns:///localhost:34361]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:07:56.828664, wr, 11636, ppid: 5688] gRPC call requested: supervise::Supervisor::Resolve 1: [13:07:57.091005, br, 2934] trying to resolve for library: /usr/bin/cc 1: [13:07:57.092305, wr, 11636, ppid: 5688] gRPC call [Resolve] finished: true 1: [13:07:57.093621, wr, 11636, ppid: 5688] Process spawned. [pid: 11719, command: ["/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_1.o"]] 1: [13:07:57.093736, wr, 11636, ppid: 5688] gRPC call requested: supervise::Interceptor::Register 1: [13:07:57.096981, wr, 11636, ppid: 5688] gRPC call [Register] finished: true 1: [13:07:57.097219, wr, 11636, ppid: 5688] Process wait requested. [pid: 11719] 1: free(): invalid pointer 1: [13:08:06.975164, wr, 11636, ppid: 5688] Process wait request: done. [pid: 11719] 1: [13:08:06.975239, wr, 11636, ppid: 5688] gRPC call requested: supervise::Interceptor::Register 1: [13:08:06.977650, wr, 11636, ppid: 5688] gRPC call [Register] finished: true 1: [13:08:06.987984, wr, 11636, ppid: 5688] succeeded with: 1 1: [13:08:06.988099, el, 11636] lib.cc; on_unload 1: [13:08:06.995503, el, 11945] lib.cc; execve path: /usr/bin/cc 1: [13:08:07.074855, el, 11945] lib.cc; on_load 1: [13:08:07.075669, wr, 11945, ppid: 5688] wrapper: 3.1.3 1: [13:08:07.075737, wr, 11945, ppid: 5688] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:34361", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_2.o"] 1: [13:08:07.075827, wr, 11945, ppid: 5688] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:34361", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:08:07.075981, wr, 11945, ppid: 5688] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, duplicate_entries_2.c, -o, duplicate_entries_2.o]}, {--destination: [dns:///localhost:34361]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:08:07.087558, wr, 11945, ppid: 5688] gRPC call requested: supervise::Supervisor::Resolve 1: [13:08:07.349885, br, 2934] trying to resolve for library: /usr/bin/cc 1: [13:08:07.351329, wr, 11945, ppid: 5688] gRPC call [Resolve] finished: true 1: [13:08:07.352665, wr, 11945, ppid: 5688] Process spawned. [pid: 11974, command: ["/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_2.o"]] 1: [13:08:07.352793, wr, 11945, ppid: 5688] gRPC call requested: supervise::Interceptor::Register 1: [13:08:07.356010, wr, 11945, ppid: 5688] gRPC call [Register] finished: true 1: [13:08:07.356257, wr, 11945, ppid: 5688] Process wait requested. [pid: 11974] 1: free(): invalid pointer 1: [13:08:16.204578, wr, 11945, ppid: 5688] Process wait request: done. [pid: 11974] 1: [13:08:16.204652, wr, 11945, ppid: 5688] gRPC call requested: supervise::Interceptor::Register 1: [13:08:16.206862, wr, 11945, ppid: 5688] gRPC call [Register] finished: true 1: [13:08:16.215439, wr, 11945, ppid: 5688] succeeded with: 1 1: [13:08:16.215560, el, 11945] lib.cc; on_unload 1: [13:08:16.222707, el, 12075] lib.cc; execve path: /usr/bin/cc 1: [13:08:16.300168, el, 12075] lib.cc; on_load 1: [13:08:16.300957, wr, 12075, ppid: 5688] wrapper: 3.1.3 1: [13:08:16.301033, wr, 12075, ppid: 5688] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:34361", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_3.o", "-D_FLAG=value"] 1: [13:08:16.301118, wr, 12075, ppid: 5688] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:34361", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:08:16.301214, wr, 12075, ppid: 5688] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, duplicate_entries_1.c, -o, duplicate_entries_3.o, -D_FLAG=value]}, {--destination: [dns:///localhost:34361]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:08:16.313347, wr, 12075, ppid: 5688] gRPC call requested: supervise::Supervisor::Resolve 1: [13:08:16.576101, br, 2934] trying to resolve for library: /usr/bin/cc 1: [13:08:16.577576, wr, 12075, ppid: 5688] gRPC call [Resolve] finished: true 1: [13:08:16.578917, wr, 12075, ppid: 5688] Process spawned. [pid: 12097, command: ["/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_3.o", "-D_FLAG=value"]] 1: [13:08:16.579038, wr, 12075, ppid: 5688] gRPC call requested: supervise::Interceptor::Register 1: [13:08:16.582316, wr, 12075, ppid: 5688] gRPC call [Register] finished: true 1: [13:08:16.582615, wr, 12075, ppid: 5688] Process wait requested. [pid: 12097] 1: free(): invalid pointer 1: [13:08:22.690421, wr, 12075, ppid: 5688] Process wait request: done. [pid: 12097] 1: [13:08:22.690496, wr, 12075, ppid: 5688] gRPC call requested: supervise::Interceptor::Register 1: [13:08:22.692894, wr, 12075, ppid: 5688] gRPC call [Register] finished: true 1: [13:08:22.702448, wr, 12075, ppid: 5688] succeeded with: 1 1: [13:08:22.702622, el, 12075] lib.cc; on_unload 1: [13:08:22.710363, el, 12100] lib.cc; execve path: /usr/bin/cc 1: [13:08:22.790293, el, 12100] lib.cc; on_load 1: [13:08:22.791163, wr, 12100, ppid: 5688] wrapper: 3.1.3 1: [13:08:22.791242, wr, 12100, ppid: 5688] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:34361", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_4.o", "-D_FLAG=value"] 1: [13:08:22.791335, wr, 12100, ppid: 5688] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:34361", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1699811453", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-icqdqr_v", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-icqdqr_v", "PATH=/build/bear/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", "_=/usr/bin/cc"] 1: [13:08:22.791444, wr, 12100, ppid: 5688] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, duplicate_entries_2.c, -o, duplicate_entries_4.o, -D_FLAG=value]}, {--destination: [dns:///localhost:34361]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [13:08:22.805379, wr, 12100, ppid: 5688] gRPC call requested: supervise::Supervisor::Resolve 1: [13:08:23.067698, br, 2934] trying to resolve for library: /usr/bin/cc 1: [13:08:23.069106, wr, 12100, ppid: 5688] gRPC call [Resolve] finished: true 1: [13:08:23.096953, wr, 12100, ppid: 5688] Process spawned. [pid: 12122, command: ["/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_4.o", "-D_FLAG=value"]] 1: [13:08:23.097075, wr, 12100, ppid: 5688] gRPC call requested: supervise::Interceptor::Register 1: [13:08:23.100565, wr, 12100, ppid: 5688] gRPC call [Register] finished: true 1: [13:08:23.100815, wr, 12100, ppid: 5688] Process wait requested. [pid: 12122] 1: free(): invalid pointer 1: [13:08:25.312034, wr, 12100, ppid: 5688] Process wait request: done. [pid: 12122] 1: [13:08:25.312106, wr, 12100, ppid: 5688] gRPC call requested: supervise::Interceptor::Register 1: [13:08:25.313974, wr, 12100, ppid: 5688] gRPC call [Register] finished: true 1: [13:08:25.321980, wr, 12100, ppid: 5688] succeeded with: 1 1: [13:08:25.322102, el, 12100] lib.cc; on_unload 1: [13:08:25.328400, el, 5688] lib.cc; on_unload 1: [13:08:25.330028, wr, 3564, ppid: 2934] Process wait request: done. [pid: 5688] 1: [13:08:25.330112, wr, 3564, ppid: 2934] gRPC call requested: supervise::Interceptor::Register 1: [13:08:25.332263, wr, 3564, ppid: 2934] gRPC call [Register] finished: true 1: [13:08:25.342594, wr, 3564, ppid: 2934] succeeded with: 1 1: [13:08:25.342711, el, 3564] lib.cc; on_unload 1: [13:08:25.348621, br, 2934] Process wait request: done. [pid: 3564] 1: [13:08:25.348755, br, 2934] Running command. [Exited with 1] 1: [13:08:25.348787, br, 2934] Stopping gRPC server. 1: [13:08:25.359541, br, 2934] succeeded with: 1 1: [13:08:25.366237, br, 2769] Process wait request: done. [pid: 2934] 1: [13:08:25.366355, br, 2769] Running intercept finished. [Exited with 1] 1: [13:08:25.367284, br, 2769] Process spawned. [pid: 12126, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json", "--run-checks", "--verbose"]] 1: [13:08:25.367407, br, 2769] Process wait requested. [pid: 12126] 1: [13:08:25.454659, br, 12126] bear: 3.1.3 1: [13:08:25.454947, br, 12126] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json", "--run-checks", "--verbose"] 1: [13:08:25.455000, br, 12126] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1699811453", "TEMP=/tmp/lit-tmp-icqdqr_v", "TEMPDIR=/tmp/lit-tmp-icqdqr_v", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-icqdqr_v", "TMPDIR=/tmp/lit-tmp-icqdqr_v", "TRUE=/usr/bin/true"] 1: [13:08:25.455030, br, 12126] sysname: Linux 1: [13:08:25.455040, br, 12126] release: 6.1.42-1-sophgo-05620-gf3e0e4527b17 1: [13:08:25.455047, br, 12126] version: #1 SMP Wed, 16 Aug 2023 11:11:48 +0000 1: [13:08:25.455053, br, 12126] machine: riscv64 1: [13:08:25.455144, br, 12126] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [13:08:25.455595, br, 12126] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [13:08:25.461339, br, 12126] [pid: 5688] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SOURCE_DATE_EPOCH":"1699811453","CC":"/usr/bin/cc","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:34361","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","ECHO":"/usr/bin/echo"}} 1: [13:08:25.462694, br, 12126] [pid: 5688] recognition failed: No tools recognize this execution. 1: [13:08:25.463525, br, 12126] [pid: 7067] execution: {"executable":"/usr/bin/touch","arguments":["touch","duplicate_entries_1.c","duplicate_entries_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/touch","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SOURCE_DATE_EPOCH":"1699811453","CC":"/usr/bin/cc","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:34361","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SHLVL":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","ECHO":"/usr/bin/echo"}} 1: [13:08:25.463596, br, 12126] [pid: 7067] recognition failed: No tools recognize this execution. 1: [13:08:25.464354, br, 12126] [pid: 8173] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","duplicate_entries_1.c","-o","duplicate_entries_1.o"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SOURCE_DATE_EPOCH":"1699811453","CC":"/usr/bin/cc","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:34361","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SHLVL":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","ECHO":"/usr/bin/echo"}} 1: [13:08:25.464501, br, 12126] [pid: 8173] recognized. 1: [13:08:25.465463, br, 12126] [pid: 8936] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","duplicate_entries_2.c","-o","duplicate_entries_2.o"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SOURCE_DATE_EPOCH":"1699811453","CC":"/usr/bin/cc","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:34361","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SHLVL":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","ECHO":"/usr/bin/echo"}} 1: [13:08:25.465540, br, 12126] [pid: 8936] recognized. 1: [13:08:25.466540, br, 12126] [pid: 9704] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","duplicate_entries_1.c","-o","duplicate_entries_3.o","-D_FLAG=value"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SOURCE_DATE_EPOCH":"1699811453","CC":"/usr/bin/cc","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:34361","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SHLVL":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","ECHO":"/usr/bin/echo"}} 1: [13:08:25.466639, br, 12126] [pid: 9704] recognized. 1: [13:08:25.467560, br, 12126] [pid: 11354] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","duplicate_entries_2.c","-o","duplicate_entries_4.o","-D_FLAG=value"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SOURCE_DATE_EPOCH":"1699811453","CC":"/usr/bin/cc","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:34361","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SHLVL":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","ECHO":"/usr/bin/echo"}} 1: [13:08:25.467645, br, 12126] [pid: 11354] recognized. 1: [13:08:25.468545, br, 12126] [pid: 11719] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","duplicate_entries_1.c","-o","duplicate_entries_1.o"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SOURCE_DATE_EPOCH":"1699811453","CC":"/usr/bin/cc","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:34361","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SHLVL":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","ECHO":"/usr/bin/echo"}} 1: [13:08:25.468621, br, 12126] [pid: 11719] recognized. 1: [13:08:25.469665, br, 12126] [pid: 11974] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","duplicate_entries_2.c","-o","duplicate_entries_2.o"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SOURCE_DATE_EPOCH":"1699811453","CC":"/usr/bin/cc","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:34361","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SHLVL":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","ECHO":"/usr/bin/echo"}} 1: [13:08:25.469751, br, 12126] [pid: 11974] recognized. 1: [13:08:25.470634, br, 12126] [pid: 12097] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","duplicate_entries_1.c","-o","duplicate_entries_3.o","-D_FLAG=value"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SOURCE_DATE_EPOCH":"1699811453","CC":"/usr/bin/cc","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:34361","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SHLVL":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","ECHO":"/usr/bin/echo"}} 1: [13:08:25.470716, br, 12126] [pid: 12097] recognized. 1: [13:08:25.471645, br, 12126] [pid: 12122] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","duplicate_entries_2.c","-o","duplicate_entries_4.o","-D_FLAG=value"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-icqdqr_v","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-icqdqr_v","SOURCE_DATE_EPOCH":"1699811453","CC":"/usr/bin/cc","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-icqdqr_v","CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","TMP":"/tmp/lit-tmp-icqdqr_v","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:34361","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SHLVL":"1","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","ECHO":"/usr/bin/echo"}} 1: [13:08:25.471739, br, 12126] [pid: 12122] recognized. 1: [13:08:25.472148, br, 12126] compilation entries created. [size: 8] 1: [13:08:25.472187, br, 12126] compilation entries to output. [size: 8] 1: [13:08:25.473087, br, 12126] compilation entries written. [size: 4] 1: [13:08:25.473201, br, 12126] succeeded with: 0 1: [13:08:25.477601, br, 2769] Process wait request: done. [pid: 12126] 1: [13:08:25.477714, br, 2769] Running citnames finished. [Exited with 0] 1: [13:08:25.478122, br, 2769] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: ******************** 1: Failed Tests (20): 1: bear :: cases/compilation/output/assembly_sources.mk 1: bear :: cases/compilation/output/bug439.mk 1: bear :: cases/compilation/output/config/filter_compilers.sh 1: bear :: cases/compilation/output/config/filter_flags_on_known_compiler.sh 1: bear :: cases/compilation/output/config/filter_sources.sh 1: bear :: cases/compilation/output/config/filter_sources_relative.sh 1: bear :: cases/compilation/output/define_with_escaped_quote.sh 1: bear :: cases/compilation/output/define_with_quote.sh 1: bear :: cases/compilation/output/duplicate_entries.sh 1: bear :: cases/compilation/output/empty_env.sh 1: bear :: cases/compilation/output/existing_files_only.sh 1: bear :: cases/compilation/output/flag/field_output.sh 1: bear :: cases/compilation/output/flag/use_cc.sh 1: bear :: cases/compilation/output/flag/use_cxx.sh 1: bear :: cases/compilation/output/flags_filtered_link.sh 1: bear :: cases/compilation/output/flags_filtered_preproc.sh 1: bear :: cases/compilation/output/multiple_source_build.sh 1: bear :: cases/compilation/output/successful_build.sh 1: bear :: cases/compilation/output/wrapper.sh 1: bear :: cases/intercept/preload/libtool_commands_captured.sh 1: 1: 1: Testing Time: 52.44s 1: Unsupported : 7 1: Passed : 67 1: Expectedly Failed: 6 1: Failed : 20 1/1 Test #1: bear::func_test ..................***Failed 53.24 sec 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 53.26 sec The following tests FAILED: 1 - bear::func_test (Failed) Errors while running CTest Output from these tests are in: /build/bear/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 /var/lib/archbuild/extra-riscv64/root28/build receiving incremental file list bear-3.1.3-4-riscv64-build.log bear-3.1.3-4-riscv64-prepare.log sent 62 bytes received 62,207 bytes 124,538.00 bytes/sec total size is 714,283 speedup is 11.47