==> Building on v ==> Attempt to run pkgver()... ==> Making package: bear 3.0.20-2 (Tue 04 Oct 2022 11:13:28 AM EEST) ==> Checking runtime dependencies... ==> Missing dependencies:  -> grpc  -> libgrpc++.so  -> nlohmann-json ==> Checking buildtime dependencies... ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 1,102 100% 0.00kB/s 0:00:00 1,102 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) bear-3.0.20-2.log 617 100% 602.54kB/s 0:00:00 617 100% 602.54kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 929 bytes received 75 bytes 2,008.00 bytes/sec total size is 1,707 speedup is 1.70 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix3 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community 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] -> [felix3]...done ==> Making package: bear 3.0.20-2 (Tue Oct 4 16:14:19 2022) ==> Retrieving sources...  -> Updating bear git repo... remote: Enumerating objects: 12, done. remote: Counting objects: 8% (1/12) remote: Counting objects: 16% (2/12) remote: Counting objects: 25% (3/12) remote: Counting objects: 33% (4/12) remote: Counting objects: 41% (5/12) remote: Counting objects: 50% (6/12) remote: Counting objects: 58% (7/12) remote: Counting objects: 66% (8/12) remote: Counting objects: 75% (9/12) remote: Counting objects: 83% (10/12) remote: Counting objects: 91% (11/12) remote: Counting objects: 100% (12/12) remote: Counting objects: 100% (12/12), done. remote: Compressing objects: 10% (1/10) remote: Compressing objects: 20% (2/10) remote: Compressing objects: 30% (3/10) remote: Compressing objects: 40% (4/10) remote: Compressing objects: 50% (5/10) remote: Compressing objects: 60% (6/10) remote: Compressing objects: 70% (7/10) remote: Compressing objects: 80% (8/10) remote: Compressing objects: 90% (9/10) remote: Compressing objects: 100% (10/10) remote: Compressing objects: 100% (10/10), done. remote: Total 12 (delta 5), reused 2 (delta 2), pack-reused 0 Unpacking objects: 8% (1/12) Unpacking objects: 16% (2/12) Unpacking objects: 25% (3/12) Unpacking objects: 33% (4/12) Unpacking objects: 41% (5/12) Unpacking objects: 50% (6/12) Unpacking objects: 58% (7/12) Unpacking objects: 66% (8/12) Unpacking objects: 75% (9/12) Unpacking objects: 83% (10/12) Unpacking objects: 91% (11/12) Unpacking objects: 100% (12/12) Unpacking objects: 100% (12/12), 5.33 KiB | 287.00 KiB/s, done. From https://github.com/rizsotto/Bear b83c3e6..bf5449e master -> master + eca4074...6bb0555 refs/pull/376/merge -> refs/pull/376/merge (forced update) + a04b65e...9397bc3 refs/pull/455/merge -> refs/pull/455/merge (forced update) * [new ref] refs/pull/480/head -> refs/pull/480/head * [new ref] refs/pull/482/head -> refs/pull/482/head ==> Validating source files with b2sums... bear ... Skipped ==> Making package: bear 3.0.20-2 (Tue Oct 4 16:15:01 2022) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (8) New Version Net Change Download Size community/abseil-cpp 20220623.1-1 4.60 MiB 0.93 MiB extra/c-ares 1.18.1-1 0.43 MiB extra/fmt 9.1.0-1 1.76 MiB 0.44 MiB community/grpc 1.48.0-1.1 11.85 MiB 3.07 MiB community/nlohmann-json 3.11.2-1 0.98 MiB 0.14 MiB extra/protobuf 21.7-1 7.69 MiB 1.90 MiB extra/re2 1:20220601-1 0.32 MiB community/spdlog 1.10.0-3 0.63 MiB 0.17 MiB Total Download Size: 6.65 MiB Total Installed Size: 28.25 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... grpc-1.48.0-1.1-riscv64 downloading... protobuf-21.7-1-riscv64 downloading... abseil-cpp-20220623.1-1-riscv64 downloading... fmt-9.1.0-1-riscv64 downloading... spdlog-1.10.0-3-riscv64 downloading... nlohmann-json-3.11.2-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing c-ares... installing protobuf... installing re2... installing abseil-cpp... installing grpc... installing fmt... installing spdlog... installing nlohmann-json... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (15) New Version Net Change extra/hicolor-icon-theme 0.17-2 0.05 MiB extra/jsoncpp 1.9.5-2 1.24 MiB core/libedit 20210910_3.1-1 0.23 MiB core/libnsl 2.0.0-2 0.06 MiB extra/libuv 1.44.2-1 0.52 MiB extra/llvm-libs 14.0.6-3 92.66 MiB extra/perl-error 0.17029-4 0.04 MiB extra/perl-mailtools 2.21-6 0.11 MiB extra/perl-timedate 2.33-4 0.08 MiB extra/rhash 1.4.2-1 0.31 MiB extra/cmake 3.24.2-1 57.80 MiB extra/git 2.37.3-1 30.56 MiB community/gtest 1.12.1-1 1.98 MiB extra/llvm 14.0.6-3 495.15 MiB core/python 3.10.7-1 80.86 MiB Total Installed Size: 761.64 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 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 cmake... Optional dependencies for cmake qt6-base: cmake-gui installing gtest... Optional dependencies for gtest python: gmock generator [pending] installing python... Optional dependencies for python python-setuptools python-pip sqlite [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 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- 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.0") -- Checking for modules 'protobuf>=3.11;grpc++>=1.26' -- Found protobuf, version 3.21.7.0 -- Found grpc++, version 1.48.0 -- 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.12.1 -- Found gtest_main, version 1.12.1 -- Found gmock, version 1.12.1 -- Looking for GTest dependency -- found -- Configuring done -- Generating done -- Build files have been written to: /build/bear/src/build ==> Starting pkgver()... ==> Starting build()... [ 0%] Built target fmt_dependency [ 0%] Built target spdlog_dependency [ 0%] Built target googletest_dependency [ 0%] Built target nlohmann_json_dependency [ 0%] Built target grpc_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 12.2.0 -- The CXX compiler identification is GNU 12.2.0 -- 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.0") -- Checking for modules 'gtest;gtest_main;gmock' -- Found gtest, version 1.12.1 -- Found gtest_main, version 1.12.1 -- Found gmock, version 1.12.1 -- 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 3.21.7.0 -- Found grpc++, version 1.48.0 -- 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 -- Generating done -- Build files have been written to: /build/bear/src/build/subprojects/Build/BearSource [ 33%] Performing build step for 'BearSource' [ 1%] Building CXX object libflags/CMakeFiles/flags_a.dir/source/Flags.cc.o [ 2%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Os.cc.o [ 3%] Building CXX object libshell/CMakeFiles/shell_a.dir/source/Command.cc.o [ 4%] Building CXX object libresult/CMakeFiles/result_unit_test.dir/test/ResultTest.cc.o [ 5%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Guard.cc.o [ 6%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Errors.cc.o [ 8%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Path.cc.o [ 8%] Built target flags_a [ 9%] Generating supervise.pb.h, supervise.grpc.pb.h, supervise.pb.cc, supervise.grpc.pb.cc [ 10%] Generating intercept.pb.h, intercept.grpc.pb.h, intercept.pb.cc, intercept.grpc.pb.cc [ 11%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/supervise.pb.cc.o [ 12%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Process.cc.o [ 13%] Linking CXX executable result_unit_test [ 13%] Built target result_unit_test [ 15%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Signal.cc.o [ 16%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Buffer.cc.o [ 17%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Environment.cc.o [ 18%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Executor.cc.o [ 19%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Linker.cc.o [ 19%] Built target shell_a [ 20%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Logger.cc.o [ 22%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Paths.cc.o [ 23%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Resolver.cc.o [ 24%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Session.cc.o [ 25%] Building CXX object libflags/CMakeFiles/flags_unit_test.dir/test/FlagsTest.cc.o [ 25%] Built target exec_a [ 26%] Building CXX object libshell/CMakeFiles/shell_unit_test.dir/test/CommandTest.cc.o [ 27%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/supervise.grpc.pb.cc.o [ 29%] Linking CXX executable shell_unit_test [ 29%] Built target shell_unit_test [ 30%] Building CXX object libmain/CMakeFiles/main_a.dir/source/ApplicationLogConfig.cc.o [ 31%] Linking CXX executable flags_unit_test [ 31%] Built target flags_unit_test [ 32%] Building CXX object intercept/CMakeFiles/exec.dir/source/report/libexec/lib.cc.o [ 32%] Built target sys_a [ 33%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/ArrayTest.cc.o [ 34%] Building CXX object intercept/CMakeFiles/exec.dir/source/report/libexec/std.cc.o [ 36%] Linking C shared library libexec.so [ 36%] Built target exec [ 37%] Building CXX object citnames/CMakeFiles/citnames_json_a.dir/source/Configuration.cc.o [ 38%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/intercept.pb.cc.o [ 39%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/BufferTest.cc.o [ 40%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/ExecutorTest.cc.o [ 41%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/intercept.grpc.pb.cc.o [ 43%] Building CXX object libmain/CMakeFiles/main_a.dir/source/ApplicationFromArgs.cc.o [ 43%] Built target rpc_a [ 44%] Building CXX object citnames/CMakeFiles/citnames_json_a.dir/source/Output.cc.o [ 45%] Building CXX object libsys/CMakeFiles/sys_unit_test.dir/test/EnvironmentTest.cc.o [ 45%] Built target main_a [ 46%] Building CXX object intercept/CMakeFiles/domain_a.dir/source/Domain.cc.o [ 47%] Building CXX object libsys/CMakeFiles/sys_unit_test.dir/test/ErrorsTest.cc.o [ 48%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/PathsTest.cc.o [ 50%] Building CXX object intercept/CMakeFiles/domain_a.dir/source/Convert.cc.o [ 51%] Building CXX object libsys/CMakeFiles/sys_unit_test.dir/test/PathTest.cc.o [ 52%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/SessionTest.cc.o [ 52%] Built target domain_a [ 53%] Building CXX object intercept/CMakeFiles/events_db_a.dir/source/collect/db/EventsDatabaseReader.cc.o [ 54%] Linking CXX executable sys_unit_test [ 55%] Linking CXX executable exec_unit_test [ 55%] Built target sys_unit_test [ 56%] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/EventFactory.cc.o [ 56%] Built target exec_unit_test [ 58%] Building CXX object bear/CMakeFiles/bear.dir/main.cc.o [ 59%] Building CXX object intercept/CMakeFiles/events_db_a.dir/source/collect/db/EventsDatabaseWriter.cc.o [ 60%] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/EventReporter.cc.o [ 60%] Built target events_db_a [ 61%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/SessionLibrary.cc.o [ 61%] Built target citnames_json_a [ 62%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Application.cc.o [ 63%] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/RpcClients.cc.o [ 65%] Linking CXX executable bear [ 65%] Built target bear [ 66%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/Application.cc.o [ 67%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Reporter.cc.o [ 68%] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/Application.cc.o [ 69%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/RpcServices.cc.o [ 70%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Session.cc.o [ 72%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/SessionWrapper.cc.o [ 73%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Build.cc.o [ 73%] Built target wrapper_a [ 74%] Building CXX object intercept/CMakeFiles/wrapper.dir/source/report/wrapper/main.cc.o [ 75%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Parsers.cc.o [ 76%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Semantic.cc.o [ 76%] Built target intercept_a [ 77%] Building CXX object intercept/CMakeFiles/intercept.dir/source/collect/main.cc.o [ 79%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolAny.cc.o [ 80%] Linking CXX executable wrapper [ 81%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolClang.cc.o [ 81%] Built target wrapper [ 82%] Building CXX object intercept/CMakeFiles/intercept_unit_test.dir/test/EventFactoryTest.cc.o [ 83%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolCuda.cc.o [ 84%] Building CXX object intercept/CMakeFiles/intercept_unit_test.dir/test/SessionTest.cc.o [ 86%] Linking CXX executable intercept [ 86%] Built target intercept [ 87%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolGcc.cc.o [ 88%] Linking CXX executable intercept_unit_test [ 89%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolWrapper.cc.o [ 89%] Built target intercept_unit_test [ 90%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolExtendingWrapper.cc.o [ 90%] Built target citnames_a [ 91%] Building CXX object citnames/CMakeFiles/citnames.dir/main.cc.o [ 93%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/ParserTest.cc.o [ 94%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/OutputTest.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/ToolGccTest.cc.o [ 97%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/ToolWrapperTest.cc.o [ 98%] Linking CXX executable citnames [ 98%] Built target citnames [100%] Linking CXX executable citnames_unit_test [100%] Built target citnames_unit_test [ 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.12 sec Start 4: bear::sys_unit_test 4/7 Test #4: bear::sys_unit_test .............. Passed 0.03 sec Start 5: bear::exec_unit_test 5/7 Test #5: bear::exec_unit_test ............. Passed 0.03 sec Start 6: bear::intercept_unit_test 6/7 Test #6: bear::intercept_unit_test ........ Passed 0.16 sec Start 7: bear::citnames_unit_test 7/7 Test #7: bear::citnames_unit_test ......... Passed 0.22 sec 100% tests passed, 0 tests failed out of 7 Total Test time (real) = 0.63 sec [ 44%] Performing install step for 'BearSource' Consolidate compiler generated dependencies of target result_unit_test Consolidate compiler generated dependencies of target flags_a Consolidate compiler generated dependencies of target shell_a Consolidate compiler generated dependencies of target sys_a [ 2%] Built target result_unit_test [ 3%] Built target flags_a [ 4%] Built target shell_a [ 11%] Built target sys_a Consolidate compiler generated dependencies of target exec_a Consolidate compiler generated dependencies of target flags_unit_test Consolidate compiler generated dependencies of target rpc_a Consolidate compiler generated dependencies of target shell_unit_test [ 20%] Built target exec_a [ 27%] Built target rpc_a [ 30%] Built target flags_unit_test [ 32%] Built target shell_unit_test Consolidate compiler generated dependencies of target sys_unit_test Consolidate compiler generated dependencies of target domain_a Consolidate compiler generated dependencies of target main_a Consolidate compiler generated dependencies of target events_db_a [ 37%] Built target sys_unit_test [ 39%] Built target main_a [ 41%] Built target domain_a Consolidate compiler generated dependencies of target exec [ 44%] Built target events_db_a Consolidate compiler generated dependencies of target citnames_json_a [ 47%] Built target exec Consolidate compiler generated dependencies of target bear Consolidate compiler generated dependencies of target exec_unit_test [ 50%] Built target citnames_json_a [ 52%] Built target bear [ 59%] Built target exec_unit_test Consolidate compiler generated dependencies of target intercept_a Consolidate compiler generated dependencies of target wrapper_a [ 66%] Built target intercept_a Consolidate compiler generated dependencies of target citnames_a [ 70%] Built target wrapper_a Consolidate compiler generated dependencies of target intercept Consolidate compiler generated dependencies of target intercept_unit_test Consolidate compiler generated dependencies of target wrapper [ 82%] Built target citnames_a [ 84%] Built target intercept [ 88%] Built target intercept_unit_test Consolidate compiler generated dependencies of target citnames [ 90%] Built target wrapper Consolidate compiler generated dependencies of target citnames_unit_test [ 93%] Built target citnames [100%] Built target citnames_unit_test Install the project... -- Install configuration: "Release" -- Installing: /build/bear/src/build/stage/bin/intercept -- Installing: /build/bear/src/build/stage/share/man/man1/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/bin/citnames -- Installing: /build/bear/src/build/stage/share/man/man1/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 12.2.0 -- 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 -- Generating done -- 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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'), ('%{intercept}', '/build/bear/src/build/stage/bin/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/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': '1664871248', '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', 'libtool', 'dynamic-shell', 'make', 'fakeroot', 'preload', 'dynamic-make'} 1: -- Testing: 100 tests, 4 workers -- 1: UNSUPPORTED: bear :: cases/citnames/exit_code/exit_code_for_success.sh (1 of 100) 1: XFAIL: bear :: cases/citnames/exit_code/exit_code_for_fail.sh (2 of 100) 1: PASS: bear :: cases/citnames/exit_code/exit_code_for_help.sh (3 of 100) 1: PASS: bear :: cases/citnames/output/clang_plugin.sh (4 of 100) 1: XFAIL: bear :: cases/compilation/exit_code/exit_code_for_empty.sh (5 of 100) 1: PASS: bear :: cases/citnames/output/wrapper_flags_extended.sh (6 of 100) 1: PASS: bear :: cases/compilation/exit_code/exit_code_for_help.sh (7 of 100) 1: PASS: bear :: cases/citnames/output/relative_paths_converted.sh (8 of 100) 1: XFAIL: bear :: cases/compilation/exit_code/exit_code_for_fail.sh (9 of 100) 1: FAIL: bear :: cases/compilation/exit_code/exit_code_for_success.sh (10 of 100) 1: ******************** TEST 'bear :: cases/compilation/exit_code/exit_code_for_success.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/bear --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/exit_code/Output/exit_code_for_success.sh.tmp.json -- /usr/bin/true 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/bear" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/exit_code/Output/exit_code_for_success.sh.tmp.json" "--" "/usr/bin/true" 1: # command stderr: 1: [16:45:00.566261, br, 2906] bear: 3.0.20 1: [16:45:00.573571, br, 2906] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/exit_code/Output/exit_code_for_success.sh.tmp.json", "--", "/usr/bin/true"] 1: [16:45:00.573963, 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:00.574140, br, 2906] sysname: Linux 1: [16:45:00.574277, br, 2906] release: 5.19.9-arch1-1 1: [16:45:00.574406, br, 2906] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:00.574529, br, 2906] machine: riscv64 1: [16:45:00.574787, br, 2906] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/true]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/exit_code/Output/exit_code_for_success.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: [16:45:00.584082, br, 2906] Process spawned. [pid: 2907, command: ["/build/bear/src/build/stage/bin/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/exit_code/Output/exit_code_for_success.sh.tmp.events.json", "--verbose", "--", "/usr/bin/true"]] 1: [16:45:00.584280, br, 2906] Process wait requested. [pid: 2907] 1: [16:45:00.886328, ic, 2907] intercept: 3.0.20 1: [16:45:00.910644, ic, 2907] arguments: ["/build/bear/src/build/stage/bin/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/exit_code/Output/exit_code_for_success.sh.tmp.events.json", "--verbose", "--", "/usr/bin/true"] 1: [16:45:00.910891, ic, 2907] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:00.911073, ic, 2907] sysname: Linux 1: [16:45:00.911207, ic, 2907] release: 5.19.9-arch1-1 1: [16:45:00.911331, ic, 2907] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:00.911456, ic, 2907] machine: riscv64 1: [16:45:00.911776, ic, 2907] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/true]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/exit_code/Output/exit_code_for_success.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]}]} 1: [16:45:00.912421, ic, 2907] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:01.387064, br, 2906] Process wait request: done. [pid: 2907] 1: [16:45:01.387270, br, 2906] Running intercept finished. [Exited with 1] 1: [16:45:01.389360, br, 2906] Process spawned. [pid: 2922, command: ["/build/bear/src/build/stage/bin/citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/exit_code/Output/exit_code_for_success.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/exit_code/Output/exit_code_for_success.sh.tmp.json", "--run-checks", "--verbose"]] 1: [16:45:01.389757, br, 2906] Process wait requested. [pid: 2922] 1: [16:45:01.598032, cs, 2922] citnames: 3.0.20 1: [16:45:01.598439, cs, 2922] arguments: ["/build/bear/src/build/stage/bin/citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/exit_code/Output/exit_code_for_success.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/exit_code/Output/exit_code_for_success.sh.tmp.json", "--run-checks", "--verbose"] 1: [16:45:01.598533, cs, 2922] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:01.598578, cs, 2922] sysname: Linux 1: [16:45:01.598591, cs, 2922] release: 5.19.9-arch1-1 1: [16:45:01.598601, cs, 2922] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:01.598610, cs, 2922] machine: riscv64 1: [16:45:01.598784, cs, 2922] arguments parsed: {program: /build/bear/src/build/stage/bin/citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/exit_code/Output/exit_code_for_success.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/exit_code/Output/exit_code_for_success.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}]} 1: [16:45:01.599534, cs, 2922] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:01.600340, cs, 2922] compilation entries created. [size: 0] 1: [16:45:01.600375, cs, 2922] compilation entries to output. [size: 0] 1: [16:45:01.600933, cs, 2922] compilation entries written. [size: 0] 1: [16:45:01.600980, cs, 2922] succeeded with: 0 1: [16:45:01.606488, br, 2906] Process wait request: done. [pid: 2922] 1: [16:45:01.606680, br, 2906] Running citnames finished. [Exited with 0] 1: [16:45:01.607022, br, 2906] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/citnames/output/convert_format.sh (11 of 100) 1: UNSUPPORTED: bear :: cases/compilation/output/compile_cuda.sh (12 of 100) 1: UNSUPPORTED: bear :: cases/compilation/output/compile_fortran.sh (13 of 100) 1: FAIL: bear :: cases/compilation/output/assembly_sources.mk (14 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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: 1 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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--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 stderr: 1: [16:45:01.165064, br, 2917] bear: 3.0.20 1: [16:45:01.165773, br, 2917] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:01.165983, br, 2917] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:01.166171, br, 2917] sysname: Linux 1: [16:45:01.166293, br, 2917] release: 5.19.9-arch1-1 1: [16:45:01.166412, br, 2917] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:01.166531, br, 2917] machine: riscv64 1: [16:45:01.166811, br, 2917] 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]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:01.168875, br, 2917] Process spawned. [pid: 2918, command: ["/build/bear/src/build/stage/bin/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: [16:45:01.169209, br, 2917] Process wait requested. [pid: 2918] 1: [16:45:01.309580, ic, 2918] intercept: 3.0.20 1: [16:45:01.310419, ic, 2918] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:01.310642, ic, 2918] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:01.310804, ic, 2918] sysname: Linux 1: [16:45:01.310926, ic, 2918] release: 5.19.9-arch1-1 1: [16:45:01.311040, ic, 2918] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:01.311160, ic, 2918] machine: riscv64 1: [16:45:01.311459, ic, 2918] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:01.312012, ic, 2918] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:01.952450, br, 2917] Process wait request: done. [pid: 2918] 1: [16:45:01.952627, br, 2917] Running intercept finished. [Exited with 1] 1: [16:45:01.953991, br, 2917] Process spawned. [pid: 2944, command: ["/build/bear/src/build/stage/bin/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: [16:45:01.954143, br, 2917] Process wait requested. [pid: 2944] 1: [16:45:02.163227, cs, 2944] citnames: 3.0.20 1: [16:45:02.163919, cs, 2944] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:02.164125, cs, 2944] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:02.164280, cs, 2944] sysname: Linux 1: [16:45:02.164406, cs, 2944] release: 5.19.9-arch1-1 1: [16:45:02.164519, cs, 2944] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:02.164631, cs, 2944] machine: riscv64 1: [16:45:02.164916, cs, 2944] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:02.165758, cs, 2944] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:02.166560, cs, 2944] compilation entries created. [size: 0] 1: [16:45:02.166747, cs, 2944] compilation entries to output. [size: 0] 1: [16:45:02.167339, cs, 2944] compilation entries written. [size: 0] 1: [16:45:02.167504, cs, 2944] succeeded with: 0 1: [16:45:02.180180, br, 2917] Process wait request: done. [pid: 2944] 1: [16:45:02.180382, br, 2917] Running citnames finished. [Exited with 0] 1: [16:45:02.180970, br, 2917] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/broken_build.sh (15 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/broken_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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/broken_build.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/broken_build.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/broken_build.sh.tmp.json count -ge 1 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/broken_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/broken_build.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o broken_build.o broken_build.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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/broken_build.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/broken_build.sh" 1: # command stderr: 1: [16:45:01.122835, br, 2914] bear: 3.0.20 1: [16:45:01.123553, br, 2914] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/broken_build.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/broken_build.sh"] 1: [16:45:01.123764, br, 2914] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:01.123907, br, 2914] sysname: Linux 1: [16:45:01.124023, br, 2914] release: 5.19.9-arch1-1 1: [16:45:01.124139, br, 2914] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:01.124254, br, 2914] machine: riscv64 1: [16:45:01.124458, br, 2914] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/broken_build.sh]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/broken_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: [16:45:01.145087, br, 2914] Process spawned. [pid: 2916, command: ["/build/bear/src/build/stage/bin/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/broken_build.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/broken_build.sh"]] 1: [16:45:01.145494, br, 2914] Process wait requested. [pid: 2916] 1: [16:45:01.431178, ic, 2916] intercept: 3.0.20 1: [16:45:01.433695, ic, 2916] arguments: ["/build/bear/src/build/stage/bin/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/broken_build.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/broken_build.sh"] 1: [16:45:01.433794, ic, 2916] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:01.433846, ic, 2916] sysname: Linux 1: [16:45:01.433860, ic, 2916] release: 5.19.9-arch1-1 1: [16:45:01.433871, ic, 2916] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:01.433882, ic, 2916] machine: riscv64 1: [16:45:01.434076, ic, 2916] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/broken_build.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/broken_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]}]} 1: [16:45:01.434533, ic, 2916] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:01.970522, br, 2914] Process wait request: done. [pid: 2916] 1: [16:45:01.970696, br, 2914] Running intercept finished. [Exited with 1] 1: [16:45:01.984079, br, 2914] Process spawned. [pid: 2945, command: ["/build/bear/src/build/stage/bin/citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/broken_build.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/broken_build.sh.tmp.json", "--run-checks", "--verbose"]] 1: [16:45:01.984258, br, 2914] Process wait requested. [pid: 2945] 1: [16:45:02.215974, cs, 2945] citnames: 3.0.20 1: [16:45:02.216581, cs, 2945] arguments: ["/build/bear/src/build/stage/bin/citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/broken_build.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/broken_build.sh.tmp.json", "--run-checks", "--verbose"] 1: [16:45:02.216814, cs, 2945] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:02.216983, cs, 2945] sysname: Linux 1: [16:45:02.217155, cs, 2945] release: 5.19.9-arch1-1 1: [16:45:02.217275, cs, 2945] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:02.217389, cs, 2945] machine: riscv64 1: [16:45:02.226919, cs, 2945] arguments parsed: {program: /build/bear/src/build/stage/bin/citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/broken_build.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/broken_build.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}]} 1: [16:45:02.227838, cs, 2945] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:02.228691, cs, 2945] compilation entries created. [size: 0] 1: [16:45:02.228845, cs, 2945] compilation entries to output. [size: 0] 1: [16:45:02.229467, cs, 2945] compilation entries written. [size: 0] 1: [16:45:02.229647, cs, 2945] succeeded with: 0 1: [16:45:02.237060, br, 2914] Process wait request: done. [pid: 2945] 1: [16:45:02.237251, br, 2914] Running citnames finished. [Exited with 0] 1: [16:45:02.237538, br, 2914] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/bug439.mk (16 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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: 1 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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 stderr: 1: [16:45:01.767008, br, 2928] bear: 3.0.20 1: [16:45:01.767442, br, 2928] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:01.767559, br, 2928] 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=1664871248", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TEMP=/tmp/lit-tmp-egh8h0th", "SHLVL=0", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-egh8h0th", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/build/bear/src/build/stage/bin/bear"] 1: [16:45:01.767585, br, 2928] sysname: Linux 1: [16:45:01.767596, br, 2928] release: 5.19.9-arch1-1 1: [16:45:01.767606, br, 2928] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:01.767615, br, 2928] machine: riscv64 1: [16:45:01.767707, br, 2928] 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]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:01.769565, br, 2928] Process spawned. [pid: 2929, command: ["/build/bear/src/build/stage/bin/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: [16:45:01.769706, br, 2928] Process wait requested. [pid: 2929] 1: [16:45:01.883821, ic, 2929] intercept: 3.0.20 1: [16:45:01.884261, ic, 2929] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:01.884381, ic, 2929] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true", "_=/build/bear/src/build/stage/bin/bear"] 1: [16:45:01.884426, ic, 2929] sysname: Linux 1: [16:45:01.884439, ic, 2929] release: 5.19.9-arch1-1 1: [16:45:01.884450, ic, 2929] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:01.884460, ic, 2929] machine: riscv64 1: [16:45:01.884629, ic, 2929] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:01.885059, ic, 2929] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:02.362492, br, 2928] Process wait request: done. [pid: 2929] 1: [16:45:02.362708, br, 2928] Running intercept finished. [Exited with 1] 1: [16:45:02.363726, br, 2928] Process spawned. [pid: 2958, command: ["/build/bear/src/build/stage/bin/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: [16:45:02.363861, br, 2928] Process wait requested. [pid: 2958] 1: [16:45:02.507028, cs, 2958] citnames: 3.0.20 1: [16:45:02.507408, cs, 2958] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:02.507530, cs, 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/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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true", "_=/build/bear/src/build/stage/bin/bear"] 1: [16:45:02.507576, cs, 2958] sysname: Linux 1: [16:45:02.507588, cs, 2958] release: 5.19.9-arch1-1 1: [16:45:02.507598, cs, 2958] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:02.507606, cs, 2958] machine: riscv64 1: [16:45:02.507765, cs, 2958] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:02.508519, cs, 2958] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:02.509179, cs, 2958] compilation entries created. [size: 0] 1: [16:45:02.509212, cs, 2958] compilation entries to output. [size: 0] 1: [16:45:02.509720, cs, 2958] compilation entries written. [size: 0] 1: [16:45:02.509766, cs, 2958] succeeded with: 0 1: [16:45:02.515089, br, 2928] Process wait request: done. [pid: 2958] 1: [16:45:02.515243, br, 2928] Running citnames finished. [Exited with 0] 1: [16:45:02.515551, br, 2928] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/config/filter_compilers.sh (17 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--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: [16:45:01.887808, br, 2939] bear: 3.0.20 1: [16:45:01.888468, br, 2939] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:01.888697, br, 2939] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:01.888848, br, 2939] sysname: Linux 1: [16:45:01.888974, br, 2939] release: 5.19.9-arch1-1 1: [16:45:01.889099, br, 2939] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:01.889223, br, 2939] machine: riscv64 1: [16:45:01.889438, br, 2939] 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]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/config.json]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:01.903584, br, 2939] Process spawned. [pid: 2943, command: ["/build/bear/src/build/stage/bin/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: [16:45:01.904073, br, 2939] Process wait requested. [pid: 2943] 1: [16:45:02.067510, ic, 2943] intercept: 3.0.20 1: [16:45:02.068205, ic, 2943] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:02.068420, ic, 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:02.068572, ic, 2943] sysname: Linux 1: [16:45:02.068692, ic, 2943] release: 5.19.9-arch1-1 1: [16:45:02.068815, ic, 2943] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:02.068935, ic, 2943] machine: riscv64 1: [16:45:02.069219, ic, 2943] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:02.069730, ic, 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: [16:45:02.489355, br, 2939] Process wait request: done. [pid: 2943] 1: [16:45:02.489569, br, 2939] Running intercept finished. [Exited with 1] 1: [16:45:02.497439, br, 2939] Process spawned. [pid: 2968, command: ["/build/bear/src/build/stage/bin/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: [16:45:02.497619, br, 2939] Process wait requested. [pid: 2968] 1: [16:45:02.655539, cs, 2968] citnames: 3.0.20 1: [16:45:02.655943, cs, 2968] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:02.656036, cs, 2968] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:02.656084, cs, 2968] sysname: Linux 1: [16:45:02.656098, cs, 2968] release: 5.19.9-arch1-1 1: [16:45:02.656109, cs, 2968] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:02.656119, cs, 2968] machine: riscv64 1: [16:45:02.656298, cs, 2968] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:02.657480, cs, 2968] Configuration: {"compilation":{"compilers_to_exclude":["/usr/bin/c++"],"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":true}}} 1: [16:45:02.658167, cs, 2968] compilation entries created. [size: 0] 1: [16:45:02.658193, cs, 2968] compilation entries to output. [size: 0] 1: [16:45:02.658606, cs, 2968] compilation entries written. [size: 0] 1: [16:45:02.658652, cs, 2968] succeeded with: 0 1: [16:45:02.676949, br, 2939] Process wait request: done. [pid: 2968] 1: [16:45:02.677109, br, 2939] Running citnames finished. [Exited with 0] 1: [16:45:02.677471, br, 2939] 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.sh (18 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/config/filter_flags.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/config/filter_flags.sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output; env CC=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/wrapper /build/bear/src/build/stage/bin/bear --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp.json --config /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/config.json -- /usr/bin/sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.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.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.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/wrapper -c -I. /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.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.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/wrapper -c -Werror -I. /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/source_2.c 1: : 'RUN: at line 10'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output; env CC=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/wrapper /build/bear/src/build/stage/bin/bear --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp.json --config /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/config.json --force-wrapper -- /usr/bin/sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.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.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.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/wrapper -c -I. /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.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.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/wrapper -c -Werror -I. /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.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.sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp" 1: $ ":" "RUN: at line 5" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output" 1: $ "env" "CC=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/wrapper" "/build/bear/src/build/stage/bin/bear" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp.json" "--config" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/config.json" "--" "/usr/bin/sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/build.sh" 1: # command stderr: 1: [16:45:02.397756, br, 2964] bear: 3.0.20 1: [16:45:02.398203, br, 2964] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp.json", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/config.json", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/build.sh"] 1: [16:45:02.398310, br, 2964] 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=1664871248", "LC_CTYPE=en_US.UTF-8", "TRUE=/usr/bin/true", "FALSE=/usr/bin/false", "ECHO=/usr/bin/echo", "SLEEP=/usr/bin/sleep", "CC=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/wrapper", "CXX=/usr/bin/c++", "LIBTOOL=/usr/bin/libtool", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:02.398336, br, 2964] sysname: Linux 1: [16:45:02.398347, br, 2964] release: 5.19.9-arch1-1 1: [16:45:02.398356, br, 2964] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:02.398364, br, 2964] machine: riscv64 1: [16:45:02.398435, br, 2964] 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.sh.tmp/build.sh]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/config.json]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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.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: [16:45:02.400127, br, 2964] Process spawned. [pid: 2965, command: ["/build/bear/src/build/stage/bin/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.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/build.sh"]] 1: [16:45:02.400283, br, 2964] Process wait requested. [pid: 2965] 1: [16:45:02.567705, ic, 2965] intercept: 3.0.20 1: [16:45:02.568148, ic, 2965] arguments: ["/build/bear/src/build/stage/bin/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.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/build.sh"] 1: [16:45:02.568241, ic, 2965] environment: ["CC=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/wrapper", "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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:02.568289, ic, 2965] sysname: Linux 1: [16:45:02.568302, ic, 2965] release: 5.19.9-arch1-1 1: [16:45:02.568312, ic, 2965] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:02.568322, ic, 2965] machine: riscv64 1: [16:45:02.568490, ic, 2965] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.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.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]}]} 1: [16:45:02.568892, ic, 2965] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:03.081736, br, 2964] Process wait request: done. [pid: 2965] 1: [16:45:03.081966, br, 2964] Running intercept finished. [Exited with 1] 1: [16:45:03.093704, br, 2964] Process spawned. [pid: 3001, command: ["/build/bear/src/build/stage/bin/citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp.json", "--run-checks", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/config.json", "--verbose"]] 1: [16:45:03.093881, br, 2964] Process wait requested. [pid: 3001] 1: [16:45:03.303653, cs, 3001] citnames: 3.0.20 1: [16:45:03.304102, cs, 3001] arguments: ["/build/bear/src/build/stage/bin/citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp.json", "--run-checks", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/config.json", "--verbose"] 1: [16:45:03.304214, cs, 3001] environment: ["CC=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/wrapper", "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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:03.304262, cs, 3001] sysname: Linux 1: [16:45:03.304276, cs, 3001] release: 5.19.9-arch1-1 1: [16:45:03.304286, cs, 3001] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:03.304296, cs, 3001] machine: riscv64 1: [16:45:03.304469, cs, 3001] arguments parsed: {program: /build/bear/src/build/stage/bin/citnames, arguments: [{--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/config.json]}, {--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}]} 1: [16:45:03.305714, cs, 3001] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags.sh.tmp/wrapper","flags_to_add":["-I."],"flags_to_remove":["-Wall"]},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":true}}} 1: [16:45:03.306472, cs, 3001] compilation entries created. [size: 0] 1: [16:45:03.306497, cs, 3001] compilation entries to output. [size: 0] 1: [16:45:03.307040, cs, 3001] compilation entries written. [size: 0] 1: [16:45:03.307090, cs, 3001] succeeded with: 0 1: [16:45:03.312215, br, 2964] Process wait request: done. [pid: 3001] 1: [16:45:03.312369, br, 2964] Running citnames finished. [Exited with 0] 1: [16:45:03.312641, br, 2964] 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 (19 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--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: [16:45:02.427541, br, 2966] bear: 3.0.20 1: [16:45:02.440178, br, 2966] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:02.440530, br, 2966] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:02.440681, br, 2966] sysname: Linux 1: [16:45:02.440801, br, 2966] release: 5.19.9-arch1-1 1: [16:45:02.440923, br, 2966] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:02.441039, br, 2966] machine: riscv64 1: [16:45:02.441244, br, 2966] 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]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/config.json]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:02.450736, br, 2966] Process spawned. [pid: 2967, command: ["/build/bear/src/build/stage/bin/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: [16:45:02.450939, br, 2966] Process wait requested. [pid: 2967] 1: [16:45:02.623125, ic, 2967] intercept: 3.0.20 1: [16:45:02.623630, ic, 2967] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:02.623728, ic, 2967] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:02.623782, ic, 2967] sysname: Linux 1: [16:45:02.623796, ic, 2967] release: 5.19.9-arch1-1 1: [16:45:02.623807, ic, 2967] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:02.623816, ic, 2967] machine: riscv64 1: [16:45:02.624001, ic, 2967] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:02.624413, ic, 2967] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:03.206371, br, 2966] Process wait request: done. [pid: 2967] 1: [16:45:03.206579, br, 2966] Running intercept finished. [Exited with 1] 1: [16:45:03.207938, br, 2966] Process spawned. [pid: 3005, command: ["/build/bear/src/build/stage/bin/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: [16:45:03.208089, br, 2966] Process wait requested. [pid: 3005] 1: [16:45:03.415272, cs, 3005] citnames: 3.0.20 1: [16:45:03.415901, cs, 3005] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:03.416116, cs, 3005] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:03.416267, cs, 3005] sysname: Linux 1: [16:45:03.416388, cs, 3005] release: 5.19.9-arch1-1 1: [16:45:03.416505, cs, 3005] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:03.416643, cs, 3005] machine: riscv64 1: [16:45:03.416952, cs, 3005] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:03.418224, cs, 3005] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc","flags_to_add":["-I."],"flags_to_remove":["-Wall"]},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":true}}} 1: [16:45:03.418981, cs, 3005] compilation entries created. [size: 0] 1: [16:45:03.419121, cs, 3005] compilation entries to output. [size: 0] 1: [16:45:03.419715, cs, 3005] compilation entries written. [size: 0] 1: [16:45:03.419891, cs, 3005] succeeded with: 0 1: [16:45:03.443681, br, 2966] Process wait request: done. [pid: 3005] 1: [16:45:03.443850, br, 2966] Running citnames finished. [Exited with 0] 1: [16:45:03.444159, br, 2966] 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 (20 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--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: [16:45:02.755191, br, 2985] bear: 3.0.20 1: [16:45:02.755837, br, 2985] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:02.756065, br, 2985] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:02.756210, br, 2985] sysname: Linux 1: [16:45:02.756331, br, 2985] release: 5.19.9-arch1-1 1: [16:45:02.756447, br, 2985] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:02.756556, br, 2985] machine: riscv64 1: [16:45:02.756817, br, 2985] 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]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/config.json]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:02.767320, br, 2985] Process spawned. [pid: 2987, command: ["/build/bear/src/build/stage/bin/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: [16:45:02.767492, br, 2985] Process wait requested. [pid: 2987] 1: [16:45:02.910816, ic, 2987] intercept: 3.0.20 1: [16:45:02.911509, ic, 2987] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:02.911721, ic, 2987] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:02.911873, ic, 2987] sysname: Linux 1: [16:45:02.911992, ic, 2987] release: 5.19.9-arch1-1 1: [16:45:02.912106, ic, 2987] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:02.912217, ic, 2987] machine: riscv64 1: [16:45:02.912528, ic, 2987] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:02.913070, ic, 2987] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:03.410433, br, 2985] Process wait request: done. [pid: 2987] 1: [16:45:03.410622, br, 2985] Running intercept finished. [Exited with 1] 1: [16:45:03.424286, br, 2985] Process spawned. [pid: 3008, command: ["/build/bear/src/build/stage/bin/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: [16:45:03.424446, br, 2985] Process wait requested. [pid: 3008] 1: [16:45:03.657965, cs, 3008] citnames: 3.0.20 1: [16:45:03.658383, cs, 3008] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:03.658479, cs, 3008] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:03.658526, cs, 3008] sysname: Linux 1: [16:45:03.658538, cs, 3008] release: 5.19.9-arch1-1 1: [16:45:03.658549, cs, 3008] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:03.658559, cs, 3008] machine: riscv64 1: [16:45:03.658741, cs, 3008] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:03.668803, cs, 3008] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"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: [16:45:03.669773, cs, 3008] compilation entries created. [size: 0] 1: [16:45:03.669807, cs, 3008] compilation entries to output. [size: 0] 1: [16:45:03.670496, cs, 3008] compilation entries written. [size: 0] 1: [16:45:03.670552, cs, 3008] succeeded with: 0 1: [16:45:03.675784, br, 2985] Process wait request: done. [pid: 3008] 1: [16:45:03.675942, br, 2985] Running citnames finished. [Exited with 0] 1: [16:45:03.676211, br, 2985] 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 (21 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--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: [16:45:02.934517, br, 2999] bear: 3.0.20 1: [16:45:02.935144, br, 2999] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:02.935352, br, 2999] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:02.935490, br, 2999] sysname: Linux 1: [16:45:02.935609, br, 2999] release: 5.19.9-arch1-1 1: [16:45:02.935725, br, 2999] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:02.935842, br, 2999] machine: riscv64 1: [16:45:02.936013, br, 2999] 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]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/config.json]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:02.937880, br, 2999] Process spawned. [pid: 3000, command: ["/build/bear/src/build/stage/bin/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: [16:45:02.938039, br, 2999] Process wait requested. [pid: 3000] 1: [16:45:03.154666, ic, 3000] intercept: 3.0.20 1: [16:45:03.155067, ic, 3000] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:03.155153, ic, 3000] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:03.155195, ic, 3000] sysname: Linux 1: [16:45:03.155208, ic, 3000] release: 5.19.9-arch1-1 1: [16:45:03.155219, ic, 3000] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:03.155228, ic, 3000] machine: riscv64 1: [16:45:03.155393, ic, 3000] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:03.155770, ic, 3000] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:03.629019, br, 2999] Process wait request: done. [pid: 3000] 1: [16:45:03.629610, br, 2999] Running intercept finished. [Exited with 1] 1: [16:45:03.630804, br, 2999] Process spawned. [pid: 3014, command: ["/build/bear/src/build/stage/bin/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: [16:45:03.630939, br, 2999] Process wait requested. [pid: 3014] 1: [16:45:03.845395, cs, 3014] citnames: 3.0.20 1: [16:45:03.856158, cs, 3014] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:03.859695, cs, 3014] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:03.859799, cs, 3014] sysname: Linux 1: [16:45:03.859814, cs, 3014] release: 5.19.9-arch1-1 1: [16:45:03.859825, cs, 3014] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:03.859834, cs, 3014] machine: riscv64 1: [16:45:03.860113, cs, 3014] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:03.861392, cs, 3014] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"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: [16:45:03.862110, cs, 3014] compilation entries created. [size: 0] 1: [16:45:03.862132, cs, 3014] compilation entries to output. [size: 0] 1: [16:45:03.862641, cs, 3014] compilation entries written. [size: 0] 1: [16:45:03.862685, cs, 3014] succeeded with: 0 1: [16:45:03.869744, br, 2999] Process wait request: done. [pid: 3014] 1: [16:45:03.869904, br, 2999] Running citnames finished. [Exited with 0] 1: [16:45:03.870519, br, 2999] 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 (22 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--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: [16:45:03.400672, br, 3006] bear: 3.0.20 1: [16:45:03.401092, br, 3006] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:03.401185, br, 3006] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:03.401212, br, 3006] sysname: Linux 1: [16:45:03.401224, br, 3006] release: 5.19.9-arch1-1 1: [16:45:03.401234, br, 3006] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:03.401243, br, 3006] machine: riscv64 1: [16:45:03.401348, br, 3006] 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]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:03.403064, br, 3006] Process spawned. [pid: 3007, command: ["/build/bear/src/build/stage/bin/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: [16:45:03.403207, br, 3006] Process wait requested. [pid: 3007] 1: [16:45:03.559780, ic, 3007] intercept: 3.0.20 1: [16:45:03.560270, ic, 3007] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:03.560362, ic, 3007] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:03.560405, ic, 3007] sysname: Linux 1: [16:45:03.560418, ic, 3007] release: 5.19.9-arch1-1 1: [16:45:03.560428, ic, 3007] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:03.560438, ic, 3007] machine: riscv64 1: [16:45:03.560600, ic, 3007] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:03.560992, ic, 3007] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:04.050176, br, 3006] Process wait request: done. [pid: 3007] 1: [16:45:04.050379, br, 3006] Running intercept finished. [Exited with 1] 1: [16:45:04.063531, br, 3006] Process spawned. [pid: 3025, command: ["/build/bear/src/build/stage/bin/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: [16:45:04.063721, br, 3006] Process wait requested. [pid: 3025] 1: [16:45:04.292340, cs, 3025] citnames: 3.0.20 1: [16:45:04.300151, cs, 3025] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:04.300461, cs, 3025] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:04.300639, cs, 3025] sysname: Linux 1: [16:45:04.300766, cs, 3025] release: 5.19.9-arch1-1 1: [16:45:04.300889, cs, 3025] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:04.301006, cs, 3025] machine: riscv64 1: [16:45:04.301319, cs, 3025] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:04.302260, cs, 3025] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:04.303169, cs, 3025] compilation entries created. [size: 0] 1: [16:45:04.303381, cs, 3025] compilation entries to output. [size: 0] 1: [16:45:04.304105, cs, 3025] compilation entries written. [size: 0] 1: [16:45:04.304329, cs, 3025] succeeded with: 0 1: [16:45:04.311789, br, 3006] Process wait request: done. [pid: 3025] 1: [16:45:04.311954, br, 3006] Running citnames finished. [Exited with 0] 1: [16:45:04.312280, br, 3006] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/define_with_quote.sh (23 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--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: [16:45:03.486137, br, 3009] bear: 3.0.20 1: [16:45:03.490128, br, 3009] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:03.490372, br, 3009] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:03.490505, br, 3009] sysname: Linux 1: [16:45:03.490619, br, 3009] release: 5.19.9-arch1-1 1: [16:45:03.490732, br, 3009] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:03.490756, br, 3009] machine: riscv64 1: [16:45:03.490832, br, 3009] 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]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:03.500221, br, 3009] Process spawned. [pid: 3010, command: ["/build/bear/src/build/stage/bin/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: [16:45:03.500655, br, 3009] Process wait requested. [pid: 3010] 1: [16:45:03.727083, ic, 3010] intercept: 3.0.20 1: [16:45:03.730206, ic, 3010] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:03.730472, ic, 3010] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:03.730628, ic, 3010] sysname: Linux 1: [16:45:03.730745, ic, 3010] release: 5.19.9-arch1-1 1: [16:45:03.730859, ic, 3010] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:03.730972, ic, 3010] machine: riscv64 1: [16:45:03.731260, ic, 3010] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:03.731774, ic, 3010] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:04.230406, br, 3009] Process wait request: done. [pid: 3010] 1: [16:45:04.230610, br, 3009] Running intercept finished. [Exited with 1] 1: [16:45:04.232218, br, 3009] Process spawned. [pid: 3029, command: ["/build/bear/src/build/stage/bin/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: [16:45:04.232370, br, 3009] Process wait requested. [pid: 3029] 1: [16:45:04.485652, cs, 3029] citnames: 3.0.20 1: [16:45:04.486388, cs, 3029] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:04.486657, cs, 3029] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:04.486855, cs, 3029] sysname: Linux 1: [16:45:04.486983, cs, 3029] release: 5.19.9-arch1-1 1: [16:45:04.487104, cs, 3029] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:04.487226, cs, 3029] machine: riscv64 1: [16:45:04.487534, cs, 3029] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:04.488467, cs, 3029] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:04.489403, cs, 3029] compilation entries created. [size: 0] 1: [16:45:04.489588, cs, 3029] compilation entries to output. [size: 0] 1: [16:45:04.490392, cs, 3029] compilation entries written. [size: 0] 1: [16:45:04.490593, cs, 3029] succeeded with: 0 1: [16:45:04.495963, br, 3009] Process wait request: done. [pid: 3029] 1: [16:45:04.496133, br, 3009] Running citnames finished. [Exited with 0] 1: [16:45:04.496426, br, 3009] 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 (24 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--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: [16:45:03.746589, br, 3015] bear: 3.0.20 1: [16:45:03.747053, br, 3015] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:03.747136, br, 3015] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:03.747162, br, 3015] sysname: Linux 1: [16:45:03.747174, br, 3015] release: 5.19.9-arch1-1 1: [16:45:03.747184, br, 3015] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:03.747192, br, 3015] machine: riscv64 1: [16:45:03.747258, br, 3015] 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]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:03.757393, br, 3015] Process spawned. [pid: 3019, command: ["/build/bear/src/build/stage/bin/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: [16:45:03.757578, br, 3015] Process wait requested. [pid: 3019] 1: [16:45:03.967375, ic, 3019] intercept: 3.0.20 1: [16:45:03.967763, ic, 3019] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:03.967845, ic, 3019] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:03.967890, ic, 3019] sysname: Linux 1: [16:45:03.967903, ic, 3019] release: 5.19.9-arch1-1 1: [16:45:03.967913, ic, 3019] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:03.967923, ic, 3019] machine: riscv64 1: [16:45:03.968091, ic, 3019] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:03.968493, ic, 3019] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:04.468495, br, 3015] Process wait request: done. [pid: 3019] 1: [16:45:04.468689, br, 3015] Running intercept finished. [Exited with 1] 1: [16:45:04.474371, br, 3015] Process spawned. [pid: 3035, command: ["/build/bear/src/build/stage/bin/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: [16:45:04.474552, br, 3015] Process wait requested. [pid: 3035] 1: [16:45:04.658333, cs, 3035] citnames: 3.0.20 1: [16:45:04.658745, cs, 3035] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:04.658826, cs, 3035] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:04.658870, cs, 3035] sysname: Linux 1: [16:45:04.658884, cs, 3035] release: 5.19.9-arch1-1 1: [16:45:04.658894, cs, 3035] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:04.658903, cs, 3035] machine: riscv64 1: [16:45:04.659060, cs, 3035] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:04.659779, cs, 3035] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:04.660518, cs, 3035] compilation entries created. [size: 0] 1: [16:45:04.660544, cs, 3035] compilation entries to output. [size: 0] 1: [16:45:04.661083, cs, 3035] compilation entries written. [size: 0] 1: [16:45:04.661127, cs, 3035] succeeded with: 0 1: [16:45:04.666421, br, 3015] Process wait request: done. [pid: 3035] 1: [16:45:04.666574, br, 3015] Running citnames finished. [Exited with 0] 1: [16:45:04.666943, br, 3015] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/empty_argument.sh (25 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/empty_argument.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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_argument.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/empty_argument.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_argument.sh.tmp.json count -eq 0 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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_argument.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/empty_argument.sh" 1: # command stderr: 1: [16:45:03.938333, br, 3020] bear: 3.0.20 1: [16:45:03.938823, br, 3020] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_argument.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/empty_argument.sh"] 1: [16:45:03.938919, br, 3020] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:03.938947, br, 3020] sysname: Linux 1: [16:45:03.938959, br, 3020] release: 5.19.9-arch1-1 1: [16:45:03.938969, br, 3020] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:03.938978, br, 3020] machine: riscv64 1: [16:45:03.939075, br, 3020] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/empty_argument.sh]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_argument.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: [16:45:03.950260, br, 3020] Process spawned. [pid: 3021, command: ["/build/bear/src/build/stage/bin/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_argument.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/empty_argument.sh"]] 1: [16:45:03.950449, br, 3020] Process wait requested. [pid: 3021] 1: [16:45:04.218454, ic, 3021] intercept: 3.0.20 1: [16:45:04.218892, ic, 3021] arguments: ["/build/bear/src/build/stage/bin/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_argument.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/empty_argument.sh"] 1: [16:45:04.218987, ic, 3021] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:04.219033, ic, 3021] sysname: Linux 1: [16:45:04.219046, ic, 3021] release: 5.19.9-arch1-1 1: [16:45:04.219056, ic, 3021] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:04.219066, ic, 3021] machine: riscv64 1: [16:45:04.219238, ic, 3021] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/empty_argument.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_argument.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]}]} 1: [16:45:04.219689, ic, 3021] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:04.725787, br, 3020] Process wait request: done. [pid: 3021] 1: [16:45:04.725989, br, 3020] Running intercept finished. [Exited with 1] 1: [16:45:04.747976, br, 3020] Process spawned. [pid: 3043, command: ["/build/bear/src/build/stage/bin/citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_argument.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_argument.sh.tmp.json", "--run-checks", "--verbose"]] 1: [16:45:04.748160, br, 3020] Process wait requested. [pid: 3043] 1: [16:45:04.891365, cs, 3043] citnames: 3.0.20 1: [16:45:04.891796, cs, 3043] arguments: ["/build/bear/src/build/stage/bin/citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_argument.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_argument.sh.tmp.json", "--run-checks", "--verbose"] 1: [16:45:04.891887, cs, 3043] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:04.891930, cs, 3043] sysname: Linux 1: [16:45:04.891943, cs, 3043] release: 5.19.9-arch1-1 1: [16:45:04.891953, cs, 3043] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:04.891963, cs, 3043] machine: riscv64 1: [16:45:04.892119, cs, 3043] arguments parsed: {program: /build/bear/src/build/stage/bin/citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_argument.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_argument.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}]} 1: [16:45:04.892837, cs, 3043] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:04.895870, cs, 3043] compilation entries created. [size: 0] 1: [16:45:04.895918, cs, 3043] compilation entries to output. [size: 0] 1: [16:45:04.896833, cs, 3043] compilation entries written. [size: 0] 1: [16:45:04.896899, cs, 3043] succeeded with: 0 1: [16:45:04.934582, br, 3020] Process wait request: done. [pid: 3043] 1: [16:45:04.934748, br, 3020] Running citnames finished. [Exited with 0] 1: [16:45:04.935062, br, 3020] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/empty_env.sh (26 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--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: [16:45:04.517971, br, 3036] bear: 3.0.20 1: [16:45:04.518530, br, 3036] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:04.518554, br, 3036] environment: [] 1: [16:45:04.518577, br, 3036] sysname: Linux 1: [16:45:04.518588, br, 3036] release: 5.19.9-arch1-1 1: [16:45:04.518597, br, 3036] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:04.518606, br, 3036] machine: riscv64 1: [16:45:04.518702, br, 3036] 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]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:04.523568, br, 3036] Process spawned. [pid: 3037, command: ["/build/bear/src/build/stage/bin/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: [16:45:04.523725, br, 3036] Process wait requested. [pid: 3037] 1: [16:45:04.649711, ic, 3037] intercept: 3.0.20 1: [16:45:04.650224, ic, 3037] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:04.650249, ic, 3037] environment: [] 1: [16:45:04.650287, ic, 3037] sysname: Linux 1: [16:45:04.650301, ic, 3037] release: 5.19.9-arch1-1 1: [16:45:04.650312, ic, 3037] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:04.650322, ic, 3037] machine: riscv64 1: [16:45:04.650494, ic, 3037] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:04.650940, ic, 3037] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:05.084633, br, 3036] Process wait request: done. [pid: 3037] 1: [16:45:05.084820, br, 3036] Running intercept finished. [Exited with 1] 1: [16:45:05.117039, br, 3036] Process spawned. [pid: 3054, command: ["/build/bear/src/build/stage/bin/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: [16:45:05.117216, br, 3036] Process wait requested. [pid: 3054] 1: [16:45:05.322081, cs, 3054] citnames: 3.0.20 1: [16:45:05.322560, cs, 3054] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:05.322585, cs, 3054] environment: [] 1: [16:45:05.322679, cs, 3054] sysname: Linux 1: [16:45:05.322696, cs, 3054] release: 5.19.9-arch1-1 1: [16:45:05.322708, cs, 3054] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:05.322754, cs, 3054] machine: riscv64 1: [16:45:05.322946, cs, 3054] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:05.324414, cs, 3054] Configuration: {"compilation":null,"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:05.325136, cs, 3054] compilation entries created. [size: 0] 1: [16:45:05.325163, cs, 3054] compilation entries to output. [size: 0] 1: [16:45:05.325751, cs, 3054] compilation entries written. [size: 0] 1: [16:45:05.325797, cs, 3054] succeeded with: 0 1: [16:45:05.333014, br, 3036] Process wait request: done. [pid: 3054] 1: [16:45:05.333166, br, 3036] Running citnames finished. [Exited with 0] 1: [16:45:05.333815, br, 3036] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/existing_files_only.sh (27 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--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: [16:45:04.547298, br, 3038] bear: 3.0.20 1: [16:45:04.547993, br, 3038] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:04.548218, br, 3038] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:04.548369, br, 3038] sysname: Linux 1: [16:45:04.548494, br, 3038] release: 5.19.9-arch1-1 1: [16:45:04.548620, br, 3038] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:04.548805, br, 3038] machine: riscv64 1: [16:45:04.549037, br, 3038] 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]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:04.557786, br, 3038] Process spawned. [pid: 3039, command: ["/build/bear/src/build/stage/bin/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: [16:45:04.558268, br, 3038] Process wait requested. [pid: 3039] 1: [16:45:04.850402, ic, 3039] intercept: 3.0.20 1: [16:45:04.850873, ic, 3039] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:04.850972, ic, 3039] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:04.851019, ic, 3039] sysname: Linux 1: [16:45:04.851033, ic, 3039] release: 5.19.9-arch1-1 1: [16:45:04.851044, ic, 3039] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:04.851054, ic, 3039] machine: riscv64 1: [16:45:04.851243, ic, 3039] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:04.851666, ic, 3039] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:05.323723, br, 3038] Process wait request: done. [pid: 3039] 1: [16:45:05.323911, br, 3038] Running intercept finished. [Exited with 1] 1: [16:45:05.325308, br, 3038] Process spawned. [pid: 3057, command: ["/build/bear/src/build/stage/bin/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: [16:45:05.325458, br, 3038] Process wait requested. [pid: 3057] 1: [16:45:05.463691, cs, 3057] citnames: 3.0.20 1: [16:45:05.464101, cs, 3057] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:05.464186, cs, 3057] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:05.464231, cs, 3057] sysname: Linux 1: [16:45:05.464245, cs, 3057] release: 5.19.9-arch1-1 1: [16:45:05.464256, cs, 3057] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:05.464265, cs, 3057] machine: riscv64 1: [16:45:05.464438, cs, 3057] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:05.465246, cs, 3057] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:05.465988, cs, 3057] compilation entries created. [size: 0] 1: [16:45:05.466014, cs, 3057] compilation entries to output. [size: 0] 1: [16:45:05.466556, cs, 3057] compilation entries written. [size: 0] 1: [16:45:05.466597, cs, 3057] succeeded with: 0 1: [16:45:05.472069, br, 3038] Process wait request: done. [pid: 3057] 1: [16:45:05.472243, br, 3038] Running citnames finished. [Exited with 0] 1: [16:45:05.472559, br, 3038] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/flag/append.sh (28 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/flag/append.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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/append.sh -build 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.json count -eq 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append/src/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/cc -c -o append/src/source_1.o append/src/source_1.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append/src/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/cc -c -o append/src/source_2.o append/src/source_2.c 1: : 'RUN: at line 10'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; /build/bear/src/build/stage/bin/bear --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.json --append -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/append.sh -test 1: : 'RUN: at line 11'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.json count -eq 4 1: : 'RUN: at line 12'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append/src/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/cc -c -o append/src/source_1.o append/src/source_1.c 1: : 'RUN: at line 13'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append/src/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/cc -c -o append/src/source_2.o append/src/source_2.c 1: : 'RUN: at line 14'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append/test/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/cc -c -o append/test/source_1.o append/test/source_1.c 1: : 'RUN: at line 15'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append/test/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/cc -c -o append/test/source_2.o append/test/source_2.c 1: : 'RUN: at line 17'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; /build/bear/src/build/stage/bin/bear --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.json --append -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/append.sh -clean 1: : 'RUN: at line 18'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.json count -eq 0 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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/flag/append.sh" "-build" 1: # command stderr: 1: [16:45:04.774889, br, 3044] bear: 3.0.20 1: [16:45:04.775330, br, 3044] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/append.sh", "-build"] 1: [16:45:04.775422, br, 3044] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:04.775446, br, 3044] sysname: Linux 1: [16:45:04.775456, br, 3044] release: 5.19.9-arch1-1 1: [16:45:04.775466, br, 3044] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:04.775474, br, 3044] machine: riscv64 1: [16:45:04.775563, br, 3044] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/append.sh, -build]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.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: [16:45:04.793740, br, 3044] Process spawned. [pid: 3045, command: ["/build/bear/src/build/stage/bin/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/append.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/append.sh", "-build"]] 1: [16:45:04.793935, br, 3044] Process wait requested. [pid: 3045] 1: [16:45:05.034205, ic, 3045] intercept: 3.0.20 1: [16:45:05.034562, ic, 3045] arguments: ["/build/bear/src/build/stage/bin/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/append.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/append.sh", "-build"] 1: [16:45:05.034655, ic, 3045] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:05.034696, ic, 3045] sysname: Linux 1: [16:45:05.034709, ic, 3045] release: 5.19.9-arch1-1 1: [16:45:05.034719, ic, 3045] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:05.034728, ic, 3045] machine: riscv64 1: [16:45:05.034898, ic, 3045] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/append.sh, -build]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.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]}]} 1: [16:45:05.035323, ic, 3045] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:05.583858, br, 3044] Process wait request: done. [pid: 3045] 1: [16:45:05.584053, br, 3044] Running intercept finished. [Exited with 1] 1: [16:45:05.588571, br, 3044] Process spawned. [pid: 3060, command: ["/build/bear/src/build/stage/bin/citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.json", "--run-checks", "--verbose"]] 1: [16:45:05.588731, br, 3044] Process wait requested. [pid: 3060] 1: [16:45:05.817846, cs, 3060] citnames: 3.0.20 1: [16:45:05.818339, cs, 3060] arguments: ["/build/bear/src/build/stage/bin/citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.json", "--run-checks", "--verbose"] 1: [16:45:05.818433, cs, 3060] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:05.818482, cs, 3060] sysname: Linux 1: [16:45:05.818495, cs, 3060] release: 5.19.9-arch1-1 1: [16:45:05.818506, cs, 3060] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:05.818515, cs, 3060] machine: riscv64 1: [16:45:05.818687, cs, 3060] arguments parsed: {program: /build/bear/src/build/stage/bin/citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/append.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}]} 1: [16:45:05.819517, cs, 3060] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:05.833819, cs, 3060] compilation entries created. [size: 0] 1: [16:45:05.833882, cs, 3060] compilation entries to output. [size: 0] 1: [16:45:05.834489, cs, 3060] compilation entries written. [size: 0] 1: [16:45:05.834537, cs, 3060] succeeded with: 0 1: [16:45:05.870627, br, 3044] Process wait request: done. [pid: 3060] 1: [16:45:05.870798, br, 3044] Running citnames finished. [Exited with 0] 1: [16:45:05.871177, br, 3044] 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 (29 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--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: [16:45:05.032072, br, 3049] bear: 3.0.20 1: [16:45:05.032768, br, 3049] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:05.032990, br, 3049] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:05.033144, br, 3049] sysname: Linux 1: [16:45:05.033273, br, 3049] release: 5.19.9-arch1-1 1: [16:45:05.033430, br, 3049] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:05.033559, br, 3049] machine: riscv64 1: [16:45:05.033772, br, 3049] 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]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:05.035675, br, 3049] Process spawned. [pid: 3050, command: ["/build/bear/src/build/stage/bin/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: [16:45:05.035824, br, 3049] Process wait requested. [pid: 3050] 1: [16:45:05.213185, ic, 3050] intercept: 3.0.20 1: [16:45:05.213743, ic, 3050] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:05.213840, ic, 3050] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:05.213884, ic, 3050] sysname: Linux 1: [16:45:05.213897, ic, 3050] release: 5.19.9-arch1-1 1: [16:45:05.213908, ic, 3050] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:05.213917, ic, 3050] machine: riscv64 1: [16:45:05.214096, ic, 3050] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:05.214523, ic, 3050] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:05.765522, br, 3049] Process wait request: done. [pid: 3050] 1: [16:45:05.765687, br, 3049] Running intercept finished. [Exited with 1] 1: [16:45:05.773384, br, 3049] Process spawned. [pid: 3063, command: ["/build/bear/src/build/stage/bin/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: [16:45:05.773555, br, 3049] Process wait requested. [pid: 3063] 1: [16:45:06.079833, cs, 3063] citnames: 3.0.20 1: [16:45:06.080284, cs, 3063] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:06.080378, cs, 3063] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:06.080427, cs, 3063] sysname: Linux 1: [16:45:06.080440, cs, 3063] release: 5.19.9-arch1-1 1: [16:45:06.080451, cs, 3063] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:06.080460, cs, 3063] machine: riscv64 1: [16:45:06.080639, cs, 3063] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:06.081420, cs, 3063] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:06.082155, cs, 3063] compilation entries created. [size: 0] 1: [16:45:06.082190, cs, 3063] compilation entries to output. [size: 0] 1: [16:45:06.082723, cs, 3063] compilation entries written. [size: 0] 1: [16:45:06.082772, cs, 3063] succeeded with: 0 1: [16:45:06.107571, br, 3049] Process wait request: done. [pid: 3063] 1: [16:45:06.107775, br, 3049] Running citnames finished. [Exited with 0] 1: [16:45:06.108103, br, 3049] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/flag/use_cc.sh (30 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--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: [16:45:05.472476, br, 3058] bear: 3.0.20 1: [16:45:05.473130, br, 3058] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:05.473438, br, 3058] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:05.473599, br, 3058] sysname: Linux 1: [16:45:05.473719, br, 3058] release: 5.19.9-arch1-1 1: [16:45:05.473843, br, 3058] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:05.473960, br, 3058] machine: riscv64 1: [16:45:05.474171, br, 3058] 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]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--force-preload: []}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:05.480315, br, 3058] Process spawned. [pid: 3059, command: ["/build/bear/src/build/stage/bin/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: [16:45:05.480708, br, 3058] Process wait requested. [pid: 3059] 1: [16:45:05.742871, ic, 3059] intercept: 3.0.20 1: [16:45:05.758700, ic, 3059] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:05.759095, ic, 3059] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:05.759298, ic, 3059] sysname: Linux 1: [16:45:05.759433, ic, 3059] release: 5.19.9-arch1-1 1: [16:45:05.759557, ic, 3059] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:05.759679, ic, 3059] machine: riscv64 1: [16:45:05.760071, ic, 3059] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:05.767280, ic, 3059] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:06.230930, br, 3058] Process wait request: done. [pid: 3059] 1: [16:45:06.231140, br, 3058] Running intercept finished. [Exited with 1] 1: [16:45:06.236496, br, 3058] Process spawned. [pid: 3074, command: ["/build/bear/src/build/stage/bin/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: [16:45:06.237043, br, 3058] Process wait requested. [pid: 3074] 1: [16:45:06.388372, cs, 3074] citnames: 3.0.20 1: [16:45:06.388800, cs, 3074] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:06.388897, cs, 3074] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:06.388948, cs, 3074] sysname: Linux 1: [16:45:06.388963, cs, 3074] release: 5.19.9-arch1-1 1: [16:45:06.388972, cs, 3074] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:06.388982, cs, 3074] machine: riscv64 1: [16:45:06.389167, cs, 3074] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:06.389989, cs, 3074] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:06.390788, cs, 3074] compilation entries created. [size: 0] 1: [16:45:06.390817, cs, 3074] compilation entries to output. [size: 0] 1: [16:45:06.391365, cs, 3074] compilation entries written. [size: 0] 1: [16:45:06.391421, cs, 3074] succeeded with: 0 1: [16:45:06.403579, br, 3058] Process wait request: done. [pid: 3074] 1: [16:45:06.403758, br, 3058] Running citnames finished. [Exited with 0] 1: [16:45:06.404089, br, 3058] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/flag/use_cxx.sh (31 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--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: [16:45:05.667821, br, 3061] bear: 3.0.20 1: [16:45:05.668338, br, 3061] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:05.668436, br, 3061] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:05.668466, br, 3061] sysname: Linux 1: [16:45:05.668479, br, 3061] release: 5.19.9-arch1-1 1: [16:45:05.668489, br, 3061] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:05.668498, br, 3061] machine: riscv64 1: [16:45:05.668593, br, 3061] 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]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--force-preload: []}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:05.677275, br, 3061] Process spawned. [pid: 3062, command: ["/build/bear/src/build/stage/bin/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: [16:45:05.677459, br, 3061] Process wait requested. [pid: 3062] 1: [16:45:05.956305, ic, 3062] intercept: 3.0.20 1: [16:45:05.977136, ic, 3062] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:05.990123, ic, 3062] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:05.990551, ic, 3062] sysname: Linux 1: [16:45:05.990741, ic, 3062] release: 5.19.9-arch1-1 1: [16:45:05.990863, ic, 3062] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:05.990981, ic, 3062] machine: riscv64 1: [16:45:05.991318, ic, 3062] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:05.991929, ic, 3062] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:06.536201, br, 3061] Process wait request: done. [pid: 3062] 1: [16:45:06.536394, br, 3061] Running intercept finished. [Exited with 1] 1: [16:45:06.537516, br, 3061] Process spawned. [pid: 3081, command: ["/build/bear/src/build/stage/bin/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: [16:45:06.537661, br, 3061] Process wait requested. [pid: 3081] 1: [16:45:06.649437, cs, 3081] citnames: 3.0.20 1: [16:45:06.649882, cs, 3081] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:06.650081, cs, 3081] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:06.650138, cs, 3081] sysname: Linux 1: [16:45:06.650151, cs, 3081] release: 5.19.9-arch1-1 1: [16:45:06.650163, cs, 3081] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:06.650172, cs, 3081] machine: riscv64 1: [16:45:06.650367, cs, 3081] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:06.651101, cs, 3081] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:06.651849, cs, 3081] compilation entries created. [size: 0] 1: [16:45:06.651875, cs, 3081] compilation entries to output. [size: 0] 1: [16:45:06.652432, cs, 3081] compilation entries written. [size: 0] 1: [16:45:06.652473, cs, 3081] succeeded with: 0 1: [16:45:06.657785, br, 3061] Process wait request: done. [pid: 3081] 1: [16:45:06.657942, br, 3061] Running citnames finished. [Exited with 0] 1: [16:45:06.658261, br, 3061] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/flags_filtered_link.sh (32 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--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: [16:45:06.005273, br, 3067] bear: 3.0.20 1: [16:45:06.005728, br, 3067] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:06.005825, br, 3067] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:06.005851, br, 3067] sysname: Linux 1: [16:45:06.005863, br, 3067] release: 5.19.9-arch1-1 1: [16:45:06.005873, br, 3067] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:06.005882, br, 3067] machine: riscv64 1: [16:45:06.005977, br, 3067] 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]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:06.040186, br, 3067] Process spawned. [pid: 3071, command: ["/build/bear/src/build/stage/bin/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: [16:45:06.040396, br, 3067] Process wait requested. [pid: 3071] 1: [16:45:06.306159, ic, 3071] intercept: 3.0.20 1: [16:45:06.306595, ic, 3071] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:06.313485, ic, 3071] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:06.313608, ic, 3071] sysname: Linux 1: [16:45:06.313625, ic, 3071] release: 5.19.9-arch1-1 1: [16:45:06.313636, ic, 3071] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:06.313646, ic, 3071] machine: riscv64 1: [16:45:06.313850, ic, 3071] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:06.314345, ic, 3071] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:06.871684, br, 3067] Process wait request: done. [pid: 3071] 1: [16:45:06.871855, br, 3067] Running intercept finished. [Exited with 1] 1: [16:45:06.877169, br, 3067] Process spawned. [pid: 3086, command: ["/build/bear/src/build/stage/bin/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: [16:45:06.877349, br, 3067] Process wait requested. [pid: 3086] 1: [16:45:07.046849, cs, 3086] citnames: 3.0.20 1: [16:45:07.047265, cs, 3086] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:07.047357, cs, 3086] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:07.047406, cs, 3086] sysname: Linux 1: [16:45:07.047420, cs, 3086] release: 5.19.9-arch1-1 1: [16:45:07.047432, cs, 3086] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:07.047442, cs, 3086] machine: riscv64 1: [16:45:07.047637, cs, 3086] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:07.048356, cs, 3086] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:07.049067, cs, 3086] compilation entries created. [size: 0] 1: [16:45:07.049094, cs, 3086] compilation entries to output. [size: 0] 1: [16:45:07.049655, cs, 3086] compilation entries written. [size: 0] 1: [16:45:07.049697, cs, 3086] succeeded with: 0 1: [16:45:07.056934, br, 3067] Process wait request: done. [pid: 3086] 1: [16:45:07.057122, br, 3067] Running citnames finished. [Exited with 0] 1: [16:45:07.057433, br, 3067] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/flags_filtered_preproc.sh (33 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--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: [16:45:06.176967, br, 3072] bear: 3.0.20 1: [16:45:06.177640, br, 3072] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:06.177851, br, 3072] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:06.177989, br, 3072] sysname: Linux 1: [16:45:06.178160, br, 3072] release: 5.19.9-arch1-1 1: [16:45:06.178291, br, 3072] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:06.178412, br, 3072] machine: riscv64 1: [16:45:06.178620, br, 3072] 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]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:06.180456, br, 3072] Process spawned. [pid: 3073, command: ["/build/bear/src/build/stage/bin/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: [16:45:06.180608, br, 3072] Process wait requested. [pid: 3073] 1: [16:45:06.408266, ic, 3073] intercept: 3.0.20 1: [16:45:06.408677, ic, 3073] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:06.408771, ic, 3073] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:06.408817, ic, 3073] sysname: Linux 1: [16:45:06.408831, ic, 3073] release: 5.19.9-arch1-1 1: [16:45:06.408842, ic, 3073] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:06.408852, ic, 3073] machine: riscv64 1: [16:45:06.409030, ic, 3073] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:06.409471, ic, 3073] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:06.942931, br, 3072] Process wait request: done. [pid: 3073] 1: [16:45:06.943098, br, 3072] Running intercept finished. [Exited with 1] 1: [16:45:06.960390, br, 3072] Process spawned. [pid: 3087, command: ["/build/bear/src/build/stage/bin/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: [16:45:06.960572, br, 3072] Process wait requested. [pid: 3087] 1: [16:45:07.158769, cs, 3087] citnames: 3.0.20 1: [16:45:07.159345, cs, 3087] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:07.159443, cs, 3087] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:07.159492, cs, 3087] sysname: Linux 1: [16:45:07.159506, cs, 3087] release: 5.19.9-arch1-1 1: [16:45:07.159517, cs, 3087] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:07.159526, cs, 3087] machine: riscv64 1: [16:45:07.159695, cs, 3087] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:07.160508, cs, 3087] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:07.161718, cs, 3087] compilation entries created. [size: 0] 1: [16:45:07.161744, cs, 3087] compilation entries to output. [size: 0] 1: [16:45:07.162318, cs, 3087] compilation entries written. [size: 0] 1: [16:45:07.162364, cs, 3087] succeeded with: 0 1: [16:45:07.167516, br, 3072] Process wait request: done. [pid: 3087] 1: [16:45:07.167688, br, 3072] Running citnames finished. [Exited with 0] 1: [16:45:07.167981, br, 3072] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/multiple_source_build.sh (34 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--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: [16:45:06.507183, br, 3079] bear: 3.0.20 1: [16:45:06.507632, br, 3079] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:06.507718, br, 3079] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:06.507744, br, 3079] sysname: Linux 1: [16:45:06.507755, br, 3079] release: 5.19.9-arch1-1 1: [16:45:06.507765, br, 3079] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:06.507774, br, 3079] machine: riscv64 1: [16:45:06.507842, br, 3079] 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]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:06.529871, br, 3079] Process spawned. [pid: 3080, command: ["/build/bear/src/build/stage/bin/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: [16:45:06.530190, br, 3079] Process wait requested. [pid: 3080] 1: [16:45:06.682475, ic, 3080] intercept: 3.0.20 1: [16:45:06.682912, ic, 3080] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:06.683008, ic, 3080] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:06.683056, ic, 3080] sysname: Linux 1: [16:45:06.683069, ic, 3080] release: 5.19.9-arch1-1 1: [16:45:06.683079, ic, 3080] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:06.683089, ic, 3080] machine: riscv64 1: [16:45:06.683265, ic, 3080] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:06.683764, ic, 3080] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:07.217091, br, 3079] Process wait request: done. [pid: 3080] 1: [16:45:07.217543, br, 3079] Running intercept finished. [Exited with 1] 1: [16:45:07.220749, br, 3079] Process spawned. [pid: 3095, command: ["/build/bear/src/build/stage/bin/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: [16:45:07.220904, br, 3079] Process wait requested. [pid: 3095] 1: [16:45:07.353786, cs, 3095] citnames: 3.0.20 1: [16:45:07.354212, cs, 3095] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:07.354306, cs, 3095] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:07.354351, cs, 3095] sysname: Linux 1: [16:45:07.354364, cs, 3095] release: 5.19.9-arch1-1 1: [16:45:07.354375, cs, 3095] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:07.354385, cs, 3095] machine: riscv64 1: [16:45:07.354559, cs, 3095] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:07.355298, cs, 3095] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:07.355958, cs, 3095] compilation entries created. [size: 0] 1: [16:45:07.355981, cs, 3095] compilation entries to output. [size: 0] 1: [16:45:07.356565, cs, 3095] compilation entries written. [size: 0] 1: [16:45:07.356608, cs, 3095] succeeded with: 0 1: [16:45:07.386807, br, 3079] Process wait request: done. [pid: 3095] 1: [16:45:07.386963, br, 3079] Running citnames finished. [Exited with 0] 1: [16:45:07.387290, br, 3079] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: XFAIL: bear :: cases/intercept/exit_code/exit_code_for_empty.sh (35 of 100) 1: FAIL: bear :: cases/compilation/output/parallel_build.sh (36 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/parallel_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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_build.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/parallel_build.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_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/parallel_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_build_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o parallel_build_1.o parallel_build_1.c 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_build_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o parallel_build_2.o parallel_build_2.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_build_3.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o parallel_build_3.o parallel_build_3.c 1: : 'RUN: at line 9'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_build_4.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o parallel_build_4.o parallel_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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_build.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/parallel_build.sh" 1: # command stderr: 1: [16:45:06.787391, br, 3084] bear: 3.0.20 1: [16:45:06.787809, br, 3084] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_build.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/parallel_build.sh"] 1: [16:45:06.787894, br, 3084] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:06.787921, br, 3084] sysname: Linux 1: [16:45:06.787932, br, 3084] release: 5.19.9-arch1-1 1: [16:45:06.787942, br, 3084] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:06.787951, br, 3084] machine: riscv64 1: [16:45:06.788044, br, 3084] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/parallel_build.sh]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_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: [16:45:06.789772, br, 3084] Process spawned. [pid: 3085, command: ["/build/bear/src/build/stage/bin/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/parallel_build.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/parallel_build.sh"]] 1: [16:45:06.789919, br, 3084] Process wait requested. [pid: 3085] 1: [16:45:06.990586, ic, 3085] intercept: 3.0.20 1: [16:45:06.991034, ic, 3085] arguments: ["/build/bear/src/build/stage/bin/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/parallel_build.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/parallel_build.sh"] 1: [16:45:06.991132, ic, 3085] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:06.991182, ic, 3085] sysname: Linux 1: [16:45:06.991195, ic, 3085] release: 5.19.9-arch1-1 1: [16:45:06.991206, ic, 3085] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:06.991216, ic, 3085] machine: riscv64 1: [16:45:06.991392, ic, 3085] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/parallel_build.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_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]}]} 1: [16:45:06.991805, ic, 3085] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:07.516978, br, 3084] Process wait request: done. [pid: 3085] 1: [16:45:07.517171, br, 3084] Running intercept finished. [Exited with 1] 1: [16:45:07.518245, br, 3084] Process spawned. [pid: 3103, command: ["/build/bear/src/build/stage/bin/citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_build.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_build.sh.tmp.json", "--run-checks", "--verbose"]] 1: [16:45:07.518386, br, 3084] Process wait requested. [pid: 3103] 1: [16:45:07.796260, cs, 3103] citnames: 3.0.20 1: [16:45:07.806934, cs, 3103] arguments: ["/build/bear/src/build/stage/bin/citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_build.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_build.sh.tmp.json", "--run-checks", "--verbose"] 1: [16:45:07.807331, cs, 3103] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:07.807517, cs, 3103] sysname: Linux 1: [16:45:07.807649, cs, 3103] release: 5.19.9-arch1-1 1: [16:45:07.807766, cs, 3103] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:07.807887, cs, 3103] machine: riscv64 1: [16:45:07.808190, cs, 3103] arguments parsed: {program: /build/bear/src/build/stage/bin/citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_build.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/parallel_build.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}]} 1: [16:45:07.809144, cs, 3103] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:07.810227, cs, 3103] compilation entries created. [size: 0] 1: [16:45:07.810411, cs, 3103] compilation entries to output. [size: 0] 1: [16:45:07.811159, cs, 3103] compilation entries written. [size: 0] 1: [16:45:07.811367, cs, 3103] succeeded with: 0 1: [16:45:07.833557, br, 3084] Process wait request: done. [pid: 3103] 1: [16:45:07.833726, br, 3084] Running citnames finished. [Exited with 0] 1: [16:45:07.834079, br, 3084] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/exit_code/exit_code_for_help.sh (37 of 100) 1: FAIL: bear :: cases/compilation/output/wrapper.sh (38 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--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: [16:45:07.213887, br, 3093] bear: 3.0.20 1: [16:45:07.214640, br, 3093] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:07.214888, br, 3093] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:07.215035, br, 3093] sysname: Linux 1: [16:45:07.215162, br, 3093] release: 5.19.9-arch1-1 1: [16:45:07.215288, br, 3093] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:07.215408, br, 3093] machine: riscv64 1: [16:45:07.215600, br, 3093] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/wrapper.sh]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:07.218905, br, 3093] Process spawned. [pid: 3094, command: ["/build/bear/src/build/stage/bin/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: [16:45:07.219442, br, 3093] Process wait requested. [pid: 3094] 1: [16:45:07.378382, ic, 3094] intercept: 3.0.20 1: [16:45:07.379159, ic, 3094] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:07.379447, ic, 3094] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:07.379624, ic, 3094] sysname: Linux 1: [16:45:07.379755, ic, 3094] release: 5.19.9-arch1-1 1: [16:45:07.379876, ic, 3094] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:07.380224, ic, 3094] machine: riscv64 1: [16:45:07.380556, ic, 3094] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:07.381133, ic, 3094] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:07.927051, br, 3093] Process wait request: done. [pid: 3094] 1: [16:45:07.927222, br, 3093] Running intercept finished. [Exited with 1] 1: [16:45:07.932104, br, 3093] Process spawned. [pid: 3106, command: ["/build/bear/src/build/stage/bin/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: [16:45:07.932268, br, 3093] Process wait requested. [pid: 3106] 1: [16:45:08.168994, cs, 3106] citnames: 3.0.20 1: [16:45:08.169411, cs, 3106] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:08.169503, cs, 3106] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:08.169548, cs, 3106] sysname: Linux 1: [16:45:08.169561, cs, 3106] release: 5.19.9-arch1-1 1: [16:45:08.169571, cs, 3106] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:08.169581, cs, 3106] machine: riscv64 1: [16:45:08.169780, cs, 3106] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:08.170604, cs, 3106] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:08.171349, cs, 3106] compilation entries created. [size: 0] 1: [16:45:08.171377, cs, 3106] compilation entries to output. [size: 0] 1: [16:45:08.171995, cs, 3106] compilation entries written. [size: 0] 1: [16:45:08.172043, cs, 3106] succeeded with: 0 1: [16:45:08.193565, br, 3093] Process wait request: done. [pid: 3106] 1: [16:45:08.194125, br, 3093] Running citnames finished. [Exited with 0] 1: [16:45:08.194463, br, 3093] 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 (39 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 --citnames /build/bear/src/build/stage/bin/citnames --interceptor /build/bear/src/build/stage/bin/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 --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" "--citnames" "/build/bear/src/build/stage/bin/citnames" "--interceptor" "/build/bear/src/build/stage/bin/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" "--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: [16:45:07.160686, br, 3091] bear: 3.0.20 1: [16:45:07.161052, br, 3091] arguments: ["/build/bear/src/build/stage/bin/bear", "--citnames", "/build/bear/src/build/stage/bin/citnames", "--interceptor", "/build/bear/src/build/stage/bin/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", "--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: [16:45:07.161147, br, 3091] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:07.161172, br, 3091] sysname: Linux 1: [16:45:07.161184, br, 3091] release: 5.19.9-arch1-1 1: [16:45:07.161194, br, 3091] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:07.161203, br, 3091] machine: riscv64 1: [16:45:07.161266, br, 3091] 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]}, {--citnames: [/build/bear/src/build/stage/bin/citnames]}, {--interceptor: [/build/bear/src/build/stage/bin/intercept]}, {--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: [16:45:07.175176, br, 3091] Process spawned. [pid: 3092, command: ["/build/bear/src/build/stage/bin/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: [16:45:07.175354, br, 3091] Process wait requested. [pid: 3092] 1: [16:45:07.386020, ic, 3092] intercept: 3.0.20 1: [16:45:07.386463, ic, 3092] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:07.386557, ic, 3092] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:07.386605, ic, 3092] sysname: Linux 1: [16:45:07.386663, ic, 3092] release: 5.19.9-arch1-1 1: [16:45:07.386676, ic, 3092] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:07.386685, ic, 3092] machine: riscv64 1: [16:45:07.386860, ic, 3092] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:07.387289, ic, 3092] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [16:45:08.022776, br, 3091] Process wait request: done. [pid: 3092] 1: [16:45:08.022964, br, 3091] Running intercept finished. [Exited with 1] 1: [16:45:08.030664, br, 3091] Process spawned. [pid: 3109, command: ["/build/bear/src/build/stage/bin/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: [16:45:08.030831, br, 3091] Process wait requested. [pid: 3109] 1: [16:45:08.192887, cs, 3109] citnames: 3.0.20 1: [16:45:08.193249, cs, 3109] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:08.193442, cs, 3109] 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=1664871248", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TRUE=/usr/bin/true"] 1: [16:45:08.193503, cs, 3109] sysname: Linux 1: [16:45:08.193518, cs, 3109] release: 5.19.9-arch1-1 1: [16:45:08.193529, cs, 3109] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:08.193539, cs, 3109] machine: riscv64 1: [16:45:08.193732, cs, 3109] arguments parsed: {program: /build/bear/src/build/stage/bin/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: []}]} 1: [16:45:08.194529, cs, 3109] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [16:45:08.195274, cs, 3109] compilation entries created. [size: 0] 1: [16:45:08.195307, cs, 3109] compilation entries to output. [size: 0] 1: [16:45:08.195811, cs, 3109] compilation entries written. [size: 0] 1: [16:45:08.195855, cs, 3109] succeeded with: 0 1: [16:45:08.213619, br, 3091] Process wait request: done. [pid: 3109] 1: [16:45:08.213773, br, 3091] Running citnames finished. [Exited with 0] 1: [16:45:08.214079, br, 3091] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/output/shell_command_with_iso8859-2.sh (40 of 100) 1: XFAIL: bear :: cases/intercept/exit_code/exit_code_for_fail.sh (41 of 100) 1: FAIL: bear :: cases/intercept/exit_code/exit_code_for_success.sh (42 of 100) 1: ******************** TEST 'bear :: cases/intercept/exit_code/exit_code_for_success.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/exit_code/Output/exit_code_for_success.sh.tmp.events.json -- /usr/bin/true 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/exit_code/Output/exit_code_for_success.sh.tmp.events.json" "--" "/usr/bin/true" 1: # command stderr: 1: [16:45:08.187852, ic, 3110] intercept: 3.0.20 1: [16:45:08.188533, ic, 3110] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/exit_code/Output/exit_code_for_success.sh.tmp.events.json", "--", "/usr/bin/true"] 1: [16:45:08.188754, ic, 3110] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:08.188916, ic, 3110] sysname: Linux 1: [16:45:08.189033, ic, 3110] release: 5.19.9-arch1-1 1: [16:45:08.189148, ic, 3110] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:08.189261, ic, 3110] machine: riscv64 1: [16:45:08.189546, ic, 3110] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/true]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/exit_code/Output/exit_code_for_success.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]}]} 1: [16:45:08.190269, ic, 3110] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/output/shell_commands_with_unicode.sh (43 of 100) 1: ******************** TEST 'bear :: cases/intercept/output/shell_commands_with_unicode.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/output/Output/shell_commands_with_unicode.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/intercept/output/shell_commands_with_unicode.sh 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/output/Output/shell_commands_with_unicode.sh.tmp.json count -ge 7 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/output/Output/shell_commands_with_unicode.sh.tmp.json contains -program /usr/bin/true 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/output/Output/shell_commands_with_unicode.sh.tmp.json contains -program /usr/bin/echo -arguments /usr/bin/echo "hi there \"people\"" 1: : 'RUN: at line 8'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/output/Output/shell_commands_with_unicode.sh.tmp.json contains -program /usr/bin/echo -arguments /usr/bin/echo "hi again" 1: : 'RUN: at line 9'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/output/Output/shell_commands_with_unicode.sh.tmp.json contains -program /usr/bin/echo -arguments /usr/bin/echo "מה שלומך?" 1: : 'RUN: at line 10'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/output/Output/shell_commands_with_unicode.sh.tmp.json contains -program /usr/bin/echo -arguments /usr/bin/echo "Как дела?" 1: : 'RUN: at line 11'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/output/Output/shell_commands_with_unicode.sh.tmp.json contains -program /usr/bin/echo -arguments /usr/bin/echo "This line might cause an exception in json load" 1: : 'RUN: at line 12'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/output/Output/shell_commands_with_unicode.sh.tmp.json contains -arguments /usr/bin/sh /build/bear/src/bear/test/cases/intercept/output/shell_commands_with_unicode.sh 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/output/Output/shell_commands_with_unicode.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/output/shell_commands_with_unicode.sh" 1: # command stderr: 1: [16:45:08.465592, ic, 3115] intercept: 3.0.20 1: [16:45:08.466030, ic, 3115] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/output/Output/shell_commands_with_unicode.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/output/shell_commands_with_unicode.sh"] 1: [16:45:08.466123, ic, 3115] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:08.466168, ic, 3115] sysname: Linux 1: [16:45:08.466182, ic, 3115] release: 5.19.9-arch1-1 1: [16:45:08.466192, ic, 3115] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:08.466201, ic, 3115] machine: riscv64 1: [16:45:08.466377, ic, 3115] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/intercept/output/shell_commands_with_unicode.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/output/Output/shell_commands_with_unicode.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: [16:45:08.466899, ic, 3115] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/build_command_captured.sh (44 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/build_command_captured.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/build_command_captured.sh.tmp.json -- /usr/bin/true /build/bear/src/bear/test/cases/intercept/preload/build_command_captured.sh 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/build_command_captured.sh.tmp.json count -eq 1 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/build_command_captured.sh.tmp.json contains -program /usr/bin/true -arguments /usr/bin/true /build/bear/src/bear/test/cases/intercept/preload/build_command_captured.sh 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/build_command_captured.sh.tmp.json" "--" "/usr/bin/true" "/build/bear/src/bear/test/cases/intercept/preload/build_command_captured.sh" 1: # command stderr: 1: [16:45:08.492117, ic, 3116] intercept: 3.0.20 1: [16:45:08.492519, ic, 3116] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/build_command_captured.sh.tmp.json", "--", "/usr/bin/true", "/build/bear/src/bear/test/cases/intercept/preload/build_command_captured.sh"] 1: [16:45:08.492613, ic, 3116] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:08.492655, ic, 3116] sysname: Linux 1: [16:45:08.492669, ic, 3116] release: 5.19.9-arch1-1 1: [16:45:08.492679, ic, 3116] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:08.492689, ic, 3116] machine: riscv64 1: [16:45:08.492857, ic, 3116] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/true, /build/bear/src/bear/test/cases/intercept/preload/build_command_captured.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/build_command_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]}]} 1: [16:45:08.493233, ic, 3116] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/build_stderr_captured.sh (45 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/build_stderr_captured.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/build_stderr_captured.sh 2> /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/build_stderr_captured.sh.tmp.orig.stderr 1: : 'RUN: at line 5'; /build/bear/src/build/stage/bin/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 --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/build_stderr_captured.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/build_stderr_captured.sh 2> /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/build_stderr_captured.sh.tmp.fwd.stderr 1: : 'RUN: at line 6'; diff /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/build_stderr_captured.sh.tmp.orig.stderr /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/build_stderr_captured.sh.tmp.fwd.stderr 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/preload/build_stderr_captured.sh" 1: $ ":" "RUN: at line 5" 1: $ "/build/bear/src/build/stage/bin/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" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/build_stderr_captured.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/preload/build_stderr_captured.sh" 1: note: command had no output on stdout or stderr 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/build_stdout_captured.sh (46 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/build_stdout_captured.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/build_stdout_captured.sh > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/build_stdout_captured.sh.tmp.orig.stdout 1: : 'RUN: at line 5'; /build/bear/src/build/stage/bin/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 --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/build_stdout_captured.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/build_stdout_captured.sh > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/build_stdout_captured.sh.tmp.fwd.stdout 1: : 'RUN: at line 6'; diff /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/build_stdout_captured.sh.tmp.orig.stdout /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/build_stdout_captured.sh.tmp.fwd.stdout 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/preload/build_stdout_captured.sh" 1: $ ":" "RUN: at line 5" 1: $ "/build/bear/src/build/stage/bin/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" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/build_stdout_captured.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/preload/build_stdout_captured.sh" 1: note: command had no output on stdout or stderr 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/libtool_commands_captured.sh (47 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/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: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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 stderr: 1: [16:45:09.299803, ic, 3139] intercept: 3.0.20 1: [16:45:09.307139, ic, 3139] arguments: ["/build/bear/src/build/stage/bin/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: [16:45:09.307240, ic, 3139] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:09.307291, ic, 3139] sysname: Linux 1: [16:45:09.307305, ic, 3139] release: 5.19.9-arch1-1 1: [16:45:09.307315, ic, 3139] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:09.307326, ic, 3139] machine: riscv64 1: [16:45:09.307522, ic, 3139] arguments parsed: {program: /build/bear/src/build/stage/bin/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]}]} 1: [16:45:09.307959, ic, 3139] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/errno_reset.c (48 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/errno_reset.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/errno_reset.c.tmp /build/bear/src/bear/test/cases/intercept/preload/errno_reset.c 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/errno_reset.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/errno_reset.c.tmp 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/errno_reset.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/errno_reset.c" 1: # command stderr: 1: /build/bear/src/bear/test/cases/intercept/preload/errno_reset.c: In function ‘main’: 1: /build/bear/src/bear/test/cases/intercept/preload/errno_reset.c:11:5: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] 1: 11 | printf("error %i: %s\n", errno, strerror(errno)); 1: | ^~~~~~ 1: /build/bear/src/bear/test/cases/intercept/preload/errno_reset.c:8:1: note: include ‘’ or provide a declaration of ‘printf’ 1: 7 | #include 1: +++ |+#include 1: 8 | 1: /build/bear/src/bear/test/cases/intercept/preload/errno_reset.c:11:5: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch] 1: 11 | printf("error %i: %s\n", errno, strerror(errno)); 1: | ^~~~~~ 1: /build/bear/src/bear/test/cases/intercept/preload/errno_reset.c:11:5: note: include ‘’ or provide a declaration of ‘printf’ 1: 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/errno_reset.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/errno_reset.c.tmp" 1: # command stderr: 1: [16:45:10.059172, ic, 3157] intercept: 3.0.20 1: [16:45:10.059601, ic, 3157] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/errno_reset.c.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/errno_reset.c.tmp"] 1: [16:45:10.059697, ic, 3157] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:10.059745, ic, 3157] sysname: Linux 1: [16:45:10.059759, ic, 3157] release: 5.19.9-arch1-1 1: [16:45:10.059769, ic, 3157] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:10.059778, ic, 3157] machine: riscv64 1: [16:45:10.060022, ic, 3157] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/errno_reset.c.tmp]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/errno_reset.c.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [16:45:10.060494, ic, 3157] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/path_resolver/same_name_without_exec_flag.c (49 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/path_resolver/same_name_without_exec_flag.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; mkdir -p /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag/a /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag/b 1: : 'RUN: at line 3'; touch /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag/a/a.out 1: : 'RUN: at line 4'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_MESSAGE="two"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag/b/a.out /build/bear/src/bear/test/cases/intercept/preload/path_resolver/same_name_without_exec_flag.c 1: : 'RUN: at line 5'; env PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag/a:/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag/b /usr/bin/sh -c a.out > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag.c.tmp.without.txt 1: : 'RUN: at line 6'; env PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag/a:/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag/b /build/bear/src/build/stage/bin/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 --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag.c.tmp.json -- /usr/bin/sh -c a.out > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag.c.tmp.with.txt 1: : 'RUN: at line 7'; diff /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag.c.tmp.without.txt /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag.c.tmp.with.txt 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "mkdir" "-p" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag/a" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag/b" 1: $ ":" "RUN: at line 3" 1: $ "touch" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag/a/a.out" 1: $ ":" "RUN: at line 4" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_MESSAGE="two"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag/b/a.out" "/build/bear/src/bear/test/cases/intercept/preload/path_resolver/same_name_without_exec_flag.c" 1: $ ":" "RUN: at line 5" 1: $ "env" "PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag/a:/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag/b" "/usr/bin/sh" "-c" "a.out" 1: $ ":" "RUN: at line 6" 1: $ "env" "PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag/a:/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag/b" "/build/bear/src/build/stage/bin/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" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_without_exec_flag.c.tmp.json" "--" "/usr/bin/sh" "-c" "a.out" 1: note: command had no output on stdout or stderr 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/execl/failure_prints_errno.c (50 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/execl/failure_prints_errno.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="/path/to/not/existing"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/failure_prints_errno.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/execl/failure_prints_errno.c 1: : 'RUN: at line 3'; /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/failure_prints_errno.c.tmp > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/failure_prints_errno.c.tmp.without.errno 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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 --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/failure_prints_errno.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/failure_prints_errno.c.tmp > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/failure_prints_errno.c.tmp.with.errno 1: : 'RUN: at line 5'; diff /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/failure_prints_errno.c.tmp.with.errno /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/failure_prints_errno.c.tmp.without.errno 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/failure_prints_errno.c.tmp.json count -eq 1 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/failure_prints_errno.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/failure_prints_errno.c.tmp 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="/path/to/not/existing"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/failure_prints_errno.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/execl/failure_prints_errno.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/failure_prints_errno.c.tmp" 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/failure_prints_errno.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/failure_prints_errno.c.tmp" 1: note: command had no output on stdout or stderr 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/path_resolver/same_name_in_path.c (51 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/path_resolver/same_name_in_path.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; mkdir -p /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path/a /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path/b 1: : 'RUN: at line 3'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_MESSAGE="one"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path/a/a.out /build/bear/src/bear/test/cases/intercept/preload/path_resolver/same_name_in_path.c 1: : 'RUN: at line 4'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_MESSAGE="two"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path/b/a.out /build/bear/src/bear/test/cases/intercept/preload/path_resolver/same_name_in_path.c 1: : 'RUN: at line 5'; env PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path/a:/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path/b /usr/bin/sh -c a.out > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path.c.tmp.without.txt 1: : 'RUN: at line 6'; env PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path/a:/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path/b /build/bear/src/build/stage/bin/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 --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path.c.tmp.json -- /usr/bin/sh -c a.out > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path.c.tmp.with.txt 1: : 'RUN: at line 7'; diff /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path.c.tmp.without.txt /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path.c.tmp.with.txt 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "mkdir" "-p" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path/a" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path/b" 1: $ ":" "RUN: at line 3" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_MESSAGE="one"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path/a/a.out" "/build/bear/src/bear/test/cases/intercept/preload/path_resolver/same_name_in_path.c" 1: $ ":" "RUN: at line 4" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_MESSAGE="two"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path/b/a.out" "/build/bear/src/bear/test/cases/intercept/preload/path_resolver/same_name_in_path.c" 1: $ ":" "RUN: at line 5" 1: $ "env" "PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path/a:/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path/b" "/usr/bin/sh" "-c" "a.out" 1: $ ":" "RUN: at line 6" 1: $ "env" "PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path/a:/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path/b" "/build/bear/src/build/stage/bin/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" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/path_resolver/Output/same_name_in_path.c.tmp.json" "--" "/usr/bin/sh" "-c" "a.out" 1: note: command had no output on stdout or stderr 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/execl/success.c (52 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/execl/success.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="/usr/bin/echo"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/success.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/execl/success.c 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/success.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/success.c.tmp 1: : 'RUN: at line 4'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/success.c.tmp.json count -eq 2 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/success.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/success.c.tmp -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/success.c.tmp 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/success.c.tmp.json contains -program /usr/bin/echo -arguments /usr/bin/echo "hi there" 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="/usr/bin/echo"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/success.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/execl/success.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/success.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/success.c.tmp" 1: # command stderr: 1: [16:45:11.514621, ic, 3193] intercept: 3.0.20 1: [16:45:11.515108, ic, 3193] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/success.c.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/success.c.tmp"] 1: [16:45:11.515201, ic, 3193] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:11.515251, ic, 3193] sysname: Linux 1: [16:45:11.515264, ic, 3193] release: 5.19.9-arch1-1 1: [16:45:11.515276, ic, 3193] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:11.515285, ic, 3193] machine: riscv64 1: [16:45:11.515474, ic, 3193] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/success.c.tmp]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execl/Output/success.c.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [16:45:11.515936, ic, 3193] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/execle/success.c (53 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/execle/success.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="/usr/bin/echo"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/success.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/execle/success.c 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/success.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/success.c.tmp 1: : 'RUN: at line 4'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/success.c.tmp.json count -eq 2 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/success.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/success.c.tmp -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/success.c.tmp 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/success.c.tmp.json contains -program /usr/bin/echo -arguments /usr/bin/echo "hi there" 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="/usr/bin/echo"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/success.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/execle/success.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/success.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/success.c.tmp" 1: # command stderr: 1: [16:45:12.329405, ic, 3214] intercept: 3.0.20 1: [16:45:12.329886, ic, 3214] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/success.c.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/success.c.tmp"] 1: [16:45:12.333459, ic, 3214] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:12.333889, ic, 3214] sysname: Linux 1: [16:45:12.334059, ic, 3214] release: 5.19.9-arch1-1 1: [16:45:12.334198, ic, 3214] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:12.334334, ic, 3214] machine: riscv64 1: [16:45:12.334682, ic, 3214] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/success.c.tmp]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/success.c.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [16:45:12.335446, ic, 3214] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/execle/failure_prints_errno.c (54 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/execle/failure_prints_errno.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="/path/to/not/existing"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/failure_prints_errno.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/execle/failure_prints_errno.c 1: : 'RUN: at line 3'; /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/failure_prints_errno.c.tmp > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/failure_prints_errno.c.tmp.without.errno 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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 --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/failure_prints_errno.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/failure_prints_errno.c.tmp > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/failure_prints_errno.c.tmp.with.errno 1: : 'RUN: at line 5'; diff /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/failure_prints_errno.c.tmp.with.errno /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/failure_prints_errno.c.tmp.without.errno 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/failure_prints_errno.c.tmp.json count -eq 1 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/failure_prints_errno.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/failure_prints_errno.c.tmp 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="/path/to/not/existing"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/failure_prints_errno.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/execle/failure_prints_errno.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/failure_prints_errno.c.tmp" 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/failure_prints_errno.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execle/Output/failure_prints_errno.c.tmp" 1: note: command had no output on stdout or stderr 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: UNSUPPORTED: bear :: cases/intercept/preload/posix/exect/success.c (55 of 100) 1: FAIL: bear :: cases/intercept/preload/posix/execlp/failure_prints_errno.c (56 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/execlp/failure_prints_errno.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="/path/to/not/existing"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/failure_prints_errno.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/execlp/failure_prints_errno.c 1: : 'RUN: at line 3'; /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/failure_prints_errno.c.tmp > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/failure_prints_errno.c.tmp.without.errno 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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 --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/failure_prints_errno.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/failure_prints_errno.c.tmp > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/failure_prints_errno.c.tmp.with.errno 1: : 'RUN: at line 5'; diff /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/failure_prints_errno.c.tmp.with.errno /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/failure_prints_errno.c.tmp.without.errno 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/failure_prints_errno.c.tmp.json count -eq 1 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/failure_prints_errno.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/failure_prints_errno.c.tmp 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="/path/to/not/existing"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/failure_prints_errno.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/execlp/failure_prints_errno.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/failure_prints_errno.c.tmp" 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/failure_prints_errno.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/failure_prints_errno.c.tmp" 1: note: command had no output on stdout or stderr 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/execlp/success.c (57 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/execlp/success.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="/usr/bin/echo"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/execlp/success.c 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success.c.tmp 1: : 'RUN: at line 4'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success.c.tmp.json count -eq 2 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success.c.tmp -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success.c.tmp 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success.c.tmp.json contains -program /usr/bin/echo -arguments /usr/bin/echo "hi there" 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="/usr/bin/echo"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/execlp/success.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success.c.tmp" 1: # command stderr: 1: [16:45:13.001331, ic, 3226] intercept: 3.0.20 1: [16:45:13.002122, ic, 3226] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success.c.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success.c.tmp"] 1: [16:45:13.002370, ic, 3226] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:13.002558, ic, 3226] sysname: Linux 1: [16:45:13.002689, ic, 3226] release: 5.19.9-arch1-1 1: [16:45:13.002816, ic, 3226] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:13.002940, ic, 3226] machine: riscv64 1: [16:45:13.003261, ic, 3226] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success.c.tmp]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success.c.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [16:45:13.004065, ic, 3226] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/execlp/success_to_resolve.c (58 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/execlp/success_to_resolve.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="echo"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success_to_resolve.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/execlp/success_to_resolve.c 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success_to_resolve.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success_to_resolve.c.tmp 1: : 'RUN: at line 4'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success_to_resolve.c.tmp.json count -eq 2 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success_to_resolve.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success_to_resolve.c.tmp -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success_to_resolve.c.tmp 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success_to_resolve.c.tmp.json contains -program /usr/bin/echo -arguments echo "hi there" 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="echo"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success_to_resolve.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/execlp/success_to_resolve.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success_to_resolve.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success_to_resolve.c.tmp" 1: # command stderr: 1: [16:45:13.861259, ic, 3248] intercept: 3.0.20 1: [16:45:13.861755, ic, 3248] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success_to_resolve.c.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success_to_resolve.c.tmp"] 1: [16:45:13.861849, ic, 3248] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:13.861898, ic, 3248] sysname: Linux 1: [16:45:13.861911, ic, 3248] release: 5.19.9-arch1-1 1: [16:45:13.861921, ic, 3248] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:13.861930, ic, 3248] machine: riscv64 1: [16:45:13.862119, ic, 3248] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success_to_resolve.c.tmp]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execlp/Output/success_to_resolve.c.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [16:45:13.862626, ic, 3248] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/execv/failure_prints_errno.c (59 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/execv/failure_prints_errno.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="/path/to/not/existing"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/failure_prints_errno.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/execv/failure_prints_errno.c 1: : 'RUN: at line 3'; /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/failure_prints_errno.c.tmp > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/failure_prints_errno.c.tmp.without.errno 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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 --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/failure_prints_errno.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/failure_prints_errno.c.tmp > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/failure_prints_errno.c.tmp.with.errno 1: : 'RUN: at line 5'; diff /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/failure_prints_errno.c.tmp.with.errno /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/failure_prints_errno.c.tmp.without.errno 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/failure_prints_errno.c.tmp.json count -eq 1 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/failure_prints_errno.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/failure_prints_errno.c.tmp 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="/path/to/not/existing"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/failure_prints_errno.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/execv/failure_prints_errno.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/failure_prints_errno.c.tmp" 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/failure_prints_errno.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/failure_prints_errno.c.tmp" 1: note: command had no output on stdout or stderr 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: UNSUPPORTED: bear :: cases/intercept/preload/posix/execvp2/failure_prints_errno.c (60 of 100) 1: UNSUPPORTED: bear :: cases/intercept/preload/posix/execvp2/success.c (61 of 100) 1: FAIL: bear :: cases/intercept/preload/posix/execv/success.c (62 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/execv/success.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="/usr/bin/echo"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/success.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/execv/success.c 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/success.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/success.c.tmp 1: : 'RUN: at line 4'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/success.c.tmp.json count -eq 2 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/success.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/success.c.tmp -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/success.c.tmp 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/success.c.tmp.json contains -program /usr/bin/echo -arguments /usr/bin/echo "hi there" 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="/usr/bin/echo"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/success.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/execv/success.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/success.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/success.c.tmp" 1: # command stderr: 1: [16:45:14.399923, ic, 3261] intercept: 3.0.20 1: [16:45:14.410074, ic, 3261] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/success.c.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/success.c.tmp"] 1: [16:45:14.410198, ic, 3261] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:14.410259, ic, 3261] sysname: Linux 1: [16:45:14.410273, ic, 3261] release: 5.19.9-arch1-1 1: [16:45:14.410283, ic, 3261] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:14.410293, ic, 3261] machine: riscv64 1: [16:45:14.410494, ic, 3261] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/success.c.tmp]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execv/Output/success.c.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [16:45:14.411034, ic, 3261] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/execve/failure_prints_errno.c (63 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/execve/failure_prints_errno.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="/path/to/not/existing"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/failure_prints_errno.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/execve/failure_prints_errno.c 1: : 'RUN: at line 3'; /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/failure_prints_errno.c.tmp > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/failure_prints_errno.c.tmp.without.errno 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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 --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/failure_prints_errno.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/failure_prints_errno.c.tmp > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/failure_prints_errno.c.tmp.with.errno 1: : 'RUN: at line 5'; diff /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/failure_prints_errno.c.tmp.with.errno /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/failure_prints_errno.c.tmp.without.errno 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/failure_prints_errno.c.tmp.json count -eq 1 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/failure_prints_errno.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/failure_prints_errno.c.tmp 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="/path/to/not/existing"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/failure_prints_errno.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/execve/failure_prints_errno.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/failure_prints_errno.c.tmp" 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/failure_prints_errno.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/failure_prints_errno.c.tmp" 1: note: command had no output on stdout or stderr 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/execve/success.c (64 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/execve/success.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="/usr/bin/echo"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/success.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/execve/success.c 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/success.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/success.c.tmp 1: : 'RUN: at line 4'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/success.c.tmp.json count -eq 2 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/success.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/success.c.tmp -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/success.c.tmp 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/success.c.tmp.json contains -program /usr/bin/echo -arguments /usr/bin/echo "hi there" 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="/usr/bin/echo"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/success.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/execve/success.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/success.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/success.c.tmp" 1: # command stderr: 1: [16:45:15.392839, ic, 3286] intercept: 3.0.20 1: [16:45:15.393315, ic, 3286] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/success.c.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/success.c.tmp"] 1: [16:45:15.393412, ic, 3286] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:15.393471, ic, 3286] sysname: Linux 1: [16:45:15.393486, ic, 3286] release: 5.19.9-arch1-1 1: [16:45:15.393496, ic, 3286] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:15.393512, ic, 3286] machine: riscv64 1: [16:45:15.393721, ic, 3286] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/success.c.tmp]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execve/Output/success.c.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [16:45:15.394189, ic, 3286] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/execvpe/failure_prints_errno.c (65 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/execvpe/failure_prints_errno.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="/path/to/not/existing"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/failure_prints_errno.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/execvpe/failure_prints_errno.c 1: : 'RUN: at line 3'; /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/failure_prints_errno.c.tmp > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/failure_prints_errno.c.tmp.without.errno 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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 --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/failure_prints_errno.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/failure_prints_errno.c.tmp > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/failure_prints_errno.c.tmp.with.errno 1: : 'RUN: at line 5'; diff /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/failure_prints_errno.c.tmp.with.errno /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/failure_prints_errno.c.tmp.without.errno 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/failure_prints_errno.c.tmp.json count -eq 1 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/failure_prints_errno.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/failure_prints_errno.c.tmp 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="/path/to/not/existing"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/failure_prints_errno.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/execvpe/failure_prints_errno.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/failure_prints_errno.c.tmp" 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/failure_prints_errno.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/failure_prints_errno.c.tmp" 1: note: command had no output on stdout or stderr 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/execvpe/success.c (66 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/execvpe/success.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="/usr/bin/echo"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/execvpe/success.c 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success.c.tmp 1: : 'RUN: at line 4'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success.c.tmp.json count -eq 2 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success.c.tmp -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success.c.tmp 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success.c.tmp.json contains -program /usr/bin/echo -arguments /usr/bin/echo "hi there" 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="/usr/bin/echo"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/execvpe/success.c" 1: # command stderr: 1: /build/bear/src/bear/test/cases/intercept/preload/posix/execvpe/success.c: In function ‘main’: 1: /build/bear/src/bear/test/cases/intercept/preload/posix/execvpe/success.c:19:12: warning: implicit declaration of function ‘execvpe’; did you mean ‘execvp’? [-Wimplicit-function-declaration] 1: 19 | return execvpe(program, argv, envp); 1: | ^~~~~~~ 1: | execvp 1: 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success.c.tmp" 1: # command stderr: 1: [16:45:15.649573, ic, 3294] intercept: 3.0.20 1: [16:45:15.651315, ic, 3294] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success.c.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success.c.tmp"] 1: [16:45:15.651438, ic, 3294] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:15.651491, ic, 3294] sysname: Linux 1: [16:45:15.651505, ic, 3294] release: 5.19.9-arch1-1 1: [16:45:15.651515, ic, 3294] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:15.651524, ic, 3294] machine: riscv64 1: [16:45:15.651716, ic, 3294] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success.c.tmp]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success.c.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [16:45:15.652187, ic, 3294] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/execvpe/success_to_resolve.c (67 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/execvpe/success_to_resolve.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="echo"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success_to_resolve.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/execvpe/success_to_resolve.c 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success_to_resolve.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success_to_resolve.c.tmp 1: : 'RUN: at line 4'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success_to_resolve.c.tmp.json count -eq 2 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success_to_resolve.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success_to_resolve.c.tmp -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success_to_resolve.c.tmp 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success_to_resolve.c.tmp.json contains -arguments echo "hi there" 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="echo"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success_to_resolve.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/execvpe/success_to_resolve.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success_to_resolve.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success_to_resolve.c.tmp" 1: # command stderr: 1: [16:45:16.523610, ic, 3305] intercept: 3.0.20 1: [16:45:16.524187, ic, 3305] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success_to_resolve.c.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success_to_resolve.c.tmp"] 1: [16:45:16.524283, ic, 3305] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:16.524343, ic, 3305] sysname: Linux 1: [16:45:16.524357, ic, 3305] release: 5.19.9-arch1-1 1: [16:45:16.524368, ic, 3305] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:16.524378, ic, 3305] machine: riscv64 1: [16:45:16.524581, ic, 3305] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success_to_resolve.c.tmp]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/execvpe/Output/success_to_resolve.c.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [16:45:16.525187, ic, 3305] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/exevp/success.c (68 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/exevp/success.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="/usr/bin/echo"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/exevp/success.c 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success.c.tmp 1: : 'RUN: at line 4'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success.c.tmp.json count -eq 2 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success.c.tmp -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success.c.tmp 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success.c.tmp.json contains -program /usr/bin/echo -arguments /usr/bin/echo "hi there" 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="/usr/bin/echo"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/exevp/success.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success.c.tmp" 1: # command stderr: 1: [16:45:17.150985, ic, 3322] intercept: 3.0.20 1: [16:45:17.151510, ic, 3322] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success.c.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success.c.tmp"] 1: [16:45:17.151606, ic, 3322] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:17.151658, ic, 3322] sysname: Linux 1: [16:45:17.151671, ic, 3322] release: 5.19.9-arch1-1 1: [16:45:17.151682, ic, 3322] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:17.151691, ic, 3322] machine: riscv64 1: [16:45:17.151887, ic, 3322] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success.c.tmp]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success.c.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [16:45:17.152392, ic, 3322] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/exevp/success_to_resolve.c (69 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/exevp/success_to_resolve.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="echo"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success_to_resolve.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/exevp/success_to_resolve.c 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success_to_resolve.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success_to_resolve.c.tmp 1: : 'RUN: at line 4'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success_to_resolve.c.tmp.json count -eq 2 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success_to_resolve.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success_to_resolve.c.tmp -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success_to_resolve.c.tmp 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success_to_resolve.c.tmp.json contains -program /usr/bin/echo -arguments echo "hi there" 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="echo"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success_to_resolve.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/exevp/success_to_resolve.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success_to_resolve.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success_to_resolve.c.tmp" 1: # command stderr: 1: [16:45:17.118565, ic, 3321] intercept: 3.0.20 1: [16:45:17.119108, ic, 3321] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success_to_resolve.c.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success_to_resolve.c.tmp"] 1: [16:45:17.119202, ic, 3321] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:17.119246, ic, 3321] sysname: Linux 1: [16:45:17.119260, ic, 3321] release: 5.19.9-arch1-1 1: [16:45:17.119271, ic, 3321] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:17.119281, ic, 3321] machine: riscv64 1: [16:45:17.119453, ic, 3321] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success_to_resolve.c.tmp]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/success_to_resolve.c.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [16:45:17.119913, ic, 3321] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/exevp/failure_prints_errno.c (70 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/exevp/failure_prints_errno.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="/path/to/not/existing"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/failure_prints_errno.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/exevp/failure_prints_errno.c 1: : 'RUN: at line 3'; /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/failure_prints_errno.c.tmp > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/failure_prints_errno.c.tmp.without.errno 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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 --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/failure_prints_errno.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/failure_prints_errno.c.tmp > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/failure_prints_errno.c.tmp.with.errno 1: : 'RUN: at line 5'; diff /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/failure_prints_errno.c.tmp.with.errno /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/failure_prints_errno.c.tmp.without.errno 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/failure_prints_errno.c.tmp.json count -eq 1 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/failure_prints_errno.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/failure_prints_errno.c.tmp 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="/path/to/not/existing"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/failure_prints_errno.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/exevp/failure_prints_errno.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/failure_prints_errno.c.tmp" 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/failure_prints_errno.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/exevp/Output/failure_prints_errno.c.tmp" 1: note: command had no output on stdout or stderr 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/no_exec.c (71 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/no_exec.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/Output/no_exec.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/no_exec.c 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/Output/no_exec.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/Output/no_exec.c.tmp 1: : 'RUN: at line 4'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/Output/no_exec.c.tmp.json count -ge 1 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/Output/no_exec.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/Output/no_exec.c.tmp 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/Output/no_exec.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/no_exec.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/Output/no_exec.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/Output/no_exec.c.tmp" 1: # command stderr: 1: [16:45:17.788262, ic, 3339] intercept: 3.0.20 1: [16:45:17.788765, ic, 3339] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/Output/no_exec.c.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/Output/no_exec.c.tmp"] 1: [16:45:17.788863, ic, 3339] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:17.788913, ic, 3339] sysname: Linux 1: [16:45:17.788926, ic, 3339] release: 5.19.9-arch1-1 1: [16:45:17.788936, ic, 3339] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:17.788945, ic, 3339] machine: riscv64 1: [16:45:17.789145, ic, 3339] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/Output/no_exec.c.tmp]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/Output/no_exec.c.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [16:45:17.789627, ic, 3339] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/posix_spawn/success.c (72 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/posix_spawn/success.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="/usr/bin/echo"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/success.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/posix_spawn/success.c 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/success.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/success.c.tmp 1: : 'RUN: at line 4'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/success.c.tmp.json count -eq 2 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/success.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/success.c.tmp -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/success.c.tmp 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/success.c.tmp.json contains -program /usr/bin/echo -arguments /usr/bin/echo "hi there" 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="/usr/bin/echo"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/success.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/posix_spawn/success.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/success.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/success.c.tmp" 1: # command stderr: 1: [16:45:19.115644, ic, 3367] intercept: 3.0.20 1: [16:45:19.116109, ic, 3367] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/success.c.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/success.c.tmp"] 1: [16:45:19.116206, ic, 3367] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:19.116257, ic, 3367] sysname: Linux 1: [16:45:19.116271, ic, 3367] release: 5.19.9-arch1-1 1: [16:45:19.116282, ic, 3367] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:19.116292, ic, 3367] machine: riscv64 1: [16:45:19.116513, ic, 3367] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/success.c.tmp]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/success.c.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [16:45:19.117125, ic, 3367] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/popen/success.c (73 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/popen/success.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/popen/Output/success.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/popen/success.c 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/popen/Output/success.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/popen/Output/success.c.tmp 1: : 'RUN: at line 4'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/popen/Output/success.c.tmp.json count -ge 2 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/popen/Output/success.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/popen/Output/success.c.tmp 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/popen/Output/success.c.tmp.json contains -arguments more 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/popen/Output/success.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/popen/success.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/popen/Output/success.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/popen/Output/success.c.tmp" 1: # command stderr: 1: [16:45:18.990800, ic, 3363] intercept: 3.0.20 1: [16:45:18.991321, ic, 3363] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/popen/Output/success.c.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/popen/Output/success.c.tmp"] 1: [16:45:18.991411, ic, 3363] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:18.991459, ic, 3363] sysname: Linux 1: [16:45:18.991472, ic, 3363] release: 5.19.9-arch1-1 1: [16:45:18.991482, ic, 3363] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:18.991492, ic, 3363] machine: riscv64 1: [16:45:18.991664, ic, 3363] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/popen/Output/success.c.tmp]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/popen/Output/success.c.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [16:45:18.992130, ic, 3363] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/posix_spawn/failure_prints_errno.c (74 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/posix_spawn/failure_prints_errno.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="/path/to/not/existing"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/failure_prints_errno.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/posix_spawn/failure_prints_errno.c 1: : 'RUN: at line 3'; /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/failure_prints_errno.c.tmp > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/failure_prints_errno.c.tmp.without.errno 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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 --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/failure_prints_errno.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/failure_prints_errno.c.tmp > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/failure_prints_errno.c.tmp.with.errno 1: : 'RUN: at line 5'; diff /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/failure_prints_errno.c.tmp.with.errno /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/failure_prints_errno.c.tmp.without.errno 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/failure_prints_errno.c.tmp.json count -eq 1 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/failure_prints_errno.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/failure_prints_errno.c.tmp 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="/path/to/not/existing"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/failure_prints_errno.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/posix_spawn/failure_prints_errno.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/failure_prints_errno.c.tmp" 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/failure_prints_errno.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawn/Output/failure_prints_errno.c.tmp" 1: note: command had no output on stdout or stderr 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/posix_spawnp/failure_prints_errno.c (75 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/posix_spawnp/failure_prints_errno.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="/path/to/not/existing"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/failure_prints_errno.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/posix_spawnp/failure_prints_errno.c 1: : 'RUN: at line 3'; /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/failure_prints_errno.c.tmp > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/failure_prints_errno.c.tmp.without.errno 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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 --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/failure_prints_errno.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/failure_prints_errno.c.tmp > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/failure_prints_errno.c.tmp.with.errno 1: : 'RUN: at line 5'; diff /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/failure_prints_errno.c.tmp.with.errno /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/failure_prints_errno.c.tmp.without.errno 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/failure_prints_errno.c.tmp.json count -eq 1 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/failure_prints_errno.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/failure_prints_errno.c.tmp 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="/path/to/not/existing"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/failure_prints_errno.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/posix_spawnp/failure_prints_errno.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/failure_prints_errno.c.tmp" 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/failure_prints_errno.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/failure_prints_errno.c.tmp" 1: note: command had no output on stdout or stderr 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/preload_append/fakeroot.sh (76 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/preload_append/fakeroot.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/fakeroot whoami | xargs test 'root' = 1: : 'RUN: at line 5'; /build/bear/src/build/stage/bin/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 --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/fakeroot.sh.tmp.json -- /usr/bin/fakeroot whoami | xargs test 'root' = 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/fakeroot.sh.tmp.json count -ge 2 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/fakeroot.sh.tmp.json contains -arguments /usr/bin/fakeroot whoami 1: : 'RUN: at line 8'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/fakeroot.sh.tmp.json contains -arguments whoami 1: -- 1: Exit Code: 123 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/fakeroot" "whoami" 1: $ "xargs" "test" "root" "=" 1: $ ":" "RUN: at line 5" 1: $ "/build/bear/src/build/stage/bin/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" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/fakeroot.sh.tmp.json" "--" "/usr/bin/fakeroot" "whoami" 1: note: command had no output on stdout or stderr 1: error: command failed with exit status: -4 1: $ "xargs" "test" "root" "=" 1: # command stderr: 1: test: missing argument after ‘=’ 1: 1: error: command failed with exit status: 123 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/system/success.c (77 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/system/success.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/system/Output/success.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/system/success.c 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/system/Output/success.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/system/Output/success.c.tmp 1: : 'RUN: at line 4'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/system/Output/success.c.tmp.json count -ge 2 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/system/Output/success.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/system/Output/success.c.tmp 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/system/Output/success.c.tmp.json contains -arguments ls -l 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/system/Output/success.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/system/success.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/system/Output/success.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/system/Output/success.c.tmp" 1: # command stderr: 1: [16:45:20.428458, ic, 3418] intercept: 3.0.20 1: [16:45:20.429278, ic, 3418] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/system/Output/success.c.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/system/Output/success.c.tmp"] 1: [16:45:20.429514, ic, 3418] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:20.429688, ic, 3418] sysname: Linux 1: [16:45:20.429811, ic, 3418] release: 5.19.9-arch1-1 1: [16:45:20.429929, ic, 3418] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:20.430129, ic, 3418] machine: riscv64 1: [16:45:20.430436, ic, 3418] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/system/Output/success.c.tmp]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/system/Output/success.c.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [16:45:20.431029, ic, 3418] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/posix_spawnp/success.c (78 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/posix_spawnp/success.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="/usr/bin/echo"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/posix_spawnp/success.c 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success.c.tmp 1: : 'RUN: at line 4'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success.c.tmp.json count -eq 2 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success.c.tmp -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success.c.tmp 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success.c.tmp.json contains -program /usr/bin/echo -arguments /usr/bin/echo "hi there" 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="/usr/bin/echo"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/posix_spawnp/success.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success.c.tmp" 1: # command stderr: 1: [16:45:20.583643, ic, 3421] intercept: 3.0.20 1: [16:45:20.584090, ic, 3421] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success.c.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success.c.tmp"] 1: [16:45:20.584182, ic, 3421] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:20.584229, ic, 3421] sysname: Linux 1: [16:45:20.584242, ic, 3421] release: 5.19.9-arch1-1 1: [16:45:20.584252, ic, 3421] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:20.584262, ic, 3421] machine: riscv64 1: [16:45:20.584450, ic, 3421] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success.c.tmp]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success.c.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [16:45:20.584891, ic, 3421] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/posix/posix_spawnp/success_to_resolve.c (79 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/posix/posix_spawnp/success_to_resolve.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_PROGRAM="echo"' -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success_to_resolve.c.tmp /build/bear/src/bear/test/cases/intercept/preload/posix/posix_spawnp/success_to_resolve.c 1: : 'RUN: at line 3'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success_to_resolve.c.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success_to_resolve.c.tmp 1: : 'RUN: at line 4'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success_to_resolve.c.tmp.json count -eq 2 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success_to_resolve.c.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success_to_resolve.c.tmp -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success_to_resolve.c.tmp 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success_to_resolve.c.tmp.json contains -arguments echo "hi there" 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_PROGRAM="echo"" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success_to_resolve.c.tmp" "/build/bear/src/bear/test/cases/intercept/preload/posix/posix_spawnp/success_to_resolve.c" 1: $ ":" "RUN: at line 3" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success_to_resolve.c.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success_to_resolve.c.tmp" 1: # command stderr: 1: [16:45:20.946224, ic, 3431] intercept: 3.0.20 1: [16:45:20.946840, ic, 3431] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success_to_resolve.c.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success_to_resolve.c.tmp"] 1: [16:45:20.946937, ic, 3431] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:20.946988, ic, 3431] sysname: Linux 1: [16:45:20.947002, ic, 3431] release: 5.19.9-arch1-1 1: [16:45:20.947013, ic, 3431] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:20.947023, ic, 3431] machine: riscv64 1: [16:45:20.947210, ic, 3431] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success_to_resolve.c.tmp]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/posix/posix_spawnp/Output/success_to_resolve.c.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [16:45:20.947704, ic, 3431] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/shell_commands_intercepted.sh (80 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/shell_commands_intercepted.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/shell_commands_intercepted.sh 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted.sh.tmp.json count -ge 4 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted.sh.tmp.json contains -program /usr/bin/true 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted.sh.tmp.json contains -program /usr/bin/sh -arguments /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/shell_commands_intercepted.sh 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/preload/shell_commands_intercepted.sh" 1: # command stderr: 1: [16:45:21.243371, ic, 3437] intercept: 3.0.20 1: [16:45:21.243856, ic, 3437] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/shell_commands_intercepted.sh"] 1: [16:45:21.243949, ic, 3437] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:21.243995, ic, 3437] sysname: Linux 1: [16:45:21.244009, ic, 3437] release: 5.19.9-arch1-1 1: [16:45:21.244020, ic, 3437] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:21.244029, ic, 3437] machine: riscv64 1: [16:45:21.244214, ic, 3437] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/intercept/preload/shell_commands_intercepted.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted.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: [16:45:21.244622, ic, 3437] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/shell_commands_intercepted_without_shebang.sh (81 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/shell_commands_intercepted_without_shebang.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/shell_commands_intercepted_without_shebang.sh > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted_without_shebang.sh.tmp.sh 1: : 'RUN: at line 5'; chmod +x /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted_without_shebang.sh.tmp.sh 1: : 'RUN: at line 6'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted_without_shebang.sh.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted_without_shebang.sh.tmp.sh 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted_without_shebang.sh.tmp.json count -ge 4 1: : 'RUN: at line 8'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted_without_shebang.sh.tmp.json contains -program /usr/bin/true 1: : 'RUN: at line 9'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted_without_shebang.sh.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted_without_shebang.sh.tmp.sh -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted_without_shebang.sh.tmp.sh 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/preload/shell_commands_intercepted_without_shebang.sh" 1: $ ":" "RUN: at line 5" 1: $ "chmod" "+x" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted_without_shebang.sh.tmp.sh" 1: $ ":" "RUN: at line 6" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted_without_shebang.sh.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted_without_shebang.sh.tmp.sh" 1: # command stderr: 1: [16:45:21.594664, ic, 3445] intercept: 3.0.20 1: [16:45:21.595150, ic, 3445] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted_without_shebang.sh.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted_without_shebang.sh.tmp.sh"] 1: [16:45:21.595234, ic, 3445] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:21.595278, ic, 3445] sysname: Linux 1: [16:45:21.595291, ic, 3445] release: 5.19.9-arch1-1 1: [16:45:21.595301, ic, 3445] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:21.595311, ic, 3445] machine: riscv64 1: [16:45:21.595489, ic, 3445] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted_without_shebang.sh.tmp.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_intercepted_without_shebang.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: [16:45:21.595977, ic, 3445] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/preload_append/io_calls.c (82 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/preload_append/io_calls.c' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 2'; cc -I /build/bear/src/build/subprojects/Build/BearTest '-D_FILE="/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/io_calls.c.tmp.state"' -fpic -shared -o /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/io_calls.c.tmp.so /build/bear/src/bear/test/cases/intercept/preload/preload_append/io_calls.c 1: : 'RUN: at line 3'; env LD_PRELOAD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/io_calls.c.tmp.so /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/io_calls.c.tmp.json -- /usr/bin/sh -c /usr/bin/true 1: : 'RUN: at line 4'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/io_calls.c.tmp.json count -ge 2 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/io_calls.c.tmp.json contains -arguments /usr/bin/sh -c /usr/bin/true 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/io_calls.c.tmp.json contains -program /usr/bin/true -arguments /usr/bin/true 1: : 'RUN: at line 7'; test -f /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/io_calls.c.tmp.state 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 2" 1: $ "cc" "-I" "/build/bear/src/build/subprojects/Build/BearTest" "-D_FILE="/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/io_calls.c.tmp.state"" "-fpic" "-shared" "-o" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/io_calls.c.tmp.so" "/build/bear/src/bear/test/cases/intercept/preload/preload_append/io_calls.c" 1: $ ":" "RUN: at line 3" 1: $ "env" "LD_PRELOAD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/io_calls.c.tmp.so" "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/io_calls.c.tmp.json" "--" "/usr/bin/sh" "-c" "/usr/bin/true" 1: # command stderr: 1: [16:45:21.681048, ic, 3447] intercept: 3.0.20 1: [16:45:21.681694, ic, 3447] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/io_calls.c.tmp.json", "--", "/usr/bin/sh", "-c", "/usr/bin/true"] 1: [16:45:21.681808, ic, 3447] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "LD_PRELOAD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/io_calls.c.tmp.so"] 1: [16:45:21.681857, ic, 3447] sysname: Linux 1: [16:45:21.681870, ic, 3447] release: 5.19.9-arch1-1 1: [16:45:21.681881, ic, 3447] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:21.681890, ic, 3447] machine: riscv64 1: [16:45:21.682217, ic, 3447] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/sh, -c, /usr/bin/true]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/preload_append/Output/io_calls.c.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [16:45:21.682721, ic, 3447] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/shell_commands_parallel_intercepted.sh (83 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/shell_commands_parallel_intercepted.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_parallel_intercepted.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/shell_commands_parallel_intercepted.sh 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_parallel_intercepted.sh.tmp.json count -ge 4 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_parallel_intercepted.sh.tmp.json contains -program /usr/bin/true 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_parallel_intercepted.sh.tmp.json contains -program /usr/bin/sh -arguments /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/shell_commands_parallel_intercepted.sh 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_parallel_intercepted.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/preload/shell_commands_parallel_intercepted.sh" 1: # command stderr: 1: [16:45:21.639239, ic, 3446] intercept: 3.0.20 1: [16:45:21.640084, ic, 3446] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_parallel_intercepted.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/shell_commands_parallel_intercepted.sh"] 1: [16:45:21.640335, ic, 3446] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:21.640531, ic, 3446] sysname: Linux 1: [16:45:21.640654, ic, 3446] release: 5.19.9-arch1-1 1: [16:45:21.640771, ic, 3446] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:21.640882, ic, 3446] machine: riscv64 1: [16:45:21.641212, ic, 3446] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/intercept/preload/shell_commands_parallel_intercepted.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_parallel_intercepted.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: [16:45:21.641861, ic, 3446] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/shell_commands_with_empty_env.sh (84 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/shell_commands_with_empty_env.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_with_empty_env.sh.tmp.json -- env - /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/shell_commands_with_empty_env.sh /usr/bin/true 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_with_empty_env.sh.tmp.json count -ge 5 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_with_empty_env.sh.tmp.json contains -program /usr/bin/true 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_with_empty_env.sh.tmp.json contains -program /usr/bin/sh -arguments /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/shell_commands_with_empty_env.sh /usr/bin/true 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_with_empty_env.sh.tmp.json" "--" "env" "-" "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/preload/shell_commands_with_empty_env.sh" "/usr/bin/true" 1: # command stderr: 1: [16:45:21.937270, ic, 3457] intercept: 3.0.20 1: [16:45:21.937737, ic, 3457] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_with_empty_env.sh.tmp.json", "--", "env", "-", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/shell_commands_with_empty_env.sh", "/usr/bin/true"] 1: [16:45:21.937831, ic, 3457] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:21.937876, ic, 3457] sysname: Linux 1: [16:45:21.937889, ic, 3457] release: 5.19.9-arch1-1 1: [16:45:21.937899, ic, 3457] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:21.937908, ic, 3457] machine: riscv64 1: [16:45:21.938086, ic, 3457] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [env, -, /usr/bin/sh, /build/bear/src/bear/test/cases/intercept/preload/shell_commands_with_empty_env.sh, /usr/bin/true]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_commands_with_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: [16:45:21.938629, ic, 3457] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/shell_redirect_works.sh (85 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/shell_redirect_works.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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 --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_redirect_works.sh.tmp.json -- /usr/bin/sh -c "/usr/bin/echo hi | /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/shell_redirect_works.sh" 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_redirect_works.sh.tmp.json count -eq 4 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_redirect_works.sh.tmp.json contains -program /usr/bin/sh 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_redirect_works.sh.tmp.json contains -program /usr/bin/echo -arguments /usr/bin/echo "hi" 1: : 'RUN: at line 8'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_redirect_works.sh.tmp.json contains -program /usr/bin/echo -arguments /usr/bin/echo "hi there" 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_redirect_works.sh.tmp.json" "--" "/usr/bin/sh" "-c" "/usr/bin/echo hi | /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/shell_redirect_works.sh" 1: note: command had no output on stdout or stderr 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: UNSUPPORTED: bear :: cases/intercept/valgrind/shell_commands_intercepted.sh (86 of 100) 1: FAIL: bear :: cases/intercept/preload/signal_inside_build.sh (87 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/signal_inside_build.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_inside_build.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/signal_inside_build.sh --sleep /usr/bin/sleep --true /usr/bin/true 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_inside_build.sh.tmp.json count -ge 3 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_inside_build.sh.tmp.json contains -program /usr/bin/true -arguments /usr/bin/true 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_inside_build.sh.tmp.json contains -program /usr/bin/sleep -arguments /usr/bin/sleep 1 1: : 'RUN: at line 8'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_inside_build.sh.tmp.json contains -program /usr/bin/sleep -arguments /usr/bin/sleep 5 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_inside_build.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/preload/signal_inside_build.sh" "--sleep" "/usr/bin/sleep" "--true" "/usr/bin/true" 1: # command stderr: 1: [16:45:22.615247, ic, 3465] intercept: 3.0.20 1: [16:45:22.615675, ic, 3465] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_inside_build.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/signal_inside_build.sh", "--sleep", "/usr/bin/sleep", "--true", "/usr/bin/true"] 1: [16:45:22.615766, ic, 3465] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:22.615805, ic, 3465] sysname: Linux 1: [16:45:22.615818, ic, 3465] release: 5.19.9-arch1-1 1: [16:45:22.615829, ic, 3465] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:22.615839, ic, 3465] machine: riscv64 1: [16:45:22.616017, ic, 3465] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/intercept/preload/signal_inside_build.sh, --sleep, /usr/bin/sleep, --true, /usr/bin/true]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_inside_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: [16:45:22.616442, ic, 3465] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/shell_fail_commands_intercepted.sh (88 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/shell_fail_commands_intercepted.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_fail_commands_intercepted.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/shell_fail_commands_intercepted.sh || true 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_fail_commands_intercepted.sh.tmp.json count -ge 2 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_fail_commands_intercepted.sh.tmp.json contains -program /usr/bin/false 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_fail_commands_intercepted.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/preload/shell_fail_commands_intercepted.sh" 1: # command stderr: 1: [16:45:22.328899, ic, 3460] intercept: 3.0.20 1: [16:45:22.329762, ic, 3460] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_fail_commands_intercepted.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/shell_fail_commands_intercepted.sh"] 1: [16:45:22.330044, ic, 3460] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:22.330250, ic, 3460] sysname: Linux 1: [16:45:22.330389, ic, 3460] release: 5.19.9-arch1-1 1: [16:45:22.330520, ic, 3460] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:22.330647, ic, 3460] machine: riscv64 1: [16:45:22.331001, ic, 3460] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/intercept/preload/shell_fail_commands_intercepted.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_fail_commands_intercepted.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: [16:45:22.331652, ic, 3460] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: error: command failed with exit status: -4 1: $ "true" 1: $ ":" "RUN: at line 5" 1: $ "assert_intercepted" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/shell_fail_commands_intercepted.sh.tmp.json" "count" "-ge" "2" 1: # command stderr: 1: assert_intercepted: failed: expected greater or equal 2, but got 0 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/wrapper/build_command_captured.sh (89 of 100) 1: ******************** TEST 'bear :: cases/intercept/wrapper/build_command_captured.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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-wrapper --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/build_command_captured.sh.tmp.json -- env 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/build_command_captured.sh.tmp.json count -eq 0 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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-wrapper" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/build_command_captured.sh.tmp.json" "--" "env" 1: # command stderr: 1: [16:45:23.310347, ic, 3480] intercept: 3.0.20 1: [16:45:23.310769, ic, 3480] arguments: ["/build/bear/src/build/stage/bin/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-wrapper", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/build_command_captured.sh.tmp.json", "--", "env"] 1: [16:45:23.310865, ic, 3480] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:23.310915, ic, 3480] sysname: Linux 1: [16:45:23.310952, ic, 3480] release: 5.19.9-arch1-1 1: [16:45:23.310963, ic, 3480] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:23.310972, ic, 3480] machine: riscv64 1: [16:45:23.311165, ic, 3480] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [env]}, {--force-wrapper: []}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/build_command_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]}]} 1: [16:45:23.319018, ic, 3480] session initialized with: wrapper_dir: /build/bear/src/build/stage/lib/bear/wrapper.d 1: [16:45:23.319164, ic, 3480] session initialized with: mapping: {"ar": "/usr/bin/ar", "as": "/usr/bin/as", "bison": "/usr/bin/bison", "c++": "/usr/bin/c++", "cc": "/usr/bin/cc", "cpp": "/usr/bin/cpp", "flex": "/usr/bin/flex", "g++": "/usr/bin/g++", "gcc": "/usr/bin/gcc", "ld": "/usr/bin/ld", "lex": "/usr/bin/lex", "makeinfo": "/usr/bin/makeinfo", "nm": "/usr/bin/nm", "objcopy": "/usr/bin/objcopy", "objdump": "/usr/bin/objdump", "ranlib": "/usr/bin/ranlib", "readelf": "/usr/bin/readelf", "strip": "/usr/bin/strip", "yacc": "/usr/bin/yacc"} 1: [16:45:23.319190, ic, 3480] session initialized with: override: {"CC": "cc", "CXX": "c++"} 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/wrapper/build_stderr_captured.sh (90 of 100) 1: ******************** TEST 'bear :: cases/intercept/wrapper/build_stderr_captured.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/intercept/wrapper/build_stderr_captured.sh 2> /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/build_stderr_captured.sh.tmp.orig.stderr 1: : 'RUN: at line 5'; /build/bear/src/build/stage/bin/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-wrapper --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/build_stderr_captured.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/intercept/wrapper/build_stderr_captured.sh 2> /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/build_stderr_captured.sh.tmp.fwd.stderr 1: : 'RUN: at line 6'; diff /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/build_stderr_captured.sh.tmp.orig.stderr /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/build_stderr_captured.sh.tmp.fwd.stderr 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/wrapper/build_stderr_captured.sh" 1: $ ":" "RUN: at line 5" 1: $ "/build/bear/src/build/stage/bin/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-wrapper" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/build_stderr_captured.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/wrapper/build_stderr_captured.sh" 1: note: command had no output on stdout or stderr 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/wrapper/build_stdout_captured.sh (91 of 100) 1: ******************** TEST 'bear :: cases/intercept/wrapper/build_stdout_captured.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/intercept/wrapper/build_stdout_captured.sh > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/build_stdout_captured.sh.tmp.orig.stdout 1: : 'RUN: at line 5'; /build/bear/src/build/stage/bin/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-wrapper --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/build_stdout_captured.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/intercept/wrapper/build_stdout_captured.sh > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/build_stdout_captured.sh.tmp.fwd.stdout 1: : 'RUN: at line 6'; diff /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/build_stdout_captured.sh.tmp.orig.stdout /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/build_stdout_captured.sh.tmp.fwd.stdout 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/wrapper/build_stdout_captured.sh" 1: $ ":" "RUN: at line 5" 1: $ "/build/bear/src/build/stage/bin/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-wrapper" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/build_stdout_captured.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/wrapper/build_stdout_captured.sh" 1: note: command had no output on stdout or stderr 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/signal_outside_build.sh (92 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/signal_outside_build.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh -c "/build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_outside_build.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/signal_outside_build.sh --sleep /usr/bin/sleep --true /usr/bin/true & /usr/bin/sleep 1; kill -15 %1; wait;" 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_outside_build.sh.tmp.json count -eq 3 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_outside_build.sh.tmp.json contains -program /usr/bin/true 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_outside_build.sh.tmp.json contains -program /usr/bin/sleep -arguments /usr/bin/sleep 5 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "-c" "/build/bear/src/build/stage/bin/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 --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_outside_build.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/signal_outside_build.sh --sleep /usr/bin/sleep --true /usr/bin/true & /usr/bin/sleep 1; kill -15 %1; wait;" 1: # command stderr: 1: [16:45:22.742215, ic, 3470] intercept: 3.0.20 1: [16:45:22.742921, ic, 3470] arguments: ["/build/bear/src/build/stage/bin/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", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_outside_build.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/signal_outside_build.sh", "--sleep", "/usr/bin/sleep", "--true", "/usr/bin/true"] 1: [16:45:22.743164, ic, 3470] environment: ["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=1664871248", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-egh8h0th", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TERM=tmux-256color", "TEMP=/tmp/lit-tmp-egh8h0th", "SHLVL=0", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-egh8h0th", "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", "_=/build/bear/src/build/stage/bin/intercept"] 1: [16:45:22.743357, ic, 3470] sysname: Linux 1: [16:45:22.743483, ic, 3470] release: 5.19.9-arch1-1 1: [16:45:22.743593, ic, 3470] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:22.743699, ic, 3470] machine: riscv64 1: [16:45:22.743984, ic, 3470] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/intercept/preload/signal_outside_build.sh, --sleep, /usr/bin/sleep, --true, /usr/bin/true]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_outside_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: [16:45:22.744517, ic, 3470] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: 1: $ ":" "RUN: at line 5" 1: $ "assert_intercepted" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/signal_outside_build.sh.tmp.json" "count" "-eq" "3" 1: # command stderr: 1: assert_intercepted: failed: expected 3, but got 0 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/wrapper/libtool_commands_captured.sh (93 of 100) 1: ******************** TEST 'bear :: cases/intercept/wrapper/libtool_commands_captured.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/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-wrapper --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/libtool_commands_captured.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/intercept/wrapper/libtool_commands_captured.sh 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/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/wrapper/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/wrapper/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: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/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-wrapper" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/libtool_commands_captured.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/wrapper/libtool_commands_captured.sh" 1: # command stderr: 1: [16:45:23.985355, ic, 3499] intercept: 3.0.20 1: [16:45:23.986026, ic, 3499] arguments: ["/build/bear/src/build/stage/bin/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-wrapper", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/libtool_commands_captured.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/wrapper/libtool_commands_captured.sh"] 1: [16:45:23.986227, ic, 3499] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:23.986374, ic, 3499] sysname: Linux 1: [16:45:23.986484, ic, 3499] release: 5.19.9-arch1-1 1: [16:45:23.986591, ic, 3499] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:23.986771, ic, 3499] machine: riscv64 1: [16:45:23.987056, ic, 3499] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/intercept/wrapper/libtool_commands_captured.sh]}, {--force-wrapper: []}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/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]}]} 1: [16:45:23.990867, ic, 3499] session initialized with: wrapper_dir: /build/bear/src/build/stage/lib/bear/wrapper.d 1: [16:45:24.000179, ic, 3499] session initialized with: mapping: {"ar": "/usr/bin/ar", "as": "/usr/bin/as", "bison": "/usr/bin/bison", "c++": "/usr/bin/c++", "cc": "/usr/bin/cc", "cpp": "/usr/bin/cpp", "flex": "/usr/bin/flex", "g++": "/usr/bin/g++", "gcc": "/usr/bin/gcc", "ld": "/usr/bin/ld", "lex": "/usr/bin/lex", "makeinfo": "/usr/bin/makeinfo", "nm": "/usr/bin/nm", "objcopy": "/usr/bin/objcopy", "objdump": "/usr/bin/objdump", "ranlib": "/usr/bin/ranlib", "readelf": "/usr/bin/readelf", "strip": "/usr/bin/strip", "yacc": "/usr/bin/yacc"} 1: [16:45:24.000419, ic, 3499] session initialized with: override: {"CC": "cc", "CXX": "c++"} 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/wrapper/shell_commands_intercepted.sh (94 of 100) 1: ******************** TEST 'bear :: cases/intercept/wrapper/shell_commands_intercepted.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output; /build/bear/src/build/stage/bin/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-wrapper --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/intercept/wrapper/shell_commands_intercepted.sh 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted.sh.tmp.json count -ge 3 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted.sh.tmp.json contains -program /usr/bin/cc -arguments /usr/bin/cc -c shell_commands_intercepted.c -o shell_commands_intercepted.1.o 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted.sh.tmp.json contains -program /usr/bin/cc -arguments /usr/bin/cc -c shell_commands_intercepted.c -o shell_commands_intercepted.2.o 1: : 'RUN: at line 8'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted.sh.tmp.json contains -program /usr/bin/cc -arguments /usr/bin/cc -c shell_commands_intercepted.c -o shell_commands_intercepted.3.o 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output" 1: $ "/build/bear/src/build/stage/bin/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-wrapper" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/wrapper/shell_commands_intercepted.sh" 1: # command stderr: 1: [16:45:24.344468, ic, 3504] intercept: 3.0.20 1: [16:45:24.344884, ic, 3504] arguments: ["/build/bear/src/build/stage/bin/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-wrapper", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/wrapper/shell_commands_intercepted.sh"] 1: [16:45:24.344976, ic, 3504] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:24.345021, ic, 3504] sysname: Linux 1: [16:45:24.345033, ic, 3504] release: 5.19.9-arch1-1 1: [16:45:24.345043, ic, 3504] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:24.345052, ic, 3504] machine: riscv64 1: [16:45:24.345214, ic, 3504] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/intercept/wrapper/shell_commands_intercepted.sh]}, {--force-wrapper: []}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted.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: [16:45:24.348957, ic, 3504] session initialized with: wrapper_dir: /build/bear/src/build/stage/lib/bear/wrapper.d 1: [16:45:24.349060, ic, 3504] session initialized with: mapping: {"ar": "/usr/bin/ar", "as": "/usr/bin/as", "bison": "/usr/bin/bison", "c++": "/usr/bin/c++", "cc": "/usr/bin/cc", "cpp": "/usr/bin/cpp", "flex": "/usr/bin/flex", "g++": "/usr/bin/g++", "gcc": "/usr/bin/gcc", "ld": "/usr/bin/ld", "lex": "/usr/bin/lex", "makeinfo": "/usr/bin/makeinfo", "nm": "/usr/bin/nm", "objcopy": "/usr/bin/objcopy", "objdump": "/usr/bin/objdump", "ranlib": "/usr/bin/ranlib", "readelf": "/usr/bin/readelf", "strip": "/usr/bin/strip", "yacc": "/usr/bin/yacc"} 1: [16:45:24.349084, ic, 3504] session initialized with: override: {"CC": "cc", "CXX": "c++"} 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/wrapper/shell_commands_basename_compiler.sh (95 of 100) 1: ******************** TEST 'bear :: cases/intercept/wrapper/shell_commands_basename_compiler.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/intercept/wrapper/shell_commands_basename_compiler.sh > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_basename_compiler.sh.tmp.sh 1: : 'RUN: at line 5'; chmod +x /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_basename_compiler.sh.tmp.sh 1: : 'RUN: at line 6'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output; /build/bear/src/build/stage/bin/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-wrapper --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_basename_compiler.sh.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_basename_compiler.sh.tmp.sh 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_basename_compiler.sh.tmp.json count -ge 3 1: : 'RUN: at line 8'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_basename_compiler.sh.tmp.json contains -program /usr/bin/cc -arguments /usr/bin/cc -c shell_commands_intercepted.c -o shell_commands_intercepted.1.o 1: : 'RUN: at line 9'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_basename_compiler.sh.tmp.json contains -program /usr/bin/cc -arguments /usr/bin/cc -c shell_commands_intercepted.c -o shell_commands_intercepted.2.o 1: : 'RUN: at line 10'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_basename_compiler.sh.tmp.json contains -program /usr/bin/cc -arguments /usr/bin/cc -c shell_commands_intercepted.c -o shell_commands_intercepted.3.o 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/wrapper/shell_commands_basename_compiler.sh" 1: $ ":" "RUN: at line 5" 1: $ "chmod" "+x" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_basename_compiler.sh.tmp.sh" 1: $ ":" "RUN: at line 6" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output" 1: $ "/build/bear/src/build/stage/bin/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-wrapper" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_basename_compiler.sh.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_basename_compiler.sh.tmp.sh" 1: # command stderr: 1: [16:45:24.419269, ic, 3506] intercept: 3.0.20 1: [16:45:24.419708, ic, 3506] arguments: ["/build/bear/src/build/stage/bin/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-wrapper", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_basename_compiler.sh.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_basename_compiler.sh.tmp.sh"] 1: [16:45:24.419795, ic, 3506] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:24.419837, ic, 3506] sysname: Linux 1: [16:45:24.419850, ic, 3506] release: 5.19.9-arch1-1 1: [16:45:24.419860, ic, 3506] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:24.419870, ic, 3506] machine: riscv64 1: [16:45:24.420160, ic, 3506] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_basename_compiler.sh.tmp.sh]}, {--force-wrapper: []}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_basename_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: [16:45:24.444574, ic, 3506] session initialized with: wrapper_dir: /build/bear/src/build/stage/lib/bear/wrapper.d 1: [16:45:24.444718, ic, 3506] session initialized with: mapping: {"ar": "/usr/bin/ar", "as": "/usr/bin/as", "bison": "/usr/bin/bison", "c++": "/usr/bin/c++", "cc": "/usr/bin/cc", "cpp": "/usr/bin/cpp", "flex": "/usr/bin/flex", "g++": "/usr/bin/g++", "gcc": "/usr/bin/gcc", "ld": "/usr/bin/ld", "lex": "/usr/bin/lex", "makeinfo": "/usr/bin/makeinfo", "nm": "/usr/bin/nm", "objcopy": "/usr/bin/objcopy", "objdump": "/usr/bin/objdump", "ranlib": "/usr/bin/ranlib", "readelf": "/usr/bin/readelf", "strip": "/usr/bin/strip", "yacc": "/usr/bin/yacc"} 1: [16:45:24.444746, ic, 3506] session initialized with: override: {"CC": "cc", "CXX": "c++"} 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/wrapper/shell_commands_intercepted_without_shebang.sh (96 of 100) 1: ******************** TEST 'bear :: cases/intercept/wrapper/shell_commands_intercepted_without_shebang.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/intercept/wrapper/shell_commands_intercepted_without_shebang.sh > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted_without_shebang.sh.tmp.sh 1: : 'RUN: at line 5'; chmod +x /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted_without_shebang.sh.tmp.sh 1: : 'RUN: at line 6'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output; /build/bear/src/build/stage/bin/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-wrapper --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted_without_shebang.sh.tmp.json -- /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted_without_shebang.sh.tmp.sh 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted_without_shebang.sh.tmp.json count -ge 3 1: : 'RUN: at line 8'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted_without_shebang.sh.tmp.json contains -program /usr/bin/cc -arguments /usr/bin/cc -c shell_commands_intercepted.c -o shell_commands_intercepted.1.o 1: : 'RUN: at line 9'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted_without_shebang.sh.tmp.json contains -program /usr/bin/cc -arguments /usr/bin/cc -c shell_commands_intercepted.c -o shell_commands_intercepted.2.o 1: : 'RUN: at line 10'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted_without_shebang.sh.tmp.json contains -program /usr/bin/cc -arguments /usr/bin/cc -c shell_commands_intercepted.c -o shell_commands_intercepted.3.o 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/wrapper/shell_commands_intercepted_without_shebang.sh" 1: $ ":" "RUN: at line 5" 1: $ "chmod" "+x" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted_without_shebang.sh.tmp.sh" 1: $ ":" "RUN: at line 6" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output" 1: $ "/build/bear/src/build/stage/bin/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-wrapper" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted_without_shebang.sh.tmp.json" "--" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted_without_shebang.sh.tmp.sh" 1: # command stderr: 1: [16:45:24.637050, ic, 3513] intercept: 3.0.20 1: [16:45:24.637513, ic, 3513] arguments: ["/build/bear/src/build/stage/bin/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-wrapper", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted_without_shebang.sh.tmp.json", "--", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted_without_shebang.sh.tmp.sh"] 1: [16:45:24.637606, ic, 3513] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:24.637649, ic, 3513] sysname: Linux 1: [16:45:24.637662, ic, 3513] release: 5.19.9-arch1-1 1: [16:45:24.637672, ic, 3513] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:24.637681, ic, 3513] machine: riscv64 1: [16:45:24.637858, ic, 3513] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted_without_shebang.sh.tmp.sh]}, {--force-wrapper: []}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_intercepted_without_shebang.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: [16:45:24.641766, ic, 3513] session initialized with: wrapper_dir: /build/bear/src/build/stage/lib/bear/wrapper.d 1: [16:45:24.641877, ic, 3513] session initialized with: mapping: {"ar": "/usr/bin/ar", "as": "/usr/bin/as", "bison": "/usr/bin/bison", "c++": "/usr/bin/c++", "cc": "/usr/bin/cc", "cpp": "/usr/bin/cpp", "flex": "/usr/bin/flex", "g++": "/usr/bin/g++", "gcc": "/usr/bin/gcc", "ld": "/usr/bin/ld", "lex": "/usr/bin/lex", "makeinfo": "/usr/bin/makeinfo", "nm": "/usr/bin/nm", "objcopy": "/usr/bin/objcopy", "objdump": "/usr/bin/objdump", "ranlib": "/usr/bin/ranlib", "readelf": "/usr/bin/readelf", "strip": "/usr/bin/strip", "yacc": "/usr/bin/yacc"} 1: [16:45:24.641900, ic, 3513] session initialized with: override: {"CC": "cc", "CXX": "c++"} 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/wrapper/shell_commands_parallel_intercepted.sh (97 of 100) 1: ******************** TEST 'bear :: cases/intercept/wrapper/shell_commands_parallel_intercepted.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output; /build/bear/src/build/stage/bin/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-wrapper --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_parallel_intercepted.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/intercept/wrapper/shell_commands_parallel_intercepted.sh 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_parallel_intercepted.sh.tmp.json count -ge 3 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_parallel_intercepted.sh.tmp.json contains -program /usr/bin/cc -arguments /usr/bin/cc -c shell_commands_parallel_intercepted.c -o shell_commands_parallel_intercepted.1.o 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_parallel_intercepted.sh.tmp.json contains -program /usr/bin/cc -arguments /usr/bin/cc -c shell_commands_parallel_intercepted.c -o shell_commands_parallel_intercepted.2.o 1: : 'RUN: at line 8'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_parallel_intercepted.sh.tmp.json contains -program /usr/bin/cc -arguments /usr/bin/cc -c shell_commands_parallel_intercepted.c -o shell_commands_parallel_intercepted.3.o 1: -- 1: Exit Code: -4 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output" 1: $ "/build/bear/src/build/stage/bin/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-wrapper" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_parallel_intercepted.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/wrapper/shell_commands_parallel_intercepted.sh" 1: # command stderr: 1: [16:45:24.726507, ic, 3516] intercept: 3.0.20 1: [16:45:24.739566, ic, 3516] arguments: ["/build/bear/src/build/stage/bin/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-wrapper", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_parallel_intercepted.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/wrapper/shell_commands_parallel_intercepted.sh"] 1: [16:45:24.739673, ic, 3516] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:24.739729, ic, 3516] sysname: Linux 1: [16:45:24.739742, ic, 3516] release: 5.19.9-arch1-1 1: [16:45:24.739753, ic, 3516] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:24.739762, ic, 3516] machine: riscv64 1: [16:45:24.740500, ic, 3516] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/intercept/wrapper/shell_commands_parallel_intercepted.sh]}, {--force-wrapper: []}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_commands_parallel_intercepted.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: [16:45:24.744849, ic, 3516] session initialized with: wrapper_dir: /build/bear/src/build/stage/lib/bear/wrapper.d 1: [16:45:24.749464, ic, 3516] session initialized with: mapping: {"ar": "/usr/bin/ar", "as": "/usr/bin/as", "bison": "/usr/bin/bison", "c++": "/usr/bin/c++", "cc": "/usr/bin/cc", "cpp": "/usr/bin/cpp", "flex": "/usr/bin/flex", "g++": "/usr/bin/g++", "gcc": "/usr/bin/gcc", "ld": "/usr/bin/ld", "lex": "/usr/bin/lex", "makeinfo": "/usr/bin/makeinfo", "nm": "/usr/bin/nm", "objcopy": "/usr/bin/objcopy", "objdump": "/usr/bin/objdump", "ranlib": "/usr/bin/ranlib", "readelf": "/usr/bin/readelf", "strip": "/usr/bin/strip", "yacc": "/usr/bin/yacc"} 1: [16:45:24.749749, ic, 3516] session initialized with: override: {"CC": "cc", "CXX": "c++"} 1: 1: error: command failed with exit status: -4 1: 1: -- 1: 1: ******************** 1: XFAIL: bear :: cases/intercept/wrapper/shell_commands_with_empty_env.sh (98 of 100) 1: FAIL: bear :: cases/intercept/wrapper/shell_fail_commands_intercepted.sh (99 of 100) 1: ******************** TEST 'bear :: cases/intercept/wrapper/shell_fail_commands_intercepted.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output; /build/bear/src/build/stage/bin/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-wrapper --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_fail_commands_intercepted.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/intercept/wrapper/shell_fail_commands_intercepted.sh || true 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_fail_commands_intercepted.sh.tmp.json count -ge 1 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_fail_commands_intercepted.sh.tmp.json contains -program /usr/bin/c++ -arguments /usr/bin/c++ -c not_exists.cc -o not_exists.o 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/intercept/wrapper/Output" 1: $ "/build/bear/src/build/stage/bin/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-wrapper" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_fail_commands_intercepted.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/wrapper/shell_fail_commands_intercepted.sh" 1: # command stderr: 1: [16:45:25.263344, ic, 3523] intercept: 3.0.20 1: [16:45:25.267379, ic, 3523] arguments: ["/build/bear/src/build/stage/bin/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-wrapper", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_fail_commands_intercepted.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/wrapper/shell_fail_commands_intercepted.sh"] 1: [16:45:25.267681, ic, 3523] 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=1664871248", "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-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:25.267845, ic, 3523] sysname: Linux 1: [16:45:25.267958, ic, 3523] release: 5.19.9-arch1-1 1: [16:45:25.268065, ic, 3523] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:25.268169, ic, 3523] machine: riscv64 1: [16:45:25.268471, ic, 3523] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/intercept/wrapper/shell_fail_commands_intercepted.sh]}, {--force-wrapper: []}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_fail_commands_intercepted.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: [16:45:25.272522, ic, 3523] session initialized with: wrapper_dir: /build/bear/src/build/stage/lib/bear/wrapper.d 1: [16:45:25.272842, ic, 3523] session initialized with: mapping: {"ar": "/usr/bin/ar", "as": "/usr/bin/as", "bison": "/usr/bin/bison", "c++": "/usr/bin/c++", "cc": "/usr/bin/cc", "cpp": "/usr/bin/cpp", "flex": "/usr/bin/flex", "g++": "/usr/bin/g++", "gcc": "/usr/bin/gcc", "ld": "/usr/bin/ld", "lex": "/usr/bin/lex", "makeinfo": "/usr/bin/makeinfo", "nm": "/usr/bin/nm", "objcopy": "/usr/bin/objcopy", "objdump": "/usr/bin/objdump", "ranlib": "/usr/bin/ranlib", "readelf": "/usr/bin/readelf", "strip": "/usr/bin/strip", "yacc": "/usr/bin/yacc"} 1: [16:45:25.272984, ic, 3523] session initialized with: override: {"CC": "cc", "CXX": "c++"} 1: 1: error: command failed with exit status: -4 1: $ "true" 1: $ ":" "RUN: at line 5" 1: $ "assert_intercepted" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/shell_fail_commands_intercepted.sh.tmp.json" "count" "-ge" "1" 1: # command stderr: 1: assert_intercepted: failed: expected greater or equal 1, but got 0 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/wrapper/use_cc_env_to_select_compiler.sh (100 of 100) 1: ******************** TEST 'bear :: cases/intercept/wrapper/use_cc_env_to_select_compiler.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; echo "#!/usr/bin/env sh\n/usr/bin/cc $@" > /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/use_cc_env_to_select_compiler.sh.tmp.wrapper 1: : 'RUN: at line 5'; chmod +x /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/use_cc_env_to_select_compiler.sh.tmp.wrapper 1: : 'RUN: at line 6'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output; env CC=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/use_cc_env_to_select_compiler.sh.tmp.wrapper /build/bear/src/build/stage/bin/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-wrapper --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/use_cc_env_to_select_compiler.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/intercept/wrapper/use_cc_env_to_select_compiler.sh || true 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/use_cc_env_to_select_compiler.sh.tmp.json count -ge 1 1: : 'RUN: at line 8'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/use_cc_env_to_select_compiler.sh.tmp.json contains -program /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/use_cc_env_to_select_compiler.sh.tmp.wrapper -arguments /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/use_cc_env_to_select_compiler.sh.tmp.wrapper -c use_env.c -o use_env.o 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "echo" "#!/usr/bin/env sh\n/usr/bin/cc $@" 1: $ ":" "RUN: at line 5" 1: $ "chmod" "+x" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/use_cc_env_to_select_compiler.sh.tmp.wrapper" 1: $ ":" "RUN: at line 6" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output" 1: $ "env" "CC=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/use_cc_env_to_select_compiler.sh.tmp.wrapper" "/build/bear/src/build/stage/bin/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-wrapper" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/use_cc_env_to_select_compiler.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/wrapper/use_cc_env_to_select_compiler.sh" 1: # command stderr: 1: [16:45:25.469856, ic, 3528] intercept: 3.0.20 1: [16:45:25.470347, ic, 3528] arguments: ["/build/bear/src/build/stage/bin/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-wrapper", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/use_cc_env_to_select_compiler.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/wrapper/use_cc_env_to_select_compiler.sh"] 1: [16:45:25.470456, ic, 3528] 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=1664871248", "LC_CTYPE=en_US.UTF-8", "TRUE=/usr/bin/true", "FALSE=/usr/bin/false", "ECHO=/usr/bin/echo", "SLEEP=/usr/bin/sleep", "CC=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/use_cc_env_to_select_compiler.sh.tmp.wrapper", "CXX=/usr/bin/c++", "LIBTOOL=/usr/bin/libtool", "TMP=/tmp/lit-tmp-egh8h0th", "TMPDIR=/tmp/lit-tmp-egh8h0th", "TEMP=/tmp/lit-tmp-egh8h0th", "TEMPDIR=/tmp/lit-tmp-egh8h0th"] 1: [16:45:25.470501, ic, 3528] sysname: Linux 1: [16:45:25.470517, ic, 3528] release: 5.19.9-arch1-1 1: [16:45:25.470528, ic, 3528] version: #1 SMP PREEMPT Mon, 19 Sep 2022 03:48:59 +0000 1: [16:45:25.470536, ic, 3528] machine: riscv64 1: [16:45:25.470708, ic, 3528] arguments parsed: {program: /build/bear/src/build/stage/bin/intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/intercept/wrapper/use_cc_env_to_select_compiler.sh]}, {--force-wrapper: []}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/use_cc_env_to_select_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: [16:45:25.474524, ic, 3528] session initialized with: wrapper_dir: /build/bear/src/build/stage/lib/bear/wrapper.d 1: [16:45:25.474642, ic, 3528] session initialized with: mapping: {"ar": "/usr/bin/ar", "as": "/usr/bin/as", "bison": "/usr/bin/bison", "c++": "/usr/bin/c++", "cc": "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/use_cc_env_to_select_compiler.sh.tmp.wrapper", "cpp": "/usr/bin/cpp", "flex": "/usr/bin/flex", "g++": "/usr/bin/g++", "gcc": "/usr/bin/gcc", "ld": "/usr/bin/ld", "lex": "/usr/bin/lex", "makeinfo": "/usr/bin/makeinfo", "nm": "/usr/bin/nm", "objcopy": "/usr/bin/objcopy", "objdump": "/usr/bin/objdump", "ranlib": "/usr/bin/ranlib", "readelf": "/usr/bin/readelf", "strip": "/usr/bin/strip", "yacc": "/usr/bin/yacc"} 1: [16:45:25.474668, ic, 3528] session initialized with: override: {"CC": "cc", "CXX": "c++"} 1: 1: error: command failed with exit status: -4 1: $ "true" 1: $ ":" "RUN: at line 7" 1: $ "assert_intercepted" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/wrapper/Output/use_cc_env_to_select_compiler.sh.tmp.json" "count" "-ge" "1" 1: # command stderr: 1: assert_intercepted: failed: expected greater or equal 1, but got 0 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: ******************** 1: Failed Tests (79): 1: bear :: cases/compilation/exit_code/exit_code_for_success.sh 1: bear :: cases/compilation/output/assembly_sources.mk 1: bear :: cases/compilation/output/broken_build.sh 1: bear :: cases/compilation/output/bug439.mk 1: bear :: cases/compilation/output/config/filter_compilers.sh 1: bear :: cases/compilation/output/config/filter_flags.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_argument.sh 1: bear :: cases/compilation/output/empty_env.sh 1: bear :: cases/compilation/output/existing_files_only.sh 1: bear :: cases/compilation/output/flag/append.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/parallel_build.sh 1: bear :: cases/compilation/output/successful_build.sh 1: bear :: cases/compilation/output/wrapper.sh 1: bear :: cases/intercept/exit_code/exit_code_for_success.sh 1: bear :: cases/intercept/output/shell_commands_with_unicode.sh 1: bear :: cases/intercept/preload/build_command_captured.sh 1: bear :: cases/intercept/preload/build_stderr_captured.sh 1: bear :: cases/intercept/preload/build_stdout_captured.sh 1: bear :: cases/intercept/preload/errno_reset.c 1: bear :: cases/intercept/preload/libtool_commands_captured.sh 1: bear :: cases/intercept/preload/path_resolver/same_name_in_path.c 1: bear :: cases/intercept/preload/path_resolver/same_name_without_exec_flag.c 1: bear :: cases/intercept/preload/posix/execl/failure_prints_errno.c 1: bear :: cases/intercept/preload/posix/execl/success.c 1: bear :: cases/intercept/preload/posix/execle/failure_prints_errno.c 1: bear :: cases/intercept/preload/posix/execle/success.c 1: bear :: cases/intercept/preload/posix/execlp/failure_prints_errno.c 1: bear :: cases/intercept/preload/posix/execlp/success.c 1: bear :: cases/intercept/preload/posix/execlp/success_to_resolve.c 1: bear :: cases/intercept/preload/posix/execv/failure_prints_errno.c 1: bear :: cases/intercept/preload/posix/execv/success.c 1: bear :: cases/intercept/preload/posix/execve/failure_prints_errno.c 1: bear :: cases/intercept/preload/posix/execve/success.c 1: bear :: cases/intercept/preload/posix/execvpe/failure_prints_errno.c 1: bear :: cases/intercept/preload/posix/execvpe/success.c 1: bear :: cases/intercept/preload/posix/execvpe/success_to_resolve.c 1: bear :: cases/intercept/preload/posix/exevp/failure_prints_errno.c 1: bear :: cases/intercept/preload/posix/exevp/success.c 1: bear :: cases/intercept/preload/posix/exevp/success_to_resolve.c 1: bear :: cases/intercept/preload/posix/no_exec.c 1: bear :: cases/intercept/preload/posix/popen/success.c 1: bear :: cases/intercept/preload/posix/posix_spawn/failure_prints_errno.c 1: bear :: cases/intercept/preload/posix/posix_spawn/success.c 1: bear :: cases/intercept/preload/posix/posix_spawnp/failure_prints_errno.c 1: bear :: cases/intercept/preload/posix/posix_spawnp/success.c 1: bear :: cases/intercept/preload/posix/posix_spawnp/success_to_resolve.c 1: bear :: cases/intercept/preload/posix/system/success.c 1: bear :: cases/intercept/preload/preload_append/fakeroot.sh 1: bear :: cases/intercept/preload/preload_append/io_calls.c 1: bear :: cases/intercept/preload/shell_commands_intercepted.sh 1: bear :: cases/intercept/preload/shell_commands_intercepted_without_shebang.sh 1: bear :: cases/intercept/preload/shell_commands_parallel_intercepted.sh 1: bear :: cases/intercept/preload/shell_commands_with_empty_env.sh 1: bear :: cases/intercept/preload/shell_fail_commands_intercepted.sh 1: bear :: cases/intercept/preload/shell_redirect_works.sh 1: bear :: cases/intercept/preload/signal_inside_build.sh 1: bear :: cases/intercept/preload/signal_outside_build.sh 1: bear :: cases/intercept/wrapper/build_command_captured.sh 1: bear :: cases/intercept/wrapper/build_stderr_captured.sh 1: bear :: cases/intercept/wrapper/build_stdout_captured.sh 1: bear :: cases/intercept/wrapper/libtool_commands_captured.sh 1: bear :: cases/intercept/wrapper/shell_commands_basename_compiler.sh 1: bear :: cases/intercept/wrapper/shell_commands_intercepted.sh 1: bear :: cases/intercept/wrapper/shell_commands_intercepted_without_shebang.sh 1: bear :: cases/intercept/wrapper/shell_commands_parallel_intercepted.sh 1: bear :: cases/intercept/wrapper/shell_fail_commands_intercepted.sh 1: bear :: cases/intercept/wrapper/use_cc_env_to_select_compiler.sh 1: 1: 1: Testing Time: 28.19s 1: Unsupported : 7 1: Passed : 8 1: Expectedly Failed: 6 1: Failed : 79 1/1 Test #1: bear::func_test ..................***Failed 29.83 sec 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 29.89 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:122: 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/felix3/build receiving incremental file list bear-3.0.20-2-riscv64-build.log bear-3.0.20-2-riscv64-pkgver.log bear-3.0.20-2-riscv64-prepare.log sent 81 bytes received 33,645 bytes 22,484.00 bytes/sec total size is 564,014 speedup is 16.72