==> Building on articuno ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/bear ./ .SRCINFO 652 100% 0.00kB/s 0:00:00 652 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=3/5) .nvchecker.toml 72 100% 70.31kB/s 0:00:00 72 100% 70.31kB/s 0:00:00 (xfr#2, to-chk=2/5) PKGBUILD 1,072 100% 1.02MB/s 0:00:00 1,072 100% 1.02MB/s 0:00:00 (xfr#3, to-chk=1/5) bear-3.1.3-10.log 230 100% 224.61kB/s 0:00:00 230 100% 224.61kB/s 0:00:00 (xfr#4, to-chk=0/5) sent 1,512 bytes received 131 bytes 3,286.00 bytes/sec total size is 1,991 speedup is 1.21 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root2 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root2]...done ==> Making package: bear 3.1.3-10 (Mon Apr 8 17:25:34 2024) ==> Retrieving sources...  -> Cloning bear git repo... Cloning into bare repository '/home/felix/packages/bear/bear'... remote: Enumerating objects: 16294, done. remote: Counting objects: 0% (1/3539) remote: Counting objects: 1% (36/3539) remote: Counting objects: 2% (71/3539) remote: Counting objects: 3% (107/3539) remote: Counting objects: 4% (142/3539) remote: Counting objects: 5% (177/3539) remote: Counting objects: 6% (213/3539) remote: Counting objects: 7% (248/3539) remote: Counting objects: 8% (284/3539) remote: Counting objects: 9% (319/3539) remote: Counting objects: 10% (354/3539) remote: Counting objects: 11% (390/3539) remote: Counting objects: 12% (425/3539) remote: Counting objects: 13% (461/3539) remote: Counting objects: 14% (496/3539) remote: Counting objects: 15% (531/3539) remote: Counting objects: 16% (567/3539) remote: Counting objects: 17% (602/3539) remote: Counting objects: 18% (638/3539) remote: Counting objects: 19% (673/3539) remote: Counting objects: 20% (708/3539) remote: Counting objects: 21% (744/3539) remote: Counting objects: 22% (779/3539) remote: Counting objects: 23% (814/3539) remote: Counting objects: 24% (850/3539) remote: Counting objects: 25% (885/3539) remote: Counting objects: 26% (921/3539) remote: Counting objects: 27% (956/3539) remote: Counting objects: 28% (991/3539) remote: Counting objects: 29% (1027/3539) remote: Counting objects: 30% (1062/3539) remote: Counting objects: 31% (1098/3539) remote: Counting objects: 32% (1133/3539) remote: Counting objects: 33% (1168/3539) remote: Counting objects: 34% (1204/3539) remote: Counting objects: 35% (1239/3539) remote: Counting objects: 36% (1275/3539) remote: Counting objects: 37% (1310/3539) remote: Counting objects: 38% (1345/3539) remote: Counting objects: 39% (1381/3539) remote: Counting objects: 40% (1416/3539) remote: Counting objects: 41% (1451/3539) remote: Counting objects: 42% (1487/3539) remote: Counting objects: 43% (1522/3539) remote: Counting objects: 44% (1558/3539) remote: Counting objects: 45% (1593/3539) remote: Counting objects: 46% (1628/3539) remote: Counting objects: 47% (1664/3539) remote: Counting objects: 48% (1699/3539) remote: Counting objects: 49% (1735/3539) remote: Counting objects: 50% (1770/3539) remote: Counting objects: 51% (1805/3539) remote: Counting objects: 52% (1841/3539) remote: Counting objects: 53% (1876/3539) remote: Counting objects: 54% (1912/3539) remote: Counting objects: 55% (1947/3539) remote: Counting objects: 56% (1982/3539) remote: Counting objects: 57% (2018/3539) remote: Counting objects: 58% (2053/3539) remote: Counting objects: 59% (2089/3539) remote: Counting objects: 60% (2124/3539) remote: Counting objects: 61% (2159/3539) remote: Counting objects: 62% (2195/3539) remote: Counting objects: 63% (2230/3539) remote: Counting objects: 64% (2265/3539) remote: Counting objects: 65% (2301/3539) remote: Counting objects: 66% (2336/3539) remote: Counting objects: 67% (2372/3539) remote: Counting objects: 68% (2407/3539) remote: Counting objects: 69% (2442/3539) remote: Counting objects: 70% (2478/3539) remote: Counting objects: 71% (2513/3539) remote: Counting objects: 72% (2549/3539) remote: Counting objects: 73% (2584/3539) remote: Counting objects: 74% (2619/3539) remote: Counting objects: 75% (2655/3539) remote: Counting objects: 76% (2690/3539) remote: Counting objects: 77% (2726/3539) remote: Counting objects: 78% (2761/3539) remote: Counting objects: 79% (2796/3539) remote: Counting objects: 80% (2832/3539) remote: Counting objects: 81% (2867/3539) remote: Counting objects: 82% (2902/3539) remote: Counting objects: 83% (2938/3539) remote: Counting objects: 84% (2973/3539) remote: Counting objects: 85% (3009/3539) remote: Counting objects: 86% (3044/3539) remote: Counting objects: 87% (3079/3539) remote: Counting objects: 88% (3115/3539) remote: Counting objects: 89% (3150/3539) remote: Counting objects: 90% (3186/3539) remote: Counting objects: 91% (3221/3539) remote: Counting objects: 92% (3256/3539) remote: Counting objects: 93% (3292/3539) remote: Counting objects: 94% (3327/3539) remote: Counting objects: 95% (3363/3539) remote: Counting objects: 96% (3398/3539) remote: Counting objects: 97% (3433/3539) remote: Counting objects: 98% (3469/3539) remote: Counting objects: 99% (3504/3539) remote: Counting objects: 100% (3539/3539) remote: Counting objects: 100% (3539/3539), done. remote: Compressing objects: 0% (1/1078) remote: Compressing objects: 1% (11/1078) remote: Compressing objects: 2% (22/1078) remote: Compressing objects: 3% (33/1078) remote: Compressing objects: 4% (44/1078) remote: Compressing objects: 5% (54/1078) remote: Compressing objects: 6% (65/1078) remote: Compressing objects: 7% (76/1078) remote: Compressing objects: 8% (87/1078) remote: Compressing objects: 9% (98/1078) remote: Compressing objects: 10% (108/1078) remote: Compressing objects: 11% (119/1078) remote: Compressing objects: 12% (130/1078) remote: Compressing objects: 13% (141/1078) remote: Compressing objects: 14% (151/1078) remote: Compressing objects: 15% (162/1078) remote: Compressing objects: 16% (173/1078) remote: Compressing objects: 17% (184/1078) remote: Compressing objects: 18% (195/1078) remote: Compressing objects: 19% (205/1078) remote: Compressing objects: 20% (216/1078) remote: Compressing objects: 21% (227/1078) remote: Compressing objects: 22% (238/1078) remote: Compressing objects: 23% (248/1078) remote: Compressing objects: 24% (259/1078) remote: Compressing objects: 25% (270/1078) remote: Compressing objects: 26% (281/1078) remote: Compressing objects: 27% (292/1078) remote: Compressing objects: 28% (302/1078) remote: Compressing objects: 29% (313/1078) remote: Compressing objects: 30% (324/1078) remote: Compressing objects: 31% (335/1078) remote: Compressing objects: 32% (345/1078) remote: Compressing objects: 33% (356/1078) remote: Compressing objects: 34% (367/1078) remote: Compressing objects: 35% (378/1078) remote: Compressing objects: 36% (389/1078) remote: Compressing objects: 37% (399/1078) remote: Compressing objects: 38% (410/1078) remote: Compressing objects: 39% (421/1078) remote: Compressing objects: 40% (432/1078) remote: Compressing objects: 41% (442/1078) remote: Compressing objects: 42% (453/1078) remote: Compressing objects: 43% (464/1078) remote: Compressing objects: 44% (475/1078) remote: Compressing objects: 45% (486/1078) remote: Compressing objects: 46% (496/1078) remote: Compressing objects: 47% (507/1078) remote: Compressing objects: 48% (518/1078) remote: Compressing objects: 49% (529/1078) remote: Compressing objects: 50% (539/1078) remote: Compressing objects: 51% (550/1078) remote: Compressing objects: 52% (561/1078) remote: Compressing objects: 53% (572/1078) remote: Compressing objects: 54% (583/1078) remote: Compressing objects: 55% (593/1078) remote: Compressing objects: 56% (604/1078) remote: Compressing objects: 57% (615/1078) remote: Compressing objects: 58% (626/1078) remote: Compressing objects: 59% (637/1078) remote: Compressing objects: 60% (647/1078) remote: Compressing objects: 61% (658/1078) remote: Compressing objects: 62% (669/1078) remote: Compressing objects: 63% (680/1078) remote: Compressing objects: 64% (690/1078) remote: Compressing objects: 65% (701/1078) remote: Compressing objects: 66% (712/1078) remote: Compressing objects: 67% (723/1078) remote: Compressing objects: 68% (734/1078) remote: Compressing objects: 69% (744/1078) remote: Compressing objects: 70% (755/1078) remote: Compressing objects: 71% (766/1078) remote: Compressing objects: 72% (777/1078) remote: Compressing objects: 73% (787/1078) remote: Compressing objects: 74% (798/1078) remote: Compressing objects: 75% (809/1078) remote: Compressing objects: 76% (820/1078) remote: Compressing objects: 77% (831/1078) remote: Compressing objects: 78% (841/1078) remote: Compressing objects: 79% (852/1078) remote: Compressing objects: 80% (863/1078) remote: Compressing objects: 81% (874/1078) remote: Compressing objects: 82% (884/1078) remote: Compressing objects: 83% (895/1078) remote: Compressing objects: 84% (906/1078) remote: Compressing objects: 85% (917/1078) remote: Compressing objects: 86% (928/1078) remote: Compressing objects: 87% (938/1078) remote: Compressing objects: 88% (949/1078) remote: Compressing objects: 89% (960/1078) remote: Compressing objects: 90% (971/1078) remote: Compressing objects: 91% (981/1078) remote: Compressing objects: 92% (992/1078) remote: Compressing objects: 93% (1003/1078) remote: Compressing objects: 94% (1014/1078) remote: Compressing objects: 95% (1025/1078) remote: Compressing objects: 96% (1035/1078) remote: Compressing objects: 97% (1046/1078) remote: Compressing objects: 98% (1057/1078) remote: Compressing objects: 99% (1068/1078) remote: Compressing objects: 100% (1078/1078) remote: Compressing objects: 100% (1078/1078), done. Receiving objects: 0% (1/16294) Receiving objects: 1% (163/16294) Receiving objects: 2% (326/16294) Receiving objects: 3% (489/16294) Receiving objects: 4% (652/16294) Receiving objects: 5% (815/16294) Receiving objects: 6% (978/16294) Receiving objects: 7% (1141/16294) Receiving objects: 8% (1304/16294) Receiving objects: 9% (1467/16294) Receiving objects: 10% (1630/16294) Receiving objects: 11% (1793/16294) Receiving objects: 12% (1956/16294) Receiving objects: 13% (2119/16294) Receiving objects: 14% (2282/16294) Receiving objects: 15% (2445/16294) Receiving objects: 16% (2608/16294) Receiving objects: 17% (2770/16294) Receiving objects: 18% (2933/16294) Receiving objects: 19% (3096/16294) Receiving objects: 20% (3259/16294) Receiving objects: 21% (3422/16294) Receiving objects: 22% (3585/16294) Receiving objects: 23% (3748/16294) Receiving objects: 24% (3911/16294) Receiving objects: 25% (4074/16294) Receiving objects: 26% (4237/16294) Receiving objects: 27% (4400/16294) Receiving objects: 28% (4563/16294) Receiving objects: 29% (4726/16294) Receiving objects: 30% (4889/16294) Receiving objects: 31% (5052/16294) Receiving objects: 32% (5215/16294) Receiving objects: 33% (5378/16294) Receiving objects: 34% (5540/16294) Receiving objects: 35% (5703/16294) Receiving objects: 36% (5866/16294) Receiving objects: 37% (6029/16294) Receiving objects: 38% (6192/16294) Receiving objects: 39% (6355/16294) Receiving objects: 40% (6518/16294) Receiving objects: 41% (6681/16294) Receiving objects: 42% (6844/16294) Receiving objects: 43% (7007/16294) Receiving objects: 44% (7170/16294) Receiving objects: 45% (7333/16294) Receiving objects: 46% (7496/16294) Receiving objects: 47% (7659/16294) Receiving objects: 48% (7822/16294) Receiving objects: 49% (7985/16294) Receiving objects: 50% (8147/16294) Receiving objects: 51% (8310/16294) Receiving objects: 52% (8473/16294) Receiving objects: 53% (8636/16294) Receiving objects: 54% (8799/16294) Receiving objects: 55% (8962/16294) Receiving objects: 56% (9125/16294) Receiving objects: 57% (9288/16294) Receiving objects: 58% (9451/16294) Receiving objects: 59% (9614/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 60% (9777/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 61% (9940/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 62% (10103/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 63% (10266/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 64% (10429/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 65% (10592/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 66% (10755/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 67% (10917/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 68% (11080/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 69% (11243/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 70% (11406/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 71% (11569/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 72% (11732/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 73% (11895/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 74% (12058/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 75% (12221/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 76% (12384/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 77% (12547/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 78% (12710/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 79% (12873/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 80% (13036/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 81% (13199/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 82% (13362/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 83% (13525/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 84% (13687/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 85% (13850/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 86% (14013/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 87% (14176/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 88% (14339/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 89% (14502/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 90% (14665/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 91% (14828/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 92% (14991/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 93% (15154/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 94% (15317/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 95% (15480/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 96% (15643/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 97% (15806/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 98% (15969/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 99% (16132/16294), 1.75 MiB | 3.48 MiB/s remote: Total 16294 (delta 2398), reused 3318 (delta 2293), pack-reused 12755 Receiving objects: 100% (16294/16294), 1.75 MiB | 3.48 MiB/s Receiving objects: 100% (16294/16294), 2.99 MiB | 4.52 MiB/s, done. Resolving deltas: 0% (0/10560) Resolving deltas: 1% (107/10560) Resolving deltas: 2% (212/10560) Resolving deltas: 3% (317/10560) Resolving deltas: 4% (423/10560) Resolving deltas: 5% (528/10560) Resolving deltas: 6% (635/10560) Resolving deltas: 7% (740/10560) Resolving deltas: 8% (846/10560) Resolving deltas: 9% (951/10560) Resolving deltas: 10% (1056/10560) Resolving deltas: 11% (1162/10560) Resolving deltas: 12% (1268/10560) Resolving deltas: 13% (1375/10560) Resolving deltas: 14% (1479/10560) Resolving deltas: 15% (1584/10560) Resolving deltas: 16% (1691/10560) Resolving deltas: 17% (1796/10560) Resolving deltas: 18% (1901/10560) Resolving deltas: 19% (2007/10560) Resolving deltas: 20% (2112/10560) Resolving deltas: 21% (2218/10560) Resolving deltas: 22% (2324/10560) Resolving deltas: 23% (2430/10560) Resolving deltas: 24% (2535/10560) Resolving deltas: 25% (2640/10560) Resolving deltas: 26% (2748/10560) Resolving deltas: 27% (2852/10560) Resolving deltas: 28% (2957/10560) Resolving deltas: 29% (3063/10560) Resolving deltas: 30% (3168/10560) Resolving deltas: 31% (3274/10560) Resolving deltas: 32% (3380/10560) Resolving deltas: 33% (3485/10560) Resolving deltas: 34% (3591/10560) Resolving deltas: 35% (3696/10560) Resolving deltas: 36% (3803/10560) Resolving deltas: 37% (3909/10560) Resolving deltas: 38% (4015/10560) Resolving deltas: 39% (4119/10560) Resolving deltas: 40% (4225/10560) Resolving deltas: 41% (4330/10560) Resolving deltas: 42% (4438/10560) Resolving deltas: 43% (4541/10560) Resolving deltas: 44% (4647/10560) Resolving deltas: 45% (4752/10560) Resolving deltas: 46% (4859/10560) Resolving deltas: 47% (4964/10560) Resolving deltas: 48% (5069/10560) Resolving deltas: 49% (5176/10560) Resolving deltas: 50% (5282/10560) Resolving deltas: 51% (5386/10560) Resolving deltas: 52% (5492/10560) Resolving deltas: 53% (5597/10560) Resolving deltas: 54% (5703/10560) Resolving deltas: 55% (5808/10560) Resolving deltas: 56% (5914/10560) Resolving deltas: 57% (6020/10560) Resolving deltas: 58% (6125/10560) Resolving deltas: 59% (6231/10560) Resolving deltas: 60% (6337/10560) Resolving deltas: 61% (6442/10560) Resolving deltas: 62% (6549/10560) Resolving deltas: 63% (6653/10560) Resolving deltas: 64% (6759/10560) Resolving deltas: 65% (6864/10560) Resolving deltas: 66% (6970/10560) Resolving deltas: 67% (7077/10560) Resolving deltas: 68% (7181/10560) Resolving deltas: 69% (7288/10560) Resolving deltas: 70% (7392/10560) Resolving deltas: 71% (7498/10560) Resolving deltas: 72% (7606/10560) Resolving deltas: 73% (7711/10560) Resolving deltas: 74% (7817/10560) Resolving deltas: 75% (7921/10560) Resolving deltas: 76% (8026/10560) Resolving deltas: 77% (8132/10560) Resolving deltas: 78% (8238/10560) Resolving deltas: 79% (8343/10560) Resolving deltas: 80% (8448/10560) Resolving deltas: 81% (8554/10560) Resolving deltas: 82% (8660/10560) Resolving deltas: 83% (8766/10560) Resolving deltas: 84% (8871/10560) Resolving deltas: 85% (8979/10560) Resolving deltas: 86% (9082/10560) Resolving deltas: 87% (9188/10560) Resolving deltas: 88% (9294/10560) Resolving deltas: 89% (9399/10560) Resolving deltas: 90% (9504/10560) Resolving deltas: 91% (9610/10560) Resolving deltas: 92% (9716/10560) Resolving deltas: 93% (9821/10560) Resolving deltas: 94% (9927/10560) Resolving deltas: 95% (10032/10560) Resolving deltas: 96% (10139/10560) Resolving deltas: 97% (10244/10560) Resolving deltas: 98% (10350/10560) Resolving deltas: 99% (10455/10560) Resolving deltas: 100% (10560/10560) Resolving deltas: 100% (10560/10560), done. ==> Validating source files with b2sums... bear ... Skipped ==> Making package: bear 3.1.3-10 (Mon Apr 8 17:26:01 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (8) New Version Net Change Download Size extra/abseil-cpp 20240116.1-1 5.56 MiB extra/c-ares 1.28.1-1 0.60 MiB extra/fmt 10.2.0-1 1.54 MiB extra/grpc 1.62.1-2 20.54 MiB 4.85 MiB extra/nlohmann-json 3.11.2-2 0.98 MiB extra/protobuf 25.3-3 9.96 MiB extra/re2 1:20240401-1 0.34 MiB 0.16 MiB extra/spdlog 1.13.0-1 0.60 MiB Total Download Size: 5.01 MiB Total Installed Size: 40.13 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... grpc-1.62.1-2-riscv64 downloading... re2-1:20240401-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing c-ares... installing abseil-cpp... installing protobuf... installing re2... installing grpc... installing fmt... installing spdlog... installing nlohmann-json... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (16) New Version Net Change extra/cppdap 1.58.0-1 1.37 MiB extra/hicolor-icon-theme 0.17-3 0.05 MiB extra/jsoncpp 1.9.5-2 1.24 MiB core/libedit 20230828_3.1-1 0.24 MiB core/libnsl 2.0.1-1 0.07 MiB extra/libuv 1.48.0-2 0.56 MiB extra/llvm-libs 17.0.6-2 117.02 MiB extra/perl-error 0.17029-5 0.04 MiB extra/perl-mailtools 2.21-7 0.10 MiB extra/perl-timedate 2.33-5 0.08 MiB extra/rhash 1.4.4-1 0.31 MiB extra/cmake 3.29.0-1 64.35 MiB extra/git 2.44.0-1 25.03 MiB extra/gtest 1.14.0-1 2.01 MiB extra/llvm 17.0.6-2 133.00 MiB core/python 3.11.8-1 107.82 MiB Total Installed Size: 453.29 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui openssh: ssh transport and crypto perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [pending] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libnsl... installing libuv... installing rhash... installing cppdap... installing cmake... Optional dependencies for cmake make: for unix Makefile generator [installed] ninja: for ninja generator qt6-base: cmake-gui installing gtest... Optional dependencies for gtest python: gmock generator [pending] installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing libedit... installing llvm-libs... installing llvm... :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Creating working copy of bear git repo... Cloning into 'bear'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Setting build type to 'Release' as none was specified. -- Looking for nlohman_json dependency -- Looking for nlohman_json dependency -- found -- Looking for fmt dependency -- Looking for fmt dependency -- found -- Looking for spdlog dependency -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for spdlog dependency -- found -- Looking for gRPC::grpc++ dependency -- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.1") -- Checking for modules 'protobuf>=3.11;grpc++>=1.26' -- Found protobuf, version 25.3.0 -- Found grpc++, version 1.62.1 -- Looking for gRPC::grpc++ dependency -- found -- Looking for protoc -- Looking for protoc -- found -- Looking for grpc_cpp_plugin -- Looking for grpc_cpp_plugin -- found -- Looking for GTest dependency -- Checking for modules 'gtest>=1.10;gtest_main>=1.10;gmock>=1.10' -- Found gtest, version 1.14.0 -- Found gtest_main, version 1.14.0 -- Found gmock, version 1.14.0 -- Looking for GTest dependency -- found -- Configuring done (5.1s) -- Generating done (0.1s) -- Build files have been written to: /build/bear/src/build ==> Starting build()... [ 0%] Built target fmt_dependency [ 0%] Built target nlohmann_json_dependency [ 0%] Built target spdlog_dependency [ 0%] Built target googletest_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 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.1") -- Checking for modules 'gtest;gtest_main;gmock' -- Found gtest, version 1.14.0 -- Found gtest_main, version 1.14.0 -- Found gmock, version 1.14.0 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found nlohmann_json: /usr/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found version "3.11.2") -- Checking for modules 'protobuf;grpc++' -- Found protobuf, version 25.3.0 -- Found grpc++, version 1.62.1 -- 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 (16.2s) -- Generating done (0.7s) -- Build files have been written to: /build/bear/src/build/subprojects/Build/BearSource [ 33%] Performing build step for 'BearSource' [ 1%] Generating supervise.pb.h, supervise.grpc.pb.h, supervise.pb.cc, supervise.grpc.pb.cc [ 2%] Generating intercept.pb.h, intercept.grpc.pb.h, intercept.pb.cc, intercept.grpc.pb.cc [ 3%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Errors.cc.o [ 4%] Building CXX object libflags/CMakeFiles/flags_a.dir/source/Flags.cc.o [ 5%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Os.cc.o [ 8%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Process.cc.o [ 9%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Path.cc.o [ 10%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Signal.cc.o [ 10%] Building CXX object libshell/CMakeFiles/shell_a.dir/source/Command.cc.o [ 11%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Buffer.cc.o [ 14%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Guard.cc.o [ 14%] Building CXX object libresult/CMakeFiles/result_unit_test.dir/test/ResultTest.cc.o [ 15%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Environment.cc.o [ 17%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Linker.cc.o [ 17%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Logger.cc.o [ 19%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Executor.cc.o [ 20%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Paths.cc.o [ 21%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Resolver.cc.o [ 22%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Session.cc.o [ 25%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/supervise.pb.cc.o [ 25%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/supervise.grpc.pb.cc.o [ 26%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/intercept.pb.cc.o [ 27%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/intercept.grpc.pb.cc.o [ 27%] Built target exec_a [ 28%] Building CXX object intercept/CMakeFiles/exec.dir/source/report/libexec/std.cc.o [ 29%] Building CXX object intercept/CMakeFiles/exec.dir/source/report/libexec/lib.cc.o [ 30%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/BufferTest.cc.o [ 33%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/ExecutorTest.cc.o [ 33%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/ArrayTest.cc.o [ 34%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/PathsTest.cc.o [ 35%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/SessionTest.cc.o [ 36%] Linking C shared library libexec.so [ 36%] Built target exec [ 36%] Built target flags_a [ 38%] Building CXX object libmain/CMakeFiles/main_a.dir/source/ApplicationLogConfig.cc.o [ 39%] Building CXX object libflags/CMakeFiles/flags_unit_test.dir/test/FlagsTest.cc.o [ 40%] Building CXX object libmain/CMakeFiles/main_a.dir/source/ApplicationFromArgs.cc.o [ 41%] Building CXX object libmain/CMakeFiles/main_a.dir/source/SubcommandFromArgs.cc.o [ 41%] Built target sys_a [ 42%] Building CXX object libsys/CMakeFiles/sys_unit_test.dir/test/EnvironmentTest.cc.o [ 45%] Building CXX object libsys/CMakeFiles/sys_unit_test.dir/test/PathTest.cc.o [ 45%] Building CXX object libsys/CMakeFiles/sys_unit_test.dir/test/ErrorsTest.cc.o [ 46%] Linking CXX executable result_unit_test [ 46%] Built target result_unit_test [ 46%] Built target shell_a [ 48%] Building CXX object citnames/CMakeFiles/citnames_json_a.dir/source/Configuration.cc.o [ 50%] Building CXX object citnames/CMakeFiles/citnames_json_a.dir/source/Output.cc.o [ 50%] Building CXX object libshell/CMakeFiles/shell_unit_test.dir/test/CommandTest.cc.o [ 50%] Built target main_a [ 51%] Linking CXX executable sys_unit_test [ 51%] Built target sys_unit_test [ 52%] Linking CXX executable flags_unit_test [ 52%] Built target flags_unit_test [ 52%] Built target rpc_a [ 53%] Building CXX object intercept/CMakeFiles/events_db_a.dir/source/collect/db/EventsDatabaseReader.cc.o [ 54%] Building CXX object intercept/CMakeFiles/domain_a.dir/source/Domain.cc.o [ 55%] Building CXX object intercept/CMakeFiles/domain_a.dir/source/Convert.cc.o [ 57%] Building CXX object intercept/CMakeFiles/events_db_a.dir/source/collect/db/EventsDatabaseWriter.cc.o [ 58%] Linking CXX executable shell_unit_test [ 58%] Built target shell_unit_test [ 59%] Linking CXX executable exec_unit_test [ 59%] Built target exec_unit_test [ 59%] Built target domain_a [ 61%] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/EventFactory.cc.o [ 63%] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/RpcClients.cc.o [ 63%] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/EventReporter.cc.o [ 64%] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/Application.cc.o [ 64%] Built target events_db_a [ 65%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/SessionLibrary.cc.o [ 67%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Session.cc.o [ 67%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/RpcServices.cc.o [ 70%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Reporter.cc.o [ 70%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/SessionWrapper.cc.o [ 71%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Intercept.cc.o [ 71%] Built target citnames_json_a [ 72%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Build.cc.o [ 77%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolAny.cc.o [ 77%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Parsers.cc.o [ 77%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Semantic.cc.o [ 78%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolCuda.cc.o [ 78%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/Citnames.cc.o [ 79%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolWrapper.cc.o [ 80%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolClang.cc.o [ 82%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolGcc.cc.o [ 83%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolExtendingWrapper.cc.o [ 83%] Built target intercept_a [ 83%] Built target wrapper_a [ 84%] Building CXX object intercept/CMakeFiles/intercept_unit_test.dir/test/EventFactoryTest.cc.o [ 85%] Building CXX object intercept/CMakeFiles/wrapper.dir/source/report/wrapper/main.cc.o [ 86%] Building CXX object intercept/CMakeFiles/intercept_unit_test.dir/test/SessionTest.cc.o [ 88%] Linking CXX executable wrapper [ 88%] Built target wrapper [ 89%] Linking CXX executable intercept_unit_test [ 89%] Built target intercept_unit_test [ 89%] Built target citnames_a [ 90%] Building CXX object bear/CMakeFiles/bear_a.dir/source/Application.cc.o [ 94%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/ToolGccTest.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/ToolWrapperTest.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/ParserTest.cc.o [ 96%] Built target bear_a [ 97%] Building CXX object bear/CMakeFiles/bear.dir/main.cc.o [ 98%] Linking CXX executable citnames_unit_test [ 98%] Built target citnames_unit_test [100%] Linking CXX executable bear [100%] Built target bear [ 38%] Performing test step for 'BearSource' Test project /build/bear/src/build/subprojects/Build/BearSource Connected to MAKE jobserver Start 1: bear::result_unit_test 1/7 Test #1: bear::result_unit_test ........... Passed 0.03 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.04 sec Start 4: bear::sys_unit_test 4/7 Test #4: bear::sys_unit_test .............. Passed 0.02 sec Start 5: bear::exec_unit_test 5/7 Test #5: bear::exec_unit_test ............. Passed 0.02 sec Start 6: bear::intercept_unit_test 6/7 Test #6: bear::intercept_unit_test ........ Passed 0.30 sec Start 7: bear::citnames_unit_test 7/7 Test #7: bear::citnames_unit_test ......... Passed 0.18 sec 100% tests passed, 0 tests failed out of 7 Total Test time (real) = 0.63 sec [ 44%] Performing install step for 'BearSource' [ 2%] Built target flags_a [ 2%] Built target shell_a [ 4%] Built target result_unit_test [ 14%] Built target exec_a [ 21%] Built target sys_a [ 28%] Built target rpc_a [ 30%] Built target flags_unit_test [ 33%] Built target shell_unit_test [ 36%] Built target exec [ 40%] Built target main_a [ 42%] Built target citnames_json_a [ 47%] Built target sys_unit_test [ 54%] Built target exec_unit_test [ 57%] Built target domain_a [ 59%] Built target events_db_a [ 64%] Built target wrapper_a [ 71%] Built target intercept_a [ 83%] Built target citnames_a [ 85%] Built target wrapper [ 86%] Built target bear_a [ 90%] Built target intercept_unit_test [ 97%] Built target citnames_unit_test [100%] Built target bear Install the project... -- Install configuration: "Release" -- Installing: /build/bear/src/build/stage/share/man/man1/bear-intercept.1 -- Installing: /build/bear/src/build/stage/lib/bear/wrapper -- Installing: /build/bear/src/build/stage/lib/bear/wrapper.d -- Installing: /build/bear/src/build/stage/lib/bear/libexec.so -- Installing: /build/bear/src/build/stage/share/man/man1/bear-citnames.1 -- Installing: /build/bear/src/build/stage/bin/bear -- Installing: /build/bear/src/build/stage/share/man/man1/bear.1 [ 50%] Completed 'BearSource' [ 50%] Built target BearSource [ 55%] Creating directories for 'BearTest' [ 61%] No download step for 'BearTest' [ 66%] No update step for 'BearTest' [ 72%] No patch step for 'BearTest' [ 77%] Performing configure step for 'BearTest' loading initial cache file /build/bear/src/build/subprojects/tmp/BearTest/BearTest-cache-Release.cmake -- The C compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Looking for spawn.h -- Looking for spawn.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for sys/wait.h -- Looking for sys/wait.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for execve -- Looking for execve - found -- Looking for execv -- Looking for execv - found -- Looking for execvpe -- Looking for execvpe - found -- Looking for execvp -- Looking for execvp - found -- Looking for execvP -- Looking for execvP - not found -- Looking for exect -- Looking for exect - not found -- Looking for execl -- Looking for execl - found -- Looking for execlp -- Looking for execlp - found -- Looking for execle -- Looking for execle - found -- Looking for execveat -- Looking for execveat - found -- Looking for fexecve -- Looking for fexecve - found -- Looking for posix_spawn -- Looking for posix_spawn - found -- Looking for posix_spawnp -- Looking for posix_spawnp - found -- Looking for popen -- Looking for popen - found -- Looking for system -- Looking for system - found -- Looking for lit -- Looking for lit -- /usr/bin/lit -- Configuring done (13.7s) -- Generating done (0.0s) -- Build files have been written to: /build/bear/src/build/subprojects/Build/BearTest [ 83%] Performing build step for 'BearTest' [ 88%] Performing test step for 'BearTest' UpdateCTestConfiguration from :/build/bear/src/build/subprojects/Build/BearTest/DartConfiguration.tcl UpdateCTestConfiguration from :/build/bear/src/build/subprojects/Build/BearTest/DartConfiguration.tcl Test project /build/bear/src/build/subprojects/Build/BearTest Constructing a list of tests Done constructing a list of tests Updating test list for fixtures Added 0 tests to meet fixture requirements Checking test dependency graph... Checking test dependency graph end Connected to MAKE jobserver test 1 Start 1: bear::func_test 1: Test command: /usr/bin/lit "-D_TEST_EXEC_ROOT=/build/bear/src/build/subprojects/Build/BearTest" "-D_BIN_BEAR=/build/bear/src/build/stage/bin/bear" "-D_BIN_CITNAMES=/build/bear/src/build/stage/bin/citnames" "-D_BIN_INTERCEPT=/build/bear/src/build/stage/bin/intercept" "-D_BIN_WRAPPER=/build/bear/src/build/stage/lib/bear/wrapper" "-D_BIN_WRAPPER_DIR=/build/bear/src/build/stage/lib/bear/wrapper.d" "-D_LIB_EXEC=/build/bear/src/build/stage/lib/bear/libexec.so" "-v" "/build/bear/src/build/subprojects/Build/BearTest" 1: Working Directory: /build/bear/src/build/subprojects/Build/BearTest 1: Test timeout computed to be: 90 1: [('%{compile}', 'cc -I /build/bear/src/build/subprojects/Build/BearTest'), ('%{bear}', '/build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d'), ('%{intercept}', '/build/bear/src/build/stage/bin/bear intercept --wrapper /build/bear/src/build/stage/lib/bear/wrapper --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d'), ('%{citnames}', '/build/bear/src/build/stage/bin/bear citnames'), ('%{shell}', '/usr/bin/sh'), ('%{make}', '/usr/bin/make'), ('%{true}', '/usr/bin/true'), ('%{false}', '/usr/bin/false'), ('%{echo}', '/usr/bin/echo'), ('%{sleep}', '/usr/bin/sleep'), ('%{c_compiler}', '/usr/bin/cc'), ('%{cxx_compiler}', '/usr/bin/c++'), ('%{libtool}', '/usr/bin/libtool'), ('%{fakeroot}', '/usr/bin/fakeroot')] 1: {'PATH': '/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl', 'LLVM_DISABLE_CRASH_REPORT': '1', 'TERM': 'tmux-256color', 'SOURCE_DATE_EPOCH': '1712597123', 'LC_CTYPE': 'en_US.UTF-8', 'TRUE': '/usr/bin/true', 'FALSE': '/usr/bin/false', 'ECHO': '/usr/bin/echo', 'SLEEP': '/usr/bin/sleep', 'CC': '/usr/bin/cc', 'CXX': '/usr/bin/c++', 'LIBTOOL': '/usr/bin/libtool'} 1: {'shell', 'dynamic-make', 'libtool', 'dynamic-shell', 'preload', 'make', 'fakeroot'} 1: -- Testing: 100 tests, 64 workers -- 1: UNSUPPORTED: bear :: cases/citnames/exit_code/exit_code_for_success.sh (1 of 100) 1: UNSUPPORTED: bear :: cases/compilation/output/compile_cuda.sh (2 of 100) 1: UNSUPPORTED: bear :: cases/compilation/output/compile_fortran.sh (3 of 100) 1: PASS: bear :: cases/intercept/output/shell_command_with_iso8859-2.sh (4 of 100) 1: UNSUPPORTED: bear :: cases/intercept/preload/posix/execvp2/failure_prints_errno.c (5 of 100) 1: UNSUPPORTED: bear :: cases/intercept/preload/posix/execvp2/success.c (6 of 100) 1: PASS: bear :: cases/compilation/exit_code/exit_code_for_help.sh (7 of 100) 1: XFAIL: bear :: cases/citnames/exit_code/exit_code_for_fail.sh (8 of 100) 1: UNSUPPORTED: bear :: cases/intercept/preload/posix/exect/success.c (9 of 100) 1: PASS: bear :: cases/intercept/exit_code/exit_code_for_help.sh (10 of 100) 1: XFAIL: bear :: cases/intercept/exit_code/exit_code_for_empty.sh (11 of 100) 1: PASS: bear :: cases/citnames/exit_code/exit_code_for_help.sh (12 of 100) 1: XFAIL: bear :: cases/compilation/exit_code/exit_code_for_empty.sh (13 of 100) 1: XFAIL: bear :: cases/intercept/exit_code/exit_code_for_fail.sh (14 of 100) 1: PASS: bear :: cases/intercept/exit_code/exit_code_for_success.sh (15 of 100) 1: PASS: bear :: cases/citnames/output/wrapper_flags_extended.sh (16 of 100) 1: PASS: bear :: cases/citnames/output/clang_plugin.sh (17 of 100) 1: XFAIL: bear :: cases/compilation/exit_code/exit_code_for_fail.sh (18 of 100) 1: PASS: bear :: cases/citnames/output/relative_paths_converted.sh (19 of 100) 1: PASS: bear :: cases/intercept/preload/posix/no_exec.c (20 of 100) 1: PASS: bear :: cases/compilation/exit_code/exit_code_for_success.sh (21 of 100) 1: PASS: bear :: cases/citnames/output/convert_format.sh (22 of 100) 1: PASS: bear :: cases/intercept/preload/build_command_captured.sh (23 of 100) 1: PASS: bear :: cases/intercept/preload/path_resolver/same_name_without_exec_flag.c (24 of 100) 1: PASS: bear :: cases/intercept/preload/errno_reset.c (25 of 100) 1: UNSUPPORTED: bear :: cases/intercept/valgrind/shell_commands_intercepted.sh (26 of 100) 1: FAIL: bear :: cases/compilation/output/multiple_source_build.sh (27 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/multiple_source_build.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json count -eq 3 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o multiple_source_build multiple_source_build_1.c 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o multiple_source_build multiple_source_build_2.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build_3.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o multiple_source_build multiple_source_build_3.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh" 1: # command stderr: 1: [17:30:12.646057, br, 3323] bear: 3.1.3 1: [17:30:12.661585, br, 3323] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh"] 1: [17:30:12.661949, br, 3323] 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=1712597123", "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-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x"] 1: [17:30:12.662217, br, 3323] sysname: Linux 1: [17:30:12.662502, br, 3323] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.662831, br, 3323] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.663026, br, 3323] machine: riscv64 1: [17:30:12.663506, br, 3323] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:12.683431, br, 3323] Process spawned. [pid: 3432, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh"]] 1: [17:30:12.683661, br, 3323] Process wait requested. [pid: 3432] 1: [17:30:12.879612, br, 3432] bear: 3.1.3 1: [17:30:12.892570, br, 3432] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh"] 1: [17:30:12.892878, br, 3432] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:12.893076, br, 3432] sysname: Linux 1: [17:30:12.893245, br, 3432] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.893354, br, 3432] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.893448, br, 3432] machine: riscv64 1: [17:30:12.893761, br, 3432] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:12.894418, br, 3432] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:12.971458, br, 3432] Running gRPC server. dns:///localhost:37139 1: [17:30:12.981531, br, 3432] Process spawned. [pid: 3847, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:37139", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh"]] 1: [17:30:12.981784, br, 3432] Process wait requested. [pid: 3847] 1: [17:30:13.236170, el, 3847] lib.cc; on_load 1: [17:30:13.238119, wr, 3847, ppid: 3432] wrapper: 3.1.3 1: [17:30:13.238454, wr, 3847, ppid: 3432] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:37139", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh"] 1: [17:30:13.238966, wr, 3847, ppid: 3432] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:37139", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.239379, wr, 3847, ppid: 3432] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh]}, {--destination: [dns:///localhost:37139]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:13.282240, wr, 3847, ppid: 3432] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.550886, br, 3432] trying to resolve for library: /usr/bin/sh 1: [17:30:13.555778, wr, 3847, ppid: 3432] gRPC call [Resolve] finished: true 1: [17:30:13.571901, wr, 3847, ppid: 3432] Process spawned. [pid: 4929, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh"]] 1: [17:30:13.572076, wr, 3847, ppid: 3432] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.606744, wr, 3847, ppid: 3432] gRPC call [Register] finished: true 1: [17:30:13.607120, wr, 3847, ppid: 3432] Process wait requested. [pid: 4929] 1: [17:30:13.616903, el, 4929] lib.cc; on_load 1: [17:30:13.642996, el, 5111] lib.cc; execve path: /usr/bin/cc 1: [17:30:13.911133, el, 5111] lib.cc; on_load 1: [17:30:13.912484, wr, 5111, ppid: 4929] wrapper: 3.1.3 1: [17:30:13.912793, wr, 5111, ppid: 4929] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:37139", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-o", "multiple_source_build", "multiple_source_build_1.c", "multiple_source_build_2.c", "multiple_source_build_3.c"] 1: [17:30:13.913029, wr, 5111, ppid: 4929] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:37139", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:13.913400, wr, 5111, ppid: 4929] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -o, multiple_source_build, multiple_source_build_1.c, multiple_source_build_2.c, multiple_source_build_3.c]}, {--destination: [dns:///localhost:37139]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:13.932938, wr, 5111, ppid: 4929] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.201350, br, 3432] trying to resolve for library: /usr/bin/cc 1: [17:30:14.203953, wr, 5111, ppid: 4929] gRPC call [Resolve] finished: true 1: [17:30:14.206057, wr, 5111, ppid: 4929] Process spawned. [pid: 6266, command: ["/usr/bin/cc", "-o", "multiple_source_build", "multiple_source_build_1.c", "multiple_source_build_2.c", "multiple_source_build_3.c"]] 1: [17:30:14.206590, wr, 5111, ppid: 4929] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.215483, wr, 5111, ppid: 4929] gRPC call [Register] finished: true 1: free(): invalid pointer 1: [17:30:14.216038, wr, 5111, ppid: 4929] Process wait requested. [pid: 6266] 1: [17:30:14.736824, wr, 5111, ppid: 4929] Process wait request: done. [pid: 6266] 1: [17:30:14.736919, wr, 5111, ppid: 4929] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.741336, wr, 5111, ppid: 4929] gRPC call [Register] finished: true 1: [17:30:14.802022, wr, 5111, ppid: 4929] succeeded with: 1 1: [17:30:14.802413, el, 5111] lib.cc; on_unload 1: [17:30:14.815743, el, 4929] lib.cc; on_unload 1: [17:30:14.822395, wr, 3847, ppid: 3432] Process wait request: done. [pid: 4929] 1: [17:30:14.822450, wr, 3847, ppid: 3432] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.826194, wr, 3847, ppid: 3432] gRPC call [Register] finished: true 1: [17:30:14.842810, wr, 3847, ppid: 3432] succeeded with: 1 1: [17:30:14.843157, el, 3847] lib.cc; on_unload 1: [17:30:14.871681, br, 3432] Process wait request: done. [pid: 3847] 1: [17:30:14.871845, br, 3432] Running command. [Exited with 1] 1: [17:30:14.871890, br, 3432] Stopping gRPC server. 1: [17:30:14.888533, br, 3432] succeeded with: 1 1: [17:30:14.897821, br, 3323] Process wait request: done. [pid: 3432] 1: [17:30:14.897967, br, 3323] Running intercept finished. [Exited with 1] 1: [17:30:14.915997, br, 3323] Process spawned. [pid: 7729, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json", "--run-checks", "--verbose"]] 1: [17:30:14.916144, br, 3323] Process wait requested. [pid: 7729] 1: [17:30:15.164412, br, 7729] bear: 3.1.3 1: [17:30:15.164952, br, 7729] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json", "--run-checks", "--verbose"] 1: [17:30:15.165224, br, 7729] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:15.165444, br, 7729] sysname: Linux 1: [17:30:15.165776, br, 7729] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:15.165937, br, 7729] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:15.166071, br, 7729] machine: riscv64 1: [17:30:15.166508, br, 7729] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/multiple_source_build.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:15.167536, br, 7729] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [17:30:15.178043, br, 7729] [pid: 4929] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"FALSE":"/usr/bin/false","TMPDIR":"/tmp/lit-tmp-7hscyd2x","ECHO":"/usr/bin/echo","LIBTOOL":"/usr/bin/libtool","LLVM_DISABLE_CRASH_REPORT":"1","CXX":"/usr/bin/c++","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SOURCE_DATE_EPOCH":"1712597123","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:37139","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","CC":"/usr/bin/cc","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [17:30:15.180629, br, 7729] [pid: 4929] recognition failed: No tools recognize this execution. 1: [17:30:15.182377, br, 7729] [pid: 6266] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-o","multiple_source_build","multiple_source_build_1.c","multiple_source_build_2.c","multiple_source_build_3.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","FALSE":"/usr/bin/false","TMPDIR":"/tmp/lit-tmp-7hscyd2x","ECHO":"/usr/bin/echo","SHLVL":"1","LIBTOOL":"/usr/bin/libtool","LLVM_DISABLE_CRASH_REPORT":"1","CXX":"/usr/bin/c++","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SOURCE_DATE_EPOCH":"1712597123","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:37139","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","CC":"/usr/bin/cc","_":"/usr/bin/cc","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [17:30:15.183009, br, 7729] [pid: 6266] recognized. 1: [17:30:15.184258, br, 7729] compilation entries created. [size: 3] 1: [17:30:15.184705, br, 7729] compilation entries to output. [size: 3] 1: [17:30:15.186370, br, 7729] compilation entries written. [size: 3] 1: [17:30:15.186795, br, 7729] succeeded with: 0 1: [17:30:15.196038, br, 3323] Process wait request: done. [pid: 7729] 1: [17:30:15.196200, br, 3323] Running citnames finished. [Exited with 0] 1: [17:30:15.196665, br, 3323] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/preload/build_stderr_captured.sh (28 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execvpe/success_to_resolve.c (29 of 100) 1: PASS: bear :: cases/intercept/preload/posix/posix_spawnp/failure_prints_errno.c (30 of 100) 1: FAIL: bear :: cases/compilation/output/define_with_escaped_quote.sh (31 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/define_with_escaped_quote.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.json count -ge 1 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c '-DMESSAGE="Hello World\n"' -o define_with_escaped_quote define_with_escaped_quote.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh" 1: # command stderr: 1: [17:30:12.530973, br, 3273] bear: 3.1.3 1: [17:30:12.531632, br, 3273] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh"] 1: [17:30:12.531941, br, 3273] 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=1712597123", "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-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x"] 1: [17:30:12.532150, br, 3273] sysname: Linux 1: [17:30:12.532338, br, 3273] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.532596, br, 3273] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.532731, br, 3273] machine: riscv64 1: [17:30:12.533118, br, 3273] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:12.535323, br, 3273] Process spawned. [pid: 3377, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh"]] 1: [17:30:12.535479, br, 3273] Process wait requested. [pid: 3377] 1: [17:30:12.720450, br, 3377] bear: 3.1.3 1: [17:30:12.721991, br, 3377] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh"] 1: [17:30:12.722309, br, 3377] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:12.722519, br, 3377] sysname: Linux 1: [17:30:12.722702, br, 3377] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.722833, br, 3377] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.722937, br, 3377] machine: riscv64 1: [17:30:12.723283, br, 3377] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:12.723985, br, 3377] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:13.053623, br, 3377] Running gRPC server. dns:///localhost:42563 1: [17:30:13.068177, br, 3377] Process spawned. [pid: 3958, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42563", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh"]] 1: [17:30:13.068568, br, 3377] Process wait requested. [pid: 3958] 1: [17:30:13.395877, el, 3958] lib.cc; on_load 1: [17:30:13.397586, wr, 3958, ppid: 3377] wrapper: 3.1.3 1: [17:30:13.397919, wr, 3958, ppid: 3377] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42563", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh"] 1: [17:30:13.398338, wr, 3958, ppid: 3377] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:42563", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.398720, wr, 3958, ppid: 3377] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh]}, {--destination: [dns:///localhost:42563]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:13.428024, wr, 3958, ppid: 3377] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.450505, br, 3377] trying to resolve for library: /usr/bin/sh 1: [17:30:13.461657, wr, 3958, ppid: 3377] gRPC call [Resolve] finished: true 1: [17:30:13.470511, wr, 3958, ppid: 3377] Process spawned. [pid: 4733, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh"]] 1: [17:30:13.470693, wr, 3958, ppid: 3377] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.480448, el, 4733] lib.cc; on_load 1: [17:30:13.505142, wr, 3958, ppid: 3377] gRPC call [Register] finished: true 1: [17:30:13.505496, wr, 3958, ppid: 3377] Process wait requested. [pid: 4733] 1: [17:30:13.506503, el, 4757] lib.cc; execve path: /usr/bin/cat 1: [17:30:13.732137, el, 4757] lib.cc; on_load 1: [17:30:13.733489, wr, 4757, ppid: 4733] wrapper: 3.1.3 1: [17:30:13.733783, wr, 4757, ppid: 4733] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42563", "--verbose", "--execute", "/usr/bin/cat", "--", "cat"] 1: [17:30:13.734006, wr, 4757, ppid: 4733] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42563", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cat"] 1: [17:30:13.734356, wr, 4757, ppid: 4733] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [cat]}, {--destination: [dns:///localhost:42563]}, {--execute: [/usr/bin/cat]}, {--verbose: []}]} 1: [17:30:13.754532, wr, 4757, ppid: 4733] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.778429, br, 3377] trying to resolve for library: /usr/bin/cat 1: [17:30:13.781899, wr, 4757, ppid: 4733] gRPC call [Resolve] finished: true 1: [17:30:13.805192, wr, 4757, ppid: 4733] Process spawned. [pid: 5368, command: ["cat"]] 1: [17:30:13.805364, wr, 4757, ppid: 4733] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.812862, wr, 4757, ppid: 4733] gRPC call [Register] finished: true 1: [17:30:13.813214, wr, 4757, ppid: 4733] Process wait requested. [pid: 5368] 1: [17:30:13.815854, el, 5368] lib.cc; on_load 1: [17:30:13.818234, wr, 4757, ppid: 4733] Process wait request: done. [pid: 5368] 1: [17:30:13.818321, wr, 4757, ppid: 4733] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.820834, wr, 4757, ppid: 4733] gRPC call [Register] finished: true 1: [17:30:13.832184, wr, 4757, ppid: 4733] succeeded with: 0 1: [17:30:13.832379, el, 4757] lib.cc; on_unload 1: [17:30:13.858708, el, 5427] lib.cc; execve path: /usr/bin/cc 1: [17:30:14.123892, el, 5427] lib.cc; on_load 1: [17:30:14.125381, wr, 5427, ppid: 4733] wrapper: 3.1.3 1: [17:30:14.125670, wr, 5427, ppid: 4733] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42563", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-DMESSAGE=\"Hello World\\n\"", "-o", "define_with_escaped_quote", "define_with_escaped_quote.c"] 1: [17:30:14.125913, wr, 5427, ppid: 4733] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42563", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:14.126272, wr, 5427, ppid: 4733] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -DMESSAGE="Hello World\n", -o, define_with_escaped_quote, define_with_escaped_quote.c]}, {--destination: [dns:///localhost:42563]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:14.411482, wr, 5427, ppid: 4733] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.425465, br, 3377] trying to resolve for library: /usr/bin/cc 1: [17:30:14.428553, wr, 5427, ppid: 4733] gRPC call [Resolve] finished: true 1: [17:30:14.430364, wr, 5427, ppid: 4733] Process spawned. [pid: 6906, command: ["/usr/bin/cc", "-DMESSAGE=\"Hello World\\n\"", "-o", "define_with_escaped_quote", "define_with_escaped_quote.c"]] 1: [17:30:14.430725, wr, 5427, ppid: 4733] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.437287, wr, 5427, ppid: 4733] gRPC call [Register] finished: true 1: [17:30:14.437813, wr, 5427, ppid: 4733] Process wait requested. [pid: 6906] 1: free(): invalid pointer 1: [17:30:15.267842, wr, 5427, ppid: 4733] Process wait request: done. [pid: 6906] 1: [17:30:15.267934, wr, 5427, ppid: 4733] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.272461, wr, 5427, ppid: 4733] gRPC call [Register] finished: true 1: [17:30:15.298735, wr, 5427, ppid: 4733] succeeded with: 1 1: [17:30:15.298945, el, 5427] lib.cc; on_unload 1: [17:30:15.327778, el, 4733] lib.cc; on_unload 1: [17:30:15.339467, wr, 3958, ppid: 3377] Process wait request: done. [pid: 4733] 1: [17:30:15.339540, wr, 3958, ppid: 3377] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.345998, wr, 3958, ppid: 3377] gRPC call [Register] finished: true 1: [17:30:15.375980, wr, 3958, ppid: 3377] succeeded with: 1 1: [17:30:15.376192, el, 3958] lib.cc; on_unload 1: [17:30:15.386251, br, 3377] Process wait request: done. [pid: 3958] 1: [17:30:15.386417, br, 3377] Running command. [Exited with 1] 1: [17:30:15.386454, br, 3377] Stopping gRPC server. 1: [17:30:15.411984, br, 3377] succeeded with: 1 1: [17:30:15.424989, br, 3273] Process wait request: done. [pid: 3377] 1: [17:30:15.425135, br, 3273] Running intercept finished. [Exited with 1] 1: [17:30:15.426987, br, 3273] Process spawned. [pid: 8462, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.json", "--run-checks", "--verbose"]] 1: [17:30:15.427149, br, 3273] Process wait requested. [pid: 8462] 1: [17:30:15.663827, br, 8462] bear: 3.1.3 1: [17:30:15.664259, br, 8462] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.json", "--run-checks", "--verbose"] 1: [17:30:15.664472, br, 8462] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:15.664679, br, 8462] sysname: Linux 1: [17:30:15.664907, br, 8462] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:15.665017, br, 8462] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:15.665095, br, 8462] machine: riscv64 1: [17:30:15.665357, br, 8462] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_escaped_quote.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:15.666252, br, 8462] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [17:30:15.674306, br, 8462] [pid: 4733] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"CC":"/usr/bin/cc","TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1712597123","FALSE":"/usr/bin/false","CXX":"/usr/bin/c++","LIBTOOL":"/usr/bin/libtool","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TMP":"/tmp/lit-tmp-7hscyd2x","LLVM_DISABLE_CRASH_REPORT":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42563","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TEMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo"}} 1: [17:30:15.676210, br, 8462] [pid: 4733] recognition failed: No tools recognize this execution. 1: [17:30:15.677350, br, 8462] [pid: 5368] execution: {"executable":"/usr/bin/cat","arguments":["cat"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"CC":"/usr/bin/cc","TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1712597123","FALSE":"/usr/bin/false","CXX":"/usr/bin/c++","LIBTOOL":"/usr/bin/libtool","SHLVL":"1","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TMP":"/tmp/lit-tmp-7hscyd2x","LLVM_DISABLE_CRASH_REPORT":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42563","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cat","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TEMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo"}} 1: [17:30:15.677609, br, 8462] [pid: 5368] recognition failed: No tools recognize this execution. 1: [17:30:15.678878, br, 8462] [pid: 6906] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-DMESSAGE=\"Hello World\\n\"","-o","define_with_escaped_quote","define_with_escaped_quote.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"CC":"/usr/bin/cc","TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1712597123","FALSE":"/usr/bin/false","CXX":"/usr/bin/c++","LIBTOOL":"/usr/bin/libtool","SHLVL":"1","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TMP":"/tmp/lit-tmp-7hscyd2x","LLVM_DISABLE_CRASH_REPORT":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42563","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TEMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo"}} 1: [17:30:15.679417, br, 8462] [pid: 6906] recognized. 1: [17:30:15.680276, br, 8462] compilation entries created. [size: 1] 1: [17:30:15.680509, br, 8462] compilation entries to output. [size: 1] 1: [17:30:15.681813, br, 8462] compilation entries written. [size: 1] 1: [17:30:15.682099, br, 8462] succeeded with: 0 1: [17:30:15.689953, br, 3273] Process wait request: done. [pid: 8462] 1: [17:30:15.690074, br, 3273] Running citnames finished. [Exited with 0] 1: [17:30:15.690624, br, 3273] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/preload/posix/execlp/failure_prints_errno.c (32 of 100) 1: PASS: bear :: cases/intercept/preload/path_resolver/same_name_in_path.c (33 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execv/failure_prints_errno.c (34 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execve/success.c (35 of 100) 1: PASS: bear :: cases/intercept/wrapper/build_command_captured.sh (36 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execlp/success_to_resolve.c (37 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execvpe/success.c (38 of 100) 1: PASS: bear :: cases/intercept/preload/posix/posix_spawn/success.c (39 of 100) 1: PASS: bear :: cases/compilation/output/broken_build.sh (40 of 100) 1: PASS: bear :: cases/intercept/preload/posix/system/success.c (41 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execl/failure_prints_errno.c (42 of 100) 1: PASS: bear :: cases/intercept/wrapper/build_stderr_captured.sh (43 of 100) 1: PASS: bear :: cases/intercept/preload/posix/exevp/failure_prints_errno.c (44 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execle/failure_prints_errno.c (45 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execvpe/failure_prints_errno.c (46 of 100) 1: XFAIL: bear :: cases/intercept/wrapper/shell_commands_with_empty_env.sh (47 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execve/failure_prints_errno.c (48 of 100) 1: PASS: bear :: cases/intercept/preload/build_stdout_captured.sh (49 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execv/success.c (50 of 100) 1: PASS: bear :: cases/intercept/preload/posix/posix_spawn/failure_prints_errno.c (51 of 100) 1: PASS: bear :: cases/intercept/preload/shell_fail_commands_intercepted.sh (52 of 100) 1: PASS: bear :: cases/intercept/wrapper/build_stdout_captured.sh (53 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execlp/success.c (54 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execle/success.c (55 of 100) 1: FAIL: bear :: cases/compilation/output/flag/field_output.sh (56 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/flag/field_output.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json count -eq 2 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output_1.c -output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output_1.o -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/cc -c -o field_output_1.o field_output_1.c 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output_2.c -output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output_2.o -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/cc -c -o field_output_2.o field_output_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh" 1: # command stderr: 1: [17:30:12.803817, br, 3301] bear: 3.1.3 1: [17:30:12.804128, br, 3301] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh"] 1: [17:30:12.804209, br, 3301] 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=1712597123", "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-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x"] 1: [17:30:12.804259, br, 3301] sysname: Linux 1: [17:30:12.804273, br, 3301] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.804283, br, 3301] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.804290, br, 3301] machine: riscv64 1: [17:30:12.804505, br, 3301] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:12.841717, br, 3301] Process spawned. [pid: 3650, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh"]] 1: [17:30:12.841908, br, 3301] Process wait requested. [pid: 3650] 1: [17:30:13.221907, br, 3650] bear: 3.1.3 1: [17:30:13.232213, br, 3650] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh"] 1: [17:30:13.232700, br, 3650] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.238189, br, 3650] sysname: Linux 1: [17:30:13.238502, br, 3650] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:13.238673, br, 3650] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:13.238838, br, 3650] machine: riscv64 1: [17:30:13.239261, br, 3650] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:13.239969, br, 3650] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:13.306753, br, 3650] Running gRPC server. dns:///localhost:42801 1: [17:30:13.319685, br, 3650] Process spawned. [pid: 4409, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42801", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh"]] 1: [17:30:13.319942, br, 3650] Process wait requested. [pid: 4409] 1: [17:30:13.643477, el, 4409] lib.cc; on_load 1: [17:30:13.644910, wr, 4409, ppid: 3650] wrapper: 3.1.3 1: [17:30:13.645234, wr, 4409, ppid: 3650] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42801", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh"] 1: [17:30:13.645500, wr, 4409, ppid: 3650] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:42801", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.646037, wr, 4409, ppid: 3650] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh]}, {--destination: [dns:///localhost:42801]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:13.674215, wr, 4409, ppid: 3650] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.722975, br, 3650] trying to resolve for library: /usr/bin/sh 1: [17:30:13.727632, wr, 4409, ppid: 3650] gRPC call [Resolve] finished: true 1: [17:30:13.735577, wr, 4409, ppid: 3650] Process spawned. [pid: 5275, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh"]] 1: [17:30:13.735774, wr, 4409, ppid: 3650] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.787754, el, 5275] lib.cc; on_load 1: [17:30:13.829605, el, 5376] lib.cc; execve path: /usr/bin/touch 1: [17:30:14.002261, wr, 4409, ppid: 3650] gRPC call [Register] finished: true 1: [17:30:14.002731, wr, 4409, ppid: 3650] Process wait requested. [pid: 5275] 1: [17:30:14.156029, el, 5376] lib.cc; on_load 1: [17:30:14.157389, wr, 5376, ppid: 5275] wrapper: 3.1.3 1: [17:30:14.157738, wr, 5376, ppid: 5275] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42801", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "field_output_1.c", "field_output_2.c"] 1: [17:30:14.158031, wr, 5376, ppid: 5275] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42801", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/touch"] 1: [17:30:14.158678, wr, 5376, ppid: 5275] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, field_output_1.c, field_output_2.c]}, {--destination: [dns:///localhost:42801]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [17:30:14.179912, wr, 5376, ppid: 5275] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.451870, br, 3650] trying to resolve for library: /usr/bin/touch 1: [17:30:14.456292, wr, 5376, ppid: 5275] gRPC call [Resolve] finished: true 1: [17:30:14.476681, wr, 5376, ppid: 5275] Process spawned. [pid: 6970, command: ["touch", "field_output_1.c", "field_output_2.c"]] 1: [17:30:14.476881, wr, 5376, ppid: 5275] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.485475, el, 6970] lib.cc; on_load 1: [17:30:14.503590, wr, 5376, ppid: 5275] gRPC call [Register] finished: true 1: [17:30:14.504564, wr, 5376, ppid: 5275] Process wait requested. [pid: 6970] 1: [17:30:14.506488, wr, 5376, ppid: 5275] Process wait request: done. [pid: 6970] 1: [17:30:14.507660, wr, 5376, ppid: 5275] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.531255, wr, 5376, ppid: 5275] gRPC call [Register] finished: true 1: [17:30:14.596399, wr, 5376, ppid: 5275] succeeded with: 0 1: [17:30:14.596627, el, 5376] lib.cc; on_unload 1: [17:30:14.631792, el, 7187] lib.cc; execve path: /usr/bin/cc 1: [17:30:15.001033, el, 7187] lib.cc; on_load 1: [17:30:15.002821, wr, 7187, ppid: 5275] wrapper: 3.1.3 1: [17:30:15.003137, wr, 7187, ppid: 5275] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42801", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "field_output_1.o", "field_output_1.c"] 1: [17:30:15.003455, wr, 7187, ppid: 5275] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42801", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:15.003902, wr, 7187, ppid: 5275] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, field_output_1.o, field_output_1.c]}, {--destination: [dns:///localhost:42801]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:15.061506, wr, 7187, ppid: 5275] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:15.330729, br, 3650] trying to resolve for library: /usr/bin/cc 1: [17:30:15.333688, wr, 7187, ppid: 5275] gRPC call [Resolve] finished: true 1: [17:30:15.360960, wr, 7187, ppid: 5275] Process spawned. [pid: 8403, command: ["/usr/bin/cc", "-c", "-o", "field_output_1.o", "field_output_1.c"]] 1: [17:30:15.361132, wr, 7187, ppid: 5275] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.368681, wr, 7187, ppid: 5275] gRPC call [Register] finished: true 1: [17:30:15.369428, wr, 7187, ppid: 5275] Process wait requested. [pid: 8403] 1: free(): invalid pointer 1: [17:30:15.387691, wr, 7187, ppid: 5275] Process wait request: done. [pid: 8403] 1: [17:30:15.387755, wr, 7187, ppid: 5275] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.392038, wr, 7187, ppid: 5275] gRPC call [Register] finished: true 1: [17:30:15.418298, wr, 7187, ppid: 5275] succeeded with: 1 1: [17:30:15.418536, el, 7187] lib.cc; on_unload 1: [17:30:15.437931, el, 8475] lib.cc; execve path: /usr/bin/cc 1: [17:30:15.764861, el, 8475] lib.cc; on_load 1: [17:30:15.766488, wr, 8475, ppid: 5275] wrapper: 3.1.3 1: [17:30:15.766828, wr, 8475, ppid: 5275] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42801", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "field_output_2.o", "field_output_2.c"] 1: [17:30:15.767167, wr, 8475, ppid: 5275] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42801", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:15.767630, wr, 8475, ppid: 5275] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, field_output_2.o, field_output_2.c]}, {--destination: [dns:///localhost:42801]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:15.794501, wr, 8475, ppid: 5275] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:16.071595, br, 3650] trying to resolve for library: /usr/bin/cc 1: [17:30:16.075326, wr, 8475, ppid: 5275] gRPC call [Resolve] finished: true 1: [17:30:16.086989, wr, 8475, ppid: 5275] Process spawned. [pid: 9306, command: ["/usr/bin/cc", "-c", "-o", "field_output_2.o", "field_output_2.c"]] 1: [17:30:16.087222, wr, 8475, ppid: 5275] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.094315, wr, 8475, ppid: 5275] gRPC call [Register] finished: true 1: [17:30:16.094958, wr, 8475, ppid: 5275] Process wait requested. [pid: 9306] 1: free(): invalid pointer 1: [17:30:16.103444, wr, 8475, ppid: 5275] Process wait request: done. [pid: 9306] 1: [17:30:16.103666, wr, 8475, ppid: 5275] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.108542, wr, 8475, ppid: 5275] gRPC call [Register] finished: true 1: [17:30:16.134581, wr, 8475, ppid: 5275] succeeded with: 1 1: [17:30:16.135830, el, 8475] lib.cc; on_unload 1: [17:30:16.155639, el, 5275] lib.cc; on_unload 1: [17:30:16.158491, wr, 4409, ppid: 3650] Process wait request: done. [pid: 5275] 1: [17:30:16.158588, wr, 4409, ppid: 3650] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.161905, wr, 4409, ppid: 3650] gRPC call [Register] finished: true 1: [17:30:16.181548, wr, 4409, ppid: 3650] succeeded with: 1 1: [17:30:16.186146, el, 4409] lib.cc; on_unload 1: [17:30:16.205926, br, 3650] Process wait request: done. [pid: 4409] 1: [17:30:16.206077, br, 3650] Running command. [Exited with 1] 1: [17:30:16.206113, br, 3650] Stopping gRPC server. 1: [17:30:16.223703, br, 3650] succeeded with: 1 1: [17:30:16.236086, br, 3301] Process wait request: done. [pid: 3650] 1: [17:30:16.236231, br, 3301] Running intercept finished. [Exited with 1] 1: [17:30:16.237610, br, 3301] Process spawned. [pid: 9512, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json", "--run-checks", "--verbose"]] 1: [17:30:16.237758, br, 3301] Process wait requested. [pid: 9512] 1: [17:30:16.487607, br, 9512] bear: 3.1.3 1: [17:30:16.488025, br, 9512] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json", "--run-checks", "--verbose"] 1: [17:30:16.488312, br, 9512] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:16.488566, br, 9512] sysname: Linux 1: [17:30:16.488750, br, 9512] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:16.488852, br, 9512] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:16.489064, br, 9512] machine: riscv64 1: [17:30:16.489405, br, 9512] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/field_output.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:16.490632, br, 9512] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [17:30:16.501355, br, 9512] [pid: 5275] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42801","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","LLVM_DISABLE_CRASH_REPORT":"1","SOURCE_DATE_EPOCH":"1712597123","CC":"/usr/bin/cc","ECHO":"/usr/bin/echo","CXX":"/usr/bin/c++","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TEMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [17:30:16.503659, br, 9512] [pid: 5275] recognition failed: No tools recognize this execution. 1: [17:30:16.505312, br, 9512] [pid: 6970] execution: {"executable":"/usr/bin/touch","arguments":["touch","field_output_1.c","field_output_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42801","_":"/usr/bin/touch","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","LLVM_DISABLE_CRASH_REPORT":"1","SOURCE_DATE_EPOCH":"1712597123","CC":"/usr/bin/cc","SHLVL":"1","ECHO":"/usr/bin/echo","CXX":"/usr/bin/c++","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TEMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [17:30:16.505628, br, 9512] [pid: 6970] recognition failed: No tools recognize this execution. 1: [17:30:16.507343, br, 9512] [pid: 8403] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","field_output_1.o","field_output_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42801","_":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","LLVM_DISABLE_CRASH_REPORT":"1","SOURCE_DATE_EPOCH":"1712597123","CC":"/usr/bin/cc","SHLVL":"1","ECHO":"/usr/bin/echo","CXX":"/usr/bin/c++","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TEMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [17:30:16.507853, br, 9512] [pid: 8403] recognized. 1: [17:30:16.509682, br, 9512] [pid: 9306] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","field_output_2.o","field_output_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42801","_":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","LLVM_DISABLE_CRASH_REPORT":"1","SOURCE_DATE_EPOCH":"1712597123","CC":"/usr/bin/cc","SHLVL":"1","ECHO":"/usr/bin/echo","CXX":"/usr/bin/c++","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TEMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [17:30:16.510053, br, 9512] [pid: 9306] recognized. 1: [17:30:16.510740, br, 9512] compilation entries created. [size: 2] 1: [17:30:16.510995, br, 9512] compilation entries to output. [size: 2] 1: [17:30:16.512417, br, 9512] compilation entries written. [size: 2] 1: [17:30:16.512758, br, 9512] succeeded with: 0 1: [17:30:16.521665, br, 3301] Process wait request: done. [pid: 9512] 1: [17:30:16.521802, br, 3301] Running citnames finished. [Exited with 0] 1: [17:30:16.522263, br, 3301] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/preload/posix/exevp/success.c (57 of 100) 1: PASS: bear :: cases/intercept/preload/posix/exevp/success_to_resolve.c (58 of 100) 1: PASS: bear :: cases/intercept/preload/posix/popen/success.c (59 of 100) 1: FAIL: bear :: cases/compilation/output/bug439.mk (60 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/bug439.mk' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; mkdir -p /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/make 1: : 'RUN: at line 5'; /usr/bin/make -C /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -f /build/bear/src/bear/test/cases/compilation/output/bug439.mk clean 1: : 'RUN: at line 6'; /usr/bin/sh -c "PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output:$PATH /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json -- /usr/bin/make -C /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -f /build/bear/src/bear/test/cases/compilation/output/bug439.mk" 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json count -eq 2 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -S -o bug439.s bug439.c 1: : 'RUN: at line 9'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.s -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o bug439.o bug439.s 1: -- 1: Exit Code: 2 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "mkdir" "-p" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/make" 1: $ ":" "RUN: at line 5" 1: $ "/usr/bin/make" "-C" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" "-f" "/build/bear/src/bear/test/cases/compilation/output/bug439.mk" "clean" 1: # command output: 1: make: Entering directory '/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output' 1: rm -f bug439 bug439.o bug439.s bug439.c 1: make: Leaving directory '/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output' 1: 1: $ ":" "RUN: at line 6" 1: $ "/usr/bin/sh" "-c" "PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output:$PATH /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json -- /usr/bin/make -C /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -f /build/bear/src/bear/test/cases/compilation/output/bug439.mk" 1: # command output: 1: make: Entering directory '/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output' 1: echo "int main() { return 0; }" > bug439.c 1: /usr/bin/cc -S bug439.c -o bug439.s 1: make: Leaving directory '/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output' 1: 1: # command stderr: 1: [17:30:12.567206, br, 3298] bear: 3.1.3 1: [17:30:12.567709, br, 3298] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/bug439.mk"] 1: [17:30:12.567937, br, 3298] 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=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=0", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/build/bear/src/build/stage/bin/bear"] 1: [17:30:12.568187, br, 3298] sysname: Linux 1: [17:30:12.568338, br, 3298] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.568444, br, 3298] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.568526, br, 3298] machine: riscv64 1: [17:30:12.568835, br, 3298] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/make, -C, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output, -f, /build/bear/src/bear/test/cases/compilation/output/bug439.mk]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:12.581848, br, 3298] Process spawned. [pid: 3387, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.events.json", "--verbose", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/bug439.mk"]] 1: [17:30:12.582059, br, 3298] Process wait requested. [pid: 3387] 1: [17:30:12.812559, br, 3387] bear: 3.1.3 1: [17:30:12.813025, br, 3387] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.events.json", "--verbose", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/bug439.mk"] 1: [17:30:12.813265, br, 3387] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true", "_=/build/bear/src/build/stage/bin/bear"] 1: [17:30:12.813476, br, 3387] sysname: Linux 1: [17:30:12.813612, br, 3387] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.813722, br, 3387] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.813831, br, 3387] machine: riscv64 1: [17:30:12.814147, br, 3387] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/make, -C, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output, -f, /build/bear/src/bear/test/cases/compilation/output/bug439.mk]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:12.814823, br, 3387] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:12.896509, br, 3387] Running gRPC server. dns:///localhost:40347 1: [17:30:12.908610, br, 3387] Process spawned. [pid: 3769, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40347", "--verbose", "--execute", "/usr/bin/make", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/bug439.mk"]] 1: [17:30:12.908787, br, 3387] Process wait requested. [pid: 3769] 1: [17:30:13.186600, el, 3769] lib.cc; on_load 1: [17:30:13.187852, wr, 3769, ppid: 3387] wrapper: 3.1.3 1: [17:30:13.188713, wr, 3769, ppid: 3387] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40347", "--verbose", "--execute", "/usr/bin/make", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/bug439.mk"] 1: [17:30:13.189025, wr, 3769, ppid: 3387] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:40347", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output:/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output", "SHLVL=0", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true", "_=/build/bear/src/build/stage/bin/bear"] 1: [17:30:13.189395, wr, 3769, ppid: 3387] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/make, -C, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output, -f, /build/bear/src/bear/test/cases/compilation/output/bug439.mk]}, {--destination: [dns:///localhost:40347]}, {--execute: [/usr/bin/make]}, {--verbose: []}]} 1: [17:30:13.225318, wr, 3769, ppid: 3387] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.517328, br, 3387] trying to resolve for library: /usr/bin/make 1: [17:30:13.521726, wr, 3769, ppid: 3387] gRPC call [Resolve] finished: true 1: [17:30:13.524565, wr, 3769, ppid: 3387] Process spawned. [pid: 4839, command: ["/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/bug439.mk"]] 1: [17:30:13.524798, wr, 3769, ppid: 3387] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.539325, wr, 3769, ppid: 3387] gRPC call [Register] finished: true 1: [17:30:13.539756, wr, 3769, ppid: 3387] Process wait requested. [pid: 4839] 1: [17:30:13.591234, el, 4839] lib.cc; on_load 1: [17:30:13.616001, el, 4998] lib.cc; execvp file: /bin/sh 1: [17:30:13.860625, el, 4998] lib.cc; on_load 1: [17:30:13.861981, wr, 4998, ppid: 4839] wrapper: 3.1.3 1: [17:30:13.862270, wr, 4998, ppid: 4839] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40347", "--verbose", "--execute", "/bin/sh", "--", "/bin/sh", "-c", "echo \"int main() { return 0; }\" > bug439.c"] 1: [17:30:13.862528, wr, 4998, ppid: 4839] environment: ["TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "LLVM_DISABLE_CRASH_REPORT=1", "FALSE=/usr/bin/false", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output", "SOURCE_DATE_EPOCH=1712597123", "TMP=/tmp/lit-tmp-7hscyd2x", "MAKEFLAGS=", "MFLAGS=", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "SHLVL=0", "MAKELEVEL=1", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:40347", "PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output:/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "LIBTOOL=/usr/bin/libtool", "ECHO=/usr/bin/echo", "_=/build/bear/src/build/stage/bin/bear", "LC_CTYPE=en_US.UTF-8", "TRUE=/usr/bin/true", "TEMP=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "CXX=/usr/bin/c++", "CC=/usr/bin/cc", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper"] 1: [17:30:13.862976, wr, 4998, ppid: 4839] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/bin/sh, -c, echo "int main() { return 0; }" > bug439.c]}, {--destination: [dns:///localhost:40347]}, {--execute: [/bin/sh]}, {--verbose: []}]} 1: [17:30:13.891364, wr, 4998, ppid: 4839] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.938383, br, 3387] trying to resolve for library: /bin/sh 1: [17:30:13.942388, wr, 4998, ppid: 4839] gRPC call [Resolve] finished: true 1: [17:30:13.962570, wr, 4998, ppid: 4839] Process spawned. [pid: 5677, command: ["/bin/sh", "-c", "echo \"int main() { return 0; }\" > bug439.c"]] 1: [17:30:13.962767, wr, 4998, ppid: 4839] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.975929, el, 5677] lib.cc; on_load 1: [17:30:13.984637, el, 5677] lib.cc; on_unload 1: [17:30:14.228219, wr, 4998, ppid: 4839] gRPC call [Register] finished: true 1: [17:30:14.229467, wr, 4998, ppid: 4839] Process wait requested. [pid: 5677] 1: [17:30:14.229638, wr, 4998, ppid: 4839] Process wait request: done. [pid: 5677] 1: [17:30:14.229669, wr, 4998, ppid: 4839] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.233756, wr, 4998, ppid: 4839] gRPC call [Register] finished: true 1: [17:30:14.252888, wr, 4998, ppid: 4839] succeeded with: 0 1: [17:30:14.253221, el, 4998] lib.cc; on_unload 1: [17:30:14.268172, el, 6477] lib.cc; execvp file: /usr/bin/cc 1: [17:30:14.474179, el, 6477] lib.cc; on_load 1: [17:30:14.475438, wr, 6477, ppid: 4839] wrapper: 3.1.3 1: [17:30:14.475527, wr, 6477, ppid: 4839] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40347", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-S", "bug439.c", "-o", "bug439.s"] 1: [17:30:14.475658, wr, 6477, ppid: 4839] environment: ["TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "LLVM_DISABLE_CRASH_REPORT=1", "FALSE=/usr/bin/false", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output", "SOURCE_DATE_EPOCH=1712597123", "TMP=/tmp/lit-tmp-7hscyd2x", "MAKEFLAGS=", "MFLAGS=", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "SHLVL=0", "MAKELEVEL=1", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:40347", "PATH=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output:/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "LIBTOOL=/usr/bin/libtool", "ECHO=/usr/bin/echo", "_=/build/bear/src/build/stage/bin/bear", "LC_CTYPE=en_US.UTF-8", "TRUE=/usr/bin/true", "TEMP=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "CXX=/usr/bin/c++", "CC=/usr/bin/cc", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper"] 1: [17:30:14.475865, wr, 6477, ppid: 4839] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -S, bug439.c, -o, bug439.s]}, {--destination: [dns:///localhost:40347]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:14.518757, wr, 6477, ppid: 4839] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.533572, br, 3387] trying to resolve for library: /usr/bin/cc 1: [17:30:14.537119, wr, 6477, ppid: 4839] gRPC call [Resolve] finished: true 1: [17:30:14.540972, wr, 6477, ppid: 4839] Process spawned. [pid: 7091, command: ["/usr/bin/cc", "-S", "bug439.c", "-o", "bug439.s"]] 1: [17:30:14.541113, wr, 6477, ppid: 4839] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.546565, wr, 6477, ppid: 4839] gRPC call [Register] finished: true 1: [17:30:14.546866, wr, 6477, ppid: 4839] Process wait requested. [pid: 7091] 1: free(): invalid pointer 1: [17:30:16.466475, wr, 6477, ppid: 4839] Process wait request: done. [pid: 7091] 1: [17:30:16.466650, wr, 6477, ppid: 4839] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.471779, wr, 6477, ppid: 4839] gRPC call [Register] finished: true 1: [17:30:16.492201, wr, 6477, ppid: 4839] succeeded with: 1 1: [17:30:16.492629, el, 6477] lib.cc; on_unload 1: make: *** [/build/bear/src/bear/test/cases/compilation/output/bug439.mk:15: bug439.s] Error 1 1: [17:30:16.505018, el, 4839] lib.cc; on_unload 1: [17:30:16.507086, wr, 3769, ppid: 3387] Process wait request: done. [pid: 4839] 1: [17:30:16.507162, wr, 3769, ppid: 3387] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.510356, wr, 3769, ppid: 3387] gRPC call [Register] finished: true 1: [17:30:16.527662, wr, 3769, ppid: 3387] succeeded with: 2 1: [17:30:16.528032, el, 3769] lib.cc; on_unload 1: [17:30:16.544534, br, 3387] Process wait request: done. [pid: 3769] 1: [17:30:16.544773, br, 3387] Running command. [Exited with 2] 1: [17:30:16.544815, br, 3387] Stopping gRPC server. 1: [17:30:16.560331, br, 3387] succeeded with: 2 1: [17:30:16.569285, br, 3298] Process wait request: done. [pid: 3387] 1: [17:30:16.569411, br, 3298] Running intercept finished. [Exited with 2] 1: [17:30:16.571047, br, 3298] Process spawned. [pid: 9920, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json", "--run-checks", "--verbose"]] 1: [17:30:16.571197, br, 3298] Process wait requested. [pid: 9920] 1: [17:30:16.805186, br, 9920] bear: 3.1.3 1: [17:30:16.805746, br, 9920] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json", "--run-checks", "--verbose"] 1: [17:30:16.806029, br, 9920] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true", "_=/build/bear/src/build/stage/bin/bear"] 1: [17:30:16.806230, br, 9920] sysname: Linux 1: [17:30:16.806362, br, 9920] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:16.806465, br, 9920] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:16.806545, br, 9920] machine: riscv64 1: [17:30:16.806825, br, 9920] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/bug439.mk.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:16.807754, br, 9920] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [17:30:16.819168, br, 9920] [pid: 4839] execution: {"executable":"/usr/bin/make","arguments":["/usr/bin/make","-C","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","-f","/build/bear/src/bear/test/cases/compilation/output/bug439.mk"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output","environment":{"SLEEP":"/usr/bin/sleep","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","LC_CTYPE":"en_US.UTF-8","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40347","_":"/build/bear/src/build/stage/bin/bear","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","TMP":"/tmp/lit-tmp-7hscyd2x","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output","LLVM_DISABLE_CRASH_REPORT":"1","SHLVL":"0","TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","ECHO":"/usr/bin/echo","CXX":"/usr/bin/c++","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","FALSE":"/usr/bin/false","TEMP":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","SOURCE_DATE_EPOCH":"1712597123"}} 1: [17:30:16.821673, br, 9920] [pid: 4839] recognition failed: No tools recognize this execution. 1: [17:30:16.823564, br, 9920] [pid: 5677] execution: {"executable":"/bin/sh","arguments":["/bin/sh","-c","echo \"int main() { return 0; }\" \u003e bug439.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40347","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output","SHLVL":"0","MFLAGS":"","TMPDIR":"/tmp/lit-tmp-7hscyd2x","ECHO":"/usr/bin/echo","TERM":"tmux-256color","FALSE":"/usr/bin/false","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","MAKELEVEL":"1","SOURCE_DATE_EPOCH":"1712597123","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","LC_CTYPE":"en_US.UTF-8","_":"/build/bear/src/build/stage/bin/bear","CC":"/usr/bin/cc","MAKEFLAGS":"","LLVM_DISABLE_CRASH_REPORT":"1","TRUE":"/usr/bin/true","CXX":"/usr/bin/c++","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TEMP":"/tmp/lit-tmp-7hscyd2x"}} 1: [17:30:16.823893, br, 9920] [pid: 5677] recognition failed: No tools recognize this execution. 1: [17:30:16.825647, br, 9920] [pid: 7091] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-S","bug439.c","-o","bug439.s"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40347","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output","SHLVL":"0","MFLAGS":"","TMPDIR":"/tmp/lit-tmp-7hscyd2x","ECHO":"/usr/bin/echo","TERM":"tmux-256color","FALSE":"/usr/bin/false","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","MAKELEVEL":"1","SOURCE_DATE_EPOCH":"1712597123","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","LC_CTYPE":"en_US.UTF-8","_":"/build/bear/src/build/stage/bin/bear","CC":"/usr/bin/cc","MAKEFLAGS":"","LLVM_DISABLE_CRASH_REPORT":"1","TRUE":"/usr/bin/true","CXX":"/usr/bin/c++","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TEMP":"/tmp/lit-tmp-7hscyd2x"}} 1: [17:30:16.826468, br, 9920] [pid: 7091] recognized. 1: [17:30:16.827394, br, 9920] compilation entries created. [size: 1] 1: [17:30:16.827697, br, 9920] compilation entries to output. [size: 1] 1: [17:30:16.829235, br, 9920] compilation entries written. [size: 1] 1: [17:30:16.829497, br, 9920] succeeded with: 0 1: [17:30:16.838927, br, 3298] Process wait request: done. [pid: 9920] 1: [17:30:16.839070, br, 3298] Running citnames finished. [Exited with 0] 1: [17:30:16.839506, br, 3298] succeeded with: 2 1: 1: error: command failed with exit status: 2 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/signal_outside_build.sh (61 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/bear intercept --wrapper /build/bear/src/build/stage/lib/bear/wrapper --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --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/bear intercept --wrapper /build/bear/src/build/stage/lib/bear/wrapper --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --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 output: 1: SLEEP = /usr/bin/sleep 1: TRUE = /usr/bin/true 1: 1: # command stderr: 1: [17:30:15.356320, br, 8201] bear: 3.1.3 1: [17:30:15.356749, br, 8201] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--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: [17:30:15.357027, br, 8201] 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=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=0", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/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/bear"] 1: [17:30:15.357228, br, 8201] sysname: Linux 1: [17:30:15.357509, br, 8201] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:15.357646, br, 8201] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:15.357747, br, 8201] machine: riscv64 1: [17:30:15.358174, br, 8201] arguments parsed: {program: 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]}, {command: [intercept]}]} 1: [17:30:15.358930, br, 8201] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:15.417567, br, 8201] Running gRPC server. dns:///localhost:35189 1: [17:30:15.419420, br, 8201] Process spawned. [pid: 8458, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35189", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/signal_outside_build.sh", "--sleep", "/usr/bin/sleep", "--true", "/usr/bin/true"]] 1: [17:30:15.419573, br, 8201] Process wait requested. [pid: 8458] 1: [17:30:15.868283, el, 8458] lib.cc; on_load 1: [17:30:15.869907, wr, 8458, ppid: 8201] wrapper: 3.1.3 1: [17:30:15.870223, wr, 8458, ppid: 8201] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35189", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/signal_outside_build.sh", "--sleep", "/usr/bin/sleep", "--true", "/usr/bin/true"] 1: [17:30:15.870493, wr, 8458, ppid: 8201] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:35189", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "SHLVL=0", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true", "_=/build/bear/src/build/stage/bin/bear"] 1: [17:30:15.870880, wr, 8458, ppid: 8201] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/intercept/preload/signal_outside_build.sh, --sleep, /usr/bin/sleep, --true, /usr/bin/true]}, {--destination: [dns:///localhost:35189]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:15.895698, wr, 8458, ppid: 8201] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:15.917796, br, 8201] trying to resolve for library: /usr/bin/sh 1: [17:30:15.922474, wr, 8458, ppid: 8201] gRPC call [Resolve] finished: true 1: [17:30:15.941995, wr, 8458, ppid: 8201] Process spawned. [pid: 9056, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/signal_outside_build.sh", "--sleep", "/usr/bin/sleep", "--true", "/usr/bin/true"]] 1: [17:30:15.942200, wr, 8458, ppid: 8201] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.960826, el, 9056] lib.cc; on_load 1: [17:30:15.976001, el, 9150] lib.cc; execve path: /usr/bin/true 1: [17:30:16.165149, br, 8201] Process wait request: done. [pid: 8458] 1: [17:30:16.165332, br, 8201] Running command. [Exited with 1] 1: [17:30:16.165383, br, 8201] Stopping gRPC server. 1: [17:30:16.182397, br, 8201] succeeded with: 1 1: [17:30:16.187052, el, 9150] lib.cc; on_load 1: [17:30:16.188537, wr, 9150, ppid: 9056] wrapper: 3.1.3 1: [17:30:16.188849, wr, 9150, ppid: 9056] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35189", "--verbose", "--execute", "/usr/bin/true", "--", "/usr/bin/true"] 1: [17:30:16.189161, wr, 9150, ppid: 9056] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35189", "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=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/true"] 1: [17:30:16.189543, wr, 9150, ppid: 9056] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/true]}, {--destination: [dns:///localhost:35189]}, {--execute: [/usr/bin/true]}, {--verbose: []}]} 1: [17:30:16.218178, wr, 9150, ppid: 9056] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:16.232305, wr, 9150, ppid: 9056] gRPC call [Resolve] finished: false 1: [17:30:16.234302, wr, 9150, ppid: 9056] failed with: gRPC call failed: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:35189: Failed to connect to remote host: Connection refused 1: [17:30:16.234914, el, 9150] lib.cc; on_unload 1: [17:30:16.248117, el, 9517] lib.cc; execve path: /usr/bin/sleep 1: [17:30:16.479133, el, 9517] lib.cc; on_load 1: [17:30:16.480943, wr, 9517, ppid: 9056] wrapper: 3.1.3 1: [17:30:16.481298, wr, 9517, ppid: 9056] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35189", "--verbose", "--execute", "/usr/bin/sleep", "--", "/usr/bin/sleep", "5"] 1: [17:30:16.481665, wr, 9517, ppid: 9056] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35189", "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=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=0", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sleep"] 1: [17:30:16.482257, wr, 9517, ppid: 9056] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sleep, 5]}, {--destination: [dns:///localhost:35189]}, {--execute: [/usr/bin/sleep]}, {--verbose: []}]} 1: [17:30:16.509000, wr, 9517, ppid: 9056] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:16.520657, wr, 9517, ppid: 9056] gRPC call [Resolve] finished: false 1: [17:30:16.522448, wr, 9517, ppid: 9056] failed with: gRPC call failed: failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:35189: Failed to connect to remote host: Connection refused 1: [17:30:16.522649, el, 9517] lib.cc; on_unload 1: [17:30:16.534408, el, 9056] lib.cc; on_unload 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: PASS: bear :: cases/intercept/preload/posix/posix_spawnp/success_to_resolve.c (62 of 100) 1: PASS: bear :: cases/intercept/preload/preload_append/io_calls.c (63 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execl/success.c (64 of 100) 1: PASS: bear :: cases/intercept/preload/posix/posix_spawnp/success.c (65 of 100) 1: PASS: bear :: cases/intercept/preload/shell_commands_parallel_intercepted.sh (66 of 100) 1: FAIL: bear :: cases/compilation/output/define_with_quote.sh (67 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/define_with_quote.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.json count -ge 1 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/c++ -c -DEXPORT="extern \"C\"" -o define_with_quote define_with_quote.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh" 1: # command stderr: 1: [17:30:12.520457, br, 3275] bear: 3.1.3 1: [17:30:12.521094, br, 3275] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh"] 1: [17:30:12.521489, br, 3275] 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=1712597123", "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-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x"] 1: [17:30:12.521760, br, 3275] sysname: Linux 1: [17:30:12.521997, br, 3275] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.522298, br, 3275] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.522487, br, 3275] machine: riscv64 1: [17:30:12.522907, br, 3275] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:12.524910, br, 3275] Process spawned. [pid: 3374, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh"]] 1: [17:30:12.525079, br, 3275] Process wait requested. [pid: 3374] 1: [17:30:12.843156, br, 3374] bear: 3.1.3 1: [17:30:12.855161, br, 3374] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh"] 1: [17:30:12.855426, br, 3374] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:12.855595, br, 3374] sysname: Linux 1: [17:30:12.861632, br, 3374] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.861763, br, 3374] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.861872, br, 3374] machine: riscv64 1: [17:30:12.862179, br, 3374] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:12.868634, br, 3374] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:12.965370, br, 3374] Running gRPC server. dns:///localhost:45955 1: [17:30:12.977573, br, 3374] Process spawned. [pid: 3837, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45955", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh"]] 1: [17:30:12.978202, br, 3374] Process wait requested. [pid: 3837] 1: [17:30:13.443694, el, 3837] lib.cc; on_load 1: [17:30:13.445353, wr, 3837, ppid: 3374] wrapper: 3.1.3 1: [17:30:13.445732, wr, 3837, ppid: 3374] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45955", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh"] 1: [17:30:13.446201, wr, 3837, ppid: 3374] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:45955", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.446714, wr, 3837, ppid: 3374] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh]}, {--destination: [dns:///localhost:45955]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:13.486270, wr, 3837, ppid: 3374] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.512401, br, 3374] trying to resolve for library: /usr/bin/sh 1: [17:30:13.519518, wr, 3837, ppid: 3374] gRPC call [Resolve] finished: true 1: [17:30:13.523468, wr, 3837, ppid: 3374] Process spawned. [pid: 4837, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh"]] 1: [17:30:13.523662, wr, 3837, ppid: 3374] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.541695, wr, 3837, ppid: 3374] gRPC call [Register] finished: true 1: [17:30:13.542393, wr, 3837, ppid: 3374] Process wait requested. [pid: 4837] 1: [17:30:13.562692, el, 4837] lib.cc; on_load 1: [17:30:13.583324, el, 4969] lib.cc; execve path: /usr/bin/cat 1: [17:30:13.919975, el, 4969] lib.cc; on_load 1: [17:30:13.921587, wr, 4969, ppid: 4837] wrapper: 3.1.3 1: [17:30:13.921751, wr, 4969, ppid: 4837] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45955", "--verbose", "--execute", "/usr/bin/cat", "--", "cat"] 1: [17:30:13.921871, wr, 4969, ppid: 4837] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45955", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cat"] 1: [17:30:13.922173, wr, 4969, ppid: 4837] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [cat]}, {--destination: [dns:///localhost:45955]}, {--execute: [/usr/bin/cat]}, {--verbose: []}]} 1: [17:30:13.956677, wr, 4969, ppid: 4837] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.235248, br, 3374] trying to resolve for library: /usr/bin/cat 1: [17:30:14.239802, wr, 4969, ppid: 4837] gRPC call [Resolve] finished: true 1: [17:30:14.242407, wr, 4969, ppid: 4837] Process spawned. [pid: 6432, command: ["cat"]] 1: [17:30:14.242800, wr, 4969, ppid: 4837] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.249376, wr, 4969, ppid: 4837] gRPC call [Register] finished: true 1: [17:30:14.249834, el, 6432] lib.cc; on_load 1: [17:30:14.250446, wr, 4969, ppid: 4837] Process wait requested. [pid: 6432] 1: [17:30:14.252478, wr, 4969, ppid: 4837] Process wait request: done. [pid: 6432] 1: [17:30:14.252721, wr, 4969, ppid: 4837] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.255543, wr, 4969, ppid: 4837] gRPC call [Register] finished: true 1: [17:30:14.270709, wr, 4969, ppid: 4837] succeeded with: 0 1: [17:30:14.271157, el, 4969] lib.cc; on_unload 1: [17:30:14.286525, el, 6539] lib.cc; execve path: /usr/bin/c++ 1: [17:30:14.662688, el, 6539] lib.cc; on_load 1: [17:30:14.665398, wr, 6539, ppid: 4837] wrapper: 3.1.3 1: [17:30:14.667471, wr, 6539, ppid: 4837] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45955", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-DEXPORT=extern \"C\"", "-o", "define_with_quote", "define_with_quote.c"] 1: [17:30:14.667859, wr, 6539, ppid: 4837] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45955", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/c++"] 1: [17:30:14.671446, wr, 6539, ppid: 4837] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/c++, -DEXPORT=extern "C", -o, define_with_quote, define_with_quote.c]}, {--destination: [dns:///localhost:45955]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [17:30:14.694423, wr, 6539, ppid: 4837] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.961795, br, 3374] trying to resolve for library: /usr/bin/c++ 1: [17:30:14.965647, wr, 6539, ppid: 4837] gRPC call [Resolve] finished: true 1: [17:30:14.967939, wr, 6539, ppid: 4837] Process spawned. [pid: 7890, command: ["/usr/bin/c++", "-DEXPORT=extern \"C\"", "-o", "define_with_quote", "define_with_quote.c"]] 1: [17:30:14.968202, wr, 6539, ppid: 4837] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.977566, wr, 6539, ppid: 4837] gRPC call [Register] finished: true 1: [17:30:14.978221, wr, 6539, ppid: 4837] Process wait requested. [pid: 7890] 1: free(): invalid pointer 1: [17:30:16.886275, wr, 6539, ppid: 4837] Process wait request: done. [pid: 7890] 1: [17:30:16.886383, wr, 6539, ppid: 4837] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.890848, wr, 6539, ppid: 4837] gRPC call [Register] finished: true 1: [17:30:16.913882, wr, 6539, ppid: 4837] succeeded with: 1 1: [17:30:16.914309, el, 6539] lib.cc; on_unload 1: [17:30:16.931228, el, 4837] lib.cc; on_unload 1: [17:30:16.934534, wr, 3837, ppid: 3374] Process wait request: done. [pid: 4837] 1: [17:30:16.934648, wr, 3837, ppid: 3374] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.944663, wr, 3837, ppid: 3374] gRPC call [Register] finished: true 1: [17:30:16.968479, wr, 3837, ppid: 3374] succeeded with: 1 1: [17:30:16.968691, el, 3837] lib.cc; on_unload 1: [17:30:16.979385, br, 3374] Process wait request: done. [pid: 3837] 1: [17:30:16.979573, br, 3374] Running command. [Exited with 1] 1: [17:30:16.979625, br, 3374] Stopping gRPC server. 1: [17:30:17.004573, br, 3374] succeeded with: 1 1: [17:30:17.017415, br, 3275] Process wait request: done. [pid: 3374] 1: [17:30:17.017554, br, 3275] Running intercept finished. [Exited with 1] 1: [17:30:17.018922, br, 3275] Process spawned. [pid: 10175, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.json", "--run-checks", "--verbose"]] 1: [17:30:17.019101, br, 3275] Process wait requested. [pid: 10175] 1: [17:30:17.255417, br, 10175] bear: 3.1.3 1: [17:30:17.255817, br, 10175] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.json", "--run-checks", "--verbose"] 1: [17:30:17.255989, br, 10175] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:17.256188, br, 10175] sysname: Linux 1: [17:30:17.256830, br, 10175] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:17.256862, br, 10175] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:17.256871, br, 10175] machine: riscv64 1: [17:30:17.257113, br, 10175] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/define_with_quote.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:17.257892, br, 10175] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [17:30:17.266662, br, 10175] [pid: 4837] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"CXX":"/usr/bin/c++","ECHO":"/usr/bin/echo","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LLVM_DISABLE_CRASH_REPORT":"1","INTERCEPT_VERBOSE":"true","FALSE":"/usr/bin/false","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45955","LIBTOOL":"/usr/bin/libtool","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","TEMP":"/tmp/lit-tmp-7hscyd2x","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","CC":"/usr/bin/cc","SOURCE_DATE_EPOCH":"1712597123","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TRUE":"/usr/bin/true","SLEEP":"/usr/bin/sleep","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [17:30:17.268757, br, 10175] [pid: 4837] recognition failed: No tools recognize this execution. 1: [17:30:17.270192, br, 10175] [pid: 6432] execution: {"executable":"/usr/bin/cat","arguments":["cat"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"CXX":"/usr/bin/c++","ECHO":"/usr/bin/echo","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LLVM_DISABLE_CRASH_REPORT":"1","INTERCEPT_VERBOSE":"true","FALSE":"/usr/bin/false","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45955","LIBTOOL":"/usr/bin/libtool","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","TEMP":"/tmp/lit-tmp-7hscyd2x","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","CC":"/usr/bin/cc","SHLVL":"1","_":"/usr/bin/cat","SOURCE_DATE_EPOCH":"1712597123","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TRUE":"/usr/bin/true","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [17:30:17.270487, br, 10175] [pid: 6432] recognition failed: No tools recognize this execution. 1: [17:30:17.271886, br, 10175] [pid: 7890] execution: {"executable":"/usr/bin/c++","arguments":["/usr/bin/c++","-DEXPORT=extern \"C\"","-o","define_with_quote","define_with_quote.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"CXX":"/usr/bin/c++","ECHO":"/usr/bin/echo","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LLVM_DISABLE_CRASH_REPORT":"1","INTERCEPT_VERBOSE":"true","FALSE":"/usr/bin/false","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45955","LIBTOOL":"/usr/bin/libtool","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","TEMP":"/tmp/lit-tmp-7hscyd2x","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","CC":"/usr/bin/cc","SHLVL":"1","_":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TRUE":"/usr/bin/true","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"}} 1: [17:30:17.272524, br, 10175] [pid: 7890] recognized. 1: [17:30:17.273420, br, 10175] compilation entries created. [size: 1] 1: [17:30:17.273624, br, 10175] compilation entries to output. [size: 1] 1: [17:30:17.274578, br, 10175] compilation entries written. [size: 1] 1: [17:30:17.274889, br, 10175] succeeded with: 0 1: [17:30:17.283389, br, 3275] Process wait request: done. [pid: 10175] 1: [17:30:17.283564, br, 3275] Running citnames finished. [Exited with 0] 1: [17:30:17.284083, br, 3275] 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 (68 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/config/filter_flags_on_known_compiler.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/config/filter_flags_on_known_compiler.sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json --config /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/config.json -- /usr/bin/sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json count -eq 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c -I. /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_1.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c -Werror -I. /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_2.c 1: : 'RUN: at line 10'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json --config /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/config.json --force-wrapper -- /usr/bin/sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh 1: : 'RUN: at line 11'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json count -eq 2 1: : 'RUN: at line 12'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c -I. /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_1.c 1: : 'RUN: at line 13'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c -Werror -I. /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/config/filter_flags_on_known_compiler.sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp" 1: $ ":" "RUN: at line 5" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json" "--config" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/config.json" "--" "/usr/bin/sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh" 1: # command stderr: 1: [17:30:12.631733, br, 3346] bear: 3.1.3 1: [17:30:12.644985, br, 3346] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/config.json", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh"] 1: [17:30:12.645377, br, 3346] 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=1712597123", "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-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x"] 1: [17:30:12.645727, br, 3346] sysname: Linux 1: [17:30:12.645949, br, 3346] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.646109, br, 3346] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.646273, br, 3346] machine: riscv64 1: [17:30:12.646676, br, 3346] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/config.json]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:12.648810, br, 3346] Process spawned. [pid: 3423, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh"]] 1: [17:30:12.649044, br, 3346] Process wait requested. [pid: 3423] 1: [17:30:12.980964, br, 3423] bear: 3.1.3 1: [17:30:12.981707, br, 3423] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh"] 1: [17:30:12.982178, br, 3423] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:12.982524, br, 3423] sysname: Linux 1: [17:30:12.982797, br, 3423] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.982988, br, 3423] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.983168, br, 3423] machine: riscv64 1: [17:30:12.983630, br, 3423] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:12.984439, br, 3423] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:13.103408, br, 3423] Running gRPC server. dns:///localhost:40913 1: [17:30:13.104876, br, 3423] Process spawned. [pid: 4034, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40913", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh"]] 1: [17:30:13.105057, br, 3423] Process wait requested. [pid: 4034] 1: [17:30:13.304117, el, 4034] lib.cc; on_load 1: [17:30:13.305683, wr, 4034, ppid: 3423] wrapper: 3.1.3 1: [17:30:13.306022, wr, 4034, ppid: 3423] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40913", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh"] 1: [17:30:13.306426, wr, 4034, ppid: 3423] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:40913", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.306925, wr, 4034, ppid: 3423] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh]}, {--destination: [dns:///localhost:40913]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:13.334034, wr, 4034, ppid: 3423] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.359278, br, 3423] trying to resolve for library: /usr/bin/sh 1: [17:30:13.363983, wr, 4034, ppid: 3423] gRPC call [Resolve] finished: true 1: [17:30:13.378432, wr, 4034, ppid: 3423] Process spawned. [pid: 4561, command: ["/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh"]] 1: [17:30:13.378617, wr, 4034, ppid: 3423] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.390838, el, 4561] lib.cc; on_load 1: [17:30:13.400425, wr, 4034, ppid: 3423] gRPC call [Register] finished: true 1: [17:30:13.400785, wr, 4034, ppid: 3423] Process wait requested. [pid: 4561] 1: [17:30:13.432071, el, 4635] lib.cc; execve path: /usr/bin/cc 1: [17:30:13.690235, el, 4635] lib.cc; on_load 1: [17:30:13.691904, wr, 4635, ppid: 4561] wrapper: 3.1.3 1: [17:30:13.692230, wr, 4635, ppid: 4561] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40913", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_1.c", "-Wall"] 1: [17:30:13.692568, wr, 4635, ppid: 4561] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:40913", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:13.693067, wr, 4635, ppid: 4561] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_1.c, -Wall]}, {--destination: [dns:///localhost:40913]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:13.708972, wr, 4635, ppid: 4561] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.986710, br, 3423] trying to resolve for library: /usr/bin/cc 1: [17:30:13.996935, wr, 4635, ppid: 4561] gRPC call [Resolve] finished: true 1: [17:30:14.021766, wr, 4635, ppid: 4561] Process spawned. [pid: 5834, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_1.c", "-Wall"]] 1: [17:30:14.021983, wr, 4635, ppid: 4561] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [17:30:14.057826, wr, 4635, ppid: 4561] gRPC call [Register] finished: true 1: [17:30:14.058466, wr, 4635, ppid: 4561] Process wait requested. [pid: 5834] 1: [17:30:14.563642, wr, 4635, ppid: 4561] Process wait request: done. [pid: 5834] 1: [17:30:14.563725, wr, 4635, ppid: 4561] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.567859, wr, 4635, ppid: 4561] gRPC call [Register] finished: true 1: [17:30:14.589154, wr, 4635, ppid: 4561] succeeded with: 1 1: [17:30:14.589394, el, 4635] lib.cc; on_unload 1: [17:30:14.647946, el, 7205] lib.cc; execve path: /usr/bin/cc 1: [17:30:14.926711, el, 7205] lib.cc; on_load 1: [17:30:14.928238, wr, 7205, ppid: 4561] wrapper: 3.1.3 1: [17:30:14.928536, wr, 7205, ppid: 4561] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40913", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_2.c", "-Werror"] 1: [17:30:14.928752, wr, 7205, ppid: 4561] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:40913", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:14.929560, wr, 7205, ppid: 4561] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_2.c, -Werror]}, {--destination: [dns:///localhost:40913]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:14.967613, wr, 7205, ppid: 4561] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:15.228147, br, 3423] trying to resolve for library: /usr/bin/cc 1: [17:30:15.231117, wr, 7205, ppid: 4561] gRPC call [Resolve] finished: true 1: [17:30:15.246760, wr, 7205, ppid: 4561] Process spawned. [pid: 8266, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_2.c", "-Werror"]] 1: [17:30:15.246988, wr, 7205, ppid: 4561] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.257502, wr, 7205, ppid: 4561] gRPC call [Register] finished: true 1: [17:30:15.257880, wr, 7205, ppid: 4561] Process wait requested. [pid: 8266] 1: free(): invalid pointer 1: [17:30:16.936329, wr, 7205, ppid: 4561] Process wait request: done. [pid: 8266] 1: [17:30:16.936423, wr, 7205, ppid: 4561] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.942360, wr, 7205, ppid: 4561] gRPC call [Register] finished: true 1: [17:30:16.970688, wr, 7205, ppid: 4561] succeeded with: 1 1: [17:30:16.970887, el, 7205] lib.cc; on_unload 1: [17:30:16.984287, el, 4561] lib.cc; on_unload 1: [17:30:16.989722, wr, 4034, ppid: 3423] Process wait request: done. [pid: 4561] 1: [17:30:16.989865, wr, 4034, ppid: 3423] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.995270, wr, 4034, ppid: 3423] gRPC call [Register] finished: true 1: [17:30:17.265022, wr, 4034, ppid: 3423] succeeded with: 1 1: [17:30:17.265243, el, 4034] lib.cc; on_unload 1: [17:30:17.274423, br, 3423] Process wait request: done. [pid: 4034] 1: [17:30:17.274590, br, 3423] Running command. [Exited with 1] 1: [17:30:17.274635, br, 3423] Stopping gRPC server. 1: [17:30:17.289287, br, 3423] succeeded with: 1 1: [17:30:17.298601, br, 3346] Process wait request: done. [pid: 3423] 1: [17:30:17.298750, br, 3346] Running intercept finished. [Exited with 1] 1: [17:30:17.300007, br, 3346] Process spawned. [pid: 10496, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json", "--run-checks", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/config.json", "--verbose"]] 1: [17:30:17.300163, br, 3346] Process wait requested. [pid: 10496] 1: [17:30:17.508743, br, 10496] bear: 3.1.3 1: [17:30:17.509266, br, 10496] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json", "--run-checks", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/config.json", "--verbose"] 1: [17:30:17.509748, br, 10496] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:17.510164, br, 10496] sysname: Linux 1: [17:30:17.510369, br, 10496] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:17.510495, br, 10496] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:17.510628, br, 10496] machine: riscv64 1: [17:30:17.511073, br, 10496] arguments parsed: {program: citnames, arguments: [{--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/config.json]}, {--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:17.512706, br, 10496] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc","flags_to_add":["-I."],"flags_to_remove":["-Wall"]},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":true}}} 1: [17:30:17.522844, br, 10496] [pid: 4561] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/build.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"SOURCE_DATE_EPOCH":"1712597123","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TERM":"tmux-256color","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","LIBTOOL":"/usr/bin/libtool","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40913","LC_CTYPE":"en_US.UTF-8","TEMP":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CC":"/usr/bin/cc","TMP":"/tmp/lit-tmp-7hscyd2x","TRUE":"/usr/bin/true"}} 1: [17:30:17.525015, br, 10496] [pid: 4561] recognition failed: No tools recognize this execution. 1: [17:30:17.526449, br, 10496] [pid: 5834] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_1.c","-Wall"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"SOURCE_DATE_EPOCH":"1712597123","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TERM":"tmux-256color","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","_":"/usr/bin/cc","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","SHLVL":"1","ECHO":"/usr/bin/echo","LIBTOOL":"/usr/bin/libtool","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40913","LC_CTYPE":"en_US.UTF-8","TEMP":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CC":"/usr/bin/cc","TMP":"/tmp/lit-tmp-7hscyd2x","TRUE":"/usr/bin/true"}} 1: [17:30:17.526902, br, 10496] [pid: 5834] recognized. 1: [17:30:17.528845, br, 10496] [pid: 8266] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_flags_on_known_compiler.sh.tmp/source_2.c","-Werror"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"SOURCE_DATE_EPOCH":"1712597123","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TERM":"tmux-256color","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","_":"/usr/bin/cc","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","SHLVL":"1","ECHO":"/usr/bin/echo","LIBTOOL":"/usr/bin/libtool","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40913","LC_CTYPE":"en_US.UTF-8","TEMP":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CC":"/usr/bin/cc","TMP":"/tmp/lit-tmp-7hscyd2x","TRUE":"/usr/bin/true"}} 1: [17:30:17.529240, br, 10496] [pid: 8266] recognized. 1: [17:30:17.530448, br, 10496] compilation entries created. [size: 2] 1: [17:30:17.530684, br, 10496] compilation entries to output. [size: 2] 1: [17:30:17.532360, br, 10496] compilation entries written. [size: 2] 1: [17:30:17.532712, br, 10496] succeeded with: 0 1: [17:30:17.541316, br, 3346] Process wait request: done. [pid: 10496] 1: [17:30:17.541514, br, 3346] Running citnames finished. [Exited with 0] 1: [17:30:17.541937, br, 3346] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/wrapper/shell_fail_commands_intercepted.sh (69 of 100) 1: FAIL: bear :: cases/compilation/output/assembly_sources.mk (70 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/assembly_sources.mk' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/make -C /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -f /build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk clean 1: : 'RUN: at line 5'; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json -- /usr/bin/make -C /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -f /build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json count -eq 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/main.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -S -o main.s main.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/main.s -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o main.o main.s 1: -- 1: Exit Code: 2 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/make" "-C" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" "-f" "/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk" "clean" 1: # command output: 1: make: Entering directory '/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output' 1: rm -f main main.o main.s main.c 1: make: Leaving directory '/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output' 1: 1: $ ":" "RUN: at line 5" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json" "--" "/usr/bin/make" "-C" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" "-f" "/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk" 1: # command output: 1: make: Entering directory '/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output' 1: echo "int main() { return 0; }" > main.c 1: /usr/bin/cc -S main.c -o main.s 1: make: Leaving directory '/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output' 1: 1: # command stderr: 1: [17:30:12.773603, br, 3280] bear: 3.1.3 1: [17:30:12.773947, br, 3280] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk"] 1: [17:30:12.774012, br, 3280] 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=1712597123", "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-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x"] 1: [17:30:12.774075, br, 3280] sysname: Linux 1: [17:30:12.774087, br, 3280] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.774095, br, 3280] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.774102, br, 3280] machine: riscv64 1: [17:30:12.774323, br, 3280] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/make, -C, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output, -f, /build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:12.795070, br, 3280] Process spawned. [pid: 3554, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.events.json", "--verbose", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk"]] 1: [17:30:12.795245, br, 3280] Process wait requested. [pid: 3554] 1: [17:30:13.162397, br, 3554] bear: 3.1.3 1: [17:30:13.162945, br, 3554] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.events.json", "--verbose", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk"] 1: [17:30:13.163181, br, 3554] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.163352, br, 3554] sysname: Linux 1: [17:30:13.163492, br, 3554] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:13.163595, br, 3554] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:13.163688, br, 3554] machine: riscv64 1: [17:30:13.164016, br, 3554] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/make, -C, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output, -f, /build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:13.164671, br, 3554] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:13.216352, br, 3554] Running gRPC server. dns:///localhost:33409 1: [17:30:13.252033, br, 3554] Process spawned. [pid: 4290, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33409", "--verbose", "--execute", "/usr/bin/make", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk"]] 1: [17:30:13.252271, br, 3554] Process wait requested. [pid: 4290] 1: [17:30:13.622897, el, 4290] lib.cc; on_load 1: [17:30:13.624139, wr, 4290, ppid: 3554] wrapper: 3.1.3 1: [17:30:13.624427, wr, 4290, ppid: 3554] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33409", "--verbose", "--execute", "/usr/bin/make", "--", "/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk"] 1: [17:30:13.624844, wr, 4290, ppid: 3554] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:33409", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.625602, wr, 4290, ppid: 3554] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/make, -C, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output, -f, /build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk]}, {--destination: [dns:///localhost:33409]}, {--execute: [/usr/bin/make]}, {--verbose: []}]} 1: [17:30:13.648671, wr, 4290, ppid: 3554] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.706872, br, 3554] trying to resolve for library: /usr/bin/make 1: [17:30:13.711337, wr, 4290, ppid: 3554] gRPC call [Resolve] finished: true 1: [17:30:13.735571, wr, 4290, ppid: 3554] Process spawned. [pid: 5240, command: ["/usr/bin/make", "-C", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "-f", "/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk"]] 1: [17:30:13.735798, wr, 4290, ppid: 3554] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.757897, wr, 4290, ppid: 3554] gRPC call [Register] finished: true 1: [17:30:13.758319, wr, 4290, ppid: 3554] Process wait requested. [pid: 5240] 1: [17:30:13.784879, el, 5240] lib.cc; on_load 1: [17:30:13.827195, el, 5375] lib.cc; execvp file: /bin/sh 1: [17:30:14.192678, el, 5375] lib.cc; on_load 1: [17:30:14.194218, wr, 5375, ppid: 5240] wrapper: 3.1.3 1: [17:30:14.194554, wr, 5375, ppid: 5240] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33409", "--verbose", "--execute", "/bin/sh", "--", "/bin/sh", "-c", "echo \"int main() { return 0; }\" > main.c"] 1: [17:30:14.194864, wr, 5375, ppid: 5240] environment: ["TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "LLVM_DISABLE_CRASH_REPORT=1", "FALSE=/usr/bin/false", "SOURCE_DATE_EPOCH=1712597123", "TMP=/tmp/lit-tmp-7hscyd2x", "MAKEFLAGS=", "MFLAGS=", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "MAKELEVEL=1", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:33409", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "LIBTOOL=/usr/bin/libtool", "ECHO=/usr/bin/echo", "LC_CTYPE=en_US.UTF-8", "TRUE=/usr/bin/true", "TEMP=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "CXX=/usr/bin/c++", "CC=/usr/bin/cc", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper"] 1: [17:30:14.195585, wr, 5375, ppid: 5240] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/bin/sh, -c, echo "int main() { return 0; }" > main.c]}, {--destination: [dns:///localhost:33409]}, {--execute: [/bin/sh]}, {--verbose: []}]} 1: [17:30:14.213260, wr, 5375, ppid: 5240] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.232320, br, 3554] trying to resolve for library: /bin/sh 1: [17:30:14.237326, wr, 5375, ppid: 5240] gRPC call [Resolve] finished: true 1: [17:30:14.262784, wr, 5375, ppid: 5240] Process spawned. [pid: 6426, command: ["/bin/sh", "-c", "echo \"int main() { return 0; }\" > main.c"]] 1: [17:30:14.262958, wr, 5375, ppid: 5240] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.270928, wr, 5375, ppid: 5240] gRPC call [Register] finished: true 1: [17:30:14.271462, wr, 5375, ppid: 5240] Process wait requested. [pid: 6426] 1: [17:30:14.278418, el, 6426] lib.cc; on_load 1: [17:30:14.291476, el, 6426] lib.cc; on_unload 1: [17:30:14.293910, wr, 5375, ppid: 5240] Process wait request: done. [pid: 6426] 1: [17:30:14.294023, wr, 5375, ppid: 5240] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.297534, wr, 5375, ppid: 5240] gRPC call [Register] finished: true 1: [17:30:14.564932, wr, 5375, ppid: 5240] succeeded with: 0 1: [17:30:14.565133, el, 5375] lib.cc; on_unload 1: [17:30:14.586273, el, 7125] lib.cc; execvp file: /usr/bin/cc 1: [17:30:14.864310, el, 7125] lib.cc; on_load 1: [17:30:14.865854, wr, 7125, ppid: 5240] wrapper: 3.1.3 1: [17:30:14.866107, wr, 7125, ppid: 5240] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33409", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-S", "main.c", "-o", "main.s"] 1: [17:30:14.866281, wr, 7125, ppid: 5240] environment: ["TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "LLVM_DISABLE_CRASH_REPORT=1", "FALSE=/usr/bin/false", "SOURCE_DATE_EPOCH=1712597123", "TMP=/tmp/lit-tmp-7hscyd2x", "MAKEFLAGS=", "MFLAGS=", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "MAKELEVEL=1", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:33409", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "LIBTOOL=/usr/bin/libtool", "ECHO=/usr/bin/echo", "LC_CTYPE=en_US.UTF-8", "TRUE=/usr/bin/true", "TEMP=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "CXX=/usr/bin/c++", "CC=/usr/bin/cc", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper"] 1: [17:30:14.866545, wr, 7125, ppid: 5240] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -S, main.c, -o, main.s]}, {--destination: [dns:///localhost:33409]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:14.907742, wr, 7125, ppid: 5240] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:15.181515, br, 3554] trying to resolve for library: /usr/bin/cc 1: [17:30:15.184454, wr, 7125, ppid: 5240] gRPC call [Resolve] finished: true 1: [17:30:15.190808, wr, 7125, ppid: 5240] Process spawned. [pid: 8232, command: ["/usr/bin/cc", "-S", "main.c", "-o", "main.s"]] 1: [17:30:15.191307, wr, 7125, ppid: 5240] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.211085, wr, 7125, ppid: 5240] gRPC call [Register] finished: true 1: [17:30:15.211680, wr, 7125, ppid: 5240] Process wait requested. [pid: 8232] 1: free(): invalid pointer 1: [17:30:17.056869, wr, 7125, ppid: 5240] Process wait request: done. [pid: 8232] 1: [17:30:17.056971, wr, 7125, ppid: 5240] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.062024, wr, 7125, ppid: 5240] gRPC call [Register] finished: true 1: [17:30:17.082404, wr, 7125, ppid: 5240] succeeded with: 1 1: [17:30:17.082885, el, 7125] lib.cc; on_unload 1: make: *** [/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk:14: main.s] Error 1 1: [17:30:17.093564, el, 5240] lib.cc; on_unload 1: [17:30:17.095962, wr, 4290, ppid: 3554] Process wait request: done. [pid: 5240] 1: [17:30:17.096080, wr, 4290, ppid: 3554] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.100213, wr, 4290, ppid: 3554] gRPC call [Register] finished: true 1: [17:30:17.113298, wr, 4290, ppid: 3554] succeeded with: 2 1: [17:30:17.113701, el, 4290] lib.cc; on_unload 1: [17:30:17.122004, br, 3554] Process wait request: done. [pid: 4290] 1: [17:30:17.122210, br, 3554] Running command. [Exited with 2] 1: [17:30:17.122254, br, 3554] Stopping gRPC server. 1: [17:30:17.334462, br, 3554] succeeded with: 2 1: [17:30:17.346760, br, 3280] Process wait request: done. [pid: 3554] 1: [17:30:17.346921, br, 3280] Running intercept finished. [Exited with 2] 1: [17:30:17.348307, br, 3280] Process spawned. [pid: 10546, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json", "--run-checks", "--verbose"]] 1: [17:30:17.348521, br, 3280] Process wait requested. [pid: 10546] 1: [17:30:17.560211, br, 10546] bear: 3.1.3 1: [17:30:17.560570, br, 10546] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json", "--run-checks", "--verbose"] 1: [17:30:17.560759, br, 10546] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:17.561102, br, 10546] sysname: Linux 1: [17:30:17.561488, br, 10546] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:17.561679, br, 10546] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:17.561852, br, 10546] machine: riscv64 1: [17:30:17.562229, br, 10546] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/assembly_sources.mk.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:17.563328, br, 10546] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [17:30:17.572065, br, 10546] [pid: 5240] execution: {"executable":"/usr/bin/make","arguments":["/usr/bin/make","-C","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","-f","/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output","environment":{"LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1712597123","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TRUE":"/usr/bin/true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33409","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TEMP":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","TERM":"tmux-256color","ECHO":"/usr/bin/echo","PATH":"/build/bear/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","FALSE":"/usr/bin/false"}} 1: [17:30:17.574019, br, 10546] [pid: 5240] recognition failed: No tools recognize this execution. 1: [17:30:17.575498, br, 10546] [pid: 6426] execution: {"executable":"/bin/sh","arguments":["/bin/sh","-c","echo \"int main() { return 0; }\" \u003e main.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1712597123","MFLAGS":"","MAKELEVEL":"1","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TRUE":"/usr/bin/true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33409","MAKEFLAGS":"","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TEMP":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","TERM":"tmux-256color","ECHO":"/usr/bin/echo","PATH":"/build/bear/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","FALSE":"/usr/bin/false"}} 1: [17:30:17.575803, br, 10546] [pid: 6426] recognition failed: No tools recognize this execution. 1: [17:30:17.577115, br, 10546] [pid: 8232] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-S","main.c","-o","main.s"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1712597123","MFLAGS":"","MAKELEVEL":"1","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TRUE":"/usr/bin/true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33409","MAKEFLAGS":"","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TEMP":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","LIBTOOL":"/usr/bin/libtool","INTERCEPT_VERBOSE":"true","TERM":"tmux-256color","ECHO":"/usr/bin/echo","PATH":"/build/bear/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","FALSE":"/usr/bin/false"}} 1: [17:30:17.577806, br, 10546] [pid: 8232] recognized. 1: [17:30:17.578891, br, 10546] compilation entries created. [size: 1] 1: [17:30:17.579121, br, 10546] compilation entries to output. [size: 1] 1: [17:30:17.580831, br, 10546] compilation entries written. [size: 1] 1: [17:30:17.581158, br, 10546] succeeded with: 0 1: [17:30:17.590157, br, 3280] Process wait request: done. [pid: 10546] 1: [17:30:17.590297, br, 3280] Running citnames finished. [Exited with 0] 1: [17:30:17.590733, br, 3280] succeeded with: 2 1: 1: error: command failed with exit status: 2 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/preload/shell_commands_intercepted_without_shebang.sh (71 of 100) 1: PASS: bear :: cases/intercept/wrapper/use_cc_env_to_select_compiler.sh (72 of 100) 1: PASS: bear :: cases/intercept/preload/shell_commands_intercepted.sh (73 of 100) 1: PASS: bear :: cases/intercept/preload/shell_redirect_works.sh (74 of 100) 1: FAIL: bear :: cases/compilation/output/flag/use_cxx.sh (75 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/flag/use_cxx.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --force-preload --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json count -eq 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx_1.cc -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/c++ -c -o use_cxx_1.o use_cxx_1.cc 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx_2.cc -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/c++ -c -o use_cxx_2.o use_cxx_2.cc 1: : 'RUN: at line 10'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; env CXX=/usr/bin/true /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --force-preload --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.all.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh 1: : 'RUN: at line 11'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.all.json count -eq 2 1: : 'RUN: at line 12'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.all.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx_1.cc -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/true -c -o use_cxx_1.o use_cxx_1.cc 1: : 'RUN: at line 13'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.all.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx_2.cc -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/true -c -o use_cxx_2.o use_cxx_2.cc 1: : 'RUN: at line 15'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --force-wrapper --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh 1: : 'RUN: at line 16'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json count -eq 2 1: : 'RUN: at line 17'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx_1.cc -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/c++ -c -o use_cxx_1.o use_cxx_1.cc 1: : 'RUN: at line 18'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx_2.cc -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/c++ -c -o use_cxx_2.o use_cxx_2.cc 1: : 'RUN: at line 20'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; env CXX=/usr/bin/true /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --force-wrapper --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.all.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh 1: : 'RUN: at line 21'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.all.json count -eq 2 1: : 'RUN: at line 22'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.all.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx_1.cc -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/true -c -o use_cxx_1.o use_cxx_1.cc 1: : 'RUN: at line 23'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.all.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx_2.cc -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/true -c -o use_cxx_2.o use_cxx_2.cc 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 5" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--force-preload" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh" 1: # command stderr: 1: [17:30:12.626872, br, 3332] bear: 3.1.3 1: [17:30:12.627473, br, 3332] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--force-preload", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh"] 1: [17:30:12.627734, br, 3332] 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=1712597123", "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-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x"] 1: [17:30:12.627964, br, 3332] sysname: Linux 1: [17:30:12.628238, br, 3332] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.628492, br, 3332] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.628636, br, 3332] machine: riscv64 1: [17:30:12.628985, br, 3332] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--force-preload: []}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:12.630862, br, 3332] Process spawned. [pid: 3414, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.events.json", "--force-preload", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh"]] 1: [17:30:12.631025, br, 3332] Process wait requested. [pid: 3414] 1: [17:30:12.811151, br, 3414] bear: 3.1.3 1: [17:30:12.811807, br, 3414] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.events.json", "--force-preload", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh"] 1: [17:30:12.812096, br, 3414] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:12.812265, br, 3414] sysname: Linux 1: [17:30:12.812398, br, 3414] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.812495, br, 3414] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.812588, br, 3414] machine: riscv64 1: [17:30:12.812886, br, 3414] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh]}, {--force-preload: []}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:12.813518, br, 3414] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:12.852018, br, 3414] Running gRPC server. dns:///localhost:45345 1: [17:30:12.853926, br, 3414] Process spawned. [pid: 3717, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45345", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh"]] 1: [17:30:12.854076, br, 3414] Process wait requested. [pid: 3717] 1: [17:30:13.077473, el, 3717] lib.cc; on_load 1: [17:30:13.078863, wr, 3717, ppid: 3414] wrapper: 3.1.3 1: [17:30:13.079179, wr, 3717, ppid: 3414] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45345", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh"] 1: [17:30:13.079488, wr, 3717, ppid: 3414] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:45345", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.079918, wr, 3717, ppid: 3414] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh]}, {--destination: [dns:///localhost:45345]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:13.354597, wr, 3717, ppid: 3414] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.634463, br, 3414] trying to resolve for library: /usr/bin/sh 1: [17:30:13.639127, wr, 3717, ppid: 3414] gRPC call [Resolve] finished: true 1: [17:30:13.652086, wr, 3717, ppid: 3414] Process spawned. [pid: 5107, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh"]] 1: [17:30:13.652263, wr, 3717, ppid: 3414] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.678933, wr, 3717, ppid: 3414] gRPC call [Register] finished: true 1: [17:30:13.679553, wr, 3717, ppid: 3414] Process wait requested. [pid: 5107] 1: [17:30:13.693350, el, 5107] lib.cc; on_load 1: [17:30:13.720973, el, 5255] lib.cc; execve path: /usr/bin/touch 1: [17:30:13.959016, el, 5255] lib.cc; on_load 1: [17:30:13.960616, wr, 5255, ppid: 5107] wrapper: 3.1.3 1: [17:30:13.960921, wr, 5255, ppid: 5107] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45345", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "use_cxx_1.cc", "use_cxx_2.cc"] 1: [17:30:13.961183, wr, 5255, ppid: 5107] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45345", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/touch"] 1: [17:30:13.961615, wr, 5255, ppid: 5107] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, use_cxx_1.cc, use_cxx_2.cc]}, {--destination: [dns:///localhost:45345]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [17:30:14.006551, wr, 5255, ppid: 5107] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.271774, br, 3414] trying to resolve for library: /usr/bin/touch 1: [17:30:14.275253, wr, 5255, ppid: 5107] gRPC call [Resolve] finished: true 1: [17:30:14.289746, wr, 5255, ppid: 5107] Process spawned. [pid: 6525, command: ["touch", "use_cxx_1.cc", "use_cxx_2.cc"]] 1: [17:30:14.289909, wr, 5255, ppid: 5107] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.296490, wr, 5255, ppid: 5107] gRPC call [Register] finished: true 1: [17:30:14.296877, wr, 5255, ppid: 5107] Process wait requested. [pid: 6525] 1: [17:30:14.300651, el, 6525] lib.cc; on_load 1: [17:30:14.304310, wr, 5255, ppid: 5107] Process wait request: done. [pid: 6525] 1: [17:30:14.304376, wr, 5255, ppid: 5107] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.307495, wr, 5255, ppid: 5107] gRPC call [Register] finished: true 1: [17:30:14.321159, wr, 5255, ppid: 5107] succeeded with: 0 1: [17:30:14.321652, el, 5255] lib.cc; on_unload 1: [17:30:14.333388, el, 6690] lib.cc; execve path: /usr/bin/c++ 1: [17:30:14.717395, el, 6690] lib.cc; on_load 1: [17:30:14.722008, wr, 6690, ppid: 5107] wrapper: 3.1.3 1: [17:30:14.722330, wr, 6690, ppid: 5107] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45345", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-c", "-o", "use_cxx_1.o", "use_cxx_1.cc"] 1: [17:30:14.722527, wr, 6690, ppid: 5107] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45345", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/c++"] 1: [17:30:14.722869, wr, 6690, ppid: 5107] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/c++, -c, -o, use_cxx_1.o, use_cxx_1.cc]}, {--destination: [dns:///localhost:45345]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [17:30:14.800695, wr, 6690, ppid: 5107] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.873075, br, 3414] trying to resolve for library: /usr/bin/c++ 1: [17:30:14.885192, wr, 6690, ppid: 5107] gRPC call [Resolve] finished: true 1: [17:30:14.899783, wr, 6690, ppid: 5107] Process spawned. [pid: 7712, command: ["/usr/bin/c++", "-c", "-o", "use_cxx_1.o", "use_cxx_1.cc"]] 1: [17:30:14.900232, wr, 6690, ppid: 5107] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [17:30:15.032790, wr, 6690, ppid: 5107] gRPC call [Register] finished: true 1: [17:30:15.033154, wr, 6690, ppid: 5107] Process wait requested. [pid: 7712] 1: [17:30:16.796366, wr, 6690, ppid: 5107] Process wait request: done. [pid: 7712] 1: [17:30:16.796456, wr, 6690, ppid: 5107] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.800429, wr, 6690, ppid: 5107] gRPC call [Register] finished: true 1: [17:30:16.826111, wr, 6690, ppid: 5107] succeeded with: 1 1: [17:30:16.826640, el, 6690] lib.cc; on_unload 1: [17:30:16.853714, el, 10094] lib.cc; execve path: /usr/bin/c++ 1: [17:30:17.134140, el, 10094] lib.cc; on_load 1: [17:30:17.135653, wr, 10094, ppid: 5107] wrapper: 3.1.3 1: [17:30:17.135802, wr, 10094, ppid: 5107] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45345", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-c", "-o", "use_cxx_2.o", "use_cxx_2.cc"] 1: [17:30:17.135942, wr, 10094, ppid: 5107] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45345", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/c++"] 1: [17:30:17.136207, wr, 10094, ppid: 5107] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/c++, -c, -o, use_cxx_2.o, use_cxx_2.cc]}, {--destination: [dns:///localhost:45345]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [17:30:17.157843, wr, 10094, ppid: 5107] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:17.171653, br, 3414] trying to resolve for library: /usr/bin/c++ 1: [17:30:17.174253, wr, 10094, ppid: 5107] gRPC call [Resolve] finished: true 1: [17:30:17.176245, wr, 10094, ppid: 5107] Process spawned. [pid: 10342, command: ["/usr/bin/c++", "-c", "-o", "use_cxx_2.o", "use_cxx_2.cc"]] 1: [17:30:17.176411, wr, 10094, ppid: 5107] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.181670, wr, 10094, ppid: 5107] gRPC call [Register] finished: true 1: [17:30:17.182032, wr, 10094, ppid: 5107] Process wait requested. [pid: 10342] 1: free(): invalid pointer 1: [17:30:17.902728, wr, 10094, ppid: 5107] Process wait request: done. [pid: 10342] 1: [17:30:17.902836, wr, 10094, ppid: 5107] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.906201, wr, 10094, ppid: 5107] gRPC call [Register] finished: true 1: [17:30:17.923172, wr, 10094, ppid: 5107] succeeded with: 1 1: [17:30:17.923444, el, 10094] lib.cc; on_unload 1: [17:30:17.935454, el, 5107] lib.cc; on_unload 1: [17:30:17.937752, wr, 3717, ppid: 3414] Process wait request: done. [pid: 5107] 1: [17:30:17.937834, wr, 3717, ppid: 3414] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.940552, wr, 3717, ppid: 3414] gRPC call [Register] finished: true 1: [17:30:17.956473, wr, 3717, ppid: 3414] succeeded with: 1 1: [17:30:17.957048, el, 3717] lib.cc; on_unload 1: [17:30:17.967914, br, 3414] Process wait request: done. [pid: 3717] 1: [17:30:17.968191, br, 3414] Running command. [Exited with 1] 1: [17:30:17.968240, br, 3414] Stopping gRPC server. 1: [17:30:17.990019, br, 3414] succeeded with: 1 1: [17:30:18.003485, br, 3332] Process wait request: done. [pid: 3414] 1: [17:30:18.003682, br, 3332] Running intercept finished. [Exited with 1] 1: [17:30:18.005508, br, 3332] Process spawned. [pid: 10954, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json", "--run-checks", "--verbose"]] 1: [17:30:18.005720, br, 3332] Process wait requested. [pid: 10954] 1: [17:30:18.179634, br, 10954] bear: 3.1.3 1: [17:30:18.180120, br, 10954] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json", "--run-checks", "--verbose"] 1: [17:30:18.180314, br, 10954] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:18.180497, br, 10954] sysname: Linux 1: [17:30:18.180624, br, 10954] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:18.180697, br, 10954] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:18.180762, br, 10954] machine: riscv64 1: [17:30:18.181028, br, 10954] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cxx.sh.tmp.known.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:18.181797, br, 10954] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [17:30:18.189775, br, 10954] [pid: 5107] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","LLVM_DISABLE_CRASH_REPORT":"1","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45345","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LC_CTYPE":"en_US.UTF-8","FALSE":"/usr/bin/false","ECHO":"/usr/bin/echo","SLEEP":"/usr/bin/sleep","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMP":"/tmp/lit-tmp-7hscyd2x","SOURCE_DATE_EPOCH":"1712597123","INTERCEPT_VERBOSE":"true","TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-7hscyd2x"}} 1: [17:30:18.191980, br, 10954] [pid: 5107] recognition failed: No tools recognize this execution. 1: [17:30:18.193463, br, 10954] [pid: 6525] execution: {"executable":"/usr/bin/touch","arguments":["touch","use_cxx_1.cc","use_cxx_2.cc"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","LLVM_DISABLE_CRASH_REPORT":"1","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45345","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SHLVL":"1","LC_CTYPE":"en_US.UTF-8","FALSE":"/usr/bin/false","ECHO":"/usr/bin/echo","SLEEP":"/usr/bin/sleep","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMP":"/tmp/lit-tmp-7hscyd2x","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","_":"/usr/bin/touch","SOURCE_DATE_EPOCH":"1712597123","INTERCEPT_VERBOSE":"true","TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-7hscyd2x"}} 1: [17:30:18.193820, br, 10954] [pid: 6525] recognition failed: No tools recognize this execution. 1: [17:30:18.195678, br, 10954] [pid: 7712] execution: {"executable":"/usr/bin/c++","arguments":["/usr/bin/c++","-c","-o","use_cxx_1.o","use_cxx_1.cc"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","LLVM_DISABLE_CRASH_REPORT":"1","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45345","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SHLVL":"1","LC_CTYPE":"en_US.UTF-8","FALSE":"/usr/bin/false","ECHO":"/usr/bin/echo","SLEEP":"/usr/bin/sleep","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMP":"/tmp/lit-tmp-7hscyd2x","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","_":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","INTERCEPT_VERBOSE":"true","TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-7hscyd2x"}} 1: [17:30:18.196274, br, 10954] [pid: 7712] recognized. 1: [17:30:18.197979, br, 10954] [pid: 10342] execution: {"executable":"/usr/bin/c++","arguments":["/usr/bin/c++","-c","-o","use_cxx_2.o","use_cxx_2.cc"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","LLVM_DISABLE_CRASH_REPORT":"1","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45345","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SHLVL":"1","LC_CTYPE":"en_US.UTF-8","FALSE":"/usr/bin/false","ECHO":"/usr/bin/echo","SLEEP":"/usr/bin/sleep","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMP":"/tmp/lit-tmp-7hscyd2x","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","_":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","INTERCEPT_VERBOSE":"true","TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-7hscyd2x"}} 1: [17:30:18.198454, br, 10954] [pid: 10342] recognized. 1: [17:30:18.199137, br, 10954] compilation entries created. [size: 2] 1: [17:30:18.199392, br, 10954] compilation entries to output. [size: 2] 1: [17:30:18.200617, br, 10954] compilation entries written. [size: 2] 1: [17:30:18.200897, br, 10954] succeeded with: 0 1: [17:30:18.208744, br, 3332] Process wait request: done. [pid: 10954] 1: [17:30:18.208897, br, 3332] Running citnames finished. [Exited with 0] 1: [17:30:18.209453, br, 3332] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/wrapper/shell_commands_parallel_intercepted.sh (76 of 100) 1: FAIL: bear :: cases/compilation/output/flag/use_cc.sh (77 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/flag/use_cc.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --force-preload --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json count -eq 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/cc -c -o use_cc_1.o use_cc_1.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/cc -c -o use_cc_2.o use_cc_2.c 1: : 'RUN: at line 10'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; env CC=/usr/bin/true /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --force-preload --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.all.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh 1: : 'RUN: at line 11'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.all.json count -eq 2 1: : 'RUN: at line 12'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.all.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/true -c -o use_cc_1.o use_cc_1.c 1: : 'RUN: at line 13'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.all.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/true -c -o use_cc_2.o use_cc_2.c 1: : 'RUN: at line 15'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --force-wrapper --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh 1: : 'RUN: at line 16'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json count -eq 2 1: : 'RUN: at line 17'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/cc -c -o use_cc_1.o use_cc_1.c 1: : 'RUN: at line 18'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/cc -c -o use_cc_2.o use_cc_2.c 1: : 'RUN: at line 20'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; env CC=/usr/bin/true /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --force-wrapper --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.all.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh 1: : 'RUN: at line 21'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.all.json count -eq 2 1: : 'RUN: at line 22'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.all.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/true -c -o use_cc_1.o use_cc_1.c 1: : 'RUN: at line 23'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.all.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output -arguments /usr/bin/true -c -o use_cc_2.o use_cc_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 5" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--force-preload" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh" 1: # command stderr: 1: [17:30:12.610457, br, 3317] bear: 3.1.3 1: [17:30:12.611035, br, 3317] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--force-preload", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh"] 1: [17:30:12.611320, br, 3317] 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=1712597123", "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-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x"] 1: [17:30:12.618409, br, 3317] sysname: Linux 1: [17:30:12.618648, br, 3317] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.618941, br, 3317] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.619111, br, 3317] machine: riscv64 1: [17:30:12.619515, br, 3317] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--force-preload: []}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:12.648406, br, 3317] Process spawned. [pid: 3405, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.events.json", "--force-preload", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh"]] 1: [17:30:12.648983, br, 3317] Process wait requested. [pid: 3405] 1: [17:30:12.875201, br, 3405] bear: 3.1.3 1: [17:30:12.875647, br, 3405] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.events.json", "--force-preload", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh"] 1: [17:30:12.875918, br, 3405] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:12.876116, br, 3405] sysname: Linux 1: [17:30:12.876255, br, 3405] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.876351, br, 3405] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.876432, br, 3405] machine: riscv64 1: [17:30:12.876764, br, 3405] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh]}, {--force-preload: []}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:12.877488, br, 3405] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:12.977669, br, 3405] Running gRPC server. dns:///localhost:40473 1: [17:30:13.005063, br, 3405] Process spawned. [pid: 3877, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40473", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh"]] 1: [17:30:13.005258, br, 3405] Process wait requested. [pid: 3877] 1: [17:30:13.309105, el, 3877] lib.cc; on_load 1: [17:30:13.310243, wr, 3877, ppid: 3405] wrapper: 3.1.3 1: [17:30:13.310378, wr, 3877, ppid: 3405] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40473", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh"] 1: [17:30:13.310479, wr, 3877, ppid: 3405] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:40473", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.310656, wr, 3877, ppid: 3405] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh]}, {--destination: [dns:///localhost:40473]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:13.332410, wr, 3877, ppid: 3405] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.355774, br, 3405] trying to resolve for library: /usr/bin/sh 1: [17:30:13.364331, wr, 3877, ppid: 3405] gRPC call [Resolve] finished: true 1: [17:30:13.381889, wr, 3877, ppid: 3405] Process spawned. [pid: 4563, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh"]] 1: [17:30:13.382147, wr, 3877, ppid: 3405] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.396689, wr, 3877, ppid: 3405] gRPC call [Register] finished: true 1: [17:30:13.397331, wr, 3877, ppid: 3405] Process wait requested. [pid: 4563] 1: [17:30:13.418868, el, 4563] lib.cc; on_load 1: [17:30:13.446013, el, 4709] lib.cc; execve path: /usr/bin/touch 1: [17:30:13.968289, el, 4709] lib.cc; on_load 1: [17:30:13.969737, wr, 4709, ppid: 4563] wrapper: 3.1.3 1: [17:30:13.973840, wr, 4709, ppid: 4563] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40473", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "use_cc_1.c", "use_cc_2.c"] 1: [17:30:13.974161, wr, 4709, ppid: 4563] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:40473", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/touch"] 1: [17:30:13.974477, wr, 4709, ppid: 4563] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, use_cc_1.c, use_cc_2.c]}, {--destination: [dns:///localhost:40473]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [17:30:14.006652, wr, 4709, ppid: 4563] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.287542, br, 3405] trying to resolve for library: /usr/bin/touch 1: [17:30:14.291595, wr, 4709, ppid: 4563] gRPC call [Resolve] finished: true 1: [17:30:14.296983, wr, 4709, ppid: 4563] Process spawned. [pid: 6583, command: ["touch", "use_cc_1.c", "use_cc_2.c"]] 1: [17:30:14.297175, wr, 4709, ppid: 4563] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.304039, wr, 4709, ppid: 4563] gRPC call [Register] finished: true 1: [17:30:14.304430, wr, 4709, ppid: 4563] Process wait requested. [pid: 6583] 1: [17:30:14.306156, el, 6583] lib.cc; on_load 1: [17:30:14.309813, wr, 4709, ppid: 4563] Process wait request: done. [pid: 6583] 1: [17:30:14.309930, wr, 4709, ppid: 4563] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.313269, wr, 4709, ppid: 4563] gRPC call [Register] finished: true 1: [17:30:14.331379, wr, 4709, ppid: 4563] succeeded with: 0 1: [17:30:14.331634, el, 4709] lib.cc; on_unload 1: [17:30:14.352117, el, 6706] lib.cc; execve path: /usr/bin/cc 1: [17:30:14.734265, el, 6706] lib.cc; on_load 1: [17:30:14.735678, wr, 6706, ppid: 4563] wrapper: 3.1.3 1: [17:30:14.736431, wr, 6706, ppid: 4563] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40473", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "use_cc_1.o", "use_cc_1.c"] 1: [17:30:14.736761, wr, 6706, ppid: 4563] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:40473", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:14.737131, wr, 6706, ppid: 4563] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, use_cc_1.o, use_cc_1.c]}, {--destination: [dns:///localhost:40473]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:14.770501, wr, 6706, ppid: 4563] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.800274, br, 3405] trying to resolve for library: /usr/bin/cc 1: [17:30:14.804181, wr, 6706, ppid: 4563] gRPC call [Resolve] finished: true 1: [17:30:14.826390, wr, 6706, ppid: 4563] Process spawned. [pid: 7512, command: ["/usr/bin/cc", "-c", "-o", "use_cc_1.o", "use_cc_1.c"]] 1: [17:30:14.826842, wr, 6706, ppid: 4563] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [17:30:15.106587, wr, 6706, ppid: 4563] gRPC call [Register] finished: true 1: [17:30:15.106951, wr, 6706, ppid: 4563] Process wait requested. [pid: 7512] 1: [17:30:16.698803, wr, 6706, ppid: 4563] Process wait request: done. [pid: 7512] 1: [17:30:16.698907, wr, 6706, ppid: 4563] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.702281, wr, 6706, ppid: 4563] gRPC call [Register] finished: true 1: [17:30:16.729742, wr, 6706, ppid: 4563] succeeded with: 1 1: [17:30:16.731343, el, 6706] lib.cc; on_unload 1: [17:30:16.756081, el, 10052] lib.cc; execve path: /usr/bin/cc 1: [17:30:17.013248, el, 10052] lib.cc; on_load 1: [17:30:17.014859, wr, 10052, ppid: 4563] wrapper: 3.1.3 1: [17:30:17.015183, wr, 10052, ppid: 4563] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40473", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "use_cc_2.o", "use_cc_2.c"] 1: [17:30:17.015445, wr, 10052, ppid: 4563] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:40473", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:17.015778, wr, 10052, ppid: 4563] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, use_cc_2.o, use_cc_2.c]}, {--destination: [dns:///localhost:40473]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:17.044248, wr, 10052, ppid: 4563] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:17.312880, br, 3405] trying to resolve for library: /usr/bin/cc 1: [17:30:17.315901, wr, 10052, ppid: 4563] gRPC call [Resolve] finished: true 1: [17:30:17.318359, wr, 10052, ppid: 4563] Process spawned. [pid: 10503, command: ["/usr/bin/cc", "-c", "-o", "use_cc_2.o", "use_cc_2.c"]] 1: [17:30:17.318531, wr, 10052, ppid: 4563] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.324346, wr, 10052, ppid: 4563] gRPC call [Register] finished: true 1: [17:30:17.324944, wr, 10052, ppid: 4563] Process wait requested. [pid: 10503] 1: free(): invalid pointer 1: [17:30:18.025981, wr, 10052, ppid: 4563] Process wait request: done. [pid: 10503] 1: [17:30:18.026100, wr, 10052, ppid: 4563] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.029365, wr, 10052, ppid: 4563] gRPC call [Register] finished: true 1: [17:30:18.046687, wr, 10052, ppid: 4563] succeeded with: 1 1: [17:30:18.047139, el, 10052] lib.cc; on_unload 1: [17:30:18.056938, el, 4563] lib.cc; on_unload 1: [17:30:18.059744, wr, 3877, ppid: 3405] Process wait request: done. [pid: 4563] 1: [17:30:18.059835, wr, 3877, ppid: 3405] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.062793, wr, 3877, ppid: 3405] gRPC call [Register] finished: true 1: [17:30:18.079865, wr, 3877, ppid: 3405] succeeded with: 1 1: [17:30:18.080092, el, 3877] lib.cc; on_unload 1: [17:30:18.089740, br, 3405] Process wait request: done. [pid: 3877] 1: [17:30:18.089914, br, 3405] Running command. [Exited with 1] 1: [17:30:18.089979, br, 3405] Stopping gRPC server. 1: [17:30:18.107110, br, 3405] succeeded with: 1 1: [17:30:18.117910, br, 3317] Process wait request: done. [pid: 3405] 1: [17:30:18.118162, br, 3317] Running intercept finished. [Exited with 1] 1: [17:30:18.119417, br, 3317] Process spawned. [pid: 10982, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json", "--run-checks", "--verbose"]] 1: [17:30:18.119547, br, 3317] Process wait requested. [pid: 10982] 1: [17:30:18.333195, br, 10982] bear: 3.1.3 1: [17:30:18.333472, br, 10982] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json", "--run-checks", "--verbose"] 1: [17:30:18.333534, br, 10982] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:18.333647, br, 10982] sysname: Linux 1: [17:30:18.333666, br, 10982] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:18.333675, br, 10982] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:18.333682, br, 10982] machine: riscv64 1: [17:30:18.333956, br, 10982] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output/use_cc.sh.tmp.known.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:18.334885, br, 10982] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [17:30:18.342905, br, 10982] [pid: 4563] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"INTERCEPT_VERBOSE":"true","CXX":"/usr/bin/c++","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","ECHO":"/usr/bin/echo","SLEEP":"/usr/bin/sleep","TEMP":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8","LIBTOOL":"/usr/bin/libtool","TMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40473","TRUE":"/usr/bin/true","TMP":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","FALSE":"/usr/bin/false","SOURCE_DATE_EPOCH":"1712597123","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc"}} 1: [17:30:18.344571, br, 10982] [pid: 4563] recognition failed: No tools recognize this execution. 1: [17:30:18.345796, br, 10982] [pid: 6583] execution: {"executable":"/usr/bin/touch","arguments":["touch","use_cc_1.c","use_cc_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"SHLVL":"1","INTERCEPT_VERBOSE":"true","CXX":"/usr/bin/c++","_":"/usr/bin/touch","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","ECHO":"/usr/bin/echo","SLEEP":"/usr/bin/sleep","TEMP":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8","LIBTOOL":"/usr/bin/libtool","TMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40473","TRUE":"/usr/bin/true","TMP":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","FALSE":"/usr/bin/false","SOURCE_DATE_EPOCH":"1712597123","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc"}} 1: [17:30:18.345919, br, 10982] [pid: 6583] recognition failed: No tools recognize this execution. 1: [17:30:18.347051, br, 10982] [pid: 7512] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","use_cc_1.o","use_cc_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"SHLVL":"1","INTERCEPT_VERBOSE":"true","CXX":"/usr/bin/c++","_":"/usr/bin/cc","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","ECHO":"/usr/bin/echo","SLEEP":"/usr/bin/sleep","TEMP":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8","LIBTOOL":"/usr/bin/libtool","TMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40473","TRUE":"/usr/bin/true","TMP":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","FALSE":"/usr/bin/false","SOURCE_DATE_EPOCH":"1712597123","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc"}} 1: [17:30:18.347345, br, 10982] [pid: 7512] recognized. 1: [17:30:18.349387, br, 10982] [pid: 10503] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","use_cc_2.o","use_cc_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","environment":{"SHLVL":"1","INTERCEPT_VERBOSE":"true","CXX":"/usr/bin/c++","_":"/usr/bin/cc","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","ECHO":"/usr/bin/echo","SLEEP":"/usr/bin/sleep","TEMP":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8","LIBTOOL":"/usr/bin/libtool","TMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40473","TRUE":"/usr/bin/true","TMP":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","FALSE":"/usr/bin/false","SOURCE_DATE_EPOCH":"1712597123","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc"}} 1: [17:30:18.349627, br, 10982] [pid: 10503] recognized. 1: [17:30:18.350308, br, 10982] compilation entries created. [size: 2] 1: [17:30:18.350389, br, 10982] compilation entries to output. [size: 2] 1: [17:30:18.351612, br, 10982] compilation entries written. [size: 2] 1: [17:30:18.351718, br, 10982] succeeded with: 0 1: [17:30:18.360036, br, 3317] Process wait request: done. [pid: 10982] 1: [17:30:18.360172, br, 3317] Running citnames finished. [Exited with 0] 1: [17:30:18.360729, br, 3317] 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 (78 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/empty_env.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/empty_env.sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /usr/bin/env - /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json -- /usr/bin/sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json count -eq 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.o /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.o /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/empty_env.sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp" 1: $ ":" "RUN: at line 5" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/usr/bin/env" "-" "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh" 1: # command stderr: 1: [17:30:12.647840, br, 3349] bear: 3.1.3 1: [17:30:12.648404, br, 3349] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh"] 1: [17:30:12.648658, br, 3349] environment: [] 1: [17:30:12.648982, br, 3349] sysname: Linux 1: [17:30:12.649185, br, 3349] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.649333, br, 3349] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.649449, br, 3349] machine: riscv64 1: [17:30:12.649801, br, 3349] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:12.663629, br, 3349] Process spawned. [pid: 3424, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh"]] 1: [17:30:12.663825, br, 3349] Process wait requested. [pid: 3424] 1: [17:30:13.193359, br, 3424] bear: 3.1.3 1: [17:30:13.193652, br, 3424] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh"] 1: [17:30:13.193700, br, 3424] environment: [] 1: [17:30:13.193739, br, 3424] sysname: Linux 1: [17:30:13.193803, br, 3424] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:13.193816, br, 3424] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:13.193823, br, 3424] machine: riscv64 1: [17:30:13.194080, br, 3424] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:13.194656, br, 3424] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:13.234861, br, 3424] Running gRPC server. dns:///localhost:40647 1: [17:30:13.255197, br, 3424] Process spawned. [pid: 4308, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40647", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh"]] 1: [17:30:13.255575, br, 3424] Process wait requested. [pid: 4308] 1: [17:30:13.879258, el, 4308] lib.cc; on_load 1: [17:30:13.880724, wr, 4308, ppid: 3424] wrapper: 3.1.3 1: [17:30:13.881057, wr, 4308, ppid: 3424] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40647", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh"] 1: [17:30:13.881199, wr, 4308, ppid: 3424] environment: ["INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:40647", "INTERCEPT_VERBOSE=true", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so"] 1: [17:30:13.881779, wr, 4308, ppid: 3424] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh]}, {--destination: [dns:///localhost:40647]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:13.901135, wr, 4308, ppid: 3424] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.934253, br, 3424] trying to resolve for library: /usr/bin/sh 1: [17:30:13.940002, wr, 4308, ppid: 3424] gRPC call [Resolve] finished: true 1: [17:30:13.955439, wr, 4308, ppid: 3424] Process spawned. [pid: 5675, command: ["/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh"]] 1: [17:30:13.955634, wr, 4308, ppid: 3424] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.977175, el, 5675] lib.cc; on_load 1: [17:30:13.997397, el, 5764] lib.cc; execve path: /usr/bin/cc 1: [17:30:14.229334, wr, 4308, ppid: 3424] gRPC call [Register] finished: true 1: [17:30:14.229954, wr, 4308, ppid: 3424] Process wait requested. [pid: 5675] 1: [17:30:14.406799, el, 5764] lib.cc; on_load 1: [17:30:14.408332, wr, 5764, ppid: 5675] wrapper: 3.1.3 1: [17:30:14.408648, wr, 5764, ppid: 5675] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40647", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.o", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.c"] 1: [17:30:14.408828, wr, 5764, ppid: 5675] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:40647", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_VERBOSE=true", "SHLVL=1", "_=/usr/bin/cc"] 1: [17:30:14.409515, wr, 5764, ppid: 5675] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.o, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.c]}, {--destination: [dns:///localhost:40647]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:14.434952, wr, 5764, ppid: 5675] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.693925, br, 3424] trying to resolve for library: /usr/bin/cc 1: [17:30:14.697425, wr, 5764, ppid: 5675] gRPC call [Resolve] finished: true 1: [17:30:14.709967, wr, 5764, ppid: 5675] Process spawned. [pid: 7340, command: ["/usr/bin/cc", "-c", "-o", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.o", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.c"]] 1: [17:30:14.710129, wr, 5764, ppid: 5675] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.717464, wr, 5764, ppid: 5675] gRPC call [Register] finished: true 1: [17:30:14.717848, wr, 5764, ppid: 5675] Process wait requested. [pid: 7340] 1: free(): invalid pointer 1: [17:30:16.683142, wr, 5764, ppid: 5675] Process wait request: done. [pid: 7340] 1: [17:30:16.683230, wr, 5764, ppid: 5675] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.687368, wr, 5764, ppid: 5675] gRPC call [Register] finished: true 1: [17:30:16.702356, wr, 5764, ppid: 5675] succeeded with: 1 1: [17:30:16.702554, el, 5764] lib.cc; on_unload 1: [17:30:16.730262, el, 10046] lib.cc; execve path: /usr/bin/cc 1: [17:30:17.009961, el, 10046] lib.cc; on_load 1: [17:30:17.011729, wr, 10046, ppid: 5675] wrapper: 3.1.3 1: [17:30:17.012149, wr, 10046, ppid: 5675] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40647", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.o", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.c"] 1: [17:30:17.012547, wr, 10046, ppid: 5675] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:40647", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_VERBOSE=true", "SHLVL=1", "_=/usr/bin/cc"] 1: [17:30:17.013046, wr, 10046, ppid: 5675] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.o, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.c]}, {--destination: [dns:///localhost:40647]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:17.050614, wr, 10046, ppid: 5675] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:17.318875, br, 3424] trying to resolve for library: /usr/bin/cc 1: [17:30:17.322205, wr, 10046, ppid: 5675] gRPC call [Resolve] finished: true 1: [17:30:17.324475, wr, 10046, ppid: 5675] Process spawned. [pid: 10511, command: ["/usr/bin/cc", "-c", "-o", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.o", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.c"]] 1: [17:30:17.324653, wr, 10046, ppid: 5675] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.330926, wr, 10046, ppid: 5675] gRPC call [Register] finished: true 1: [17:30:17.331331, wr, 10046, ppid: 5675] Process wait requested. [pid: 10511] 1: free(): invalid pointer 1: [17:30:18.058830, wr, 10046, ppid: 5675] Process wait request: done. [pid: 10511] 1: [17:30:18.058939, wr, 10046, ppid: 5675] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.062560, wr, 10046, ppid: 5675] gRPC call [Register] finished: true 1: [17:30:18.083574, wr, 10046, ppid: 5675] succeeded with: 1 1: [17:30:18.083753, el, 10046] lib.cc; on_unload 1: [17:30:18.094306, el, 5675] lib.cc; on_unload 1: [17:30:18.096788, wr, 4308, ppid: 3424] Process wait request: done. [pid: 5675] 1: [17:30:18.096872, wr, 4308, ppid: 3424] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.100006, wr, 4308, ppid: 3424] gRPC call [Register] finished: true 1: [17:30:18.116078, wr, 4308, ppid: 3424] succeeded with: 1 1: [17:30:18.116495, el, 4308] lib.cc; on_unload 1: [17:30:18.126159, br, 3424] Process wait request: done. [pid: 4308] 1: [17:30:18.126327, br, 3424] Running command. [Exited with 1] 1: [17:30:18.126358, br, 3424] Stopping gRPC server. 1: [17:30:18.144419, br, 3424] succeeded with: 1 1: [17:30:18.157934, br, 3349] Process wait request: done. [pid: 3424] 1: [17:30:18.158161, br, 3349] Running intercept finished. [Exited with 1] 1: [17:30:18.159235, br, 3349] Process spawned. [pid: 11007, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json", "--run-checks", "--verbose"]] 1: [17:30:18.159394, br, 3349] Process wait requested. [pid: 11007] 1: [17:30:18.346429, br, 11007] bear: 3.1.3 1: [17:30:18.346811, br, 11007] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json", "--run-checks", "--verbose"] 1: [17:30:18.346939, br, 11007] environment: [] 1: [17:30:18.347082, br, 11007] sysname: Linux 1: [17:30:18.347184, br, 11007] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:18.347308, br, 11007] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:18.347423, br, 11007] machine: riscv64 1: [17:30:18.347772, br, 11007] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:18.348778, br, 11007] Configuration: {"compilation":null,"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [17:30:18.357116, br, 11007] [pid: 5675] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40647","INTERCEPT_VERBOSE":"true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [17:30:18.359331, br, 11007] [pid: 5675] recognition failed: No tools recognize this execution. 1: [17:30:18.360117, br, 11007] [pid: 7340] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.o","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40647","SHLVL":"1","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","_":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output"}} 1: [17:30:18.360622, br, 11007] [pid: 7340] recognized. 1: [17:30:18.361930, br, 11007] [pid: 10511] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.o","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40647","SHLVL":"1","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","_":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output"}} 1: [17:30:18.362613, br, 11007] [pid: 10511] recognized. 1: [17:30:18.363110, br, 11007] compilation entries created. [size: 2] 1: [17:30:18.363171, br, 11007] compilation entries to output. [size: 2] 1: [17:30:18.364184, br, 11007] compilation entries written. [size: 2] 1: [17:30:18.364293, br, 11007] succeeded with: 0 1: [17:30:18.371482, br, 3349] Process wait request: done. [pid: 11007] 1: [17:30:18.371619, br, 3349] Running citnames finished. [Exited with 0] 1: [17:30:18.372075, br, 3349] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/preload/shell_commands_with_empty_env.sh (79 of 100) 1: FAIL: bear :: cases/compilation/output/successful_build.sh (80 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/successful_build.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/successful_build.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json count -eq 4 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o successful_build_1.o successful_build_1.c 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o successful_build_2.o successful_build_2.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build_3.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/c++ -c -o successful_build_3.o successful_build_3.c 1: : 'RUN: at line 9'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build_4.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/c++ -c -o successful_build_4.o successful_build_4.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/successful_build.sh" 1: # command stderr: 1: [17:30:12.898493, br, 3334] bear: 3.1.3 1: [17:30:12.898728, br, 3334] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/successful_build.sh"] 1: [17:30:12.898801, br, 3334] 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=1712597123", "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-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x"] 1: [17:30:12.898854, br, 3334] sysname: Linux 1: [17:30:12.898866, br, 3334] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.898873, br, 3334] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.898878, br, 3334] machine: riscv64 1: [17:30:12.899077, br, 3334] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/successful_build.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:12.931886, br, 3334] Process spawned. [pid: 3773, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/successful_build.sh"]] 1: [17:30:12.932152, br, 3334] Process wait requested. [pid: 3773] 1: [17:30:13.366889, br, 3773] bear: 3.1.3 1: [17:30:13.376019, br, 3773] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/successful_build.sh"] 1: [17:30:13.376364, br, 3773] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.376709, br, 3773] sysname: Linux 1: [17:30:13.376910, br, 3773] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:13.377075, br, 3773] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:13.377188, br, 3773] machine: riscv64 1: [17:30:13.377494, br, 3773] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/successful_build.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:13.378176, br, 3773] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:13.434377, br, 3773] Running gRPC server. dns:///localhost:44391 1: [17:30:13.462421, br, 3773] Process spawned. [pid: 4705, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44391", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/successful_build.sh"]] 1: [17:30:13.462636, br, 3773] Process wait requested. [pid: 4705] 1: [17:30:14.040237, el, 4705] lib.cc; on_load 1: [17:30:14.056029, wr, 4705, ppid: 3773] wrapper: 3.1.3 1: [17:30:14.056471, wr, 4705, ppid: 3773] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44391", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/successful_build.sh"] 1: [17:30:14.056856, wr, 4705, ppid: 3773] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:44391", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:14.057496, wr, 4705, ppid: 3773] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/successful_build.sh]}, {--destination: [dns:///localhost:44391]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:14.147961, wr, 4705, ppid: 3773] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.181088, br, 3773] trying to resolve for library: /usr/bin/sh 1: [17:30:14.187033, wr, 4705, ppid: 3773] gRPC call [Resolve] finished: true 1: [17:30:14.198534, wr, 4705, ppid: 3773] Process spawned. [pid: 6215, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/successful_build.sh"]] 1: [17:30:14.198697, wr, 4705, ppid: 3773] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.238845, el, 6215] lib.cc; on_load 1: [17:30:14.262592, el, 6474] lib.cc; execve path: /usr/bin/touch 1: [17:30:14.433477, wr, 4705, ppid: 3773] gRPC call [Register] finished: true 1: [17:30:14.433890, wr, 4705, ppid: 3773] Process wait requested. [pid: 6215] 1: [17:30:14.577691, el, 6474] lib.cc; on_load 1: [17:30:14.582596, wr, 6474, ppid: 6215] wrapper: 3.1.3 1: [17:30:14.582940, wr, 6474, ppid: 6215] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44391", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "successful_build_1.c", "successful_build_2.c", "successful_build_3.c", "successful_build_4.c"] 1: [17:30:14.583219, wr, 6474, ppid: 6215] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:44391", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/touch"] 1: [17:30:14.583922, wr, 6474, ppid: 6215] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, successful_build_1.c, successful_build_2.c, successful_build_3.c, successful_build_4.c]}, {--destination: [dns:///localhost:44391]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [17:30:14.627615, wr, 6474, ppid: 6215] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.659824, br, 3773] trying to resolve for library: /usr/bin/touch 1: [17:30:14.664184, wr, 6474, ppid: 6215] gRPC call [Resolve] finished: true 1: [17:30:14.682668, wr, 6474, ppid: 6215] Process spawned. [pid: 7245, command: ["touch", "successful_build_1.c", "successful_build_2.c", "successful_build_3.c", "successful_build_4.c"]] 1: [17:30:14.683124, wr, 6474, ppid: 6215] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.724040, el, 7245] lib.cc; on_load 1: [17:30:14.953251, wr, 6474, ppid: 6215] gRPC call [Register] finished: true 1: [17:30:14.953711, wr, 6474, ppid: 6215] Process wait requested. [pid: 7245] 1: [17:30:14.953951, wr, 6474, ppid: 6215] Process wait request: done. [pid: 7245] 1: [17:30:14.953998, wr, 6474, ppid: 6215] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.961203, wr, 6474, ppid: 6215] gRPC call [Register] finished: true 1: [17:30:14.995284, wr, 6474, ppid: 6215] succeeded with: 0 1: [17:30:14.995665, el, 6474] lib.cc; on_unload 1: [17:30:15.008492, el, 7994] lib.cc; execve path: /usr/bin/cc 1: [17:30:15.290807, el, 7994] lib.cc; on_load 1: [17:30:15.292399, wr, 7994, ppid: 6215] wrapper: 3.1.3 1: [17:30:15.292756, wr, 7994, ppid: 6215] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44391", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "successful_build_1.o", "successful_build_1.c"] 1: [17:30:15.293040, wr, 7994, ppid: 6215] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:44391", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:15.293396, wr, 7994, ppid: 6215] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, successful_build_1.o, successful_build_1.c]}, {--destination: [dns:///localhost:44391]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:15.311824, wr, 7994, ppid: 6215] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:15.339019, br, 3773] trying to resolve for library: /usr/bin/cc 1: [17:30:15.344415, wr, 7994, ppid: 6215] gRPC call [Resolve] finished: true 1: [17:30:15.353429, wr, 7994, ppid: 6215] Process spawned. [pid: 8407, command: ["/usr/bin/cc", "-c", "-o", "successful_build_1.o", "successful_build_1.c"]] 1: [17:30:15.353609, wr, 7994, ppid: 6215] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.364897, wr, 7994, ppid: 6215] gRPC call [Register] finished: true 1: [17:30:15.365888, wr, 7994, ppid: 6215] Process wait requested. [pid: 8407] 1: free(): invalid pointer 1: [17:30:15.393834, wr, 7994, ppid: 6215] Process wait request: done. [pid: 8407] 1: [17:30:15.393915, wr, 7994, ppid: 6215] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.397423, wr, 7994, ppid: 6215] gRPC call [Register] finished: true 1: [17:30:15.420083, wr, 7994, ppid: 6215] succeeded with: 1 1: [17:30:15.420289, el, 7994] lib.cc; on_unload 1: [17:30:15.434243, el, 8470] lib.cc; execve path: /usr/bin/cc 1: [17:30:15.633171, el, 8470] lib.cc; on_load 1: [17:30:15.635158, wr, 8470, ppid: 6215] wrapper: 3.1.3 1: [17:30:15.635463, wr, 8470, ppid: 6215] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44391", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "successful_build_2.o", "successful_build_2.c"] 1: [17:30:15.635775, wr, 8470, ppid: 6215] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:44391", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:15.636185, wr, 8470, ppid: 6215] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, successful_build_2.o, successful_build_2.c]}, {--destination: [dns:///localhost:44391]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:15.664230, wr, 8470, ppid: 6215] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:15.677872, br, 3773] trying to resolve for library: /usr/bin/cc 1: [17:30:15.684123, wr, 8470, ppid: 6215] gRPC call [Resolve] finished: true 1: [17:30:15.697374, wr, 8470, ppid: 6215] Process spawned. [pid: 8754, command: ["/usr/bin/cc", "-c", "-o", "successful_build_2.o", "successful_build_2.c"]] 1: [17:30:15.697552, wr, 8470, ppid: 6215] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.707962, wr, 8470, ppid: 6215] gRPC call [Register] finished: true 1: [17:30:15.708707, wr, 8470, ppid: 6215] Process wait requested. [pid: 8754] 1: free(): invalid pointer 1: [17:30:15.732406, wr, 8470, ppid: 6215] Process wait request: done. [pid: 8754] 1: [17:30:15.732479, wr, 8470, ppid: 6215] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.735542, wr, 8470, ppid: 6215] gRPC call [Register] finished: true 1: [17:30:15.751500, wr, 8470, ppid: 6215] succeeded with: 1 1: [17:30:15.751891, el, 8470] lib.cc; on_unload 1: [17:30:15.763674, el, 8868] lib.cc; execve path: /usr/bin/c++ 1: [17:30:16.083303, el, 8868] lib.cc; on_load 1: [17:30:16.084926, wr, 8868, ppid: 6215] wrapper: 3.1.3 1: [17:30:16.085243, wr, 8868, ppid: 6215] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44391", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-c", "-o", "successful_build_3.o", "successful_build_3.c"] 1: [17:30:16.085701, wr, 8868, ppid: 6215] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:44391", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/c++"] 1: [17:30:16.086198, wr, 8868, ppid: 6215] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/c++, -c, -o, successful_build_3.o, successful_build_3.c]}, {--destination: [dns:///localhost:44391]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [17:30:16.119674, wr, 8868, ppid: 6215] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:16.385194, br, 3773] trying to resolve for library: /usr/bin/c++ 1: [17:30:16.388716, wr, 8868, ppid: 6215] gRPC call [Resolve] finished: true 1: [17:30:16.401950, wr, 8868, ppid: 6215] Process spawned. [pid: 9602, command: ["/usr/bin/c++", "-c", "-o", "successful_build_3.o", "successful_build_3.c"]] 1: [17:30:16.402476, wr, 8868, ppid: 6215] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [17:30:16.438426, wr, 8868, ppid: 6215] gRPC call [Register] finished: true 1: [17:30:16.439029, wr, 8868, ppid: 6215] Process wait requested. [pid: 9602] 1: [17:30:17.199217, wr, 8868, ppid: 6215] Process wait request: done. [pid: 9602] 1: [17:30:17.199290, wr, 8868, ppid: 6215] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.202106, wr, 8868, ppid: 6215] gRPC call [Register] finished: true 1: [17:30:17.220376, wr, 8868, ppid: 6215] succeeded with: 1 1: [17:30:17.220786, el, 8868] lib.cc; on_unload 1: [17:30:17.232062, el, 10442] lib.cc; execve path: /usr/bin/c++ 1: [17:30:17.458303, el, 10442] lib.cc; on_load 1: [17:30:17.459571, wr, 10442, ppid: 6215] wrapper: 3.1.3 1: [17:30:17.459868, wr, 10442, ppid: 6215] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44391", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-c", "-o", "successful_build_4.o", "successful_build_4.c"] 1: [17:30:17.460126, wr, 10442, ppid: 6215] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:44391", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/c++"] 1: [17:30:17.461250, wr, 10442, ppid: 6215] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/c++, -c, -o, successful_build_4.o, successful_build_4.c]}, {--destination: [dns:///localhost:44391]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [17:30:17.489485, wr, 10442, ppid: 6215] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:17.502955, br, 3773] trying to resolve for library: /usr/bin/c++ 1: [17:30:17.506531, wr, 10442, ppid: 6215] gRPC call [Resolve] finished: true 1: [17:30:17.508861, wr, 10442, ppid: 6215] Process spawned. [pid: 10633, command: ["/usr/bin/c++", "-c", "-o", "successful_build_4.o", "successful_build_4.c"]] 1: [17:30:17.509244, wr, 10442, ppid: 6215] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.515240, wr, 10442, ppid: 6215] gRPC call [Register] finished: true 1: [17:30:17.515860, wr, 10442, ppid: 6215] Process wait requested. [pid: 10633] 1: free(): invalid pointer 1: [17:30:18.129178, wr, 10442, ppid: 6215] Process wait request: done. [pid: 10633] 1: [17:30:18.129275, wr, 10442, ppid: 6215] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.132585, wr, 10442, ppid: 6215] gRPC call [Register] finished: true 1: [17:30:18.152112, wr, 10442, ppid: 6215] succeeded with: 1 1: [17:30:18.152526, el, 10442] lib.cc; on_unload 1: [17:30:18.163973, el, 6215] lib.cc; on_unload 1: [17:30:18.166234, wr, 4705, ppid: 3773] Process wait request: done. [pid: 6215] 1: [17:30:18.166329, wr, 4705, ppid: 3773] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.169658, wr, 4705, ppid: 3773] gRPC call [Register] finished: true 1: [17:30:18.184601, wr, 4705, ppid: 3773] succeeded with: 1 1: [17:30:18.185226, el, 4705] lib.cc; on_unload 1: [17:30:18.198262, br, 3773] Process wait request: done. [pid: 4705] 1: [17:30:18.198454, br, 3773] Running command. [Exited with 1] 1: [17:30:18.198507, br, 3773] Stopping gRPC server. 1: [17:30:18.215447, br, 3773] succeeded with: 1 1: [17:30:18.230102, br, 3334] Process wait request: done. [pid: 3773] 1: [17:30:18.230319, br, 3334] Running intercept finished. [Exited with 1] 1: [17:30:18.231788, br, 3334] Process spawned. [pid: 11069, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json", "--run-checks", "--verbose"]] 1: [17:30:18.231945, br, 3334] Process wait requested. [pid: 11069] 1: [17:30:18.462648, br, 11069] bear: 3.1.3 1: [17:30:18.462865, br, 11069] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json", "--run-checks", "--verbose"] 1: [17:30:18.462918, br, 11069] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:18.462972, br, 11069] sysname: Linux 1: [17:30:18.462987, br, 11069] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:18.462995, br, 11069] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:18.463003, br, 11069] machine: riscv64 1: [17:30:18.463176, br, 11069] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/successful_build.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:18.463941, br, 11069] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [17:30:18.472428, br, 11069] [pid: 6215] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/successful_build.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TMPDIR":"/tmp/lit-tmp-7hscyd2x","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TERM":"tmux-256color","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_VERBOSE":"true","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TEMP":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44391","TMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","ECHO":"/usr/bin/echo"}} 1: [17:30:18.474210, br, 11069] [pid: 6215] recognition failed: No tools recognize this execution. 1: [17:30:18.475526, br, 11069] [pid: 7245] execution: {"executable":"/usr/bin/touch","arguments":["touch","successful_build_1.c","successful_build_2.c","successful_build_3.c","successful_build_4.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TMPDIR":"/tmp/lit-tmp-7hscyd2x","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TERM":"tmux-256color","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_VERBOSE":"true","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TEMP":"/tmp/lit-tmp-7hscyd2x","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44391","TMP":"/tmp/lit-tmp-7hscyd2x","_":"/usr/bin/touch","CC":"/usr/bin/cc","ECHO":"/usr/bin/echo"}} 1: [17:30:18.475641, br, 11069] [pid: 7245] recognition failed: No tools recognize this execution. 1: [17:30:18.476813, br, 11069] [pid: 8407] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","successful_build_1.o","successful_build_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TMPDIR":"/tmp/lit-tmp-7hscyd2x","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TERM":"tmux-256color","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_VERBOSE":"true","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TEMP":"/tmp/lit-tmp-7hscyd2x","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44391","TMP":"/tmp/lit-tmp-7hscyd2x","_":"/usr/bin/cc","CC":"/usr/bin/cc","ECHO":"/usr/bin/echo"}} 1: [17:30:18.477116, br, 11069] [pid: 8407] recognized. 1: [17:30:18.478607, br, 11069] [pid: 8754] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","successful_build_2.o","successful_build_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TMPDIR":"/tmp/lit-tmp-7hscyd2x","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TERM":"tmux-256color","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_VERBOSE":"true","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TEMP":"/tmp/lit-tmp-7hscyd2x","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44391","TMP":"/tmp/lit-tmp-7hscyd2x","_":"/usr/bin/cc","CC":"/usr/bin/cc","ECHO":"/usr/bin/echo"}} 1: [17:30:18.478788, br, 11069] [pid: 8754] recognized. 1: [17:30:18.479978, br, 11069] [pid: 9602] execution: {"executable":"/usr/bin/c++","arguments":["/usr/bin/c++","-c","-o","successful_build_3.o","successful_build_3.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TMPDIR":"/tmp/lit-tmp-7hscyd2x","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TERM":"tmux-256color","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_VERBOSE":"true","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TEMP":"/tmp/lit-tmp-7hscyd2x","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44391","TMP":"/tmp/lit-tmp-7hscyd2x","_":"/usr/bin/c++","CC":"/usr/bin/cc","ECHO":"/usr/bin/echo"}} 1: [17:30:18.480115, br, 11069] [pid: 9602] recognized. 1: [17:30:18.481361, br, 11069] [pid: 10633] execution: {"executable":"/usr/bin/c++","arguments":["/usr/bin/c++","-c","-o","successful_build_4.o","successful_build_4.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TMPDIR":"/tmp/lit-tmp-7hscyd2x","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TERM":"tmux-256color","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_VERBOSE":"true","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TEMP":"/tmp/lit-tmp-7hscyd2x","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44391","TMP":"/tmp/lit-tmp-7hscyd2x","_":"/usr/bin/c++","CC":"/usr/bin/cc","ECHO":"/usr/bin/echo"}} 1: [17:30:18.481592, br, 11069] [pid: 10633] recognized. 1: [17:30:18.482018, br, 11069] compilation entries created. [size: 4] 1: [17:30:18.482082, br, 11069] compilation entries to output. [size: 4] 1: [17:30:18.483171, br, 11069] compilation entries written. [size: 4] 1: [17:30:18.483287, br, 11069] succeeded with: 0 1: [17:30:18.491478, br, 3334] Process wait request: done. [pid: 11069] 1: [17:30:18.491653, br, 3334] Running citnames finished. [Exited with 0] 1: [17:30:18.492236, br, 3334] 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 (81 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/config/filter_sources_relative.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/config/filter_sources_relative.sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json --config /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/config.json -- /usr/bin/sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json count -eq 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_1.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/config/filter_sources_relative.sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp" 1: $ ":" "RUN: at line 5" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json" "--config" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/config.json" "--" "/usr/bin/sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh" 1: # command stderr: 1: [17:30:13.103708, br, 3392] bear: 3.1.3 1: [17:30:13.104235, br, 3392] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/config.json", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh"] 1: [17:30:13.104533, br, 3392] 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=1712597123", "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-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x"] 1: [17:30:13.105006, br, 3392] sysname: Linux 1: [17:30:13.105227, br, 3392] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:13.105402, br, 3392] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:13.105543, br, 3392] machine: riscv64 1: [17:30:13.105910, br, 3392] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/config.json]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:13.118433, br, 3392] Process spawned. [pid: 4036, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh"]] 1: [17:30:13.118696, br, 3392] Process wait requested. [pid: 4036] 1: [17:30:13.612981, br, 4036] bear: 3.1.3 1: [17:30:13.613472, br, 4036] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh"] 1: [17:30:13.613703, br, 4036] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.613895, br, 4036] sysname: Linux 1: [17:30:13.614064, br, 4036] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:13.614179, br, 4036] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:13.614289, br, 4036] machine: riscv64 1: [17:30:13.614594, br, 4036] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:13.615252, br, 4036] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:13.650966, br, 4036] Running gRPC server. dns:///localhost:33425 1: [17:30:13.668727, br, 4036] Process spawned. [pid: 5135, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33425", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh"]] 1: [17:30:13.668928, br, 4036] Process wait requested. [pid: 5135] 1: [17:30:14.205532, el, 5135] lib.cc; on_load 1: [17:30:14.207084, wr, 5135, ppid: 4036] wrapper: 3.1.3 1: [17:30:14.207439, wr, 5135, ppid: 4036] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33425", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh"] 1: [17:30:14.207779, wr, 5135, ppid: 4036] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:33425", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:14.208330, wr, 5135, ppid: 4036] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh]}, {--destination: [dns:///localhost:33425]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:14.241738, wr, 5135, ppid: 4036] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.521081, br, 4036] trying to resolve for library: /usr/bin/sh 1: [17:30:14.526580, wr, 5135, ppid: 4036] gRPC call [Resolve] finished: true 1: [17:30:14.553433, wr, 5135, ppid: 4036] Process spawned. [pid: 7086, command: ["/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh"]] 1: [17:30:14.553627, wr, 5135, ppid: 4036] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.585514, el, 7086] lib.cc; on_load 1: [17:30:14.615577, el, 7166] lib.cc; execve path: /usr/bin/cc 1: [17:30:14.630320, wr, 5135, ppid: 4036] gRPC call [Register] finished: true 1: [17:30:14.630785, wr, 5135, ppid: 4036] Process wait requested. [pid: 7086] 1: [17:30:14.987020, el, 7166] lib.cc; on_load 1: [17:30:14.988383, wr, 7166, ppid: 7086] wrapper: 3.1.3 1: [17:30:14.988657, wr, 7166, ppid: 7086] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33425", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_1.c"] 1: [17:30:14.988891, wr, 7166, ppid: 7086] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:33425", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:14.989339, wr, 7166, ppid: 7086] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_1.c]}, {--destination: [dns:///localhost:33425]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:15.009117, wr, 7166, ppid: 7086] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:15.276070, br, 4036] trying to resolve for library: /usr/bin/cc 1: [17:30:15.279869, wr, 7166, ppid: 7086] gRPC call [Resolve] finished: true 1: [17:30:15.283151, wr, 7166, ppid: 7086] Process spawned. [pid: 8316, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_1.c"]] 1: [17:30:15.283555, wr, 7166, ppid: 7086] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [17:30:15.291997, wr, 7166, ppid: 7086] gRPC call [Register] finished: true 1: [17:30:15.292599, wr, 7166, ppid: 7086] Process wait requested. [pid: 8316] 1: [17:30:15.293528, wr, 7166, ppid: 7086] Process wait request: done. [pid: 8316] 1: [17:30:15.293751, wr, 7166, ppid: 7086] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.297014, wr, 7166, ppid: 7086] gRPC call [Register] finished: true 1: [17:30:15.315758, wr, 7166, ppid: 7086] succeeded with: 1 1: [17:30:15.316129, el, 7166] lib.cc; on_unload 1: [17:30:15.328351, el, 8400] lib.cc; execve path: /usr/bin/cc 1: [17:30:15.755644, el, 8400] lib.cc; on_load 1: [17:30:15.757292, wr, 8400, ppid: 7086] wrapper: 3.1.3 1: [17:30:15.757681, wr, 8400, ppid: 7086] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33425", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_2.c"] 1: [17:30:15.758030, wr, 8400, ppid: 7086] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:33425", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:15.758539, wr, 8400, ppid: 7086] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_2.c]}, {--destination: [dns:///localhost:33425]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:15.798980, wr, 8400, ppid: 7086] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:15.818203, br, 4036] trying to resolve for library: /usr/bin/cc 1: [17:30:15.822079, wr, 8400, ppid: 7086] gRPC call [Resolve] finished: true 1: [17:30:15.824206, wr, 8400, ppid: 7086] Process spawned. [pid: 8974, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_2.c"]] 1: [17:30:15.824376, wr, 8400, ppid: 7086] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.830468, wr, 8400, ppid: 7086] gRPC call [Register] finished: true 1: [17:30:15.830934, wr, 8400, ppid: 7086] Process wait requested. [pid: 8974] 1: free(): invalid pointer 1: [17:30:15.838899, wr, 8400, ppid: 7086] Process wait request: done. [pid: 8974] 1: [17:30:15.838984, wr, 8400, ppid: 7086] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.842570, wr, 8400, ppid: 7086] gRPC call [Register] finished: true 1: [17:30:16.106901, wr, 8400, ppid: 7086] succeeded with: 1 1: [17:30:16.107150, el, 8400] lib.cc; on_unload 1: [17:30:16.143287, el, 9408] lib.cc; execve path: /usr/bin/cc 1: [17:30:16.403745, el, 9408] lib.cc; on_load 1: [17:30:16.405479, wr, 9408, ppid: 7086] wrapper: 3.1.3 1: [17:30:16.405850, wr, 9408, ppid: 7086] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33425", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/exclude/source_1.c"] 1: [17:30:16.406152, wr, 9408, ppid: 7086] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:33425", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:16.406564, wr, 9408, ppid: 7086] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/exclude/source_1.c]}, {--destination: [dns:///localhost:33425]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:16.432164, wr, 9408, ppid: 7086] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:16.696485, br, 4036] trying to resolve for library: /usr/bin/cc 1: [17:30:16.699699, wr, 9408, ppid: 7086] gRPC call [Resolve] finished: true 1: [17:30:16.705817, wr, 9408, ppid: 7086] Process spawned. [pid: 10032, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/exclude/source_1.c"]] 1: [17:30:16.706287, wr, 9408, ppid: 7086] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [17:30:16.718735, wr, 9408, ppid: 7086] gRPC call [Register] finished: true 1: [17:30:16.719456, wr, 9408, ppid: 7086] Process wait requested. [pid: 10032] 1: [17:30:17.320708, wr, 9408, ppid: 7086] Process wait request: done. [pid: 10032] 1: [17:30:17.320810, wr, 9408, ppid: 7086] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.324959, wr, 9408, ppid: 7086] gRPC call [Register] finished: true 1: [17:30:17.341239, wr, 9408, ppid: 7086] succeeded with: 1 1: [17:30:17.341734, el, 9408] lib.cc; on_unload 1: [17:30:17.355137, el, 10550] lib.cc; execve path: /usr/bin/cc 1: [17:30:17.574566, el, 10550] lib.cc; on_load 1: [17:30:17.576009, wr, 10550, ppid: 7086] wrapper: 3.1.3 1: [17:30:17.576287, wr, 10550, ppid: 7086] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33425", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/exclude/source_2.c"] 1: [17:30:17.576550, wr, 10550, ppid: 7086] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:33425", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:17.576939, wr, 10550, ppid: 7086] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/exclude/source_2.c]}, {--destination: [dns:///localhost:33425]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:17.599239, wr, 10550, ppid: 7086] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:17.611321, br, 4036] trying to resolve for library: /usr/bin/cc 1: [17:30:17.614328, wr, 10550, ppid: 7086] gRPC call [Resolve] finished: true 1: [17:30:17.616596, wr, 10550, ppid: 7086] Process spawned. [pid: 10753, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/exclude/source_2.c"]] 1: [17:30:17.616788, wr, 10550, ppid: 7086] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.622641, wr, 10550, ppid: 7086] gRPC call [Register] finished: true 1: [17:30:17.623178, wr, 10550, ppid: 7086] Process wait requested. [pid: 10753] 1: free(): invalid pointer 1: [17:30:18.210891, wr, 10550, ppid: 7086] Process wait request: done. [pid: 10753] 1: [17:30:18.210993, wr, 10550, ppid: 7086] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.213736, wr, 10550, ppid: 7086] gRPC call [Register] finished: true 1: [17:30:18.446917, wr, 10550, ppid: 7086] succeeded with: 1 1: [17:30:18.447108, el, 10550] lib.cc; on_unload 1: [17:30:18.456057, el, 7086] lib.cc; on_unload 1: [17:30:18.458158, wr, 5135, ppid: 4036] Process wait request: done. [pid: 7086] 1: [17:30:18.458234, wr, 5135, ppid: 4036] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.463516, wr, 5135, ppid: 4036] gRPC call [Register] finished: true 1: [17:30:18.476411, wr, 5135, ppid: 4036] succeeded with: 1 1: [17:30:18.476618, el, 5135] lib.cc; on_unload 1: [17:30:18.484909, br, 4036] Process wait request: done. [pid: 5135] 1: [17:30:18.485078, br, 4036] Running command. [Exited with 1] 1: [17:30:18.485124, br, 4036] Stopping gRPC server. 1: [17:30:18.497184, br, 4036] succeeded with: 1 1: [17:30:18.507195, br, 3392] Process wait request: done. [pid: 4036] 1: [17:30:18.507345, br, 3392] Running intercept finished. [Exited with 1] 1: [17:30:18.508546, br, 3392] Process spawned. [pid: 11202, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json", "--run-checks", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/config.json", "--verbose"]] 1: [17:30:18.508705, br, 3392] Process wait requested. [pid: 11202] 1: [17:30:18.657013, br, 11202] bear: 3.1.3 1: [17:30:18.657223, br, 11202] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json", "--run-checks", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/config.json", "--verbose"] 1: [17:30:18.657295, br, 11202] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:18.657334, br, 11202] sysname: Linux 1: [17:30:18.657386, br, 11202] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:18.657396, br, 11202] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:18.657402, br, 11202] machine: riscv64 1: [17:30:18.657568, br, 11202] arguments parsed: {program: citnames, arguments: [{--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/config.json]}, {--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:18.658675, br, 11202] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true,"paths_to_exclude":["/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/exclude"]},"format":{"command_as_array":true,"drop_output_field":true}}} 1: [17:30:18.666375, br, 11202] [pid: 7086] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"SLEEP":"/usr/bin/sleep","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","FALSE":"/usr/bin/false","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","LLVM_DISABLE_CRASH_REPORT":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33425","ECHO":"/usr/bin/echo","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","SOURCE_DATE_EPOCH":"1712597123","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [17:30:18.667927, br, 11202] [pid: 7086] recognition failed: No tools recognize this execution. 1: [17:30:18.668987, br, 11202] [pid: 8316] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"SLEEP":"/usr/bin/sleep","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","FALSE":"/usr/bin/false","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","LLVM_DISABLE_CRASH_REPORT":"1","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33425","_":"/usr/bin/cc","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","ECHO":"/usr/bin/echo","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","SOURCE_DATE_EPOCH":"1712597123","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [17:30:18.669192, br, 11202] [pid: 8316] recognized. 1: [17:30:18.670265, br, 11202] [pid: 8974] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"SLEEP":"/usr/bin/sleep","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","FALSE":"/usr/bin/false","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","LLVM_DISABLE_CRASH_REPORT":"1","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33425","_":"/usr/bin/cc","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","ECHO":"/usr/bin/echo","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","SOURCE_DATE_EPOCH":"1712597123","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [17:30:18.670386, br, 11202] [pid: 8974] recognized. 1: [17:30:18.671482, br, 11202] [pid: 10032] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/exclude/source_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"SLEEP":"/usr/bin/sleep","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","FALSE":"/usr/bin/false","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","LLVM_DISABLE_CRASH_REPORT":"1","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33425","_":"/usr/bin/cc","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","ECHO":"/usr/bin/echo","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","SOURCE_DATE_EPOCH":"1712597123","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [17:30:18.671617, br, 11202] [pid: 10032] recognized. 1: [17:30:18.672659, br, 11202] [pid: 10753] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/exclude/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"SLEEP":"/usr/bin/sleep","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","FALSE":"/usr/bin/false","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","LLVM_DISABLE_CRASH_REPORT":"1","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33425","_":"/usr/bin/cc","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","ECHO":"/usr/bin/echo","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","SOURCE_DATE_EPOCH":"1712597123","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [17:30:18.672781, br, 11202] [pid: 10753] recognized. 1: [17:30:18.673163, br, 11202] compilation entries created. [size: 4] 1: [17:30:18.673212, br, 11202] compilation entries to output. [size: 4] 1: [17:30:18.674117, br, 11202] compilation entries written. [size: 2] 1: [17:30:18.674216, br, 11202] succeeded with: 0 1: [17:30:18.680336, br, 3392] Process wait request: done. [pid: 11202] 1: [17:30:18.680480, br, 3392] Running citnames finished. [Exited with 0] 1: [17:30:18.680998, br, 3392] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/compilation/output/empty_argument.sh (82 of 100) 1: FAIL: bear :: cases/compilation/output/wrapper.sh (83 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/wrapper.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/wrapper.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json count -eq 2 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o wrapper_1.o wrapper_1.c 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o wrapper_2.o wrapper_2.c 1: : 'RUN: at line 9'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json --force-wrapper -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/wrapper.sh 1: : 'RUN: at line 10'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json count -eq 2 1: : 'RUN: at line 11'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o wrapper_1.o wrapper_1.c 1: : 'RUN: at line 12'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o wrapper_2.o wrapper_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/wrapper.sh" 1: # command stderr: 1: [17:30:12.580114, br, 3337] bear: 3.1.3 1: [17:30:12.580773, br, 3337] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/wrapper.sh"] 1: [17:30:12.581080, br, 3337] 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=1712597123", "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-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x"] 1: [17:30:12.581337, br, 3337] sysname: Linux 1: [17:30:12.581602, br, 3337] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.581914, br, 3337] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.582096, br, 3337] machine: riscv64 1: [17:30:12.582500, br, 3337] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/wrapper.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:12.599051, br, 3337] Process spawned. [pid: 3393, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/wrapper.sh"]] 1: [17:30:12.599257, br, 3337] Process wait requested. [pid: 3393] 1: [17:30:12.832091, br, 3393] bear: 3.1.3 1: [17:30:12.832550, br, 3393] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/wrapper.sh"] 1: [17:30:12.832799, br, 3393] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:12.832985, br, 3393] sysname: Linux 1: [17:30:12.833123, br, 3393] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.833250, br, 3393] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.833365, br, 3393] machine: riscv64 1: [17:30:12.833741, br, 3393] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/wrapper.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:12.834405, br, 3393] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:12.879340, br, 3393] Running gRPC server. dns:///localhost:42627 1: [17:30:12.891877, br, 3393] Process spawned. [pid: 3751, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42627", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/wrapper.sh"]] 1: [17:30:12.892054, br, 3393] Process wait requested. [pid: 3751] 1: [17:30:13.109918, el, 3751] lib.cc; on_load 1: [17:30:13.111816, wr, 3751, ppid: 3393] wrapper: 3.1.3 1: [17:30:13.112135, wr, 3751, ppid: 3393] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42627", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/wrapper.sh"] 1: [17:30:13.112401, wr, 3751, ppid: 3393] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:42627", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.112996, wr, 3751, ppid: 3393] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/wrapper.sh]}, {--destination: [dns:///localhost:42627]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:13.146322, wr, 3751, ppid: 3393] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.313131, br, 3393] trying to resolve for library: /usr/bin/sh 1: [17:30:13.316749, wr, 3751, ppid: 3393] gRPC call [Resolve] finished: true 1: [17:30:13.319066, wr, 3751, ppid: 3393] Process spawned. [pid: 4431, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/wrapper.sh"]] 1: [17:30:13.319243, wr, 3751, ppid: 3393] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.334003, el, 4431] lib.cc; on_load 1: [17:30:13.334197, wr, 3751, ppid: 3393] gRPC call [Register] finished: true 1: [17:30:13.334606, wr, 3751, ppid: 3393] Process wait requested. [pid: 4431] 1: [17:30:13.346313, el, 4523] lib.cc; execve path: /usr/bin/touch 1: [17:30:13.570368, el, 4523] lib.cc; on_load 1: [17:30:13.572035, wr, 4523, ppid: 4431] wrapper: 3.1.3 1: [17:30:13.572364, wr, 4523, ppid: 4431] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42627", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "wrapper_1.c", "wrapper_2.c"] 1: [17:30:13.572670, wr, 4523, ppid: 4431] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42627", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/touch"] 1: [17:30:13.573170, wr, 4523, ppid: 4431] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, wrapper_1.c, wrapper_2.c]}, {--destination: [dns:///localhost:42627]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [17:30:13.615547, wr, 4523, ppid: 4431] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.874675, br, 3393] trying to resolve for library: /usr/bin/touch 1: [17:30:13.878388, wr, 4523, ppid: 4431] gRPC call [Resolve] finished: true 1: [17:30:13.895306, wr, 4523, ppid: 4431] Process spawned. [pid: 5487, command: ["touch", "wrapper_1.c", "wrapper_2.c"]] 1: [17:30:13.895524, wr, 4523, ppid: 4431] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.903157, wr, 4523, ppid: 4431] gRPC call [Register] finished: true 1: [17:30:13.903736, wr, 4523, ppid: 4431] Process wait requested. [pid: 5487] 1: [17:30:13.903672, el, 5487] lib.cc; on_load 1: [17:30:13.906852, wr, 4523, ppid: 4431] Process wait request: done. [pid: 5487] 1: [17:30:13.907184, wr, 4523, ppid: 4431] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.910392, wr, 4523, ppid: 4431] gRPC call [Register] finished: true 1: [17:30:13.926991, wr, 4523, ppid: 4431] succeeded with: 0 1: [17:30:13.927399, el, 4523] lib.cc; on_unload 1: [17:30:13.962863, el, 5659] lib.cc; execve path: /usr/bin/cat 1: [17:30:14.410377, el, 5659] lib.cc; on_load 1: [17:30:14.411992, wr, 5659, ppid: 4431] wrapper: 3.1.3 1: [17:30:14.412295, wr, 5659, ppid: 4431] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42627", "--verbose", "--execute", "/usr/bin/cat", "--", "cat"] 1: [17:30:14.412553, wr, 5659, ppid: 4431] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42627", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cat"] 1: [17:30:14.412918, wr, 5659, ppid: 4431] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [cat]}, {--destination: [dns:///localhost:42627]}, {--execute: [/usr/bin/cat]}, {--verbose: []}]} 1: [17:30:14.451901, wr, 5659, ppid: 4431] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.720680, br, 3393] trying to resolve for library: /usr/bin/cat 1: [17:30:14.725499, wr, 5659, ppid: 4431] gRPC call [Resolve] finished: true 1: [17:30:14.745256, wr, 5659, ppid: 4431] Process spawned. [pid: 7382, command: ["cat"]] 1: [17:30:14.745684, wr, 5659, ppid: 4431] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.758985, wr, 5659, ppid: 4431] gRPC call [Register] finished: true 1: [17:30:14.759625, wr, 5659, ppid: 4431] Process wait requested. [pid: 7382] 1: [17:30:14.772308, el, 7382] lib.cc; on_load 1: [17:30:14.781139, wr, 5659, ppid: 4431] Process wait request: done. [pid: 7382] 1: [17:30:14.781208, wr, 5659, ppid: 4431] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.784835, wr, 5659, ppid: 4431] gRPC call [Register] finished: true 1: [17:30:14.797590, wr, 5659, ppid: 4431] succeeded with: 0 1: [17:30:14.797999, el, 5659] lib.cc; on_unload 1: [17:30:14.819931, el, 7521] lib.cc; execve path: /usr/bin/chmod 1: [17:30:15.086663, el, 7521] lib.cc; on_load 1: [17:30:15.088214, wr, 7521, ppid: 4431] wrapper: 3.1.3 1: [17:30:15.088514, wr, 7521, ppid: 4431] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42627", "--verbose", "--execute", "/usr/bin/chmod", "--", "chmod", "+x", "wrapper"] 1: [17:30:15.088809, wr, 7521, ppid: 4431] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42627", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/chmod"] 1: [17:30:15.089232, wr, 7521, ppid: 4431] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [chmod, +x, wrapper]}, {--destination: [dns:///localhost:42627]}, {--execute: [/usr/bin/chmod]}, {--verbose: []}]} 1: [17:30:15.135372, wr, 7521, ppid: 4431] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:15.154089, br, 3393] trying to resolve for library: /usr/bin/chmod 1: [17:30:15.158727, wr, 7521, ppid: 4431] gRPC call [Resolve] finished: true 1: [17:30:15.162539, wr, 7521, ppid: 4431] Process spawned. [pid: 8224, command: ["chmod", "+x", "wrapper"]] 1: [17:30:15.162947, wr, 7521, ppid: 4431] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.169836, el, 8224] lib.cc; on_load 1: [17:30:15.409032, wr, 7521, ppid: 4431] gRPC call [Register] finished: true 1: [17:30:15.409431, wr, 7521, ppid: 4431] Process wait requested. [pid: 8224] 1: [17:30:15.409555, wr, 7521, ppid: 4431] Process wait request: done. [pid: 8224] 1: [17:30:15.409583, wr, 7521, ppid: 4431] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.416830, wr, 7521, ppid: 4431] gRPC call [Register] finished: true 1: [17:30:15.450973, wr, 7521, ppid: 4431] succeeded with: 0 1: [17:30:15.451486, el, 7521] lib.cc; on_unload 1: [17:30:15.463739, el, 8523] lib.cc; execve path: ./wrapper 1: [17:30:15.691931, el, 8523] lib.cc; on_load 1: [17:30:15.693349, wr, 8523, ppid: 4431] wrapper: 3.1.3 1: [17:30:15.693657, wr, 8523, ppid: 4431] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42627", "--verbose", "--execute", "./wrapper", "--", "./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_1.o", "wrapper_1.c"] 1: [17:30:15.693984, wr, 8523, ppid: 4431] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42627", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=./wrapper", "SLEEP=/usr/bin/sleep", "_=./wrapper"] 1: [17:30:15.694501, wr, 8523, ppid: 4431] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [./wrapper, /usr/bin/cc, -c, -o, wrapper_1.o, wrapper_1.c]}, {--destination: [dns:///localhost:42627]}, {--execute: [./wrapper]}, {--verbose: []}]} 1: [17:30:15.725288, wr, 8523, ppid: 4431] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:15.992917, br, 3393] trying to resolve for library: ./wrapper 1: [17:30:15.996080, wr, 8523, ppid: 4431] gRPC call [Resolve] finished: true 1: [17:30:15.999781, wr, 8523, ppid: 4431] Process spawned. [pid: 9194, command: ["./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_1.o", "wrapper_1.c"]] 1: [17:30:15.999967, wr, 8523, ppid: 4431] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.006574, wr, 8523, ppid: 4431] gRPC call [Register] finished: true 1: [17:30:16.007221, wr, 8523, ppid: 4431] Process wait requested. [pid: 9194] 1: [17:30:16.007949, el, 9194] lib.cc; on_load 1: [17:30:16.008931, el, 9194] lib.cc; execvp file: sh 1: [17:30:16.244029, el, 9194] lib.cc; on_load 1: [17:30:16.245387, wr, 9194, ppid: 8523] wrapper: 3.1.3 1: [17:30:16.245657, wr, 9194, ppid: 8523] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42627", "--verbose", "--execute", "/usr/bin/sh", "--", "sh", "./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_1.o", "wrapper_1.c"] 1: [17:30:16.245889, wr, 9194, ppid: 8523] environment: ["CC=./wrapper", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:42627", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "SHLVL=1", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true", "_=./wrapper"] 1: [17:30:16.246238, wr, 9194, ppid: 8523] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [sh, ./wrapper, /usr/bin/cc, -c, -o, wrapper_1.o, wrapper_1.c]}, {--destination: [dns:///localhost:42627]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:16.275607, wr, 9194, ppid: 8523] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:16.292023, br, 3393] trying to resolve for library: /usr/bin/sh 1: [17:30:16.298017, wr, 9194, ppid: 8523] gRPC call [Resolve] finished: true 1: [17:30:16.300350, wr, 9194, ppid: 8523] Process spawned. [pid: 9591, command: ["sh", "./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_1.o", "wrapper_1.c"]] 1: [17:30:16.300506, wr, 9194, ppid: 8523] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.306989, wr, 9194, ppid: 8523] gRPC call [Register] finished: true 1: [17:30:16.307400, wr, 9194, ppid: 8523] Process wait requested. [pid: 9591] 1: [17:30:16.318619, el, 9591] lib.cc; on_load 1: [17:30:16.327502, el, 9591] lib.cc; execve path: /usr/bin/cc 1: [17:30:16.551558, el, 9591] lib.cc; on_load 1: [17:30:16.552912, wr, 9591, ppid: 9194] wrapper: 3.1.3 1: [17:30:16.553230, wr, 9591, ppid: 9194] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42627", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "wrapper_1.o", "wrapper_1.c"] 1: [17:30:16.553475, wr, 9591, ppid: 9194] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42627", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "_=./wrapper", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=./wrapper", "SLEEP=/usr/bin/sleep"] 1: [17:30:16.553788, wr, 9591, ppid: 9194] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, wrapper_1.o, wrapper_1.c]}, {--destination: [dns:///localhost:42627]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:16.581897, wr, 9591, ppid: 9194] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:16.594793, br, 3393] trying to resolve for library: /usr/bin/cc 1: [17:30:16.597471, wr, 9591, ppid: 9194] gRPC call [Resolve] finished: true 1: [17:30:16.599698, wr, 9591, ppid: 9194] Process spawned. [pid: 9999, command: ["/usr/bin/cc", "-c", "-o", "wrapper_1.o", "wrapper_1.c"]] 1: [17:30:16.599878, wr, 9591, ppid: 9194] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.606475, wr, 9591, ppid: 9194] gRPC call [Register] finished: true 1: [17:30:16.607015, wr, 9591, ppid: 9194] Process wait requested. [pid: 9999] 1: free(): invalid pointer 1: [17:30:16.612508, wr, 9591, ppid: 9194] Process wait request: done. [pid: 9999] 1: [17:30:16.612710, wr, 9591, ppid: 9194] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.615823, wr, 9591, ppid: 9194] gRPC call [Register] finished: true 1: [17:30:16.888248, wr, 9591, ppid: 9194] succeeded with: 1 1: [17:30:16.891469, el, 9591] lib.cc; on_unload 1: [17:30:16.901057, wr, 9194, ppid: 8523] Process wait request: done. [pid: 9591] 1: [17:30:16.901127, wr, 9194, ppid: 8523] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.904971, wr, 9194, ppid: 8523] gRPC call [Register] finished: true 1: [17:30:16.936417, wr, 9194, ppid: 8523] succeeded with: 1 1: [17:30:16.936659, el, 9194] lib.cc; on_unload 1: [17:30:16.947111, wr, 8523, ppid: 4431] Process wait request: done. [pid: 9194] 1: [17:30:16.947211, wr, 8523, ppid: 4431] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.951531, wr, 8523, ppid: 4431] gRPC call [Register] finished: true 1: [17:30:16.972978, wr, 8523, ppid: 4431] succeeded with: 1 1: [17:30:16.973164, el, 8523] lib.cc; on_unload 1: [17:30:16.986429, el, 10156] lib.cc; execve path: ./wrapper 1: [17:30:17.174348, el, 10156] lib.cc; on_load 1: [17:30:17.175797, wr, 10156, ppid: 4431] wrapper: 3.1.3 1: [17:30:17.176464, wr, 10156, ppid: 4431] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42627", "--verbose", "--execute", "./wrapper", "--", "./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_2.o", "wrapper_2.c"] 1: [17:30:17.176778, wr, 10156, ppid: 4431] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42627", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=./wrapper", "SLEEP=/usr/bin/sleep", "_=./wrapper"] 1: [17:30:17.177140, wr, 10156, ppid: 4431] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [./wrapper, /usr/bin/cc, -c, -o, wrapper_2.o, wrapper_2.c]}, {--destination: [dns:///localhost:42627]}, {--execute: [./wrapper]}, {--verbose: []}]} 1: [17:30:17.201206, wr, 10156, ppid: 4431] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:17.215633, br, 3393] trying to resolve for library: ./wrapper 1: [17:30:17.218402, wr, 10156, ppid: 4431] gRPC call [Resolve] finished: true 1: [17:30:17.220470, wr, 10156, ppid: 4431] Process spawned. [pid: 10438, command: ["./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_2.o", "wrapper_2.c"]] 1: [17:30:17.220841, wr, 10156, ppid: 4431] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.225958, wr, 10156, ppid: 4431] gRPC call [Register] finished: true 1: [17:30:17.226287, wr, 10156, ppid: 4431] Process wait requested. [pid: 10438] 1: [17:30:17.228625, el, 10438] lib.cc; on_load 1: [17:30:17.229720, el, 10438] lib.cc; execvp file: sh 1: [17:30:17.432664, el, 10438] lib.cc; on_load 1: [17:30:17.433761, wr, 10438, ppid: 10156] wrapper: 3.1.3 1: [17:30:17.434055, wr, 10438, ppid: 10156] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42627", "--verbose", "--execute", "/usr/bin/sh", "--", "sh", "./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_2.o", "wrapper_2.c"] 1: [17:30:17.434227, wr, 10438, ppid: 10156] environment: ["CC=./wrapper", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:42627", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "SHLVL=1", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true", "_=./wrapper"] 1: [17:30:17.434452, wr, 10438, ppid: 10156] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [sh, ./wrapper, /usr/bin/cc, -c, -o, wrapper_2.o, wrapper_2.c]}, {--destination: [dns:///localhost:42627]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:17.456717, wr, 10438, ppid: 10156] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:17.469632, br, 3393] trying to resolve for library: /usr/bin/sh 1: [17:30:17.473390, wr, 10438, ppid: 10156] gRPC call [Resolve] finished: true 1: [17:30:17.476737, wr, 10438, ppid: 10156] Process spawned. [pid: 10611, command: ["sh", "./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_2.o", "wrapper_2.c"]] 1: [17:30:17.477168, wr, 10438, ppid: 10156] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.489052, el, 10611] lib.cc; on_load 1: [17:30:17.500654, el, 10611] lib.cc; execve path: /usr/bin/cc 1: [17:30:17.740133, wr, 10438, ppid: 10156] gRPC call [Register] finished: true 1: [17:30:17.740701, wr, 10438, ppid: 10156] Process wait requested. [pid: 10611] 1: [17:30:17.758791, el, 10611] lib.cc; on_load 1: [17:30:17.760331, wr, 10611, ppid: 10438] wrapper: 3.1.3 1: [17:30:17.760488, wr, 10611, ppid: 10438] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42627", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "wrapper_2.o", "wrapper_2.c"] 1: [17:30:17.760716, wr, 10611, ppid: 10438] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42627", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "_=./wrapper", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=./wrapper", "SLEEP=/usr/bin/sleep"] 1: [17:30:17.761015, wr, 10611, ppid: 10438] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, wrapper_2.o, wrapper_2.c]}, {--destination: [dns:///localhost:42627]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:17.783044, wr, 10611, ppid: 10438] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:17.795450, br, 3393] trying to resolve for library: /usr/bin/cc 1: [17:30:17.798545, wr, 10611, ppid: 10438] gRPC call [Resolve] finished: true 1: [17:30:17.800648, wr, 10611, ppid: 10438] Process spawned. [pid: 10909, command: ["/usr/bin/cc", "-c", "-o", "wrapper_2.o", "wrapper_2.c"]] 1: [17:30:17.801188, wr, 10611, ppid: 10438] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [17:30:18.063647, wr, 10611, ppid: 10438] gRPC call [Register] finished: true 1: [17:30:18.064066, wr, 10611, ppid: 10438] Process wait requested. [pid: 10909] 1: [17:30:18.318907, wr, 10611, ppid: 10438] Process wait request: done. [pid: 10909] 1: [17:30:18.319013, wr, 10611, ppid: 10438] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.322579, wr, 10611, ppid: 10438] gRPC call [Register] finished: true 1: [17:30:18.336008, wr, 10611, ppid: 10438] succeeded with: 1 1: [17:30:18.336196, el, 10611] lib.cc; on_unload 1: [17:30:18.348364, wr, 10438, ppid: 10156] Process wait request: done. [pid: 10611] 1: [17:30:18.348499, wr, 10438, ppid: 10156] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.351911, wr, 10438, ppid: 10156] gRPC call [Register] finished: true 1: [17:30:18.368025, wr, 10438, ppid: 10156] succeeded with: 1 1: [17:30:18.368659, el, 10438] lib.cc; on_unload 1: [17:30:18.379586, wr, 10156, ppid: 4431] Process wait request: done. [pid: 10438] 1: [17:30:18.379687, wr, 10156, ppid: 4431] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.382728, wr, 10156, ppid: 4431] gRPC call [Register] finished: true 1: [17:30:18.647006, wr, 10156, ppid: 4431] succeeded with: 1 1: [17:30:18.647199, el, 10156] lib.cc; on_unload 1: [17:30:18.656537, el, 4431] lib.cc; on_unload 1: [17:30:18.658789, wr, 3751, ppid: 3393] Process wait request: done. [pid: 4431] 1: [17:30:18.658881, wr, 3751, ppid: 3393] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.661615, wr, 3751, ppid: 3393] gRPC call [Register] finished: true 1: [17:30:18.673412, wr, 3751, ppid: 3393] succeeded with: 1 1: [17:30:18.673600, el, 3751] lib.cc; on_unload 1: [17:30:18.681985, br, 3393] Process wait request: done. [pid: 3751] 1: [17:30:18.682126, br, 3393] Running command. [Exited with 1] 1: [17:30:18.682159, br, 3393] Stopping gRPC server. 1: [17:30:18.696749, br, 3393] succeeded with: 1 1: [17:30:18.705750, br, 3337] Process wait request: done. [pid: 3393] 1: [17:30:18.705895, br, 3337] Running intercept finished. [Exited with 1] 1: [17:30:18.706934, br, 3337] Process spawned. [pid: 11331, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json", "--run-checks", "--verbose"]] 1: [17:30:18.707054, br, 3337] Process wait requested. [pid: 11331] 1: [17:30:18.860160, br, 11331] bear: 3.1.3 1: [17:30:18.860378, br, 11331] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json", "--run-checks", "--verbose"] 1: [17:30:18.860442, br, 11331] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:18.860645, br, 11331] sysname: Linux 1: [17:30:18.860659, br, 11331] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:18.860665, br, 11331] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:18.860671, br, 11331] machine: riscv64 1: [17:30:18.860840, br, 11331] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/wrapper.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:18.861557, br, 11331] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [17:30:18.868590, br, 11331] [pid: 4431] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/wrapper.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-7hscyd2x","SOURCE_DATE_EPOCH":"1712597123","TMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42627","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","CC":"/usr/bin/cc","TERM":"tmux-256color","ECHO":"/usr/bin/echo","TRUE":"/usr/bin/true","SLEEP":"/usr/bin/sleep","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","TMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++"}} 1: [17:30:18.870115, br, 11331] [pid: 4431] recognition failed: No tools recognize this execution. 1: [17:30:18.871062, br, 11331] [pid: 5487] execution: {"executable":"/usr/bin/touch","arguments":["touch","wrapper_1.c","wrapper_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-7hscyd2x","SOURCE_DATE_EPOCH":"1712597123","TMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42627","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","CC":"/usr/bin/cc","TERM":"tmux-256color","ECHO":"/usr/bin/echo","TRUE":"/usr/bin/true","SHLVL":"1","SLEEP":"/usr/bin/sleep","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","TMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","_":"/usr/bin/touch","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++"}} 1: [17:30:18.871149, br, 11331] [pid: 5487] recognition failed: No tools recognize this execution. 1: [17:30:18.872132, br, 11331] [pid: 7382] execution: {"executable":"/usr/bin/cat","arguments":["cat"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-7hscyd2x","SOURCE_DATE_EPOCH":"1712597123","TMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42627","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","CC":"/usr/bin/cc","TERM":"tmux-256color","ECHO":"/usr/bin/echo","TRUE":"/usr/bin/true","SHLVL":"1","SLEEP":"/usr/bin/sleep","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","TMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","_":"/usr/bin/cat","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++"}} 1: [17:30:18.872236, br, 11331] [pid: 7382] recognition failed: No tools recognize this execution. 1: [17:30:18.873224, br, 11331] [pid: 8224] execution: {"executable":"/usr/bin/chmod","arguments":["chmod","+x","wrapper"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-7hscyd2x","SOURCE_DATE_EPOCH":"1712597123","TMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42627","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","CC":"/usr/bin/cc","TERM":"tmux-256color","ECHO":"/usr/bin/echo","TRUE":"/usr/bin/true","SHLVL":"1","SLEEP":"/usr/bin/sleep","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","TMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","_":"/usr/bin/chmod","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++"}} 1: [17:30:18.873327, br, 11331] [pid: 8224] recognition failed: No tools recognize this execution. 1: [17:30:18.874357, br, 11331] [pid: 9194] execution: {"executable":"./wrapper","arguments":["./wrapper","/usr/bin/cc","-c","-o","wrapper_1.o","wrapper_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-7hscyd2x","SOURCE_DATE_EPOCH":"1712597123","TMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42627","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","CC":"./wrapper","TERM":"tmux-256color","ECHO":"/usr/bin/echo","TRUE":"/usr/bin/true","SHLVL":"1","SLEEP":"/usr/bin/sleep","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","TMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","_":"./wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++"}} 1: [17:30:18.874453, br, 11331] [pid: 9194] recognition failed: No tools recognize this execution. 1: [17:30:18.875555, br, 11331] [pid: 9591] execution: {"executable":"/usr/bin/sh","arguments":["sh","./wrapper","/usr/bin/cc","-c","-o","wrapper_1.o","wrapper_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-7hscyd2x","SOURCE_DATE_EPOCH":"1712597123","TMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42627","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","CC":"./wrapper","TERM":"tmux-256color","ECHO":"/usr/bin/echo","TRUE":"/usr/bin/true","SHLVL":"1","SLEEP":"/usr/bin/sleep","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","TMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","_":"./wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++"}} 1: [17:30:18.875659, br, 11331] [pid: 9591] recognition failed: No tools recognize this execution. 1: [17:30:18.876748, br, 11331] [pid: 9999] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","wrapper_1.o","wrapper_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-7hscyd2x","SOURCE_DATE_EPOCH":"1712597123","TMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42627","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","CC":"./wrapper","TERM":"tmux-256color","ECHO":"/usr/bin/echo","TRUE":"/usr/bin/true","SHLVL":"1","SLEEP":"/usr/bin/sleep","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","TMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","_":"./wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++"}} 1: [17:30:18.876980, br, 11331] [pid: 9999] recognized. 1: [17:30:18.878358, br, 11331] [pid: 10438] execution: {"executable":"./wrapper","arguments":["./wrapper","/usr/bin/cc","-c","-o","wrapper_2.o","wrapper_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-7hscyd2x","SOURCE_DATE_EPOCH":"1712597123","TMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42627","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","CC":"./wrapper","TERM":"tmux-256color","ECHO":"/usr/bin/echo","TRUE":"/usr/bin/true","SHLVL":"1","SLEEP":"/usr/bin/sleep","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","TMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","_":"./wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++"}} 1: [17:30:18.878476, br, 11331] [pid: 10438] recognition failed: No tools recognize this execution. 1: [17:30:18.879474, br, 11331] [pid: 10611] execution: {"executable":"/usr/bin/sh","arguments":["sh","./wrapper","/usr/bin/cc","-c","-o","wrapper_2.o","wrapper_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-7hscyd2x","SOURCE_DATE_EPOCH":"1712597123","TMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42627","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","CC":"./wrapper","TERM":"tmux-256color","ECHO":"/usr/bin/echo","TRUE":"/usr/bin/true","SHLVL":"1","SLEEP":"/usr/bin/sleep","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","TMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","_":"./wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++"}} 1: [17:30:18.879584, br, 11331] [pid: 10611] recognition failed: No tools recognize this execution. 1: [17:30:18.880565, br, 11331] [pid: 10909] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","wrapper_2.o","wrapper_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-7hscyd2x","SOURCE_DATE_EPOCH":"1712597123","TMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42627","INTERCEPT_VERBOSE":"true","LC_CTYPE":"en_US.UTF-8","CC":"./wrapper","TERM":"tmux-256color","ECHO":"/usr/bin/echo","TRUE":"/usr/bin/true","SHLVL":"1","SLEEP":"/usr/bin/sleep","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","LIBTOOL":"/usr/bin/libtool","TMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","_":"./wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++"}} 1: [17:30:18.880710, br, 11331] [pid: 10909] recognized. 1: [17:30:18.881226, br, 11331] compilation entries created. [size: 2] 1: [17:30:18.881279, br, 11331] compilation entries to output. [size: 2] 1: [17:30:18.882327, br, 11331] compilation entries written. [size: 2] 1: [17:30:18.882427, br, 11331] succeeded with: 0 1: [17:30:18.889409, br, 3337] Process wait request: done. [pid: 11331] 1: [17:30:18.889538, br, 3337] Running citnames finished. [Exited with 0] 1: [17:30:18.889991, br, 3337] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/compilation/output/parallel_build.sh (84 of 100) 1: PASS: bear :: cases/intercept/wrapper/shell_commands_intercepted_without_shebang.sh (85 of 100) 1: PASS: bear :: cases/intercept/preload/preload_append/fakeroot.sh (86 of 100) 1: PASS: bear :: cases/intercept/wrapper/shell_commands_intercepted.sh (87 of 100) 1: PASS: bear :: cases/intercept/preload/signal_inside_build.sh (88 of 100) 1: PASS: bear :: cases/intercept/wrapper/shell_commands_basename_compiler.sh (89 of 100) 1: FAIL: bear :: cases/compilation/output/existing_files_only.sh (90 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/existing_files_only.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh -build 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json count -ge 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/exists/src/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o exists/src/source_1.o exists/src/source_1.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/exists/src/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o exists/src/source_2.o exists/src/source_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 5" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh" "-build" 1: # command stderr: 1: [17:30:12.593668, br, 3294] bear: 3.1.3 1: [17:30:12.594529, br, 3294] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh", "-build"] 1: [17:30:12.595002, br, 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=1712597123", "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-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x"] 1: [17:30:12.595291, br, 3294] sysname: Linux 1: [17:30:12.595504, br, 3294] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.595772, br, 3294] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.595909, br, 3294] machine: riscv64 1: [17:30:12.596261, br, 3294] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh, -build]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:12.598323, br, 3294] Process spawned. [pid: 3398, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh", "-build"]] 1: [17:30:12.598528, br, 3294] Process wait requested. [pid: 3398] 1: [17:30:12.836090, br, 3398] bear: 3.1.3 1: [17:30:12.836655, br, 3398] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh", "-build"] 1: [17:30:12.836965, br, 3398] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:12.837234, br, 3398] sysname: Linux 1: [17:30:12.837425, br, 3398] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.837571, br, 3398] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.837715, br, 3398] machine: riscv64 1: [17:30:12.838173, br, 3398] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh, -build]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:12.839632, br, 3398] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:12.923996, br, 3398] Running gRPC server. dns:///localhost:35323 1: [17:30:12.941959, br, 3398] Process spawned. [pid: 3801, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35323", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh", "-build"]] 1: [17:30:12.942591, br, 3398] Process wait requested. [pid: 3801] 1: [17:30:13.194981, el, 3801] lib.cc; on_load 1: [17:30:13.196162, wr, 3801, ppid: 3398] wrapper: 3.1.3 1: [17:30:13.197069, wr, 3801, ppid: 3398] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35323", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh", "-build"] 1: [17:30:13.197461, wr, 3801, ppid: 3398] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:35323", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.197861, wr, 3801, ppid: 3398] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh, -build]}, {--destination: [dns:///localhost:35323]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:13.224006, wr, 3801, ppid: 3398] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.246749, br, 3398] trying to resolve for library: /usr/bin/sh 1: [17:30:13.251683, wr, 3801, ppid: 3398] gRPC call [Resolve] finished: true 1: [17:30:13.253928, wr, 3801, ppid: 3398] Process spawned. [pid: 4352, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh", "-build"]] 1: [17:30:13.254258, wr, 3801, ppid: 3398] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.268482, el, 4352] lib.cc; on_load 1: [17:30:13.269309, wr, 3801, ppid: 3398] gRPC call [Register] finished: true 1: [17:30:13.270016, wr, 3801, ppid: 3398] Process wait requested. [pid: 4352] 1: [17:30:13.277781, el, 4397] lib.cc; execve path: /usr/bin/mkdir 1: [17:30:13.518243, el, 4397] lib.cc; on_load 1: [17:30:13.519812, wr, 4397, ppid: 4352] wrapper: 3.1.3 1: [17:30:13.520177, wr, 4397, ppid: 4352] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35323", "--verbose", "--execute", "/usr/bin/mkdir", "--", "mkdir", "-p", "exists", "exists/config"] 1: [17:30:13.520443, wr, 4397, ppid: 4352] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35323", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/mkdir"] 1: [17:30:13.520834, wr, 4397, ppid: 4352] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [mkdir, -p, exists, exists/config]}, {--destination: [dns:///localhost:35323]}, {--execute: [/usr/bin/mkdir]}, {--verbose: []}]} 1: [17:30:13.591477, wr, 4397, ppid: 4352] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.635921, br, 3398] trying to resolve for library: /usr/bin/mkdir 1: [17:30:13.639255, wr, 4397, ppid: 4352] gRPC call [Resolve] finished: true 1: [17:30:13.645263, wr, 4397, ppid: 4352] Process spawned. [pid: 5108, command: ["mkdir", "-p", "exists", "exists/config"]] 1: [17:30:13.645439, wr, 4397, ppid: 4352] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.670753, el, 5108] lib.cc; on_load 1: [17:30:13.695148, wr, 4397, ppid: 4352] gRPC call [Register] finished: true 1: [17:30:13.695817, wr, 4397, ppid: 4352] Process wait requested. [pid: 5108] 1: [17:30:13.696144, wr, 4397, ppid: 4352] Process wait request: done. [pid: 5108] 1: [17:30:13.696346, wr, 4397, ppid: 4352] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.712068, wr, 4397, ppid: 4352] gRPC call [Register] finished: true 1: [17:30:13.988372, wr, 4397, ppid: 4352] succeeded with: 0 1: [17:30:13.988598, el, 4397] lib.cc; on_unload 1: [17:30:14.018492, el, 5833] lib.cc; execve path: /usr/bin/touch 1: [17:30:14.277642, el, 5833] lib.cc; on_load 1: [17:30:14.279286, wr, 5833, ppid: 4352] wrapper: 3.1.3 1: [17:30:14.279592, wr, 5833, ppid: 4352] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35323", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "exists/config/source_1.c", "exists/config/source_2.c"] 1: [17:30:14.279834, wr, 5833, ppid: 4352] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35323", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/touch"] 1: [17:30:14.280153, wr, 5833, ppid: 4352] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, exists/config/source_1.c, exists/config/source_2.c]}, {--destination: [dns:///localhost:35323]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [17:30:14.300636, wr, 5833, ppid: 4352] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.588541, br, 3398] trying to resolve for library: /usr/bin/touch 1: [17:30:14.597071, wr, 5833, ppid: 4352] gRPC call [Resolve] finished: true 1: [17:30:14.599973, wr, 5833, ppid: 4352] Process spawned. [pid: 7141, command: ["touch", "exists/config/source_1.c", "exists/config/source_2.c"]] 1: [17:30:14.600127, wr, 5833, ppid: 4352] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.608929, wr, 5833, ppid: 4352] gRPC call [Register] finished: true 1: [17:30:14.609364, wr, 5833, ppid: 4352] Process wait requested. [pid: 7141] 1: [17:30:14.610843, el, 7141] lib.cc; on_load 1: [17:30:14.613571, wr, 5833, ppid: 4352] Process wait request: done. [pid: 7141] 1: [17:30:14.613652, wr, 5833, ppid: 4352] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.617288, wr, 5833, ppid: 4352] gRPC call [Register] finished: true 1: [17:30:14.629712, wr, 5833, ppid: 4352] succeeded with: 0 1: [17:30:14.630102, el, 5833] lib.cc; on_unload 1: [17:30:14.655843, el, 7213] lib.cc; execve path: /usr/bin/cc 1: [17:30:14.993876, el, 7213] lib.cc; on_load 1: [17:30:14.995663, wr, 7213, ppid: 4352] wrapper: 3.1.3 1: [17:30:14.995958, wr, 7213, ppid: 4352] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35323", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "exists/config/source_1.o", "exists/config/source_1.c"] 1: [17:30:14.996239, wr, 7213, ppid: 4352] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35323", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:14.996605, wr, 7213, ppid: 4352] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, exists/config/source_1.o, exists/config/source_1.c]}, {--destination: [dns:///localhost:35323]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:15.035558, wr, 7213, ppid: 4352] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:15.290338, br, 3398] trying to resolve for library: /usr/bin/cc 1: [17:30:15.294091, wr, 7213, ppid: 4352] gRPC call [Resolve] finished: true 1: [17:30:15.305677, wr, 7213, ppid: 4352] Process spawned. [pid: 8334, command: ["/usr/bin/cc", "-c", "-o", "exists/config/source_1.o", "exists/config/source_1.c"]] 1: [17:30:15.305863, wr, 7213, ppid: 4352] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [17:30:15.322382, wr, 7213, ppid: 4352] gRPC call [Register] finished: true 1: [17:30:15.323262, wr, 7213, ppid: 4352] Process wait requested. [pid: 8334] 1: [17:30:15.323562, wr, 7213, ppid: 4352] Process wait request: done. [pid: 8334] 1: [17:30:15.323711, wr, 7213, ppid: 4352] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.327141, wr, 7213, ppid: 4352] gRPC call [Register] finished: true 1: [17:30:15.342123, wr, 7213, ppid: 4352] succeeded with: 1 1: [17:30:15.342544, el, 7213] lib.cc; on_unload 1: [17:30:15.356274, el, 8408] lib.cc; execve path: /usr/bin/cc 1: [17:30:15.555485, el, 8408] lib.cc; on_load 1: [17:30:15.557101, wr, 8408, ppid: 4352] wrapper: 3.1.3 1: [17:30:15.557440, wr, 8408, ppid: 4352] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35323", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "exists/config/source_2.o", "exists/config/source_2.c"] 1: [17:30:15.557637, wr, 8408, ppid: 4352] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35323", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:15.557944, wr, 8408, ppid: 4352] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, exists/config/source_2.o, exists/config/source_2.c]}, {--destination: [dns:///localhost:35323]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:15.589436, wr, 8408, ppid: 4352] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:15.866327, br, 3398] trying to resolve for library: /usr/bin/cc 1: [17:30:15.869736, wr, 8408, ppid: 4352] gRPC call [Resolve] finished: true 1: [17:30:15.875230, wr, 8408, ppid: 4352] Process spawned. [pid: 9023, command: ["/usr/bin/cc", "-c", "-o", "exists/config/source_2.o", "exists/config/source_2.c"]] 1: [17:30:15.875425, wr, 8408, ppid: 4352] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.880902, wr, 8408, ppid: 4352] gRPC call [Register] finished: true 1: [17:30:15.881331, wr, 8408, ppid: 4352] Process wait requested. [pid: 9023] 1: free(): invalid pointer 1: [17:30:15.903466, wr, 8408, ppid: 4352] Process wait request: done. [pid: 9023] 1: [17:30:15.903540, wr, 8408, ppid: 4352] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.906298, wr, 8408, ppid: 4352] gRPC call [Register] finished: true 1: [17:30:15.924358, wr, 8408, ppid: 4352] succeeded with: 1 1: [17:30:15.924777, el, 8408] lib.cc; on_unload 1: [17:30:15.945356, el, 9065] lib.cc; execve path: /usr/bin/rm 1: [17:30:16.236309, el, 9065] lib.cc; on_load 1: [17:30:16.239882, wr, 9065, ppid: 4352] wrapper: 3.1.3 1: [17:30:16.240365, wr, 9065, ppid: 4352] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35323", "--verbose", "--execute", "/usr/bin/rm", "--", "rm", "exists/config/source_1.c", "exists/config/source_2.c"] 1: [17:30:16.240872, wr, 9065, ppid: 4352] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35323", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/rm"] 1: [17:30:16.241758, wr, 9065, ppid: 4352] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [rm, exists/config/source_1.c, exists/config/source_2.c]}, {--destination: [dns:///localhost:35323]}, {--execute: [/usr/bin/rm]}, {--verbose: []}]} 1: [17:30:16.299133, wr, 9065, ppid: 4352] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:16.315066, br, 3398] trying to resolve for library: /usr/bin/rm 1: [17:30:16.322256, wr, 9065, ppid: 4352] gRPC call [Resolve] finished: true 1: [17:30:16.332705, wr, 9065, ppid: 4352] Process spawned. [pid: 9597, command: ["rm", "exists/config/source_1.c", "exists/config/source_2.c"]] 1: [17:30:16.333066, wr, 9065, ppid: 4352] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.339048, el, 9597] lib.cc; on_load 1: [17:30:16.611728, wr, 9065, ppid: 4352] gRPC call [Register] finished: true 1: [17:30:16.612162, wr, 9065, ppid: 4352] Process wait requested. [pid: 9597] 1: [17:30:16.612318, wr, 9065, ppid: 4352] Process wait request: done. [pid: 9597] 1: [17:30:16.612402, wr, 9065, ppid: 4352] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.616657, wr, 9065, ppid: 4352] gRPC call [Register] finished: true 1: [17:30:16.633615, wr, 9065, ppid: 4352] succeeded with: 0 1: [17:30:16.634033, el, 9065] lib.cc; on_unload 1: [17:30:16.647713, el, 10013] lib.cc; execve path: /usr/bin/mkdir 1: [17:30:16.903606, el, 10013] lib.cc; on_load 1: [17:30:16.905583, wr, 10013, ppid: 4352] wrapper: 3.1.3 1: [17:30:16.905961, wr, 10013, ppid: 4352] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35323", "--verbose", "--execute", "/usr/bin/mkdir", "--", "mkdir", "-p", "exists", "exists/src"] 1: [17:30:16.906324, wr, 10013, ppid: 4352] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35323", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/mkdir"] 1: [17:30:16.906973, wr, 10013, ppid: 4352] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [mkdir, -p, exists, exists/src]}, {--destination: [dns:///localhost:35323]}, {--execute: [/usr/bin/mkdir]}, {--verbose: []}]} 1: [17:30:16.942182, wr, 10013, ppid: 4352] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:16.955982, br, 3398] trying to resolve for library: /usr/bin/mkdir 1: [17:30:16.960416, wr, 10013, ppid: 4352] gRPC call [Resolve] finished: true 1: [17:30:16.963143, wr, 10013, ppid: 4352] Process spawned. [pid: 10143, command: ["mkdir", "-p", "exists", "exists/src"]] 1: [17:30:16.963565, wr, 10013, ppid: 4352] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.971380, el, 10143] lib.cc; on_load 1: [17:30:16.972410, wr, 10013, ppid: 4352] gRPC call [Register] finished: true 1: [17:30:16.973036, wr, 10013, ppid: 4352] Process wait requested. [pid: 10143] 1: [17:30:16.974435, wr, 10013, ppid: 4352] Process wait request: done. [pid: 10143] 1: [17:30:16.974501, wr, 10013, ppid: 4352] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.978662, wr, 10013, ppid: 4352] gRPC call [Register] finished: true 1: [17:30:16.998950, wr, 10013, ppid: 4352] succeeded with: 0 1: [17:30:16.999403, el, 10013] lib.cc; on_unload 1: [17:30:17.013048, el, 10169] lib.cc; execve path: /usr/bin/touch 1: [17:30:17.234499, el, 10169] lib.cc; on_load 1: [17:30:17.235753, wr, 10169, ppid: 4352] wrapper: 3.1.3 1: [17:30:17.235998, wr, 10169, ppid: 4352] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35323", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "exists/src/source_1.c", "exists/src/source_2.c"] 1: [17:30:17.236200, wr, 10169, ppid: 4352] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35323", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/touch"] 1: [17:30:17.236408, wr, 10169, ppid: 4352] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, exists/src/source_1.c, exists/src/source_2.c]}, {--destination: [dns:///localhost:35323]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [17:30:17.259381, wr, 10169, ppid: 4352] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:17.273613, br, 3398] trying to resolve for library: /usr/bin/touch 1: [17:30:17.275970, wr, 10169, ppid: 4352] gRPC call [Resolve] finished: true 1: [17:30:17.277791, wr, 10169, ppid: 4352] Process spawned. [pid: 10477, command: ["touch", "exists/src/source_1.c", "exists/src/source_2.c"]] 1: [17:30:17.277961, wr, 10169, ppid: 4352] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.283802, wr, 10169, ppid: 4352] gRPC call [Register] finished: true 1: [17:30:17.284150, wr, 10169, ppid: 4352] Process wait requested. [pid: 10477] 1: [17:30:17.286085, el, 10477] lib.cc; on_load 1: [17:30:17.288449, wr, 10169, ppid: 4352] Process wait request: done. [pid: 10477] 1: [17:30:17.288524, wr, 10169, ppid: 4352] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.290659, wr, 10169, ppid: 4352] gRPC call [Register] finished: true 1: [17:30:17.308834, wr, 10169, ppid: 4352] succeeded with: 0 1: [17:30:17.309241, el, 10169] lib.cc; on_unload 1: [17:30:17.319933, el, 10505] lib.cc; execve path: /usr/bin/cc 1: [17:30:17.505755, el, 10505] lib.cc; on_load 1: [17:30:17.507081, wr, 10505, ppid: 4352] wrapper: 3.1.3 1: [17:30:17.507390, wr, 10505, ppid: 4352] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35323", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "exists/src/source_1.o", "exists/src/source_1.c"] 1: [17:30:17.507693, wr, 10505, ppid: 4352] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35323", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:17.508177, wr, 10505, ppid: 4352] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, exists/src/source_1.o, exists/src/source_1.c]}, {--destination: [dns:///localhost:35323]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:17.535568, wr, 10505, ppid: 4352] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:17.801045, br, 3398] trying to resolve for library: /usr/bin/cc 1: [17:30:17.803949, wr, 10505, ppid: 4352] gRPC call [Resolve] finished: true 1: [17:30:17.806270, wr, 10505, ppid: 4352] Process spawned. [pid: 10910, command: ["/usr/bin/cc", "-c", "-o", "exists/src/source_1.o", "exists/src/source_1.c"]] 1: [17:30:17.806432, wr, 10505, ppid: 4352] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.812120, wr, 10505, ppid: 4352] gRPC call [Register] finished: true 1: [17:30:17.812858, wr, 10505, ppid: 4352] Process wait requested. [pid: 10910] 1: free(): invalid pointer 1: [17:30:18.340251, wr, 10505, ppid: 4352] Process wait request: done. [pid: 10910] 1: [17:30:18.340352, wr, 10505, ppid: 4352] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.343061, wr, 10505, ppid: 4352] gRPC call [Register] finished: true 1: [17:30:18.358923, wr, 10505, ppid: 4352] succeeded with: 1 1: [17:30:18.359101, el, 10505] lib.cc; on_unload 1: [17:30:18.369072, el, 11155] lib.cc; execve path: /usr/bin/cc 1: [17:30:18.558399, el, 11155] lib.cc; on_load 1: [17:30:18.559762, wr, 11155, ppid: 4352] wrapper: 3.1.3 1: [17:30:18.559904, wr, 11155, ppid: 4352] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35323", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "exists/src/source_2.o", "exists/src/source_2.c"] 1: [17:30:18.560044, wr, 11155, ppid: 4352] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35323", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:18.560377, wr, 11155, ppid: 4352] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, exists/src/source_2.o, exists/src/source_2.c]}, {--destination: [dns:///localhost:35323]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:18.584252, wr, 11155, ppid: 4352] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:18.596516, br, 3398] trying to resolve for library: /usr/bin/cc 1: [17:30:18.599422, wr, 11155, ppid: 4352] gRPC call [Resolve] finished: true 1: [17:30:18.601507, wr, 11155, ppid: 4352] Process spawned. [pid: 11289, command: ["/usr/bin/cc", "-c", "-o", "exists/src/source_2.o", "exists/src/source_2.c"]] 1: [17:30:18.601830, wr, 11155, ppid: 4352] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.608404, wr, 11155, ppid: 4352] gRPC call [Register] finished: true 1: [17:30:18.608857, wr, 11155, ppid: 4352] Process wait requested. [pid: 11289] 1: free(): invalid pointer 1: [17:30:18.993333, wr, 11155, ppid: 4352] Process wait request: done. [pid: 11289] 1: [17:30:18.993427, wr, 11155, ppid: 4352] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.996204, wr, 11155, ppid: 4352] gRPC call [Register] finished: true 1: [17:30:19.012987, wr, 11155, ppid: 4352] succeeded with: 1 1: [17:30:19.013528, el, 11155] lib.cc; on_unload 1: [17:30:19.022868, el, 4352] lib.cc; on_unload 1: [17:30:19.024781, wr, 3801, ppid: 3398] Process wait request: done. [pid: 4352] 1: [17:30:19.024853, wr, 3801, ppid: 3398] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.027647, wr, 3801, ppid: 3398] gRPC call [Register] finished: true 1: [17:30:19.042031, wr, 3801, ppid: 3398] succeeded with: 1 1: [17:30:19.042245, el, 3801] lib.cc; on_unload 1: [17:30:19.051898, br, 3398] Process wait request: done. [pid: 3801] 1: [17:30:19.052065, br, 3398] Running command. [Exited with 1] 1: [17:30:19.052100, br, 3398] Stopping gRPC server. 1: [17:30:19.069254, br, 3398] succeeded with: 1 1: [17:30:19.078954, br, 3294] Process wait request: done. [pid: 3398] 1: [17:30:19.079125, br, 3294] Running intercept finished. [Exited with 1] 1: [17:30:19.080522, br, 3294] Process spawned. [pid: 11479, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json", "--run-checks", "--verbose"]] 1: [17:30:19.080675, br, 3294] Process wait requested. [pid: 11479] 1: [17:30:19.267539, br, 11479] bear: 3.1.3 1: [17:30:19.267816, br, 11479] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json", "--run-checks", "--verbose"] 1: [17:30:19.267877, br, 11479] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:19.267982, br, 11479] sysname: Linux 1: [17:30:19.267998, br, 11479] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:19.268006, br, 11479] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:19.268013, br, 11479] machine: riscv64 1: [17:30:19.268273, br, 11479] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/existing_files_only.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:19.269044, br, 11479] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [17:30:19.277349, br, 11479] [pid: 4352] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh","-build"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","LIBTOOL":"/usr/bin/libtool","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35323","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [17:30:19.278960, br, 11479] [pid: 4352] recognition failed: No tools recognize this execution. 1: [17:30:19.280164, br, 11479] [pid: 5108] execution: {"executable":"/usr/bin/mkdir","arguments":["mkdir","-p","exists","exists/config"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","LIBTOOL":"/usr/bin/libtool","_":"/usr/bin/mkdir","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35323","SHLVL":"1","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [17:30:19.280292, br, 11479] [pid: 5108] recognition failed: No tools recognize this execution. 1: [17:30:19.281577, br, 11479] [pid: 7141] execution: {"executable":"/usr/bin/touch","arguments":["touch","exists/config/source_1.c","exists/config/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","LIBTOOL":"/usr/bin/libtool","_":"/usr/bin/touch","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35323","SHLVL":"1","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [17:30:19.281713, br, 11479] [pid: 7141] recognition failed: No tools recognize this execution. 1: [17:30:19.282935, br, 11479] [pid: 8334] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","exists/config/source_1.o","exists/config/source_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","LIBTOOL":"/usr/bin/libtool","_":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35323","SHLVL":"1","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [17:30:19.283280, br, 11479] [pid: 8334] recognized. 1: [17:30:19.285696, br, 11479] [pid: 9023] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","exists/config/source_2.o","exists/config/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","LIBTOOL":"/usr/bin/libtool","_":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35323","SHLVL":"1","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [17:30:19.285860, br, 11479] [pid: 9023] recognized. 1: [17:30:19.287251, br, 11479] [pid: 9597] execution: {"executable":"/usr/bin/rm","arguments":["rm","exists/config/source_1.c","exists/config/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","LIBTOOL":"/usr/bin/libtool","_":"/usr/bin/rm","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35323","SHLVL":"1","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [17:30:19.287379, br, 11479] [pid: 9597] recognition failed: No tools recognize this execution. 1: [17:30:19.288828, br, 11479] [pid: 10143] execution: {"executable":"/usr/bin/mkdir","arguments":["mkdir","-p","exists","exists/src"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","LIBTOOL":"/usr/bin/libtool","_":"/usr/bin/mkdir","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35323","SHLVL":"1","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [17:30:19.289464, br, 11479] [pid: 10143] recognition failed: No tools recognize this execution. 1: [17:30:19.291302, br, 11479] [pid: 10477] execution: {"executable":"/usr/bin/touch","arguments":["touch","exists/src/source_1.c","exists/src/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","LIBTOOL":"/usr/bin/libtool","_":"/usr/bin/touch","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35323","SHLVL":"1","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [17:30:19.291711, br, 11479] [pid: 10477] recognition failed: No tools recognize this execution. 1: [17:30:19.293091, br, 11479] [pid: 10910] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","exists/src/source_1.o","exists/src/source_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","LIBTOOL":"/usr/bin/libtool","_":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35323","SHLVL":"1","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [17:30:19.293428, br, 11479] [pid: 10910] recognized. 1: [17:30:19.295063, br, 11479] [pid: 11289] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","exists/src/source_2.o","exists/src/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_VERBOSE":"true","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TMP":"/tmp/lit-tmp-7hscyd2x","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","LIBTOOL":"/usr/bin/libtool","_":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35323","SHLVL":"1","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [17:30:19.295609, br, 11479] [pid: 11289] recognized. 1: [17:30:19.296341, br, 11479] compilation entries created. [size: 4] 1: [17:30:19.296730, br, 11479] compilation entries to output. [size: 4] 1: [17:30:19.298313, br, 11479] compilation entries written. [size: 2] 1: [17:30:19.298471, br, 11479] succeeded with: 0 1: [17:30:19.306607, br, 3294] Process wait request: done. [pid: 11479] 1: [17:30:19.306736, br, 3294] Running citnames finished. [Exited with 0] 1: [17:30:19.307213, br, 3294] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/output/shell_commands_with_unicode.sh (91 of 100) 1: PASS: bear :: cases/compilation/output/config/filter_flags.sh (92 of 100) 1: FAIL: bear :: cases/compilation/output/config/filter_sources.sh (93 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/config/filter_sources.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/config/filter_sources.sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json --config /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/config.json -- /usr/bin/sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json count -eq 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_1.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/config/filter_sources.sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp" 1: $ ":" "RUN: at line 5" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json" "--config" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/config.json" "--" "/usr/bin/sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh" 1: # command stderr: 1: [17:30:13.133195, br, 3354] bear: 3.1.3 1: [17:30:13.133749, br, 3354] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/config.json", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh"] 1: [17:30:13.134069, br, 3354] 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=1712597123", "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-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x"] 1: [17:30:13.134497, br, 3354] sysname: Linux 1: [17:30:13.134819, br, 3354] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:13.135044, br, 3354] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:13.135196, br, 3354] machine: riscv64 1: [17:30:13.135559, br, 3354] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/config.json]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:13.137751, br, 3354] Process spawned. [pid: 4064, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh"]] 1: [17:30:13.137930, br, 3354] Process wait requested. [pid: 4064] 1: [17:30:13.418624, br, 4064] bear: 3.1.3 1: [17:30:13.420274, br, 4064] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh"] 1: [17:30:13.420747, br, 4064] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.420949, br, 4064] sysname: Linux 1: [17:30:13.421072, br, 4064] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:13.421177, br, 4064] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:13.421265, br, 4064] machine: riscv64 1: [17:30:13.421777, br, 4064] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:13.422666, br, 4064] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:13.465864, br, 4064] Running gRPC server. dns:///localhost:38721 1: [17:30:13.490944, br, 4064] Process spawned. [pid: 4742, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38721", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh"]] 1: [17:30:13.491445, br, 4064] Process wait requested. [pid: 4742] 1: [17:30:13.818531, el, 4742] lib.cc; on_load 1: [17:30:13.819913, wr, 4742, ppid: 4064] wrapper: 3.1.3 1: [17:30:13.820247, wr, 4742, ppid: 4064] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38721", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh"] 1: [17:30:13.820527, wr, 4742, ppid: 4064] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:38721", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.821027, wr, 4742, ppid: 4064] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh]}, {--destination: [dns:///localhost:38721]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:13.869554, wr, 4742, ppid: 4064] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.949146, br, 4064] trying to resolve for library: /usr/bin/sh 1: [17:30:13.970089, wr, 4742, ppid: 4064] gRPC call [Resolve] finished: true 1: [17:30:13.999320, wr, 4742, ppid: 4064] Process spawned. [pid: 5735, command: ["/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh"]] 1: [17:30:13.999512, wr, 4742, ppid: 4064] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.027438, el, 5735] lib.cc; on_load 1: [17:30:14.030580, wr, 4742, ppid: 4064] gRPC call [Register] finished: true 1: [17:30:14.030945, wr, 4742, ppid: 4064] Process wait requested. [pid: 5735] 1: [17:30:14.045389, el, 5879] lib.cc; execve path: /usr/bin/cc 1: [17:30:14.342786, el, 5879] lib.cc; on_load 1: [17:30:14.344502, wr, 5879, ppid: 5735] wrapper: 3.1.3 1: [17:30:14.345341, wr, 5879, ppid: 5735] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38721", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_1.c"] 1: [17:30:14.345662, wr, 5879, ppid: 5735] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38721", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:14.346042, wr, 5879, ppid: 5735] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_1.c]}, {--destination: [dns:///localhost:38721]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:14.369639, wr, 5879, ppid: 5735] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.398769, br, 4064] trying to resolve for library: /usr/bin/cc 1: [17:30:14.402456, wr, 5879, ppid: 5735] gRPC call [Resolve] finished: true 1: [17:30:14.418323, wr, 5879, ppid: 5735] Process spawned. [pid: 6833, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_1.c"]] 1: [17:30:14.418525, wr, 5879, ppid: 5735] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.425269, wr, 5879, ppid: 5735] gRPC call [Register] finished: true 1: [17:30:14.425660, wr, 5879, ppid: 5735] Process wait requested. [pid: 6833] 1: free(): invalid pointer 1: [17:30:16.122492, wr, 5879, ppid: 5735] Process wait request: done. [pid: 6833] 1: [17:30:16.122588, wr, 5879, ppid: 5735] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.128413, wr, 5879, ppid: 5735] gRPC call [Register] finished: true 1: [17:30:16.148118, wr, 5879, ppid: 5735] succeeded with: 1 1: [17:30:16.148524, el, 5879] lib.cc; on_unload 1: [17:30:16.172295, el, 9436] lib.cc; execve path: /usr/bin/cc 1: [17:30:16.425573, el, 9436] lib.cc; on_load 1: [17:30:16.427485, wr, 9436, ppid: 5735] wrapper: 3.1.3 1: [17:30:16.427823, wr, 9436, ppid: 5735] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38721", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_2.c"] 1: [17:30:16.428213, wr, 9436, ppid: 5735] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38721", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:16.428699, wr, 9436, ppid: 5735] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_2.c]}, {--destination: [dns:///localhost:38721]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:16.462512, wr, 9436, ppid: 5735] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:16.731756, br, 4064] trying to resolve for library: /usr/bin/cc 1: [17:30:16.735006, wr, 9436, ppid: 5735] gRPC call [Resolve] finished: true 1: [17:30:16.740342, wr, 9436, ppid: 5735] Process spawned. [pid: 10049, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_2.c"]] 1: [17:30:16.741047, wr, 9436, ppid: 5735] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.750092, wr, 9436, ppid: 5735] gRPC call [Register] finished: true 1: [17:30:16.750775, wr, 9436, ppid: 5735] Process wait requested. [pid: 10049] 1: free(): invalid pointer 1: [17:30:17.559505, wr, 9436, ppid: 5735] Process wait request: done. [pid: 10049] 1: [17:30:17.559588, wr, 9436, ppid: 5735] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.563801, wr, 9436, ppid: 5735] gRPC call [Register] finished: true 1: [17:30:17.581148, wr, 9436, ppid: 5735] succeeded with: 1 1: [17:30:17.581369, el, 9436] lib.cc; on_unload 1: [17:30:17.592925, el, 10724] lib.cc; execve path: /usr/bin/cc 1: [17:30:17.775610, el, 10724] lib.cc; on_load 1: [17:30:17.776749, wr, 10724, ppid: 5735] wrapper: 3.1.3 1: [17:30:17.776866, wr, 10724, ppid: 5735] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38721", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude/source_1.c"] 1: [17:30:17.776977, wr, 10724, ppid: 5735] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38721", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:17.777224, wr, 10724, ppid: 5735] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude/source_1.c]}, {--destination: [dns:///localhost:38721]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:17.799386, wr, 10724, ppid: 5735] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:17.812530, br, 4064] trying to resolve for library: /usr/bin/cc 1: [17:30:17.816084, wr, 10724, ppid: 5735] gRPC call [Resolve] finished: true 1: [17:30:17.818439, wr, 10724, ppid: 5735] Process spawned. [pid: 10911, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude/source_1.c"]] 1: [17:30:17.818862, wr, 10724, ppid: 5735] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.824673, wr, 10724, ppid: 5735] gRPC call [Register] finished: true 1: [17:30:17.825127, wr, 10724, ppid: 5735] Process wait requested. [pid: 10911] 1: free(): invalid pointer 1: [17:30:18.383766, wr, 10724, ppid: 5735] Process wait request: done. [pid: 10911] 1: [17:30:18.383854, wr, 10724, ppid: 5735] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.386364, wr, 10724, ppid: 5735] gRPC call [Register] finished: true 1: [17:30:18.405605, wr, 10724, ppid: 5735] succeeded with: 1 1: [17:30:18.406023, el, 10724] lib.cc; on_unload 1: [17:30:18.417173, el, 11185] lib.cc; execve path: /usr/bin/cc 1: [17:30:18.586662, el, 11185] lib.cc; on_load 1: [17:30:18.588044, wr, 11185, ppid: 5735] wrapper: 3.1.3 1: [17:30:18.588424, wr, 11185, ppid: 5735] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38721", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude/source_2.c"] 1: [17:30:18.588692, wr, 11185, ppid: 5735] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38721", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:18.588988, wr, 11185, ppid: 5735] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude/source_2.c]}, {--destination: [dns:///localhost:38721]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:18.615930, wr, 11185, ppid: 5735] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:18.627684, br, 4064] trying to resolve for library: /usr/bin/cc 1: [17:30:18.630210, wr, 11185, ppid: 5735] gRPC call [Resolve] finished: true 1: [17:30:18.631918, wr, 11185, ppid: 5735] Process spawned. [pid: 11313, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude/source_2.c"]] 1: [17:30:18.632157, wr, 11185, ppid: 5735] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.636836, wr, 11185, ppid: 5735] gRPC call [Register] finished: true 1: [17:30:18.637135, wr, 11185, ppid: 5735] Process wait requested. [pid: 11313] 1: free(): invalid pointer 1: [17:30:19.055951, wr, 11185, ppid: 5735] Process wait request: done. [pid: 11313] 1: [17:30:19.056119, wr, 11185, ppid: 5735] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.059036, wr, 11185, ppid: 5735] gRPC call [Register] finished: true 1: [17:30:19.461713, wr, 11185, ppid: 5735] succeeded with: 1 1: [17:30:19.461937, el, 11185] lib.cc; on_unload 1: [17:30:19.470733, el, 5735] lib.cc; on_unload 1: [17:30:19.472849, wr, 4742, ppid: 4064] Process wait request: done. [pid: 5735] 1: [17:30:19.472937, wr, 4742, ppid: 4064] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.475989, wr, 4742, ppid: 4064] gRPC call [Register] finished: true 1: [17:30:19.489969, wr, 4742, ppid: 4064] succeeded with: 1 1: [17:30:19.490216, el, 4742] lib.cc; on_unload 1: [17:30:19.500790, br, 4064] Process wait request: done. [pid: 4742] 1: [17:30:19.500981, br, 4064] Running command. [Exited with 1] 1: [17:30:19.501024, br, 4064] Stopping gRPC server. 1: [17:30:19.515566, br, 4064] succeeded with: 1 1: [17:30:19.524492, br, 3354] Process wait request: done. [pid: 4064] 1: [17:30:19.524630, br, 3354] Running intercept finished. [Exited with 1] 1: [17:30:19.525926, br, 3354] Process spawned. [pid: 11616, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json", "--run-checks", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/config.json", "--verbose"]] 1: [17:30:19.526077, br, 3354] Process wait requested. [pid: 11616] 1: [17:30:19.678295, br, 11616] bear: 3.1.3 1: [17:30:19.678528, br, 11616] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json", "--run-checks", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/config.json", "--verbose"] 1: [17:30:19.678629, br, 11616] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:19.678671, br, 11616] sysname: Linux 1: [17:30:19.678718, br, 11616] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:19.678741, br, 11616] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:19.678749, br, 11616] machine: riscv64 1: [17:30:19.678937, br, 11616] arguments parsed: {program: citnames, arguments: [{--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/config.json]}, {--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:19.679967, br, 11616] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true,"paths_to_exclude":["/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude"],"paths_to_include":["/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp"]},"format":{"command_as_array":true,"drop_output_field":true}}} 1: [17:30:19.687839, br, 11616] [pid: 5735] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38721","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","FALSE":"/usr/bin/false","SOURCE_DATE_EPOCH":"1712597123","LIBTOOL":"/usr/bin/libtool","TEMP":"/tmp/lit-tmp-7hscyd2x","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"true","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","ECHO":"/usr/bin/echo","TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","TMP":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8"}} 1: [17:30:19.689438, br, 11616] [pid: 5735] recognition failed: No tools recognize this execution. 1: [17:30:19.690538, br, 11616] [pid: 6833] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38721","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","FALSE":"/usr/bin/false","SOURCE_DATE_EPOCH":"1712597123","LIBTOOL":"/usr/bin/libtool","TEMP":"/tmp/lit-tmp-7hscyd2x","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"true","_":"/usr/bin/cc","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","ECHO":"/usr/bin/echo","SHLVL":"1","TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","TMP":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8"}} 1: [17:30:19.690785, br, 11616] [pid: 6833] recognized. 1: [17:30:19.692193, br, 11616] [pid: 10049] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38721","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","FALSE":"/usr/bin/false","SOURCE_DATE_EPOCH":"1712597123","LIBTOOL":"/usr/bin/libtool","TEMP":"/tmp/lit-tmp-7hscyd2x","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"true","_":"/usr/bin/cc","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","ECHO":"/usr/bin/echo","SHLVL":"1","TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","TMP":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8"}} 1: [17:30:19.692339, br, 11616] [pid: 10049] recognized. 1: [17:30:19.693506, br, 11616] [pid: 10911] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude/source_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38721","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","FALSE":"/usr/bin/false","SOURCE_DATE_EPOCH":"1712597123","LIBTOOL":"/usr/bin/libtool","TEMP":"/tmp/lit-tmp-7hscyd2x","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"true","_":"/usr/bin/cc","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","ECHO":"/usr/bin/echo","SHLVL":"1","TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","TMP":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8"}} 1: [17:30:19.693648, br, 11616] [pid: 10911] recognized. 1: [17:30:19.694900, br, 11616] [pid: 11313] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38721","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","FALSE":"/usr/bin/false","SOURCE_DATE_EPOCH":"1712597123","LIBTOOL":"/usr/bin/libtool","TEMP":"/tmp/lit-tmp-7hscyd2x","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"true","_":"/usr/bin/cc","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","ECHO":"/usr/bin/echo","SHLVL":"1","TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","TMP":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8"}} 1: [17:30:19.695041, br, 11616] [pid: 11313] recognized. 1: [17:30:19.695477, br, 11616] compilation entries created. [size: 4] 1: [17:30:19.695524, br, 11616] compilation entries to output. [size: 4] 1: [17:30:19.700133, br, 11616] compilation entries written. [size: 2] 1: [17:30:19.700250, br, 11616] succeeded with: 0 1: [17:30:19.707260, br, 3354] Process wait request: done. [pid: 11616] 1: [17:30:19.707400, br, 3354] Running citnames finished. [Exited with 0] 1: [17:30:19.708346, br, 3354] 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 (94 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/flags_filtered_preproc.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json count -eq 2 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o flags_filtered_preproc_1.o flags_filtered_preproc_1.c 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o flags_filtered_preproc_2.o flags_filtered_preproc_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh" 1: # command stderr: 1: [17:30:12.946752, br, 3327] bear: 3.1.3 1: [17:30:12.965243, br, 3327] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh"] 1: [17:30:12.965546, br, 3327] 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=1712597123", "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-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x"] 1: [17:30:12.965751, br, 3327] sysname: Linux 1: [17:30:12.965934, br, 3327] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.966221, br, 3327] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.971486, br, 3327] machine: riscv64 1: [17:30:12.971993, br, 3327] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:12.995082, br, 3327] Process spawned. [pid: 3848, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh"]] 1: [17:30:12.995624, br, 3327] Process wait requested. [pid: 3848] 1: [17:30:13.343204, br, 3848] bear: 3.1.3 1: [17:30:13.343642, br, 3848] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh"] 1: [17:30:13.343884, br, 3848] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.344060, br, 3848] sysname: Linux 1: [17:30:13.344200, br, 3848] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:13.344303, br, 3848] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:13.344406, br, 3848] machine: riscv64 1: [17:30:13.344804, br, 3848] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:13.345541, br, 3848] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:13.409054, br, 3848] Running gRPC server. dns:///localhost:35143 1: [17:30:13.425270, br, 3848] Process spawned. [pid: 4623, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35143", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh"]] 1: [17:30:13.425482, br, 3848] Process wait requested. [pid: 4623] 1: [17:30:13.711175, el, 4623] lib.cc; on_load 1: [17:30:13.713051, wr, 4623, ppid: 3848] wrapper: 3.1.3 1: [17:30:13.713374, wr, 4623, ppid: 3848] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35143", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh"] 1: [17:30:13.713799, wr, 4623, ppid: 3848] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:35143", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.714205, wr, 4623, ppid: 3848] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh]}, {--destination: [dns:///localhost:35143]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:13.737402, wr, 4623, ppid: 3848] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.770014, br, 3848] trying to resolve for library: /usr/bin/sh 1: [17:30:13.780285, wr, 4623, ppid: 3848] gRPC call [Resolve] finished: true 1: [17:30:13.782806, wr, 4623, ppid: 3848] Process spawned. [pid: 5363, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh"]] 1: [17:30:13.783010, wr, 4623, ppid: 3848] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.800179, wr, 4623, ppid: 3848] gRPC call [Register] finished: true 1: [17:30:13.800822, wr, 4623, ppid: 3848] Process wait requested. [pid: 5363] 1: [17:30:13.813294, el, 5363] lib.cc; on_load 1: [17:30:13.848761, el, 5388] lib.cc; execve path: /usr/bin/touch 1: [17:30:14.176971, el, 5388] lib.cc; on_load 1: [17:30:14.178815, wr, 5388, ppid: 5363] wrapper: 3.1.3 1: [17:30:14.179179, wr, 5388, ppid: 5363] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35143", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "flags_filtered_preproc_1.c", "flags_filtered_preproc_2.c"] 1: [17:30:14.179482, wr, 5388, ppid: 5363] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35143", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/touch"] 1: [17:30:14.179944, wr, 5388, ppid: 5363] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, flags_filtered_preproc_1.c, flags_filtered_preproc_2.c]}, {--destination: [dns:///localhost:35143]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [17:30:14.216937, wr, 5388, ppid: 5363] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.234175, br, 3848] trying to resolve for library: /usr/bin/touch 1: [17:30:14.237765, wr, 5388, ppid: 5363] gRPC call [Resolve] finished: true 1: [17:30:14.240700, wr, 5388, ppid: 5363] Process spawned. [pid: 6429, command: ["touch", "flags_filtered_preproc_1.c", "flags_filtered_preproc_2.c"]] 1: [17:30:14.240863, wr, 5388, ppid: 5363] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.255144, el, 6429] lib.cc; on_load 1: [17:30:14.514343, wr, 5388, ppid: 5363] gRPC call [Register] finished: true 1: [17:30:14.514929, wr, 5388, ppid: 5363] Process wait requested. [pid: 6429] 1: [17:30:14.515059, wr, 5388, ppid: 5363] Process wait request: done. [pid: 6429] 1: [17:30:14.515103, wr, 5388, ppid: 5363] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.519875, wr, 5388, ppid: 5363] gRPC call [Register] finished: true 1: [17:30:14.541084, wr, 5388, ppid: 5363] succeeded with: 0 1: [17:30:14.541777, el, 5388] lib.cc; on_unload 1: [17:30:14.602931, el, 7124] lib.cc; execve path: /usr/bin/cc 1: [17:30:14.955184, el, 7124] lib.cc; on_load 1: [17:30:14.957212, wr, 7124, ppid: 5363] wrapper: 3.1.3 1: [17:30:14.957629, wr, 7124, ppid: 5363] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35143", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-M", "-o", "flags_filtered_preproc_1.d", "flags_filtered_preproc_1.c"] 1: [17:30:14.957950, wr, 7124, ppid: 5363] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35143", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:14.958621, wr, 7124, ppid: 5363] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -M, -o, flags_filtered_preproc_1.d, flags_filtered_preproc_1.c]}, {--destination: [dns:///localhost:35143]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:14.991700, wr, 7124, ppid: 5363] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:15.258464, br, 3848] trying to resolve for library: /usr/bin/cc 1: [17:30:15.261552, wr, 7124, ppid: 5363] gRPC call [Resolve] finished: true 1: [17:30:15.264513, wr, 7124, ppid: 5363] Process spawned. [pid: 8281, command: ["/usr/bin/cc", "-c", "-M", "-o", "flags_filtered_preproc_1.d", "flags_filtered_preproc_1.c"]] 1: [17:30:15.264702, wr, 7124, ppid: 5363] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.271820, wr, 7124, ppid: 5363] gRPC call [Register] finished: true 1: [17:30:15.272438, wr, 7124, ppid: 5363] Process wait requested. [pid: 8281] 1: free(): invalid pointer 1: [17:30:17.016645, wr, 7124, ppid: 5363] Process wait request: done. [pid: 8281] 1: [17:30:17.016760, wr, 7124, ppid: 5363] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.025168, wr, 7124, ppid: 5363] gRPC call [Register] finished: true 1: [17:30:17.049548, wr, 7124, ppid: 5363] succeeded with: 1 1: [17:30:17.049770, el, 7124] lib.cc; on_unload 1: [17:30:17.066260, el, 10276] lib.cc; execve path: /usr/bin/cc 1: [17:30:17.303599, el, 10276] lib.cc; on_load 1: [17:30:17.304804, wr, 10276, ppid: 5363] wrapper: 3.1.3 1: [17:30:17.304944, wr, 10276, ppid: 5363] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35143", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-MM", "-o", "flags_filtered_preproc_2.d", "flags_filtered_preproc_2.c"] 1: [17:30:17.305059, wr, 10276, ppid: 5363] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35143", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:17.305303, wr, 10276, ppid: 5363] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -MM, -o, flags_filtered_preproc_2.d, flags_filtered_preproc_2.c]}, {--destination: [dns:///localhost:35143]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:17.336883, wr, 10276, ppid: 5363] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:17.354999, br, 3848] trying to resolve for library: /usr/bin/cc 1: [17:30:17.358470, wr, 10276, ppid: 5363] gRPC call [Resolve] finished: true 1: [17:30:17.360715, wr, 10276, ppid: 5363] Process spawned. [pid: 10553, command: ["/usr/bin/cc", "-c", "-MM", "-o", "flags_filtered_preproc_2.d", "flags_filtered_preproc_2.c"]] 1: [17:30:17.360889, wr, 10276, ppid: 5363] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [17:30:17.623266, wr, 10276, ppid: 5363] gRPC call [Register] finished: true 1: [17:30:17.623714, wr, 10276, ppid: 5363] Process wait requested. [pid: 10553] 1: [17:30:18.152166, wr, 10276, ppid: 5363] Process wait request: done. [pid: 10553] 1: [17:30:18.152263, wr, 10276, ppid: 5363] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.155431, wr, 10276, ppid: 5363] gRPC call [Register] finished: true 1: [17:30:18.173261, wr, 10276, ppid: 5363] succeeded with: 1 1: [17:30:18.173538, el, 10276] lib.cc; on_unload 1: [17:30:18.187030, el, 11021] lib.cc; execve path: /usr/bin/cc 1: [17:30:18.377757, el, 11021] lib.cc; on_load 1: [17:30:18.378864, wr, 11021, ppid: 5363] wrapper: 3.1.3 1: [17:30:18.378984, wr, 11021, ppid: 5363] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35143", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-MD", "-MF", "flags_filtered_preproc_1.d", "-o", "flags_filtered_preproc_1.o", "flags_filtered_preproc_1.c"] 1: [17:30:18.379098, wr, 11021, ppid: 5363] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35143", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:18.379300, wr, 11021, ppid: 5363] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -MD, -MF, flags_filtered_preproc_1.d, -o, flags_filtered_preproc_1.o, flags_filtered_preproc_1.c]}, {--destination: [dns:///localhost:35143]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:18.405967, wr, 11021, ppid: 5363] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:18.670089, br, 3848] trying to resolve for library: /usr/bin/cc 1: [17:30:18.672704, wr, 11021, ppid: 5363] gRPC call [Resolve] finished: true 1: [17:30:18.674578, wr, 11021, ppid: 5363] Process spawned. [pid: 11329, command: ["/usr/bin/cc", "-c", "-MD", "-MF", "flags_filtered_preproc_1.d", "-o", "flags_filtered_preproc_1.o", "flags_filtered_preproc_1.c"]] 1: [17:30:18.674714, wr, 11021, ppid: 5363] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.679205, wr, 11021, ppid: 5363] gRPC call [Register] finished: true 1: [17:30:18.679503, wr, 11021, ppid: 5363] Process wait requested. [pid: 11329] 1: free(): invalid pointer 1: [17:30:19.073260, wr, 11021, ppid: 5363] Process wait request: done. [pid: 11329] 1: [17:30:19.073396, wr, 11021, ppid: 5363] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.076036, wr, 11021, ppid: 5363] gRPC call [Register] finished: true 1: [17:30:19.092067, wr, 11021, ppid: 5363] succeeded with: 1 1: [17:30:19.092268, el, 11021] lib.cc; on_unload 1: [17:30:19.103201, el, 11502] lib.cc; execve path: /usr/bin/cc 1: [17:30:19.241834, el, 11502] lib.cc; on_load 1: [17:30:19.242945, wr, 11502, ppid: 5363] wrapper: 3.1.3 1: [17:30:19.243043, wr, 11502, ppid: 5363] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35143", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-MMD", "-MF", "flags_filtered_preproc_2.d", "-o", "flags_filtered_preproc_2.o", "flags_filtered_preproc_2.c"] 1: [17:30:19.243166, wr, 11502, ppid: 5363] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35143", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:19.243364, wr, 11502, ppid: 5363] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -MMD, -MF, flags_filtered_preproc_2.d, -o, flags_filtered_preproc_2.o, flags_filtered_preproc_2.c]}, {--destination: [dns:///localhost:35143]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:19.261680, wr, 11502, ppid: 5363] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:19.272378, br, 3848] trying to resolve for library: /usr/bin/cc 1: [17:30:19.274704, wr, 11502, ppid: 5363] gRPC call [Resolve] finished: true 1: [17:30:19.276572, wr, 11502, ppid: 5363] Process spawned. [pid: 11547, command: ["/usr/bin/cc", "-c", "-MMD", "-MF", "flags_filtered_preproc_2.d", "-o", "flags_filtered_preproc_2.o", "flags_filtered_preproc_2.c"]] 1: [17:30:19.276716, wr, 11502, ppid: 5363] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.281477, wr, 11502, ppid: 5363] gRPC call [Register] finished: true 1: [17:30:19.281808, wr, 11502, ppid: 5363] Process wait requested. [pid: 11547] 1: free(): invalid pointer 1: [17:30:19.705219, wr, 11502, ppid: 5363] Process wait request: done. [pid: 11547] 1: [17:30:19.705308, wr, 11502, ppid: 5363] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.708022, wr, 11502, ppid: 5363] gRPC call [Register] finished: true 1: [17:30:19.976412, wr, 11502, ppid: 5363] succeeded with: 1 1: [17:30:19.976590, el, 11502] lib.cc; on_unload 1: [17:30:19.984781, el, 5363] lib.cc; on_unload 1: [17:30:19.986616, wr, 4623, ppid: 3848] Process wait request: done. [pid: 5363] 1: [17:30:19.986704, wr, 4623, ppid: 3848] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.989357, wr, 4623, ppid: 3848] gRPC call [Register] finished: true 1: [17:30:20.002401, wr, 4623, ppid: 3848] succeeded with: 1 1: [17:30:20.002597, el, 4623] lib.cc; on_unload 1: [17:30:20.009961, br, 3848] Process wait request: done. [pid: 4623] 1: [17:30:20.010107, br, 3848] Running command. [Exited with 1] 1: [17:30:20.010146, br, 3848] Stopping gRPC server. 1: [17:30:20.023337, br, 3848] succeeded with: 1 1: [17:30:20.032482, br, 3327] Process wait request: done. [pid: 3848] 1: [17:30:20.032626, br, 3327] Running intercept finished. [Exited with 1] 1: [17:30:20.033815, br, 3327] Process spawned. [pid: 11730, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json", "--run-checks", "--verbose"]] 1: [17:30:20.033951, br, 3327] Process wait requested. [pid: 11730] 1: [17:30:20.197635, br, 11730] bear: 3.1.3 1: [17:30:20.197814, br, 11730] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json", "--run-checks", "--verbose"] 1: [17:30:20.197879, br, 11730] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:20.197923, br, 11730] sysname: Linux 1: [17:30:20.197933, br, 11730] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:20.197941, br, 11730] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:20.197946, br, 11730] machine: riscv64 1: [17:30:20.198152, br, 11730] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_preproc.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:20.198766, br, 11730] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [17:30:20.205486, br, 11730] [pid: 5363] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1712597123","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8","TMP":"/tmp/lit-tmp-7hscyd2x","TMPDIR":"/tmp/lit-tmp-7hscyd2x","ECHO":"/usr/bin/echo","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35143","FALSE":"/usr/bin/false","TEMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TERM":"tmux-256color","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool"}} 1: [17:30:20.206956, br, 11730] [pid: 5363] recognition failed: No tools recognize this execution. 1: [17:30:20.207896, br, 11730] [pid: 6429] execution: {"executable":"/usr/bin/touch","arguments":["touch","flags_filtered_preproc_1.c","flags_filtered_preproc_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1712597123","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/touch","TMP":"/tmp/lit-tmp-7hscyd2x","TMPDIR":"/tmp/lit-tmp-7hscyd2x","SHLVL":"1","ECHO":"/usr/bin/echo","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35143","FALSE":"/usr/bin/false","TEMP":"/tmp/lit-tmp-7hscyd2x","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TERM":"tmux-256color","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool"}} 1: [17:30:20.207968, br, 11730] [pid: 6429] recognition failed: No tools recognize this execution. 1: [17:30:20.208924, br, 11730] [pid: 8281] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-M","-o","flags_filtered_preproc_1.d","flags_filtered_preproc_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1712597123","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TMP":"/tmp/lit-tmp-7hscyd2x","TMPDIR":"/tmp/lit-tmp-7hscyd2x","SHLVL":"1","ECHO":"/usr/bin/echo","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35143","FALSE":"/usr/bin/false","TEMP":"/tmp/lit-tmp-7hscyd2x","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TERM":"tmux-256color","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool"}} 1: [17:30:20.209088, br, 11730] [pid: 8281] recognized. 1: [17:30:20.209991, br, 11730] [pid: 10553] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-MM","-o","flags_filtered_preproc_2.d","flags_filtered_preproc_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1712597123","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TMP":"/tmp/lit-tmp-7hscyd2x","TMPDIR":"/tmp/lit-tmp-7hscyd2x","SHLVL":"1","ECHO":"/usr/bin/echo","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35143","FALSE":"/usr/bin/false","TEMP":"/tmp/lit-tmp-7hscyd2x","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TERM":"tmux-256color","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool"}} 1: [17:30:20.210076, br, 11730] [pid: 10553] recognized. 1: [17:30:20.210989, br, 11730] [pid: 11329] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-MD","-MF","flags_filtered_preproc_1.d","-o","flags_filtered_preproc_1.o","flags_filtered_preproc_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1712597123","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TMP":"/tmp/lit-tmp-7hscyd2x","TMPDIR":"/tmp/lit-tmp-7hscyd2x","SHLVL":"1","ECHO":"/usr/bin/echo","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35143","FALSE":"/usr/bin/false","TEMP":"/tmp/lit-tmp-7hscyd2x","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TERM":"tmux-256color","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool"}} 1: [17:30:20.211120, br, 11730] [pid: 11329] recognized. 1: [17:30:20.212371, br, 11730] [pid: 11547] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-MMD","-MF","flags_filtered_preproc_2.d","-o","flags_filtered_preproc_2.o","flags_filtered_preproc_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"CXX":"/usr/bin/c++","TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1712597123","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TMP":"/tmp/lit-tmp-7hscyd2x","TMPDIR":"/tmp/lit-tmp-7hscyd2x","SHLVL":"1","ECHO":"/usr/bin/echo","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35143","FALSE":"/usr/bin/false","TEMP":"/tmp/lit-tmp-7hscyd2x","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TERM":"tmux-256color","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool"}} 1: [17:30:20.212494, br, 11730] [pid: 11547] recognized. 1: [17:30:20.212859, br, 11730] compilation entries created. [size: 2] 1: [17:30:20.212904, br, 11730] compilation entries to output. [size: 2] 1: [17:30:20.213951, br, 11730] compilation entries written. [size: 2] 1: [17:30:20.214053, br, 11730] succeeded with: 0 1: [17:30:20.220205, br, 3327] Process wait request: done. [pid: 11730] 1: [17:30:20.220343, br, 3327] Running citnames finished. [Exited with 0] 1: [17:30:20.220864, br, 3327] 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 (95 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/config/filter_compilers.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/config/filter_compilers.sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json --config /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/config.json -- /usr/bin/sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json count -eq 2 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_1.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output -arguments /usr/bin/cc -c /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/config/filter_compilers.sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp" 1: $ ":" "RUN: at line 5" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json" "--config" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/config.json" "--" "/usr/bin/sh" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh" 1: # command stderr: 1: [17:30:13.234416, br, 3361] bear: 3.1.3 1: [17:30:13.235001, br, 3361] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/config.json", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh"] 1: [17:30:13.235317, br, 3361] 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=1712597123", "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-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x"] 1: [17:30:13.235695, br, 3361] sysname: Linux 1: [17:30:13.235958, br, 3361] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:13.236139, br, 3361] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:13.236309, br, 3361] machine: riscv64 1: [17:30:13.236673, br, 3361] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/config.json]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:13.248490, br, 3361] Process spawned. [pid: 4315, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh"]] 1: [17:30:13.248671, br, 3361] Process wait requested. [pid: 4315] 1: [17:30:13.679491, br, 4315] bear: 3.1.3 1: [17:30:13.679965, br, 4315] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh"] 1: [17:30:13.680228, br, 4315] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.680560, br, 4315] sysname: Linux 1: [17:30:13.680746, br, 4315] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:13.680860, br, 4315] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:13.680972, br, 4315] machine: riscv64 1: [17:30:13.681324, br, 4315] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:13.682114, br, 4315] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:13.736334, br, 4315] Running gRPC server. dns:///localhost:45563 1: [17:30:13.745449, br, 4315] Process spawned. [pid: 5300, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45563", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh"]] 1: [17:30:13.745693, br, 4315] Process wait requested. [pid: 5300] 1: [17:30:14.159533, el, 5300] lib.cc; on_load 1: [17:30:14.160985, wr, 5300, ppid: 4315] wrapper: 3.1.3 1: [17:30:14.161294, wr, 5300, ppid: 4315] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45563", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh"] 1: [17:30:14.161640, wr, 5300, ppid: 4315] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:45563", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:14.162162, wr, 5300, ppid: 4315] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh]}, {--destination: [dns:///localhost:45563]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:14.184214, wr, 5300, ppid: 4315] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.469205, br, 4315] trying to resolve for library: /usr/bin/sh 1: [17:30:14.474794, wr, 5300, ppid: 4315] gRPC call [Resolve] finished: true 1: [17:30:14.495216, wr, 5300, ppid: 4315] Process spawned. [pid: 6980, command: ["/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh"]] 1: [17:30:14.514993, wr, 5300, ppid: 4315] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.541009, el, 6980] lib.cc; on_load 1: [17:30:14.552178, el, 7106] lib.cc; execve path: /usr/bin/cc 1: [17:30:14.578216, wr, 5300, ppid: 4315] gRPC call [Register] finished: true 1: [17:30:14.578666, wr, 5300, ppid: 4315] Process wait requested. [pid: 6980] 1: [17:30:14.914903, el, 7106] lib.cc; on_load 1: [17:30:14.916982, wr, 7106, ppid: 6980] wrapper: 3.1.3 1: [17:30:14.917632, wr, 7106, ppid: 6980] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45563", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_1.c"] 1: [17:30:14.917939, wr, 7106, ppid: 6980] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45563", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:14.918486, wr, 7106, ppid: 6980] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_1.c]}, {--destination: [dns:///localhost:45563]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:14.947427, wr, 7106, ppid: 6980] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.964801, br, 4315] trying to resolve for library: /usr/bin/cc 1: [17:30:14.979378, wr, 7106, ppid: 6980] gRPC call [Resolve] finished: true 1: [17:30:14.991955, wr, 7106, ppid: 6980] Process spawned. [pid: 7917, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_1.c"]] 1: [17:30:14.992150, wr, 7106, ppid: 6980] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.999232, wr, 7106, ppid: 6980] gRPC call [Register] finished: true 1: [17:30:14.999679, wr, 7106, ppid: 6980] Process wait requested. [pid: 7917] 1: free(): invalid pointer 1: [17:30:16.988523, wr, 7106, ppid: 6980] Process wait request: done. [pid: 7917] 1: [17:30:16.988700, wr, 7106, ppid: 6980] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.992801, wr, 7106, ppid: 6980] gRPC call [Register] finished: true 1: [17:30:17.013986, wr, 7106, ppid: 6980] succeeded with: 1 1: [17:30:17.014454, el, 7106] lib.cc; on_unload 1: [17:30:17.026891, el, 10196] lib.cc; execve path: /usr/bin/cc 1: [17:30:17.261238, el, 10196] lib.cc; on_load 1: [17:30:17.262950, wr, 10196, ppid: 6980] wrapper: 3.1.3 1: [17:30:17.263290, wr, 10196, ppid: 6980] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45563", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_2.c"] 1: [17:30:17.263584, wr, 10196, ppid: 6980] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45563", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:17.263992, wr, 10196, ppid: 6980] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_2.c]}, {--destination: [dns:///localhost:45563]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:17.291469, wr, 10196, ppid: 6980] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:17.306833, br, 4315] trying to resolve for library: /usr/bin/cc 1: [17:30:17.310546, wr, 10196, ppid: 6980] gRPC call [Resolve] finished: true 1: [17:30:17.314282, wr, 10196, ppid: 6980] Process spawned. [pid: 10500, command: ["/usr/bin/cc", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_2.c"]] 1: [17:30:17.314651, wr, 10196, ppid: 6980] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [17:30:17.579010, wr, 10196, ppid: 6980] gRPC call [Register] finished: true 1: [17:30:17.579489, wr, 10196, ppid: 6980] Process wait requested. [pid: 10500] 1: [17:30:18.003330, wr, 10196, ppid: 6980] Process wait request: done. [pid: 10500] 1: [17:30:18.003414, wr, 10196, ppid: 6980] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.006881, wr, 10196, ppid: 6980] gRPC call [Register] finished: true 1: [17:30:18.027305, wr, 10196, ppid: 6980] succeeded with: 1 1: [17:30:18.027677, el, 10196] lib.cc; on_unload 1: [17:30:18.039842, el, 10963] lib.cc; execve path: /usr/bin/c++ 1: [17:30:18.254919, el, 10963] lib.cc; on_load 1: [17:30:18.256029, wr, 10963, ppid: 6980] wrapper: 3.1.3 1: [17:30:18.256277, wr, 10963, ppid: 6980] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45563", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/exclude/source_1.cc"] 1: [17:30:18.256451, wr, 10963, ppid: 6980] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45563", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/c++"] 1: [17:30:18.256669, wr, 10963, ppid: 6980] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/c++, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/exclude/source_1.cc]}, {--destination: [dns:///localhost:45563]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [17:30:18.279476, wr, 10963, ppid: 6980] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:18.289905, br, 4315] trying to resolve for library: /usr/bin/c++ 1: [17:30:18.292406, wr, 10963, ppid: 6980] gRPC call [Resolve] finished: true 1: [17:30:18.294497, wr, 10963, ppid: 6980] Process spawned. [pid: 11118, command: ["/usr/bin/c++", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/exclude/source_1.cc"]] 1: [17:30:18.294649, wr, 10963, ppid: 6980] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.299532, wr, 10963, ppid: 6980] gRPC call [Register] finished: true 1: [17:30:18.299838, wr, 10963, ppid: 6980] Process wait requested. [pid: 11118] 1: free(): invalid pointer 1: [17:30:18.825722, wr, 10963, ppid: 6980] Process wait request: done. [pid: 11118] 1: [17:30:18.825831, wr, 10963, ppid: 6980] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.828533, wr, 10963, ppid: 6980] gRPC call [Register] finished: true 1: [17:30:19.093580, wr, 10963, ppid: 6980] succeeded with: 1 1: [17:30:19.093830, el, 10963] lib.cc; on_unload 1: [17:30:19.106021, el, 11503] lib.cc; execve path: /usr/bin/c++ 1: [17:30:19.269904, el, 11503] lib.cc; on_load 1: [17:30:19.271087, wr, 11503, ppid: 6980] wrapper: 3.1.3 1: [17:30:19.271207, wr, 11503, ppid: 6980] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45563", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/exclude/source_2.cc"] 1: [17:30:19.271322, wr, 11503, ppid: 6980] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45563", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/c++"] 1: [17:30:19.271652, wr, 11503, ppid: 6980] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/c++, -c, /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/exclude/source_2.cc]}, {--destination: [dns:///localhost:45563]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [17:30:19.295703, wr, 11503, ppid: 6980] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:19.308936, br, 4315] trying to resolve for library: /usr/bin/c++ 1: [17:30:19.311180, wr, 11503, ppid: 6980] gRPC call [Resolve] finished: true 1: [17:30:19.312963, wr, 11503, ppid: 6980] Process spawned. [pid: 11566, command: ["/usr/bin/c++", "-c", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/exclude/source_2.cc"]] 1: [17:30:19.313122, wr, 11503, ppid: 6980] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.318465, wr, 11503, ppid: 6980] gRPC call [Register] finished: true 1: [17:30:19.318817, wr, 11503, ppid: 6980] Process wait requested. [pid: 11566] 1: free(): invalid pointer 1: [17:30:19.756892, wr, 11503, ppid: 6980] Process wait request: done. [pid: 11566] 1: [17:30:19.756974, wr, 11503, ppid: 6980] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.759882, wr, 11503, ppid: 6980] gRPC call [Register] finished: true 1: [17:30:20.023819, wr, 11503, ppid: 6980] succeeded with: 1 1: [17:30:20.024015, el, 11503] lib.cc; on_unload 1: [17:30:20.033500, el, 6980] lib.cc; on_unload 1: [17:30:20.035564, wr, 5300, ppid: 4315] Process wait request: done. [pid: 6980] 1: [17:30:20.035662, wr, 5300, ppid: 4315] gRPC call requested: supervise::Interceptor::Register 1: [17:30:20.038357, wr, 5300, ppid: 4315] gRPC call [Register] finished: true 1: [17:30:20.051478, wr, 5300, ppid: 4315] succeeded with: 1 1: [17:30:20.051650, el, 5300] lib.cc; on_unload 1: [17:30:20.059825, br, 4315] Process wait request: done. [pid: 5300] 1: [17:30:20.059991, br, 4315] Running command. [Exited with 1] 1: [17:30:20.060036, br, 4315] Stopping gRPC server. 1: [17:30:20.075051, br, 4315] succeeded with: 1 1: [17:30:20.084960, br, 3361] Process wait request: done. [pid: 4315] 1: [17:30:20.085110, br, 3361] Running intercept finished. [Exited with 1] 1: [17:30:20.086285, br, 3361] Process spawned. [pid: 11734, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json", "--run-checks", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/config.json", "--verbose"]] 1: [17:30:20.086458, br, 3361] Process wait requested. [pid: 11734] 1: [17:30:20.245464, br, 11734] bear: 3.1.3 1: [17:30:20.245648, br, 11734] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json", "--run-checks", "--config", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/config.json", "--verbose"] 1: [17:30:20.245720, br, 11734] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:20.245749, br, 11734] sysname: Linux 1: [17:30:20.245758, br, 11734] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:20.245763, br, 11734] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:20.245768, br, 11734] machine: riscv64 1: [17:30:20.245920, br, 11734] arguments parsed: {program: citnames, arguments: [{--config: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/config.json]}, {--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:20.246682, br, 11734] Configuration: {"compilation":{"compilers_to_exclude":["/usr/bin/c++"],"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":true}}} 1: [17:30:20.253127, br, 11734] [pid: 6980] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1712597123","LC_CTYPE":"en_US.UTF-8","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45563","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","ECHO":"/usr/bin/echo","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMP":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TEMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [17:30:20.254520, br, 11734] [pid: 6980] recognition failed: No tools recognize this execution. 1: [17:30:20.255517, br, 11734] [pid: 7917] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1712597123","LC_CTYPE":"en_US.UTF-8","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45563","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","_":"/usr/bin/cc","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","ECHO":"/usr/bin/echo","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMP":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TEMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [17:30:20.255726, br, 11734] [pid: 7917] recognized. 1: [17:30:20.256900, br, 11734] [pid: 10500] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1712597123","LC_CTYPE":"en_US.UTF-8","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45563","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","_":"/usr/bin/cc","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","ECHO":"/usr/bin/echo","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMP":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TEMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [17:30:20.257001, br, 11734] [pid: 10500] recognized. 1: [17:30:20.257993, br, 11734] [pid: 11118] execution: {"executable":"/usr/bin/c++","arguments":["/usr/bin/c++","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/exclude/source_1.cc"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1712597123","LC_CTYPE":"en_US.UTF-8","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45563","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","_":"/usr/bin/c++","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","ECHO":"/usr/bin/echo","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMP":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TEMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [17:30:20.258121, br, 11734] [pid: 11118] recognition failed: The tool is on the exclude list from configuration. 1: [17:30:20.259029, br, 11734] [pid: 11566] execution: {"executable":"/usr/bin/c++","arguments":["/usr/bin/c++","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/exclude/source_2.cc"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TRUE":"/usr/bin/true","SOURCE_DATE_EPOCH":"1712597123","LC_CTYPE":"en_US.UTF-8","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45563","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","_":"/usr/bin/c++","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","ECHO":"/usr/bin/echo","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TMP":"/tmp/lit-tmp-7hscyd2x","TERM":"tmux-256color","SLEEP":"/usr/bin/sleep","TMPDIR":"/tmp/lit-tmp-7hscyd2x","TEMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [17:30:20.259080, br, 11734] [pid: 11566] recognition failed: The tool is on the exclude list from configuration. 1: [17:30:20.259335, br, 11734] compilation entries created. [size: 2] 1: [17:30:20.259378, br, 11734] compilation entries to output. [size: 2] 1: [17:30:20.260138, br, 11734] compilation entries written. [size: 2] 1: [17:30:20.260227, br, 11734] succeeded with: 0 1: [17:30:20.265583, br, 3361] Process wait request: done. [pid: 11734] 1: [17:30:20.265722, br, 3361] Running citnames finished. [Exited with 0] 1: [17:30:20.266213, br, 3361] 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 (96 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/flags_filtered_link.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json count -eq 4 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -fpic -o flags_filtered_link_1.o flags_filtered_link_1.c 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -fpic -o flags_filtered_link_2.o flags_filtered_link_2.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link_3.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o flags_filtered_link_3 flags_filtered_link_3.c 1: : 'RUN: at line 9'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link_4.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o flags_filtered_link_4 flags_filtered_link_4.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh" 1: # command stderr: 1: [17:30:12.570047, br, 3316] bear: 3.1.3 1: [17:30:12.570655, br, 3316] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh"] 1: [17:30:12.570963, br, 3316] 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=1712597123", "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-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x"] 1: [17:30:12.571190, br, 3316] sysname: Linux 1: [17:30:12.571432, br, 3316] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.571752, br, 3316] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.571925, br, 3316] machine: riscv64 1: [17:30:12.572276, br, 3316] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:12.574049, br, 3316] Process spawned. [pid: 3389, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh"]] 1: [17:30:12.574205, br, 3316] Process wait requested. [pid: 3389] 1: [17:30:12.825345, br, 3389] bear: 3.1.3 1: [17:30:12.825912, br, 3389] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh"] 1: [17:30:12.826153, br, 3389] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:12.826334, br, 3389] sysname: Linux 1: [17:30:12.826477, br, 3389] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.826576, br, 3389] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.826665, br, 3389] machine: riscv64 1: [17:30:12.827020, br, 3389] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:12.827652, br, 3389] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:12.891153, br, 3389] Running gRPC server. dns:///localhost:46199 1: [17:30:12.898666, br, 3389] Process spawned. [pid: 3767, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46199", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh"]] 1: [17:30:12.898889, br, 3389] Process wait requested. [pid: 3767] 1: [17:30:13.197368, el, 3767] lib.cc; on_load 1: [17:30:13.198952, wr, 3767, ppid: 3389] wrapper: 3.1.3 1: [17:30:13.199281, wr, 3767, ppid: 3389] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46199", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh"] 1: [17:30:13.199572, wr, 3767, ppid: 3389] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:46199", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.200074, wr, 3767, ppid: 3389] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh]}, {--destination: [dns:///localhost:46199]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:13.224077, wr, 3767, ppid: 3389] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.497453, br, 3389] trying to resolve for library: /usr/bin/sh 1: [17:30:13.502205, wr, 3767, ppid: 3389] gRPC call [Resolve] finished: true 1: [17:30:13.505443, wr, 3767, ppid: 3389] Process spawned. [pid: 4792, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh"]] 1: [17:30:13.505610, wr, 3767, ppid: 3389] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.519662, wr, 3767, ppid: 3389] gRPC call [Register] finished: true 1: [17:30:13.520218, wr, 3767, ppid: 3389] Process wait requested. [pid: 4792] 1: [17:30:13.575399, el, 4792] lib.cc; on_load 1: [17:30:13.639255, el, 5093] lib.cc; execve path: /usr/bin/uname 1: [17:30:13.659913, el, 5097] lib.cc; execve path: /usr/bin/grep 1: [17:30:13.964804, el, 5093] lib.cc; on_load 1: [17:30:13.966566, wr, 5093, ppid: 5052] wrapper: 3.1.3 1: [17:30:13.966858, wr, 5093, ppid: 5052] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46199", "--verbose", "--execute", "/usr/bin/uname", "--", "uname"] 1: [17:30:13.967297, wr, 5093, ppid: 5052] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46199", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/uname"] 1: [17:30:13.967864, wr, 5093, ppid: 5052] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [uname]}, {--destination: [dns:///localhost:46199]}, {--execute: [/usr/bin/uname]}, {--verbose: []}]} 1: [17:30:13.988915, wr, 5093, ppid: 5052] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.088286, br, 3389] trying to resolve for library: /usr/bin/uname 1: [17:30:14.088636, el, 5097] lib.cc; on_load 1: [17:30:14.089767, wr, 5097, ppid: 5052] wrapper: 3.1.3 1: [17:30:14.090065, wr, 5097, ppid: 5052] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46199", "--verbose", "--execute", "/usr/bin/grep", "--", "grep", "-i", "darwin"] 1: [17:30:14.090440, wr, 5097, ppid: 5052] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46199", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/grep"] 1: [17:30:14.090947, wr, 5097, ppid: 5052] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [grep, -i, darwin]}, {--destination: [dns:///localhost:46199]}, {--execute: [/usr/bin/grep]}, {--verbose: []}]} 1: [17:30:14.092931, wr, 5093, ppid: 5052] gRPC call [Resolve] finished: true 1: [17:30:14.095787, wr, 5093, ppid: 5052] Process spawned. [pid: 5960, command: ["uname"]] 1: [17:30:14.095943, wr, 5093, ppid: 5052] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.101543, wr, 5093, ppid: 5052] gRPC call [Register] finished: true 1: [17:30:14.101995, wr, 5093, ppid: 5052] Process wait requested. [pid: 5960] 1: [17:30:14.102730, el, 5960] lib.cc; on_load 1: [17:30:14.104981, wr, 5093, ppid: 5052] Process wait request: done. [pid: 5960] 1: [17:30:14.105060, wr, 5093, ppid: 5052] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.109781, wr, 5093, ppid: 5052] gRPC call [Register] finished: true 1: [17:30:14.125713, wr, 5097, ppid: 5052] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.279656, wr, 5093, ppid: 5052] succeeded with: 0 1: [17:30:14.279858, el, 5093] lib.cc; on_unload 1: [17:30:14.390806, br, 3389] trying to resolve for library: /usr/bin/grep 1: [17:30:14.394077, wr, 5097, ppid: 5052] gRPC call [Resolve] finished: true 1: [17:30:14.405542, wr, 5097, ppid: 5052] Process spawned. [pid: 6831, command: ["grep", "-i", "darwin"]] 1: [17:30:14.405708, wr, 5097, ppid: 5052] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.413737, wr, 5097, ppid: 5052] gRPC call [Register] finished: true 1: [17:30:14.414375, wr, 5097, ppid: 5052] Process wait requested. [pid: 6831] 1: [17:30:14.427774, el, 6831] lib.cc; on_load 1: [17:30:14.447282, wr, 5097, ppid: 5052] Process wait request: done. [pid: 6831] 1: [17:30:14.447351, wr, 5097, ppid: 5052] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.451000, wr, 5097, ppid: 5052] gRPC call [Register] finished: true 1: [17:30:14.467646, wr, 5097, ppid: 5052] succeeded with: 1 1: [17:30:14.468156, el, 5097] lib.cc; on_unload 1: [17:30:14.486358, el, 5052] lib.cc; on_unload 1: [17:30:14.498562, el, 7008] lib.cc; execve path: /usr/bin/cc 1: [17:30:14.821190, el, 7008] lib.cc; on_load 1: [17:30:14.834875, wr, 7008, ppid: 4792] wrapper: 3.1.3 1: [17:30:14.835196, wr, 7008, ppid: 4792] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46199", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "flags_filtered_link_1.o", "-fpic", "flags_filtered_link_1.c"] 1: [17:30:14.835436, wr, 7008, ppid: 4792] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46199", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:14.835795, wr, 7008, ppid: 4792] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, flags_filtered_link_1.o, -fpic, flags_filtered_link_1.c]}, {--destination: [dns:///localhost:46199]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:14.889944, wr, 7008, ppid: 4792] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.904533, br, 3389] trying to resolve for library: /usr/bin/cc 1: [17:30:14.916885, wr, 7008, ppid: 4792] gRPC call [Resolve] finished: true 1: [17:30:14.921335, wr, 7008, ppid: 4792] Process spawned. [pid: 7783, command: ["/usr/bin/cc", "-c", "-o", "flags_filtered_link_1.o", "-fpic", "flags_filtered_link_1.c"]] 1: [17:30:14.921836, wr, 7008, ppid: 4792] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [17:30:15.186296, wr, 7008, ppid: 4792] gRPC call [Register] finished: true 1: [17:30:15.186682, wr, 7008, ppid: 4792] Process wait requested. [pid: 7783] 1: [17:30:16.660797, wr, 7008, ppid: 4792] Process wait request: done. [pid: 7783] 1: [17:30:16.660931, wr, 7008, ppid: 4792] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.666692, wr, 7008, ppid: 4792] gRPC call [Register] finished: true 1: [17:30:16.690847, wr, 7008, ppid: 4792] succeeded with: 1 1: [17:30:16.691099, el, 7008] lib.cc; on_unload 1: [17:30:16.727905, el, 10042] lib.cc; execve path: /usr/bin/cc 1: [17:30:17.024351, el, 10042] lib.cc; on_load 1: [17:30:17.026038, wr, 10042, ppid: 4792] wrapper: 3.1.3 1: [17:30:17.026355, wr, 10042, ppid: 4792] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46199", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "flags_filtered_link_2.o", "-fpic", "flags_filtered_link_2.c"] 1: [17:30:17.026774, wr, 10042, ppid: 4792] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46199", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:17.027249, wr, 10042, ppid: 4792] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, -o, flags_filtered_link_2.o, -fpic, flags_filtered_link_2.c]}, {--destination: [dns:///localhost:46199]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:17.056779, wr, 10042, ppid: 4792] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:17.312627, br, 3389] trying to resolve for library: /usr/bin/cc 1: [17:30:17.315876, wr, 10042, ppid: 4792] gRPC call [Resolve] finished: true 1: [17:30:17.318419, wr, 10042, ppid: 4792] Process spawned. [pid: 10504, command: ["/usr/bin/cc", "-c", "-o", "flags_filtered_link_2.o", "-fpic", "flags_filtered_link_2.c"]] 1: [17:30:17.318802, wr, 10042, ppid: 4792] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.325483, wr, 10042, ppid: 4792] gRPC call [Register] finished: true 1: free(): invalid pointer 1: [17:30:17.326140, wr, 10042, ppid: 4792] Process wait requested. [pid: 10504] 1: [17:30:18.040195, wr, 10042, ppid: 4792] Process wait request: done. [pid: 10504] 1: [17:30:18.040338, wr, 10042, ppid: 4792] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.043866, wr, 10042, ppid: 4792] gRPC call [Register] finished: true 1: [17:30:18.064902, wr, 10042, ppid: 4792] succeeded with: 1 1: [17:30:18.065382, el, 10042] lib.cc; on_unload 1: [17:30:18.079522, el, 10969] lib.cc; execve path: /usr/bin/cc 1: [17:30:18.292310, el, 10969] lib.cc; on_load 1: [17:30:18.293409, wr, 10969, ppid: 4792] wrapper: 3.1.3 1: [17:30:18.293545, wr, 10969, ppid: 4792] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46199", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-o", "libfoobar.so", "-shared", "-Wl,-soname,foobar", "flags_filtered_link_1.o", "flags_filtered_link_2.o"] 1: [17:30:18.293673, wr, 10969, ppid: 4792] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46199", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:18.293920, wr, 10969, ppid: 4792] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -o, libfoobar.so, -shared, -Wl,-soname,foobar, flags_filtered_link_1.o, flags_filtered_link_2.o]}, {--destination: [dns:///localhost:46199]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:18.318961, wr, 10969, ppid: 4792] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:18.333851, br, 3389] trying to resolve for library: /usr/bin/cc 1: [17:30:18.337087, wr, 10969, ppid: 4792] gRPC call [Resolve] finished: true 1: [17:30:18.340034, wr, 10969, ppid: 4792] Process spawned. [pid: 11147, command: ["/usr/bin/cc", "-o", "libfoobar.so", "-shared", "-Wl,-soname,foobar", "flags_filtered_link_1.o", "flags_filtered_link_2.o"]] 1: [17:30:18.340202, wr, 10969, ppid: 4792] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [17:30:18.348251, wr, 10969, ppid: 4792] gRPC call [Register] finished: true 1: [17:30:18.348678, wr, 10969, ppid: 4792] Process wait requested. [pid: 11147] 1: [17:30:18.801330, wr, 10969, ppid: 4792] Process wait request: done. [pid: 11147] 1: [17:30:18.801462, wr, 10969, ppid: 4792] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.805009, wr, 10969, ppid: 4792] gRPC call [Register] finished: true 1: [17:30:18.819295, wr, 10969, ppid: 4792] succeeded with: 1 1: [17:30:18.819483, el, 10969] lib.cc; on_unload 1: [17:30:18.829825, el, 11376] lib.cc; execve path: /usr/bin/cc 1: [17:30:18.983204, el, 11376] lib.cc; on_load 1: [17:30:18.984250, wr, 11376, ppid: 4792] wrapper: 3.1.3 1: [17:30:18.984353, wr, 11376, ppid: 4792] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46199", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-o", "flags_filtered_link_3", "-lfoobar", "-L.", "flags_filtered_link_3.c"] 1: [17:30:18.984476, wr, 11376, ppid: 4792] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46199", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:18.984666, wr, 11376, ppid: 4792] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -o, flags_filtered_link_3, -lfoobar, -L., flags_filtered_link_3.c]}, {--destination: [dns:///localhost:46199]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:19.010624, wr, 11376, ppid: 4792] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:19.024188, br, 3389] trying to resolve for library: /usr/bin/cc 1: [17:30:19.027046, wr, 11376, ppid: 4792] gRPC call [Resolve] finished: true 1: [17:30:19.029243, wr, 11376, ppid: 4792] Process spawned. [pid: 11476, command: ["/usr/bin/cc", "-o", "flags_filtered_link_3", "-lfoobar", "-L.", "flags_filtered_link_3.c"]] 1: [17:30:19.029449, wr, 11376, ppid: 4792] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.035443, wr, 11376, ppid: 4792] gRPC call [Register] finished: true 1: [17:30:19.035843, wr, 11376, ppid: 4792] Process wait requested. [pid: 11476] 1: free(): invalid pointer 1: [17:30:19.618534, wr, 11376, ppid: 4792] Process wait request: done. [pid: 11476] 1: [17:30:19.618653, wr, 11376, ppid: 4792] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.622419, wr, 11376, ppid: 4792] gRPC call [Register] finished: true 1: [17:30:19.638448, wr, 11376, ppid: 4792] succeeded with: 1 1: [17:30:19.638697, el, 11376] lib.cc; on_unload 1: [17:30:19.652081, el, 11617] lib.cc; execve path: /usr/bin/cc 1: [17:30:19.812672, el, 11617] lib.cc; on_load 1: [17:30:19.813735, wr, 11617, ppid: 4792] wrapper: 3.1.3 1: [17:30:19.813851, wr, 11617, ppid: 4792] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46199", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-o", "flags_filtered_link_4", "-l", "foobar", "-L", ".", "flags_filtered_link_4.c"] 1: [17:30:19.813980, wr, 11617, ppid: 4792] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46199", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:19.814180, wr, 11617, ppid: 4792] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -o, flags_filtered_link_4, -l, foobar, -L, ., flags_filtered_link_4.c]}, {--destination: [dns:///localhost:46199]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:19.834183, wr, 11617, ppid: 4792] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:19.845688, br, 3389] trying to resolve for library: /usr/bin/cc 1: [17:30:19.848159, wr, 11617, ppid: 4792] gRPC call [Resolve] finished: true 1: [17:30:19.850033, wr, 11617, ppid: 4792] Process spawned. [pid: 11664, command: ["/usr/bin/cc", "-o", "flags_filtered_link_4", "-l", "foobar", "-L", ".", "flags_filtered_link_4.c"]] 1: [17:30:19.850210, wr, 11617, ppid: 4792] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.855328, wr, 11617, ppid: 4792] gRPC call [Register] finished: true 1: [17:30:19.855894, wr, 11617, ppid: 4792] Process wait requested. [pid: 11664] 1: free(): invalid pointer 1: [17:30:20.345466, wr, 11617, ppid: 4792] Process wait request: done. [pid: 11664] 1: [17:30:20.345574, wr, 11617, ppid: 4792] gRPC call requested: supervise::Interceptor::Register 1: [17:30:20.348326, wr, 11617, ppid: 4792] gRPC call [Register] finished: true 1: [17:30:20.361892, wr, 11617, ppid: 4792] succeeded with: 1 1: [17:30:20.362094, el, 11617] lib.cc; on_unload 1: [17:30:20.370915, el, 4792] lib.cc; on_unload 1: [17:30:20.373300, wr, 3767, ppid: 3389] Process wait request: done. [pid: 4792] 1: [17:30:20.373395, wr, 3767, ppid: 3389] gRPC call requested: supervise::Interceptor::Register 1: [17:30:20.376038, wr, 3767, ppid: 3389] gRPC call [Register] finished: true 1: [17:30:20.389300, wr, 3767, ppid: 3389] succeeded with: 1 1: [17:30:20.389479, el, 3767] lib.cc; on_unload 1: [17:30:20.397166, br, 3389] Process wait request: done. [pid: 3767] 1: [17:30:20.397335, br, 3389] Running command. [Exited with 1] 1: [17:30:20.397376, br, 3389] Stopping gRPC server. 1: [17:30:20.412940, br, 3389] succeeded with: 1 1: [17:30:20.422903, br, 3316] Process wait request: done. [pid: 3389] 1: [17:30:20.423055, br, 3316] Running intercept finished. [Exited with 1] 1: [17:30:20.424370, br, 3316] Process spawned. [pid: 11757, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json", "--run-checks", "--verbose"]] 1: [17:30:20.424547, br, 3316] Process wait requested. [pid: 11757] 1: [17:30:20.551248, br, 11757] bear: 3.1.3 1: [17:30:20.551494, br, 11757] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json", "--run-checks", "--verbose"] 1: [17:30:20.551549, br, 11757] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:20.551604, br, 11757] sysname: Linux 1: [17:30:20.551614, br, 11757] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:20.551621, br, 11757] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:20.551627, br, 11757] machine: riscv64 1: [17:30:20.551776, br, 11757] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/flags_filtered_link.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:20.552376, br, 11757] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [17:30:20.558442, br, 11757] [pid: 4792] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","SLEEP":"/usr/bin/sleep","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TMPDIR":"/tmp/lit-tmp-7hscyd2x","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","FALSE":"/usr/bin/false","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:46199","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","ECHO":"/usr/bin/echo"}} 1: [17:30:20.559954, br, 11757] [pid: 4792] recognition failed: No tools recognize this execution. 1: [17:30:20.560854, br, 11757] [pid: 5960] execution: {"executable":"/usr/bin/uname","arguments":["uname"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","SLEEP":"/usr/bin/sleep","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TMPDIR":"/tmp/lit-tmp-7hscyd2x","_":"/usr/bin/uname","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","SHLVL":"1","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","FALSE":"/usr/bin/false","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:46199","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","ECHO":"/usr/bin/echo"}} 1: [17:30:20.560938, br, 11757] [pid: 5960] recognition failed: No tools recognize this execution. 1: [17:30:20.561785, br, 11757] [pid: 6831] execution: {"executable":"/usr/bin/grep","arguments":["grep","-i","darwin"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","SLEEP":"/usr/bin/sleep","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TMPDIR":"/tmp/lit-tmp-7hscyd2x","_":"/usr/bin/grep","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","SHLVL":"1","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","FALSE":"/usr/bin/false","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:46199","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","ECHO":"/usr/bin/echo"}} 1: [17:30:20.561860, br, 11757] [pid: 6831] recognition failed: No tools recognize this execution. 1: [17:30:20.562707, br, 11757] [pid: 7783] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","flags_filtered_link_1.o","-fpic","flags_filtered_link_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","SLEEP":"/usr/bin/sleep","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TMPDIR":"/tmp/lit-tmp-7hscyd2x","_":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","SHLVL":"1","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","FALSE":"/usr/bin/false","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:46199","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","ECHO":"/usr/bin/echo"}} 1: [17:30:20.562947, br, 11757] [pid: 7783] recognized. 1: [17:30:20.564029, br, 11757] [pid: 10504] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","-o","flags_filtered_link_2.o","-fpic","flags_filtered_link_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","SLEEP":"/usr/bin/sleep","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TMPDIR":"/tmp/lit-tmp-7hscyd2x","_":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","SHLVL":"1","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","FALSE":"/usr/bin/false","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:46199","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","ECHO":"/usr/bin/echo"}} 1: [17:30:20.564139, br, 11757] [pid: 10504] recognized. 1: [17:30:20.565133, br, 11757] [pid: 11147] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-o","libfoobar.so","-shared","-Wl,-soname,foobar","flags_filtered_link_1.o","flags_filtered_link_2.o"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","SLEEP":"/usr/bin/sleep","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TMPDIR":"/tmp/lit-tmp-7hscyd2x","_":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","SHLVL":"1","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","FALSE":"/usr/bin/false","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:46199","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","ECHO":"/usr/bin/echo"}} 1: [17:30:20.565244, br, 11757] [pid: 11147] recognition failed: Source files not found for compilation. 1: [17:30:20.566244, br, 11757] [pid: 11476] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-o","flags_filtered_link_3","-lfoobar","-L.","flags_filtered_link_3.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","SLEEP":"/usr/bin/sleep","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TMPDIR":"/tmp/lit-tmp-7hscyd2x","_":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","SHLVL":"1","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","FALSE":"/usr/bin/false","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:46199","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","ECHO":"/usr/bin/echo"}} 1: [17:30:20.566351, br, 11757] [pid: 11476] recognized. 1: [17:30:20.567308, br, 11757] [pid: 11664] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-o","flags_filtered_link_4","-l","foobar","-L",".","flags_filtered_link_4.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMP":"/tmp/lit-tmp-7hscyd2x","CC":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","SLEEP":"/usr/bin/sleep","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","TMPDIR":"/tmp/lit-tmp-7hscyd2x","_":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-7hscyd2x","CXX":"/usr/bin/c++","SOURCE_DATE_EPOCH":"1712597123","SHLVL":"1","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","FALSE":"/usr/bin/false","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:46199","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","ECHO":"/usr/bin/echo"}} 1: [17:30:20.567404, br, 11757] [pid: 11664] recognized. 1: [17:30:20.567720, br, 11757] compilation entries created. [size: 4] 1: [17:30:20.567760, br, 11757] compilation entries to output. [size: 4] 1: [17:30:20.571093, br, 11757] compilation entries written. [size: 4] 1: [17:30:20.571202, br, 11757] succeeded with: 0 1: [17:30:20.577345, br, 3316] Process wait request: done. [pid: 11757] 1: [17:30:20.577475, br, 3316] Running citnames finished. [Exited with 0] 1: [17:30:20.577967, br, 3316] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/wrapper/libtool_commands_captured.sh (97 of 100) 1: FAIL: bear :: cases/compilation/output/duplicate_entries.sh (98 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/duplicate_entries.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh 1: : 'RUN: at line 5'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json count -eq 4 1: : 'RUN: at line 6'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o duplicate_entries_1.o duplicate_entries_1.c 1: : 'RUN: at line 7'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -o duplicate_entries_2.o duplicate_entries_2.c 1: : 'RUN: at line 8'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries_1.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -D_FLAG=value -o duplicate_entries_3.o duplicate_entries_1.c 1: : 'RUN: at line 9'; assert_compilation /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json contains -file /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries_2.c -directory /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -arguments /usr/bin/cc -c -D_FLAG=value -o duplicate_entries_4.o duplicate_entries_2.c 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "cd" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output" 1: $ "/build/bear/src/build/stage/bin/bear" "--bear-path" "/build/bear/src/build/stage/bin/bear" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh" 1: # command stderr: 1: [17:30:12.544040, br, 3285] bear: 3.1.3 1: [17:30:12.544606, br, 3285] arguments: ["/build/bear/src/build/stage/bin/bear", "--bear-path", "/build/bear/src/build/stage/bin/bear", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh"] 1: [17:30:12.544960, br, 3285] 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=1712597123", "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-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x"] 1: [17:30:12.545180, br, 3285] sysname: Linux 1: [17:30:12.545358, br, 3285] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.545604, br, 3285] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.545927, br, 3285] machine: riscv64 1: [17:30:12.546279, br, 3285] arguments parsed: {program: /build/bear/src/build/stage/bin/bear, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh]}, {--bear-path: [/build/bear/src/build/stage/bin/bear]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}]} 1: [17:30:12.548837, br, 3285] Process spawned. [pid: 3380, command: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh"]] 1: [17:30:12.549001, br, 3285] Process wait requested. [pid: 3380] 1: [17:30:12.756693, br, 3380] bear: 3.1.3 1: [17:30:12.757192, br, 3380] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.events.json", "--verbose", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh"] 1: [17:30:12.757436, br, 3380] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:12.757618, br, 3380] sysname: Linux 1: [17:30:12.757755, br, 3380] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.757854, br, 3380] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.757949, br, 3380] machine: riscv64 1: [17:30:12.758301, br, 3380] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh]}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.events.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:12.759000, br, 3380] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:12.835613, br, 3380] Running gRPC server. dns:///localhost:38363 1: [17:30:12.840316, br, 3380] Process spawned. [pid: 3669, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38363", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh"]] 1: [17:30:12.840545, br, 3380] Process wait requested. [pid: 3669] 1: [17:30:13.176185, el, 3669] lib.cc; on_load 1: [17:30:13.177832, wr, 3669, ppid: 3380] wrapper: 3.1.3 1: [17:30:13.178243, wr, 3669, ppid: 3380] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38363", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh"] 1: [17:30:13.178636, wr, 3669, ppid: 3380] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:38363", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.179103, wr, 3669, ppid: 3380] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh]}, {--destination: [dns:///localhost:38363]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:13.201299, wr, 3669, ppid: 3380] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.231293, br, 3380] trying to resolve for library: /usr/bin/sh 1: [17:30:13.235444, wr, 3669, ppid: 3380] gRPC call [Resolve] finished: true 1: [17:30:13.248664, wr, 3669, ppid: 3380] Process spawned. [pid: 4311, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh"]] 1: [17:30:13.248855, wr, 3669, ppid: 3380] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.270543, wr, 3669, ppid: 3380] gRPC call [Register] finished: true 1: [17:30:13.270972, wr, 3669, ppid: 3380] Process wait requested. [pid: 4311] 1: [17:30:13.319137, el, 4311] lib.cc; on_load 1: [17:30:13.345093, el, 4495] lib.cc; execve path: /usr/bin/touch 1: [17:30:13.624517, el, 4495] lib.cc; on_load 1: [17:30:13.625836, wr, 4495, ppid: 4311] wrapper: 3.1.3 1: [17:30:13.626137, wr, 4495, ppid: 4311] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38363", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "duplicate_entries_1.c", "duplicate_entries_2.c"] 1: [17:30:13.626367, wr, 4495, ppid: 4311] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38363", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/touch"] 1: [17:30:13.626742, wr, 4495, ppid: 4311] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, duplicate_entries_1.c, duplicate_entries_2.c]}, {--destination: [dns:///localhost:38363]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [17:30:13.651885, wr, 4495, ppid: 4311] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.940425, br, 3380] trying to resolve for library: /usr/bin/touch 1: [17:30:13.945257, wr, 4495, ppid: 4311] gRPC call [Resolve] finished: true 1: [17:30:13.968936, wr, 4495, ppid: 4311] Process spawned. [pid: 5684, command: ["touch", "duplicate_entries_1.c", "duplicate_entries_2.c"]] 1: [17:30:13.969149, wr, 4495, ppid: 4311] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.979904, wr, 4495, ppid: 4311] gRPC call [Register] finished: true 1: [17:30:13.980774, wr, 4495, ppid: 4311] Process wait requested. [pid: 5684] 1: [17:30:14.045977, el, 5684] lib.cc; on_load 1: [17:30:14.077502, wr, 4495, ppid: 4311] Process wait request: done. [pid: 5684] 1: [17:30:14.077595, wr, 4495, ppid: 4311] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.081185, wr, 4495, ppid: 4311] gRPC call [Register] finished: true 1: [17:30:14.095932, wr, 4495, ppid: 4311] succeeded with: 0 1: [17:30:14.096371, el, 4495] lib.cc; on_unload 1: [17:30:14.110538, el, 6008] lib.cc; execve path: /usr/bin/cc 1: [17:30:14.349157, el, 6008] lib.cc; on_load 1: [17:30:14.350410, wr, 6008, ppid: 4311] wrapper: 3.1.3 1: [17:30:14.350690, wr, 6008, ppid: 4311] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38363", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_1.o"] 1: [17:30:14.350929, wr, 6008, ppid: 4311] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38363", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:14.351242, wr, 6008, ppid: 4311] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, duplicate_entries_1.c, -o, duplicate_entries_1.o]}, {--destination: [dns:///localhost:38363]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:14.376266, wr, 6008, ppid: 4311] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.432191, br, 3380] trying to resolve for library: /usr/bin/cc 1: [17:30:14.447151, wr, 6008, ppid: 4311] gRPC call [Resolve] finished: true 1: [17:30:14.481991, wr, 6008, ppid: 4311] Process spawned. [pid: 6974, command: ["/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_1.o"]] 1: [17:30:14.482178, wr, 6008, ppid: 4311] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.489544, wr, 6008, ppid: 4311] gRPC call [Register] finished: true 1: [17:30:14.489889, wr, 6008, ppid: 4311] Process wait requested. [pid: 6974] 1: free(): invalid pointer 1: [17:30:16.648513, wr, 6008, ppid: 4311] Process wait request: done. [pid: 6974] 1: [17:30:16.648606, wr, 6008, ppid: 4311] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.652039, wr, 6008, ppid: 4311] gRPC call [Register] finished: true 1: [17:30:16.672209, wr, 6008, ppid: 4311] succeeded with: 1 1: [17:30:16.672439, el, 6008] lib.cc; on_unload 1: [17:30:16.685276, el, 10027] lib.cc; execve path: /usr/bin/cc 1: [17:30:16.952290, el, 10027] lib.cc; on_load 1: [17:30:16.953772, wr, 10027, ppid: 4311] wrapper: 3.1.3 1: [17:30:16.954274, wr, 10027, ppid: 4311] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38363", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_2.o"] 1: [17:30:16.954424, wr, 10027, ppid: 4311] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38363", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:16.954656, wr, 10027, ppid: 4311] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, duplicate_entries_2.c, -o, duplicate_entries_2.o]}, {--destination: [dns:///localhost:38363]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:16.997978, wr, 10027, ppid: 4311] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:17.266289, br, 3380] trying to resolve for library: /usr/bin/cc 1: [17:30:17.269581, wr, 10027, ppid: 4311] gRPC call [Resolve] finished: true 1: [17:30:17.272359, wr, 10027, ppid: 4311] Process spawned. [pid: 10473, command: ["/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_2.o"]] 1: [17:30:17.272858, wr, 10027, ppid: 4311] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.279731, wr, 10027, ppid: 4311] gRPC call [Register] finished: true 1: [17:30:17.280326, wr, 10027, ppid: 4311] Process wait requested. [pid: 10473] 1: free(): invalid pointer 1: [17:30:17.962840, wr, 10027, ppid: 4311] Process wait request: done. [pid: 10473] 1: [17:30:17.962955, wr, 10027, ppid: 4311] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.967614, wr, 10027, ppid: 4311] gRPC call [Register] finished: true 1: [17:30:17.988936, wr, 10027, ppid: 4311] succeeded with: 1 1: [17:30:17.989121, el, 10027] lib.cc; on_unload 1: [17:30:18.000976, el, 10951] lib.cc; execve path: /usr/bin/cc 1: [17:30:18.203419, el, 10951] lib.cc; on_load 1: [17:30:18.204966, wr, 10951, ppid: 4311] wrapper: 3.1.3 1: [17:30:18.205355, wr, 10951, ppid: 4311] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38363", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_3.o", "-D_FLAG=value"] 1: [17:30:18.205982, wr, 10951, ppid: 4311] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38363", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:18.206377, wr, 10951, ppid: 4311] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, duplicate_entries_1.c, -o, duplicate_entries_3.o, -D_FLAG=value]}, {--destination: [dns:///localhost:38363]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:18.234140, wr, 10951, ppid: 4311] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:18.246463, br, 3380] trying to resolve for library: /usr/bin/cc 1: [17:30:18.252804, wr, 10951, ppid: 4311] gRPC call [Resolve] finished: true 1: [17:30:18.258365, wr, 10951, ppid: 4311] Process spawned. [pid: 11082, command: ["/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_3.o", "-D_FLAG=value"]] 1: [17:30:18.258539, wr, 10951, ppid: 4311] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.264087, wr, 10951, ppid: 4311] gRPC call [Register] finished: true 1: [17:30:18.264506, wr, 10951, ppid: 4311] Process wait requested. [pid: 11082] 1: free(): invalid pointer 1: [17:30:18.750772, wr, 10951, ppid: 4311] Process wait request: done. [pid: 11082] 1: [17:30:18.750862, wr, 10951, ppid: 4311] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.753781, wr, 10951, ppid: 4311] gRPC call [Register] finished: true 1: [17:30:18.768604, wr, 10951, ppid: 4311] succeeded with: 1 1: [17:30:18.768823, el, 10951] lib.cc; on_unload 1: [17:30:18.780177, el, 11354] lib.cc; execve path: /usr/bin/cc 1: [17:30:18.972533, el, 11354] lib.cc; on_load 1: [17:30:18.973555, wr, 11354, ppid: 4311] wrapper: 3.1.3 1: [17:30:18.973647, wr, 11354, ppid: 4311] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38363", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_4.o", "-D_FLAG=value"] 1: [17:30:18.973763, wr, 11354, ppid: 4311] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38363", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:18.973927, wr, 11354, ppid: 4311] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, duplicate_entries_2.c, -o, duplicate_entries_4.o, -D_FLAG=value]}, {--destination: [dns:///localhost:38363]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:18.997254, wr, 11354, ppid: 4311] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:19.262635, br, 3380] trying to resolve for library: /usr/bin/cc 1: [17:30:19.265511, wr, 11354, ppid: 4311] gRPC call [Resolve] finished: true 1: [17:30:19.267450, wr, 11354, ppid: 4311] Process spawned. [pid: 11541, command: ["/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_4.o", "-D_FLAG=value"]] 1: [17:30:19.267628, wr, 11354, ppid: 4311] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.272943, wr, 11354, ppid: 4311] gRPC call [Register] finished: true 1: [17:30:19.273262, wr, 11354, ppid: 4311] Process wait requested. [pid: 11541] 1: free(): invalid pointer 1: [17:30:19.717789, wr, 11354, ppid: 4311] Process wait request: done. [pid: 11541] 1: [17:30:19.717914, wr, 11354, ppid: 4311] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.721105, wr, 11354, ppid: 4311] gRPC call [Register] finished: true 1: [17:30:19.735653, wr, 11354, ppid: 4311] succeeded with: 1 1: [17:30:19.735892, el, 11354] lib.cc; on_unload 1: [17:30:19.747564, el, 11639] lib.cc; execve path: /usr/bin/cc 1: [17:30:19.915321, el, 11639] lib.cc; on_load 1: [17:30:19.916396, wr, 11639, ppid: 4311] wrapper: 3.1.3 1: [17:30:19.916487, wr, 11639, ppid: 4311] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38363", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_1.o"] 1: [17:30:19.916624, wr, 11639, ppid: 4311] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38363", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:19.916819, wr, 11639, ppid: 4311] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, duplicate_entries_1.c, -o, duplicate_entries_1.o]}, {--destination: [dns:///localhost:38363]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:19.937209, wr, 11639, ppid: 4311] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:19.949188, br, 3380] trying to resolve for library: /usr/bin/cc 1: [17:30:19.952278, wr, 11639, ppid: 4311] gRPC call [Resolve] finished: true 1: [17:30:19.954226, wr, 11639, ppid: 4311] Process spawned. [pid: 11706, command: ["/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_1.o"]] 1: [17:30:19.954392, wr, 11639, ppid: 4311] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.959454, wr, 11639, ppid: 4311] gRPC call [Register] finished: true 1: [17:30:19.959797, wr, 11639, ppid: 4311] Process wait requested. [pid: 11706] 1: free(): invalid pointer 1: [17:30:20.428268, wr, 11639, ppid: 4311] Process wait request: done. [pid: 11706] 1: [17:30:20.428363, wr, 11639, ppid: 4311] gRPC call requested: supervise::Interceptor::Register 1: [17:30:20.430852, wr, 11639, ppid: 4311] gRPC call [Register] finished: true 1: [17:30:20.637460, wr, 11639, ppid: 4311] succeeded with: 1 1: [17:30:20.637646, el, 11639] lib.cc; on_unload 1: [17:30:20.646725, el, 11779] lib.cc; execve path: /usr/bin/cc 1: [17:30:20.762705, el, 11779] lib.cc; on_load 1: [17:30:20.763577, wr, 11779, ppid: 4311] wrapper: 3.1.3 1: [17:30:20.763661, wr, 11779, ppid: 4311] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38363", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_2.o"] 1: [17:30:20.763764, wr, 11779, ppid: 4311] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38363", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:20.763915, wr, 11779, ppid: 4311] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, duplicate_entries_2.c, -o, duplicate_entries_2.o]}, {--destination: [dns:///localhost:38363]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:20.780855, wr, 11779, ppid: 4311] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:20.790658, br, 3380] trying to resolve for library: /usr/bin/cc 1: [17:30:20.792904, wr, 11779, ppid: 4311] gRPC call [Resolve] finished: true 1: [17:30:20.794523, wr, 11779, ppid: 4311] Process spawned. [pid: 11833, command: ["/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_2.o"]] 1: [17:30:20.794689, wr, 11779, ppid: 4311] gRPC call requested: supervise::Interceptor::Register 1: [17:30:20.800796, wr, 11779, ppid: 4311] gRPC call [Register] finished: true 1: [17:30:20.801189, wr, 11779, ppid: 4311] Process wait requested. [pid: 11833] 1: free(): invalid pointer 1: [17:30:21.072673, wr, 11779, ppid: 4311] Process wait request: done. [pid: 11833] 1: [17:30:21.072756, wr, 11779, ppid: 4311] gRPC call requested: supervise::Interceptor::Register 1: [17:30:21.075460, wr, 11779, ppid: 4311] gRPC call [Register] finished: true 1: [17:30:21.338459, wr, 11779, ppid: 4311] succeeded with: 1 1: [17:30:21.338623, el, 11779] lib.cc; on_unload 1: [17:30:21.347376, el, 11979] lib.cc; execve path: /usr/bin/cc 1: [17:30:21.489165, el, 11979] lib.cc; on_load 1: [17:30:21.490136, wr, 11979, ppid: 4311] wrapper: 3.1.3 1: [17:30:21.490243, wr, 11979, ppid: 4311] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38363", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_3.o", "-D_FLAG=value"] 1: [17:30:21.490341, wr, 11979, ppid: 4311] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38363", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:21.490520, wr, 11979, ppid: 4311] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, duplicate_entries_1.c, -o, duplicate_entries_3.o, -D_FLAG=value]}, {--destination: [dns:///localhost:38363]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:21.507030, wr, 11979, ppid: 4311] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:21.516345, br, 3380] trying to resolve for library: /usr/bin/cc 1: [17:30:21.518380, wr, 11979, ppid: 4311] gRPC call [Resolve] finished: true 1: [17:30:21.519948, wr, 11979, ppid: 4311] Process spawned. [pid: 12004, command: ["/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_3.o", "-D_FLAG=value"]] 1: [17:30:21.520075, wr, 11979, ppid: 4311] gRPC call requested: supervise::Interceptor::Register 1: [17:30:21.523906, wr, 11979, ppid: 4311] gRPC call [Register] finished: true 1: [17:30:21.524172, wr, 11979, ppid: 4311] Process wait requested. [pid: 12004] 1: free(): invalid pointer 1: [17:30:21.835071, wr, 11979, ppid: 4311] Process wait request: done. [pid: 12004] 1: [17:30:21.835155, wr, 11979, ppid: 4311] gRPC call requested: supervise::Interceptor::Register 1: [17:30:21.837526, wr, 11979, ppid: 4311] gRPC call [Register] finished: true 1: [17:30:21.893648, wr, 11979, ppid: 4311] succeeded with: 1 1: [17:30:21.893816, el, 11979] lib.cc; on_unload 1: [17:30:21.902670, el, 12050] lib.cc; execve path: /usr/bin/cc 1: [17:30:22.033835, el, 12050] lib.cc; on_load 1: [17:30:22.034852, wr, 12050, ppid: 4311] wrapper: 3.1.3 1: [17:30:22.034949, wr, 12050, ppid: 4311] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38363", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_4.o", "-D_FLAG=value"] 1: [17:30:22.035050, wr, 12050, ppid: 4311] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:38363", "LLVM_DISABLE_CRASH_REPORT=1", "ECHO=/usr/bin/echo", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:22.035223, wr, 12050, ppid: 4311] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -c, duplicate_entries_2.c, -o, duplicate_entries_4.o, -D_FLAG=value]}, {--destination: [dns:///localhost:38363]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:22.053731, wr, 12050, ppid: 4311] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:22.064167, br, 3380] trying to resolve for library: /usr/bin/cc 1: [17:30:22.066364, wr, 12050, ppid: 4311] gRPC call [Resolve] finished: true 1: [17:30:22.068158, wr, 12050, ppid: 4311] Process spawned. [pid: 12094, command: ["/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_4.o", "-D_FLAG=value"]] 1: [17:30:22.068292, wr, 12050, ppid: 4311] gRPC call requested: supervise::Interceptor::Register 1: [17:30:22.072462, wr, 12050, ppid: 4311] gRPC call [Register] finished: true 1: [17:30:22.072735, wr, 12050, ppid: 4311] Process wait requested. [pid: 12094] 1: free(): invalid pointer 1: [17:30:22.378097, wr, 12050, ppid: 4311] Process wait request: done. [pid: 12094] 1: [17:30:22.378179, wr, 12050, ppid: 4311] gRPC call requested: supervise::Interceptor::Register 1: [17:30:22.380478, wr, 12050, ppid: 4311] gRPC call [Register] finished: true 1: [17:30:22.488344, wr, 12050, ppid: 4311] succeeded with: 1 1: [17:30:22.488513, el, 12050] lib.cc; on_unload 1: [17:30:22.495782, el, 4311] lib.cc; on_unload 1: [17:30:22.497459, wr, 3669, ppid: 3380] Process wait request: done. [pid: 4311] 1: [17:30:22.497534, wr, 3669, ppid: 3380] gRPC call requested: supervise::Interceptor::Register 1: [17:30:22.499863, wr, 3669, ppid: 3380] gRPC call [Register] finished: true 1: [17:30:22.510537, wr, 3669, ppid: 3380] succeeded with: 1 1: [17:30:22.510725, el, 3669] lib.cc; on_unload 1: [17:30:22.518885, br, 3380] Process wait request: done. [pid: 3669] 1: [17:30:22.519026, br, 3380] Running command. [Exited with 1] 1: [17:30:22.519062, br, 3380] Stopping gRPC server. 1: [17:30:22.531037, br, 3380] succeeded with: 1 1: [17:30:22.539273, br, 3285] Process wait request: done. [pid: 3380] 1: [17:30:22.539399, br, 3285] Running intercept finished. [Exited with 1] 1: [17:30:22.540302, br, 3285] Process spawned. [pid: 12169, command: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json", "--run-checks", "--verbose"]] 1: [17:30:22.540441, br, 3285] Process wait requested. [pid: 12169] 1: [17:30:22.644713, br, 12169] bear: 3.1.3 1: [17:30:22.644929, br, 12169] arguments: ["/build/bear/src/build/stage/bin/bear", "citnames", "--input", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.events.json", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json", "--run-checks", "--verbose"] 1: [17:30:22.644977, br, 12169] 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=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:22.645019, br, 12169] sysname: Linux 1: [17:30:22.645028, br, 12169] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:22.645034, br, 12169] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:22.645040, br, 12169] machine: riscv64 1: [17:30:22.645157, br, 12169] arguments parsed: {program: citnames, arguments: [{--input: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.events.json]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/duplicate_entries.sh.tmp.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]} 1: [17:30:22.645616, br, 12169] Configuration: {"compilation":{"compilers_to_recognize":[{"executable":"/usr/bin/cc"},{"executable":"/usr/bin/c++"}]},"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}} 1: [17:30:22.652111, br, 12169] [pid: 4311] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","TEMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","LC_CTYPE":"en_US.UTF-8","SLEEP":"/usr/bin/sleep","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SOURCE_DATE_EPOCH":"1712597123","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38363","INTERCEPT_VERBOSE":"true","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","TERM":"tmux-256color","CXX":"/usr/bin/c++","TMPDIR":"/tmp/lit-tmp-7hscyd2x","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-7hscyd2x"}} 1: [17:30:22.653428, br, 12169] [pid: 4311] recognition failed: No tools recognize this execution. 1: [17:30:22.654240, br, 12169] [pid: 5684] execution: {"executable":"/usr/bin/touch","arguments":["touch","duplicate_entries_1.c","duplicate_entries_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","TEMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","LC_CTYPE":"en_US.UTF-8","SLEEP":"/usr/bin/sleep","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SOURCE_DATE_EPOCH":"1712597123","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38363","_":"/usr/bin/touch","INTERCEPT_VERBOSE":"true","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","TERM":"tmux-256color","CXX":"/usr/bin/c++","TMPDIR":"/tmp/lit-tmp-7hscyd2x","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-7hscyd2x"}} 1: [17:30:22.654297, br, 12169] [pid: 5684] recognition failed: No tools recognize this execution. 1: [17:30:22.655192, br, 12169] [pid: 6974] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","duplicate_entries_1.c","-o","duplicate_entries_1.o"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","TEMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","LC_CTYPE":"en_US.UTF-8","SLEEP":"/usr/bin/sleep","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SOURCE_DATE_EPOCH":"1712597123","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38363","_":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","TERM":"tmux-256color","CXX":"/usr/bin/c++","TMPDIR":"/tmp/lit-tmp-7hscyd2x","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-7hscyd2x"}} 1: [17:30:22.655535, br, 12169] [pid: 6974] recognized. 1: [17:30:22.656973, br, 12169] [pid: 10473] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","duplicate_entries_2.c","-o","duplicate_entries_2.o"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","TEMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","LC_CTYPE":"en_US.UTF-8","SLEEP":"/usr/bin/sleep","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SOURCE_DATE_EPOCH":"1712597123","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38363","_":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","TERM":"tmux-256color","CXX":"/usr/bin/c++","TMPDIR":"/tmp/lit-tmp-7hscyd2x","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-7hscyd2x"}} 1: [17:30:22.657083, br, 12169] [pid: 10473] recognized. 1: [17:30:22.658487, br, 12169] [pid: 11082] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","duplicate_entries_1.c","-o","duplicate_entries_3.o","-D_FLAG=value"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","TEMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","LC_CTYPE":"en_US.UTF-8","SLEEP":"/usr/bin/sleep","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SOURCE_DATE_EPOCH":"1712597123","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38363","_":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","TERM":"tmux-256color","CXX":"/usr/bin/c++","TMPDIR":"/tmp/lit-tmp-7hscyd2x","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-7hscyd2x"}} 1: [17:30:22.658610, br, 12169] [pid: 11082] recognized. 1: [17:30:22.659693, br, 12169] [pid: 11541] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","duplicate_entries_2.c","-o","duplicate_entries_4.o","-D_FLAG=value"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","TEMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","LC_CTYPE":"en_US.UTF-8","SLEEP":"/usr/bin/sleep","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SOURCE_DATE_EPOCH":"1712597123","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38363","_":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","TERM":"tmux-256color","CXX":"/usr/bin/c++","TMPDIR":"/tmp/lit-tmp-7hscyd2x","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-7hscyd2x"}} 1: [17:30:22.659804, br, 12169] [pid: 11541] recognized. 1: [17:30:22.660794, br, 12169] [pid: 11706] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","duplicate_entries_1.c","-o","duplicate_entries_1.o"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","TEMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","LC_CTYPE":"en_US.UTF-8","SLEEP":"/usr/bin/sleep","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SOURCE_DATE_EPOCH":"1712597123","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38363","_":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","TERM":"tmux-256color","CXX":"/usr/bin/c++","TMPDIR":"/tmp/lit-tmp-7hscyd2x","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-7hscyd2x"}} 1: [17:30:22.660875, br, 12169] [pid: 11706] recognized. 1: [17:30:22.661883, br, 12169] [pid: 11833] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","duplicate_entries_2.c","-o","duplicate_entries_2.o"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","TEMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","LC_CTYPE":"en_US.UTF-8","SLEEP":"/usr/bin/sleep","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SOURCE_DATE_EPOCH":"1712597123","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38363","_":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","TERM":"tmux-256color","CXX":"/usr/bin/c++","TMPDIR":"/tmp/lit-tmp-7hscyd2x","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-7hscyd2x"}} 1: [17:30:22.661987, br, 12169] [pid: 11833] recognized. 1: [17:30:22.662920, br, 12169] [pid: 12004] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","duplicate_entries_1.c","-o","duplicate_entries_3.o","-D_FLAG=value"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","TEMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","LC_CTYPE":"en_US.UTF-8","SLEEP":"/usr/bin/sleep","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SOURCE_DATE_EPOCH":"1712597123","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38363","_":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","TERM":"tmux-256color","CXX":"/usr/bin/c++","TMPDIR":"/tmp/lit-tmp-7hscyd2x","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-7hscyd2x"}} 1: [17:30:22.663005, br, 12169] [pid: 12004] recognized. 1: [17:30:22.663873, br, 12169] [pid: 12094] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","duplicate_entries_2.c","-o","duplicate_entries_4.o","-D_FLAG=value"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","TEMP":"/tmp/lit-tmp-7hscyd2x","TEMPDIR":"/tmp/lit-tmp-7hscyd2x","LC_CTYPE":"en_US.UTF-8","SLEEP":"/usr/bin/sleep","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","SOURCE_DATE_EPOCH":"1712597123","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38363","_":"/usr/bin/cc","INTERCEPT_VERBOSE":"true","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","TERM":"tmux-256color","CXX":"/usr/bin/c++","TMPDIR":"/tmp/lit-tmp-7hscyd2x","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-7hscyd2x"}} 1: [17:30:22.663955, br, 12169] [pid: 12094] recognized. 1: [17:30:22.664263, br, 12169] compilation entries created. [size: 8] 1: [17:30:22.664296, br, 12169] compilation entries to output. [size: 8] 1: [17:30:22.665284, br, 12169] compilation entries written. [size: 4] 1: [17:30:22.665390, br, 12169] succeeded with: 0 1: [17:30:22.670586, br, 3285] Process wait request: done. [pid: 12169] 1: [17:30:22.670700, br, 3285] Running citnames finished. [Exited with 0] 1: [17:30:22.671111, br, 3285] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/intercept/preload/libtool_commands_captured.sh (99 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/libtool_commands_captured.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /build/bear/src/build/stage/bin/bear intercept --wrapper /build/bear/src/build/stage/lib/bear/wrapper --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d --force-preload --verbose --output /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/libtool_commands_captured.sh.tmp.json -- /usr/bin/sh /build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh 1: : 'RUN: at line 5'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/libtool_commands_captured.sh.tmp.json count -ge 4 1: : 'RUN: at line 6'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/libtool_commands_captured.sh.tmp.json contains -program /usr/bin/cc -arguments /usr/bin/cc -g -O -c main.c -o main.o 1: : 'RUN: at line 7'; assert_intercepted /build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/libtool_commands_captured.sh.tmp.json contains -program /usr/bin/cc -arguments /usr/bin/cc -g -O -c hello.c -o hello.o 1: -- 1: Exit Code: 1 1: 1: Command Output (stdout): 1: -- 1: $ ":" "RUN: at line 4" 1: $ "/build/bear/src/build/stage/bin/bear" "intercept" "--wrapper" "/build/bear/src/build/stage/lib/bear/wrapper" "--library" "/build/bear/src/build/stage/lib/bear/libexec.so" "--wrapper-dir" "/build/bear/src/build/stage/lib/bear/wrapper.d" "--force-preload" "--verbose" "--output" "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/libtool_commands_captured.sh.tmp.json" "--" "/usr/bin/sh" "/build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh" 1: # command output: 1: libtool: compile: /usr/bin/cc -g -O -c main.c -fPIC -DPIC -o .libs/main.o 1: libtool: compile: /usr/bin/cc -g -O -c hello.c -fPIC -DPIC -o .libs/hello.o 1: 1: # command stderr: 1: [17:30:12.953765, br, 3401] bear: 3.1.3 1: [17:30:12.954405, br, 3401] arguments: ["/build/bear/src/build/stage/bin/bear", "intercept", "--wrapper", "/build/bear/src/build/stage/lib/bear/wrapper", "--library", "/build/bear/src/build/stage/lib/bear/libexec.so", "--wrapper-dir", "/build/bear/src/build/stage/lib/bear/wrapper.d", "--force-preload", "--verbose", "--output", "/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/libtool_commands_captured.sh.tmp.json", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh"] 1: [17:30:12.954779, br, 3401] 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=1712597123", "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-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x"] 1: [17:30:12.955071, br, 3401] sysname: Linux 1: [17:30:12.955316, br, 3401] release: 6.1.61-3-sophgo-08357-g369f7207fe69 1: [17:30:12.955612, br, 3401] version: #1 SMP Sat, 30 Dec 2023 06:54:24 +0000 1: [17:30:12.955787, br, 3401] machine: riscv64 1: [17:30:12.956205, br, 3401] arguments parsed: {program: intercept, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh]}, {--force-preload: []}, {--library: [/build/bear/src/build/stage/lib/bear/libexec.so]}, {--output: [/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload/Output/libtool_commands_captured.sh.tmp.json]}, {--verbose: []}, {--wrapper: [/build/bear/src/build/stage/lib/bear/wrapper]}, {--wrapper-dir: [/build/bear/src/build/stage/lib/bear/wrapper.d]}, {command: [intercept]}]} 1: [17:30:12.957002, br, 3401] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [17:30:13.027986, br, 3401] Running gRPC server. dns:///localhost:43537 1: [17:30:13.045778, br, 3401] Process spawned. [pid: 3932, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh"]] 1: [17:30:13.046222, br, 3401] Process wait requested. [pid: 3932] 1: [17:30:13.582284, el, 3932] lib.cc; on_load 1: [17:30:13.583562, wr, 3932, ppid: 3401] wrapper: 3.1.3 1: [17:30:13.583888, wr, 3932, ppid: 3401] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh"] 1: [17:30:13.584149, wr, 3932, ppid: 3401] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "INTERCEPT_VERBOSE=true", "LC_CTYPE=en_US.UTF-8", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1712597123", "TEMP=/tmp/lit-tmp-7hscyd2x", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-7hscyd2x", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "TRUE=/usr/bin/true"] 1: [17:30:13.584502, wr, 3932, ppid: 3401] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sh, /build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [17:30:13.867866, wr, 3932, ppid: 3401] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:13.894126, br, 3401] trying to resolve for library: /usr/bin/sh 1: [17:30:13.902091, wr, 3932, ppid: 3401] gRPC call [Resolve] finished: true 1: [17:30:13.924359, wr, 3932, ppid: 3401] Process spawned. [pid: 5583, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh"]] 1: [17:30:13.924804, wr, 3932, ppid: 3401] gRPC call requested: supervise::Interceptor::Register 1: [17:30:13.939522, wr, 3932, ppid: 3401] gRPC call [Register] finished: true 1: [17:30:13.940081, wr, 3932, ppid: 3401] Process wait requested. [pid: 5583] 1: [17:30:13.963119, el, 5583] lib.cc; on_load 1: [17:30:13.985115, el, 5738] lib.cc; execve path: /usr/bin/libtool 1: [17:30:14.261739, el, 5738] lib.cc; on_load 1: [17:30:14.263437, wr, 5738, ppid: 5583] wrapper: 3.1.3 1: [17:30:14.263799, wr, 5738, ppid: 5583] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/libtool", "--", "/usr/bin/libtool", "--mode=compile", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-c", "main.c", "-o", "main.o"] 1: [17:30:14.264091, wr, 5738, ppid: 5583] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "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=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/libtool"] 1: [17:30:14.264553, wr, 5738, ppid: 5583] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/libtool, --mode=compile, --tag=CC, /usr/bin/cc, -g, -O, -c, main.c, -o, main.o]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/libtool]}, {--verbose: []}]} 1: [17:30:14.314555, wr, 5738, ppid: 5583] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:14.331575, br, 3401] trying to resolve for library: /usr/bin/libtool 1: [17:30:14.336426, wr, 5738, ppid: 5583] gRPC call [Resolve] finished: true 1: [17:30:14.349901, wr, 5738, ppid: 5583] Process spawned. [pid: 6702, command: ["/usr/bin/libtool", "--mode=compile", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-c", "main.c", "-o", "main.o"]] 1: [17:30:14.350112, wr, 5738, ppid: 5583] gRPC call requested: supervise::Interceptor::Register 1: [17:30:14.357600, wr, 5738, ppid: 5583] gRPC call [Register] finished: true 1: [17:30:14.358804, wr, 5738, ppid: 5583] Process wait requested. [pid: 6702] 1: [17:30:14.362431, el, 6702] lib.cc; on_load 1: [17:30:14.387945, el, 6819] lib.cc; on_unload 1: [17:30:14.441059, el, 6924] lib.cc; on_unload 1: [17:30:14.453069, el, 6930] lib.cc; execve path: /usr/bin/sed 1: [17:30:14.803564, el, 6930] lib.cc; on_load 1: [17:30:14.805457, wr, 6930, ppid: 6884] wrapper: 3.1.3 1: [17:30:14.805749, wr, 6930, ppid: 6884] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|^.*/||"] 1: [17:30:14.805990, wr, 6930, ppid: 6884] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [17:30:14.806501, wr, 6930, ppid: 6884] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|^.*/||]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [17:30:14.837944, wr, 6930, ppid: 6884] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:15.105306, br, 3401] trying to resolve for library: /usr/bin/sed 1: [17:30:15.108459, wr, 6930, ppid: 6884] gRPC call [Resolve] finished: true 1: [17:30:15.111753, wr, 6930, ppid: 6884] Process spawned. [pid: 8170, command: ["/usr/bin/sed", "s|^.*/||"]] 1: [17:30:15.111938, wr, 6930, ppid: 6884] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.121851, el, 8170] lib.cc; on_load 1: [17:30:15.123463, el, 8170] lib.cc; on_unload 1: [17:30:15.125637, wr, 6930, ppid: 6884] gRPC call [Register] finished: true 1: [17:30:15.126035, wr, 6930, ppid: 6884] Process wait requested. [pid: 8170] 1: [17:30:15.126694, wr, 6930, ppid: 6884] Process wait request: done. [pid: 8170] 1: [17:30:15.126911, wr, 6930, ppid: 6884] gRPC call requested: supervise::Interceptor::Register 1: [17:30:15.129796, wr, 6930, ppid: 6884] gRPC call [Register] finished: true 1: [17:30:15.159057, wr, 6930, ppid: 6884] succeeded with: 0 1: [17:30:15.159457, el, 6930] lib.cc; on_unload 1: [17:30:15.178841, el, 6884] lib.cc; on_unload 1: [17:30:15.213434, el, 8236] lib.cc; on_unload 1: [17:30:15.541979, el, 8579] lib.cc; execve path: /usr/bin/rm 1: [17:30:15.958581, el, 8579] lib.cc; on_load 1: [17:30:15.962084, wr, 8579, ppid: 6702] wrapper: 3.1.3 1: [17:30:15.962395, wr, 8579, ppid: 6702] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/rm", "--", "rm", "-f", "main.o", ".libs/main.o", "main.lo", "main.loT"] 1: [17:30:15.962732, wr, 8579, ppid: 6702] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/rm"] 1: [17:30:15.963189, wr, 8579, ppid: 6702] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [rm, -f, main.o, .libs/main.o, main.lo, main.loT]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/rm]}, {--verbose: []}]} 1: [17:30:15.985293, wr, 8579, ppid: 6702] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:16.007915, br, 3401] trying to resolve for library: /usr/bin/rm 1: [17:30:16.016766, wr, 8579, ppid: 6702] gRPC call [Resolve] finished: true 1: [17:30:16.033135, wr, 8579, ppid: 6702] Process spawned. [pid: 9209, command: ["rm", "-f", "main.o", ".libs/main.o", "main.lo", "main.loT"]] 1: [17:30:16.033372, wr, 8579, ppid: 6702] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.040065, wr, 8579, ppid: 6702] gRPC call [Register] finished: true 1: [17:30:16.040647, wr, 8579, ppid: 6702] Process wait requested. [pid: 9209] 1: [17:30:16.051071, el, 9209] lib.cc; on_load 1: [17:30:16.074233, wr, 8579, ppid: 6702] Process wait request: done. [pid: 9209] 1: [17:30:16.074307, wr, 8579, ppid: 6702] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.077245, wr, 8579, ppid: 6702] gRPC call [Register] finished: true 1: [17:30:16.090624, wr, 8579, ppid: 6702] succeeded with: 0 1: [17:30:16.091013, el, 8579] lib.cc; on_unload 1: [17:30:16.113824, el, 9351] lib.cc; on_unload 1: [17:30:16.114110, el, 9353] lib.cc; execve path: /usr/bin/sed 1: [17:30:16.381137, el, 9353] lib.cc; on_load 1: [17:30:16.382597, wr, 9353, ppid: 9346] wrapper: 3.1.3 1: [17:30:16.382915, wr, 9353, ppid: 9346] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|:*$||"] 1: [17:30:16.383187, wr, 9353, ppid: 9346] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [17:30:16.383555, wr, 9353, ppid: 9346] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|:*$||]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [17:30:16.408388, wr, 9353, ppid: 9346] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:16.430852, br, 3401] trying to resolve for library: /usr/bin/sed 1: [17:30:16.437400, wr, 9353, ppid: 9346] gRPC call [Resolve] finished: true 1: [17:30:16.443224, wr, 9353, ppid: 9346] Process spawned. [pid: 9700, command: ["/usr/bin/sed", "s|:*$||"]] 1: [17:30:16.443554, wr, 9353, ppid: 9346] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.449916, el, 9700] lib.cc; on_load 1: [17:30:16.450562, el, 9700] lib.cc; on_unload 1: [17:30:16.706598, wr, 9353, ppid: 9346] gRPC call [Register] finished: true 1: [17:30:16.706956, wr, 9353, ppid: 9346] Process wait requested. [pid: 9700] 1: [17:30:16.710216, wr, 9353, ppid: 9346] Process wait request: done. [pid: 9700] 1: [17:30:16.710457, wr, 9353, ppid: 9346] gRPC call requested: supervise::Interceptor::Register 1: [17:30:16.714691, wr, 9353, ppid: 9346] gRPC call [Register] finished: true 1: [17:30:16.747938, wr, 9353, ppid: 9346] succeeded with: 0 1: [17:30:16.748620, el, 9353] lib.cc; on_unload 1: [17:30:16.761285, el, 9346] lib.cc; on_unload 1: [17:30:17.052778, br, 3401] trying to resolve for library: /usr/bin/mkdir 1: [17:30:17.337519, el, 10529] lib.cc; on_unload 1: [17:30:17.338574, el, 10530] lib.cc; execve path: /usr/bin/sed 1: [17:30:17.524047, el, 10530] lib.cc; on_load 1: [17:30:17.525375, wr, 10530, ppid: 10526] wrapper: 3.1.3 1: [17:30:17.525674, wr, 10530, ppid: 10526] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "-e", "s/\\([\"`\\\\]\\)/\\\\\\1/g", "-e", " s/\\\\\\\\\\\\\\\\/&\\\n/g\n s/^\\\\\\\\\\$/\\\\&/\n s/\\([^\\\\]\\)\\\\\\\\\\$/\\1\\\\\\\\\\\\\\$/g\n s/\\n//g"] 1: [17:30:17.525905, wr, 10530, ppid: 10526] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [17:30:17.526228, wr, 10530, ppid: 10526] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, -e, s/\(["`\\]\)/\\\1/g, -e, s/\\\\\\\\/&\ 1: /g 1: s/^\\\\\$/\\&/ 1: s/\([^\\]\)\\\\\$/\1\\\\\\\$/g 1: s/\n//g]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [17:30:17.550182, wr, 10530, ppid: 10526] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:17.565611, br, 3401] trying to resolve for library: /usr/bin/sed 1: [17:30:17.569126, wr, 10530, ppid: 10526] gRPC call [Resolve] finished: true 1: [17:30:17.571619, wr, 10530, ppid: 10526] Process spawned. [pid: 10690, command: ["/usr/bin/sed", "-e", "s/\\([\"`\\\\]\\)/\\\\\\1/g", "-e", " s/\\\\\\\\\\\\\\\\/&\\\n/g\n s/^\\\\\\\\\\$/\\\\&/\n s/\\([^\\\\]\\)\\\\\\\\\\$/\\1\\\\\\\\\\\\\\$/g\n s/\\n//g"]] 1: [17:30:17.571836, wr, 10530, ppid: 10526] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.580142, wr, 10530, ppid: 10526] gRPC call [Register] finished: true 1: [17:30:17.580618, wr, 10530, ppid: 10526] Process wait requested. [pid: 10690] 1: [17:30:17.581596, el, 10690] lib.cc; on_load 1: [17:30:17.582929, el, 10690] lib.cc; on_unload 1: [17:30:17.584391, wr, 10530, ppid: 10526] Process wait request: done. [pid: 10690] 1: [17:30:17.584883, wr, 10530, ppid: 10526] gRPC call requested: supervise::Interceptor::Register 1: [17:30:17.588770, wr, 10530, ppid: 10526] gRPC call [Register] finished: true 1: [17:30:17.853646, wr, 10530, ppid: 10526] succeeded with: 0 1: [17:30:17.853862, el, 10530] lib.cc; on_unload 1: [17:30:17.863861, el, 10526] lib.cc; on_unload 1: [17:30:17.869323, el, 10915] lib.cc; execve path: /usr/bin/cc 1: [17:30:18.099559, el, 10915] lib.cc; on_load 1: [17:30:18.100980, wr, 10915, ppid: 6702] wrapper: 3.1.3 1: [17:30:18.101113, wr, 10915, ppid: 6702] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-g", "-O", "-c", "main.c", "-fPIC", "-DPIC", "-o", ".libs/main.o"] 1: [17:30:18.101243, wr, 10915, ppid: 6702] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=en_US.UTF-8", "LC_ALL=C", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:18.101706, wr, 10915, ppid: 6702] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -g, -O, -c, main.c, -fPIC, -DPIC, -o, .libs/main.o]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:18.130569, wr, 10915, ppid: 6702] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:18.150995, br, 3401] trying to resolve for library: /usr/bin/cc 1: [17:30:18.154569, wr, 10915, ppid: 6702] gRPC call [Resolve] finished: true 1: [17:30:18.156915, wr, 10915, ppid: 6702] Process spawned. [pid: 11001, command: ["/usr/bin/cc", "-g", "-O", "-c", "main.c", "-fPIC", "-DPIC", "-o", ".libs/main.o"]] 1: [17:30:18.157316, wr, 10915, ppid: 6702] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.164009, wr, 10915, ppid: 6702] gRPC call [Register] finished: true 1: [17:30:18.164395, wr, 10915, ppid: 6702] Process wait requested. [pid: 11001] 1: free(): invalid pointer 1: [17:30:18.603587, wr, 10915, ppid: 6702] Process wait request: done. [pid: 11001] 1: [17:30:18.603665, wr, 10915, ppid: 6702] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.606491, wr, 10915, ppid: 6702] gRPC call [Register] finished: true 1: [17:30:18.623297, wr, 10915, ppid: 6702] succeeded with: 1 1: [17:30:18.623510, el, 10915] lib.cc; on_unload 1: [17:30:18.635931, el, 11316] lib.cc; on_unload 1: [17:30:18.637894, el, 6702] lib.cc; on_unload 1: [17:30:18.640985, wr, 5738, ppid: 5583] Process wait request: done. [pid: 6702] 1: [17:30:18.641057, wr, 5738, ppid: 5583] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.643404, wr, 5738, ppid: 5583] gRPC call [Register] finished: true 1: [17:30:18.654108, wr, 5738, ppid: 5583] succeeded with: 1 1: [17:30:18.654259, el, 5738] lib.cc; on_unload 1: [17:30:18.663314, el, 11326] lib.cc; execve path: /usr/bin/libtool 1: [17:30:18.810033, el, 11326] lib.cc; on_load 1: [17:30:18.811216, wr, 11326, ppid: 5583] wrapper: 3.1.3 1: [17:30:18.811328, wr, 11326, ppid: 5583] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/libtool", "--", "/usr/bin/libtool", "--mode=compile", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-c", "hello.c", "-o", "hello.o"] 1: [17:30:18.811522, wr, 11326, ppid: 5583] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "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=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/libtool"] 1: [17:30:18.811743, wr, 11326, ppid: 5583] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/libtool, --mode=compile, --tag=CC, /usr/bin/cc, -g, -O, -c, hello.c, -o, hello.o]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/libtool]}, {--verbose: []}]} 1: [17:30:18.834421, wr, 11326, ppid: 5583] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:18.849545, br, 3401] trying to resolve for library: /usr/bin/libtool 1: [17:30:18.852076, wr, 11326, ppid: 5583] gRPC call [Resolve] finished: true 1: [17:30:18.854133, wr, 11326, ppid: 5583] Process spawned. [pid: 11386, command: ["/usr/bin/libtool", "--mode=compile", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-c", "hello.c", "-o", "hello.o"]] 1: [17:30:18.854494, wr, 11326, ppid: 5583] gRPC call requested: supervise::Interceptor::Register 1: [17:30:18.859806, wr, 11326, ppid: 5583] gRPC call [Register] finished: true 1: [17:30:18.860413, wr, 11326, ppid: 5583] Process wait requested. [pid: 11386] 1: [17:30:18.863857, el, 11386] lib.cc; on_load 1: [17:30:18.882851, el, 11406] lib.cc; on_unload 1: [17:30:18.900261, el, 11412] lib.cc; on_unload 1: [17:30:18.901211, el, 11413] lib.cc; execve path: /usr/bin/sed 1: [17:30:19.078526, el, 11413] lib.cc; on_load 1: [17:30:19.079779, wr, 11413, ppid: 11411] wrapper: 3.1.3 1: [17:30:19.079981, wr, 11413, ppid: 11411] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|^.*/||"] 1: [17:30:19.080132, wr, 11413, ppid: 11411] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [17:30:19.080568, wr, 11413, ppid: 11411] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|^.*/||]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [17:30:19.104243, wr, 11413, ppid: 11411] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:19.117452, br, 3401] trying to resolve for library: /usr/bin/sed 1: [17:30:19.120004, wr, 11413, ppid: 11411] gRPC call [Resolve] finished: true 1: [17:30:19.122110, wr, 11413, ppid: 11411] Process spawned. [pid: 11504, command: ["/usr/bin/sed", "s|^.*/||"]] 1: [17:30:19.122270, wr, 11413, ppid: 11411] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.127603, wr, 11413, ppid: 11411] gRPC call [Register] finished: true 1: [17:30:19.127923, wr, 11413, ppid: 11411] Process wait requested. [pid: 11504] 1: [17:30:19.129891, el, 11504] lib.cc; on_load 1: [17:30:19.130645, el, 11504] lib.cc; on_unload 1: [17:30:19.132219, wr, 11413, ppid: 11411] Process wait request: done. [pid: 11504] 1: [17:30:19.132285, wr, 11413, ppid: 11411] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.134597, wr, 11413, ppid: 11411] gRPC call [Register] finished: true 1: [17:30:19.145420, wr, 11413, ppid: 11411] succeeded with: 0 1: [17:30:19.145588, el, 11413] lib.cc; on_unload 1: [17:30:19.153168, el, 11411] lib.cc; on_unload 1: [17:30:19.167933, el, 11505] lib.cc; on_unload 1: [17:30:19.268325, el, 11542] lib.cc; execve path: /usr/bin/rm 1: [17:30:19.446108, el, 11542] lib.cc; on_load 1: [17:30:19.447349, wr, 11542, ppid: 11386] wrapper: 3.1.3 1: [17:30:19.447478, wr, 11542, ppid: 11386] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/rm", "--", "rm", "-f", "hello.o", ".libs/hello.o", "hello.lo", "hello.loT"] 1: [17:30:19.447607, wr, 11542, ppid: 11386] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/rm"] 1: [17:30:19.447862, wr, 11542, ppid: 11386] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [rm, -f, hello.o, .libs/hello.o, hello.lo, hello.loT]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/rm]}, {--verbose: []}]} 1: [17:30:19.469700, wr, 11542, ppid: 11386] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:19.481505, br, 3401] trying to resolve for library: /usr/bin/rm 1: [17:30:19.484248, wr, 11542, ppid: 11386] gRPC call [Resolve] finished: true 1: [17:30:19.486303, wr, 11542, ppid: 11386] Process spawned. [pid: 11610, command: ["rm", "-f", "hello.o", ".libs/hello.o", "hello.lo", "hello.loT"]] 1: [17:30:19.486464, wr, 11542, ppid: 11386] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.492675, wr, 11542, ppid: 11386] gRPC call [Register] finished: true 1: [17:30:19.493061, wr, 11542, ppid: 11386] Process wait requested. [pid: 11610] 1: [17:30:19.492975, el, 11610] lib.cc; on_load 1: [17:30:19.494493, wr, 11542, ppid: 11386] Process wait request: done. [pid: 11610] 1: [17:30:19.494543, wr, 11542, ppid: 11386] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.496724, wr, 11542, ppid: 11386] gRPC call [Register] finished: true 1: [17:30:19.508994, wr, 11542, ppid: 11386] succeeded with: 0 1: [17:30:19.509208, el, 11542] lib.cc; on_unload 1: [17:30:19.525388, el, 11614] lib.cc; on_unload 1: [17:30:19.526001, el, 11615] lib.cc; execve path: /usr/bin/sed 1: [17:30:19.691789, el, 11615] lib.cc; on_load 1: [17:30:19.692830, wr, 11615, ppid: 11613] wrapper: 3.1.3 1: [17:30:19.692929, wr, 11615, ppid: 11613] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|:*$||"] 1: [17:30:19.693048, wr, 11615, ppid: 11613] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [17:30:19.693242, wr, 11615, ppid: 11613] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|:*$||]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [17:30:19.715856, wr, 11615, ppid: 11613] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:19.730068, br, 3401] trying to resolve for library: /usr/bin/sed 1: [17:30:19.732999, wr, 11615, ppid: 11613] gRPC call [Resolve] finished: true 1: [17:30:19.735964, wr, 11615, ppid: 11613] Process spawned. [pid: 11638, command: ["/usr/bin/sed", "s|:*$||"]] 1: [17:30:19.736170, wr, 11615, ppid: 11613] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.741877, wr, 11615, ppid: 11613] gRPC call [Register] finished: true 1: [17:30:19.742501, wr, 11615, ppid: 11613] Process wait requested. [pid: 11638] 1: [17:30:19.744216, el, 11638] lib.cc; on_load 1: [17:30:19.744946, el, 11638] lib.cc; on_unload 1: [17:30:19.746497, wr, 11615, ppid: 11613] Process wait request: done. [pid: 11638] 1: [17:30:19.746569, wr, 11615, ppid: 11613] gRPC call requested: supervise::Interceptor::Register 1: [17:30:19.749075, wr, 11615, ppid: 11613] gRPC call [Register] finished: true 1: [17:30:19.760736, wr, 11615, ppid: 11613] succeeded with: 0 1: [17:30:19.760917, el, 11615] lib.cc; on_unload 1: [17:30:19.770404, el, 11613] lib.cc; on_unload 1: [17:30:19.779805, el, 11642] lib.cc; on_unload 1: [17:30:19.780871, el, 11643] lib.cc; execve path: /usr/bin/sed 1: [17:30:19.958428, el, 11643] lib.cc; on_load 1: [17:30:19.959642, wr, 11643, ppid: 11641] wrapper: 3.1.3 1: [17:30:19.959788, wr, 11643, ppid: 11641] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "-e", "s/\\([\"`\\\\]\\)/\\\\\\1/g", "-e", " s/\\\\\\\\\\\\\\\\/&\\\n/g\n s/^\\\\\\\\\\$/\\\\&/\n s/\\([^\\\\]\\)\\\\\\\\\\$/\\1\\\\\\\\\\\\\\$/g\n s/\\n//g"] 1: [17:30:19.959923, wr, 11643, ppid: 11641] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [17:30:19.960199, wr, 11643, ppid: 11641] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, -e, s/\(["`\\]\)/\\\1/g, -e, s/\\\\\\\\/&\ 1: /g 1: s/^\\\\\$/\\&/ 1: s/\([^\\]\)\\\\\$/\1\\\\\\\$/g 1: s/\n//g]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [17:30:19.982657, wr, 11643, ppid: 11641] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:19.994702, br, 3401] trying to resolve for library: /usr/bin/sed 1: [17:30:19.997218, wr, 11643, ppid: 11641] gRPC call [Resolve] finished: true 1: [17:30:19.999405, wr, 11643, ppid: 11641] Process spawned. [pid: 11728, command: ["/usr/bin/sed", "-e", "s/\\([\"`\\\\]\\)/\\\\\\1/g", "-e", " s/\\\\\\\\\\\\\\\\/&\\\n/g\n s/^\\\\\\\\\\$/\\\\&/\n s/\\([^\\\\]\\)\\\\\\\\\\$/\\1\\\\\\\\\\\\\\$/g\n s/\\n//g"]] 1: [17:30:19.999576, wr, 11643, ppid: 11641] gRPC call requested: supervise::Interceptor::Register 1: [17:30:20.004679, wr, 11643, ppid: 11641] gRPC call [Register] finished: true 1: [17:30:20.005122, wr, 11643, ppid: 11641] Process wait requested. [pid: 11728] 1: [17:30:20.005834, el, 11728] lib.cc; on_load 1: [17:30:20.006722, el, 11728] lib.cc; on_unload 1: [17:30:20.007800, wr, 11643, ppid: 11641] Process wait request: done. [pid: 11728] 1: [17:30:20.007868, wr, 11643, ppid: 11641] gRPC call requested: supervise::Interceptor::Register 1: [17:30:20.010082, wr, 11643, ppid: 11641] gRPC call [Register] finished: true 1: [17:30:20.021024, wr, 11643, ppid: 11641] succeeded with: 0 1: [17:30:20.021217, el, 11643] lib.cc; on_unload 1: [17:30:20.030489, el, 11641] lib.cc; on_unload 1: [17:30:20.035694, el, 11731] lib.cc; execve path: /usr/bin/cc 1: [17:30:20.194223, el, 11731] lib.cc; on_load 1: [17:30:20.195381, wr, 11731, ppid: 11386] wrapper: 3.1.3 1: [17:30:20.195491, wr, 11731, ppid: 11386] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-g", "-O", "-c", "hello.c", "-fPIC", "-DPIC", "-o", ".libs/hello.o"] 1: [17:30:20.195638, wr, 11731, ppid: 11386] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=en_US.UTF-8", "LC_ALL=C", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/cc"] 1: [17:30:20.195853, wr, 11731, ppid: 11386] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -g, -O, -c, hello.c, -fPIC, -DPIC, -o, .libs/hello.o]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [17:30:20.216606, wr, 11731, ppid: 11386] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:20.480657, br, 3401] trying to resolve for library: /usr/bin/cc 1: [17:30:20.483010, wr, 11731, ppid: 11386] gRPC call [Resolve] finished: true 1: [17:30:20.484707, wr, 11731, ppid: 11386] Process spawned. [pid: 11760, command: ["/usr/bin/cc", "-g", "-O", "-c", "hello.c", "-fPIC", "-DPIC", "-o", ".libs/hello.o"]] 1: [17:30:20.484912, wr, 11731, ppid: 11386] gRPC call requested: supervise::Interceptor::Register 1: [17:30:20.489451, wr, 11731, ppid: 11386] gRPC call [Register] finished: true 1: [17:30:20.489751, wr, 11731, ppid: 11386] Process wait requested. [pid: 11760] 1: free(): invalid pointer 1: [17:30:20.792863, wr, 11731, ppid: 11386] Process wait request: done. [pid: 11760] 1: [17:30:20.792939, wr, 11731, ppid: 11386] gRPC call requested: supervise::Interceptor::Register 1: [17:30:20.795179, wr, 11731, ppid: 11386] gRPC call [Register] finished: true 1: [17:30:20.809909, wr, 11731, ppid: 11386] succeeded with: 1 1: [17:30:20.810111, el, 11731] lib.cc; on_unload 1: [17:30:20.822376, el, 11837] lib.cc; on_unload 1: [17:30:20.824178, el, 11386] lib.cc; on_unload 1: [17:30:20.826540, wr, 11326, ppid: 5583] Process wait request: done. [pid: 11386] 1: [17:30:20.826619, wr, 11326, ppid: 5583] gRPC call requested: supervise::Interceptor::Register 1: [17:30:20.828874, wr, 11326, ppid: 5583] gRPC call [Register] finished: true 1: [17:30:20.840431, wr, 11326, ppid: 5583] succeeded with: 1 1: [17:30:20.840612, el, 11326] lib.cc; on_unload 1: [17:30:20.850465, el, 11845] lib.cc; execve path: /usr/bin/libtool 1: [17:30:21.028404, el, 11845] lib.cc; on_load 1: [17:30:21.029451, wr, 11845, ppid: 5583] wrapper: 3.1.3 1: [17:30:21.029583, wr, 11845, ppid: 5583] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/libtool", "--", "/usr/bin/libtool", "--mode=link", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-o", "libhello.la", "hello.lo"] 1: [17:30:21.029714, wr, 11845, ppid: 5583] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "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=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/libtool"] 1: [17:30:21.029934, wr, 11845, ppid: 5583] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/libtool, --mode=link, --tag=CC, /usr/bin/cc, -g, -O, -o, libhello.la, hello.lo]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/libtool]}, {--verbose: []}]} 1: [17:30:21.048255, wr, 11845, ppid: 5583] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:21.058642, br, 3401] trying to resolve for library: /usr/bin/libtool 1: [17:30:21.060781, wr, 11845, ppid: 5583] gRPC call [Resolve] finished: true 1: [17:30:21.062495, wr, 11845, ppid: 5583] Process spawned. [pid: 11898, command: ["/usr/bin/libtool", "--mode=link", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-o", "libhello.la", "hello.lo"]] 1: [17:30:21.062631, wr, 11845, ppid: 5583] gRPC call requested: supervise::Interceptor::Register 1: [17:30:21.066858, wr, 11845, ppid: 5583] gRPC call [Register] finished: true 1: [17:30:21.067186, wr, 11845, ppid: 5583] Process wait requested. [pid: 11898] 1: [17:30:21.070439, el, 11898] lib.cc; on_load 1: [17:30:21.087364, el, 11903] lib.cc; on_unload 1: [17:30:21.103545, el, 11914] lib.cc; on_unload 1: [17:30:21.104349, el, 11915] lib.cc; execve path: /usr/bin/sed 1: [17:30:21.246056, el, 11915] lib.cc; on_load 1: [17:30:21.247074, wr, 11915, ppid: 11913] wrapper: 3.1.3 1: [17:30:21.247165, wr, 11915, ppid: 11913] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|^.*/||"] 1: [17:30:21.247276, wr, 11915, ppid: 11913] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [17:30:21.247465, wr, 11915, ppid: 11913] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|^.*/||]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [17:30:21.266978, wr, 11915, ppid: 11913] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:21.279210, br, 3401] trying to resolve for library: /usr/bin/sed 1: [17:30:21.281627, wr, 11915, ppid: 11913] gRPC call [Resolve] finished: true 1: [17:30:21.283333, wr, 11915, ppid: 11913] Process spawned. [pid: 11958, command: ["/usr/bin/sed", "s|^.*/||"]] 1: [17:30:21.283473, wr, 11915, ppid: 11913] gRPC call requested: supervise::Interceptor::Register 1: [17:30:21.287970, wr, 11915, ppid: 11913] gRPC call [Register] finished: true 1: [17:30:21.288357, wr, 11915, ppid: 11913] Process wait requested. [pid: 11958] 1: [17:30:21.288839, el, 11958] lib.cc; on_load 1: [17:30:21.289435, el, 11958] lib.cc; on_unload 1: [17:30:21.290430, wr, 11915, ppid: 11913] Process wait request: done. [pid: 11958] 1: [17:30:21.290493, wr, 11915, ppid: 11913] gRPC call requested: supervise::Interceptor::Register 1: [17:30:21.292669, wr, 11915, ppid: 11913] gRPC call [Register] finished: true 1: [17:30:21.532806, wr, 11915, ppid: 11913] succeeded with: 0 1: [17:30:21.533002, el, 11915] lib.cc; on_unload 1: [17:30:21.542152, el, 11913] lib.cc; on_unload 1: [17:30:21.554092, el, 12005] lib.cc; on_unload 1: [17:30:21.676528, el, 12021] lib.cc; on_unload 1: [17:30:21.685586, el, 12023] lib.cc; on_unload 1: [17:30:21.686728, el, 12024] lib.cc; execve path: /usr/bin/sed 1: [17:30:21.797506, el, 12024] lib.cc; on_load 1: [17:30:21.798350, wr, 12024, ppid: 12022] wrapper: 3.1.3 1: [17:30:21.798428, wr, 12024, ppid: 12022] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|.| |g"] 1: [17:30:21.798525, wr, 12024, ppid: 12022] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [17:30:21.798676, wr, 12024, ppid: 12022] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|.| |g]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [17:30:21.813225, wr, 12024, ppid: 12022] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:21.821949, br, 3401] trying to resolve for library: /usr/bin/sed 1: [17:30:21.823817, wr, 12024, ppid: 12022] gRPC call [Resolve] finished: true 1: [17:30:21.825263, wr, 12024, ppid: 12022] Process spawned. [pid: 12047, command: ["/usr/bin/sed", "s|.| |g"]] 1: [17:30:21.825398, wr, 12024, ppid: 12022] gRPC call requested: supervise::Interceptor::Register 1: [17:30:21.829299, wr, 12024, ppid: 12022] gRPC call [Register] finished: true 1: [17:30:21.829565, wr, 12024, ppid: 12022] Process wait requested. [pid: 12047] 1: [17:30:21.830958, el, 12047] lib.cc; on_load 1: [17:30:21.831572, el, 12047] lib.cc; on_unload 1: [17:30:21.832530, wr, 12024, ppid: 12022] Process wait request: done. [pid: 12047] 1: [17:30:21.832587, wr, 12024, ppid: 12022] gRPC call requested: supervise::Interceptor::Register 1: [17:30:21.834393, wr, 12024, ppid: 12022] gRPC call [Register] finished: true 1: [17:30:21.846647, wr, 12024, ppid: 12022] succeeded with: 0 1: [17:30:21.846843, el, 12024] lib.cc; on_unload 1: [17:30:21.855900, el, 12022] lib.cc; on_unload 1: libtool: error: 'hello.lo' is not a valid libtool object 1: [17:30:21.858670, el, 11898] lib.cc; on_unload 1: [17:30:21.861624, wr, 11845, ppid: 5583] Process wait request: done. [pid: 11898] 1: [17:30:21.861720, wr, 11845, ppid: 5583] gRPC call requested: supervise::Interceptor::Register 1: [17:30:21.863909, wr, 11845, ppid: 5583] gRPC call [Register] finished: true 1: [17:30:21.874041, wr, 11845, ppid: 5583] succeeded with: 1 1: [17:30:21.874239, el, 11845] lib.cc; on_unload 1: [17:30:21.884452, el, 12049] lib.cc; execve path: /usr/bin/libtool 1: [17:30:22.016597, el, 12049] lib.cc; on_load 1: [17:30:22.017584, wr, 12049, ppid: 5583] wrapper: 3.1.3 1: [17:30:22.017705, wr, 12049, ppid: 5583] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/libtool", "--", "/usr/bin/libtool", "--mode=link", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-o", "libtool_test", "main.lo", "libhello.la"] 1: [17:30:22.017835, wr, 12049, ppid: 5583] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "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=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/libtool"] 1: [17:30:22.018042, wr, 12049, ppid: 5583] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/libtool, --mode=link, --tag=CC, /usr/bin/cc, -g, -O, -o, libtool_test, main.lo, libhello.la]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/libtool]}, {--verbose: []}]} 1: [17:30:22.035315, wr, 12049, ppid: 5583] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:22.045746, br, 3401] trying to resolve for library: /usr/bin/libtool 1: [17:30:22.047839, wr, 12049, ppid: 5583] gRPC call [Resolve] finished: true 1: [17:30:22.049703, wr, 12049, ppid: 5583] Process spawned. [pid: 12088, command: ["/usr/bin/libtool", "--mode=link", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-o", "libtool_test", "main.lo", "libhello.la"]] 1: [17:30:22.049884, wr, 12049, ppid: 5583] gRPC call requested: supervise::Interceptor::Register 1: [17:30:22.054497, wr, 12049, ppid: 5583] gRPC call [Register] finished: true 1: [17:30:22.054823, wr, 12049, ppid: 5583] Process wait requested. [pid: 12088] 1: [17:30:22.057199, el, 12088] lib.cc; on_load 1: [17:30:22.072792, el, 12095] lib.cc; on_unload 1: [17:30:22.088741, el, 12100] lib.cc; on_unload 1: [17:30:22.089433, el, 12101] lib.cc; execve path: /usr/bin/sed 1: [17:30:22.241524, el, 12101] lib.cc; on_load 1: [17:30:22.242532, wr, 12101, ppid: 12099] wrapper: 3.1.3 1: [17:30:22.242627, wr, 12101, ppid: 12099] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|^.*/||"] 1: [17:30:22.242727, wr, 12101, ppid: 12099] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [17:30:22.242920, wr, 12101, ppid: 12099] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|^.*/||]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [17:30:22.259697, wr, 12101, ppid: 12099] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:22.269916, br, 3401] trying to resolve for library: /usr/bin/sed 1: [17:30:22.272269, wr, 12101, ppid: 12099] gRPC call [Resolve] finished: true 1: [17:30:22.273850, wr, 12101, ppid: 12099] Process spawned. [pid: 12124, command: ["/usr/bin/sed", "s|^.*/||"]] 1: [17:30:22.273982, wr, 12101, ppid: 12099] gRPC call requested: supervise::Interceptor::Register 1: [17:30:22.278294, wr, 12101, ppid: 12099] gRPC call [Register] finished: true 1: [17:30:22.278622, wr, 12101, ppid: 12099] Process wait requested. [pid: 12124] 1: [17:30:22.278938, el, 12124] lib.cc; on_load 1: [17:30:22.279476, el, 12124] lib.cc; on_unload 1: [17:30:22.280327, wr, 12101, ppid: 12099] Process wait request: done. [pid: 12124] 1: [17:30:22.280402, wr, 12101, ppid: 12099] gRPC call requested: supervise::Interceptor::Register 1: [17:30:22.282487, wr, 12101, ppid: 12099] gRPC call [Register] finished: true 1: [17:30:22.291082, wr, 12101, ppid: 12099] succeeded with: 0 1: [17:30:22.291251, el, 12101] lib.cc; on_unload 1: [17:30:22.299373, el, 12099] lib.cc; on_unload 1: [17:30:22.309823, el, 12125] lib.cc; on_unload 1: [17:30:22.440594, el, 12141] lib.cc; on_unload 1: [17:30:22.452076, el, 12143] lib.cc; on_unload 1: [17:30:22.453170, el, 12144] lib.cc; execve path: /usr/bin/sed 1: [17:30:22.581578, el, 12144] lib.cc; on_load 1: [17:30:22.582429, wr, 12144, ppid: 12142] wrapper: 3.1.3 1: [17:30:22.582519, wr, 12144, ppid: 12142] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43537", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|.| |g"] 1: [17:30:22.582618, wr, 12144, ppid: 12142] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43537", "LLVM_DISABLE_CRASH_REPORT=1", "LANGUAGE=C", "ECHO=printf %s\\n", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/intercept/preload", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1712597123", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-7hscyd2x", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-7hscyd2x", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-7hscyd2x", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-7hscyd2x", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "CC=gcc", "SLEEP=/usr/bin/sleep", "_=/usr/bin/sed"] 1: [17:30:22.582768, wr, 12144, ppid: 12142] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|.| |g]}, {--destination: [dns:///localhost:43537]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [17:30:22.599824, wr, 12144, ppid: 12142] gRPC call requested: supervise::Supervisor::Resolve 1: [17:30:22.610470, br, 3401] trying to resolve for library: /usr/bin/sed 1: [17:30:22.613293, wr, 12144, ppid: 12142] gRPC call [Resolve] finished: true 1: [17:30:22.615098, wr, 12144, ppid: 12142] Process spawned. [pid: 12190, command: ["/usr/bin/sed", "s|.| |g"]] 1: [17:30:22.615282, wr, 12144, ppid: 12142] gRPC call requested: supervise::Interceptor::Register 1: [17:30:22.619572, wr, 12144, ppid: 12142] gRPC call [Register] finished: true 1: [17:30:22.619861, wr, 12144, ppid: 12142] Process wait requested. [pid: 12190] 1: [17:30:22.621050, el, 12190] lib.cc; on_load 1: [17:30:22.621738, el, 12190] lib.cc; on_unload 1: [17:30:22.622776, wr, 12144, ppid: 12142] Process wait request: done. [pid: 12190] 1: [17:30:22.622841, wr, 12144, ppid: 12142] gRPC call requested: supervise::Interceptor::Register 1: [17:30:22.624699, wr, 12144, ppid: 12142] gRPC call [Register] finished: true 1: [17:30:22.634402, wr, 12144, ppid: 12142] succeeded with: 0 1: [17:30:22.634595, el, 12144] lib.cc; on_unload 1: [17:30:22.644077, el, 12142] lib.cc; on_unload 1: libtool: error: 'main.lo' is not a valid libtool object 1: [17:30:22.646949, el, 12088] lib.cc; on_unload 1: [17:30:22.650244, wr, 12049, ppid: 5583] Process wait request: done. [pid: 12088] 1: [17:30:22.650312, wr, 12049, ppid: 5583] gRPC call requested: supervise::Interceptor::Register 1: [17:30:22.652303, wr, 12049, ppid: 5583] gRPC call [Register] finished: true 1: [17:30:22.731872, wr, 12049, ppid: 5583] succeeded with: 1 1: [17:30:22.732040, el, 12049] lib.cc; on_unload 1: [17:30:22.738949, el, 5583] lib.cc; on_unload 1: [17:30:22.740830, wr, 3932, ppid: 3401] Process wait request: done. [pid: 5583] 1: [17:30:22.740903, wr, 3932, ppid: 3401] gRPC call requested: supervise::Interceptor::Register 1: [17:30:22.743276, wr, 3932, ppid: 3401] gRPC call [Register] finished: true 1: [17:30:22.752735, wr, 3932, ppid: 3401] succeeded with: 1 1: [17:30:22.752888, el, 3932] lib.cc; on_unload 1: [17:30:22.760796, br, 3401] Process wait request: done. [pid: 3932] 1: [17:30:22.760966, br, 3401] Running command. [Exited with 1] 1: [17:30:22.761018, br, 3401] Stopping gRPC server. 1: [17:30:22.774977, br, 3401] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/compilation/output/flag/append.sh (100 of 100) 1: ******************** 1: Failed Tests (21): 1: bear :: cases/compilation/output/assembly_sources.mk 1: bear :: cases/compilation/output/bug439.mk 1: bear :: cases/compilation/output/config/filter_compilers.sh 1: bear :: cases/compilation/output/config/filter_flags_on_known_compiler.sh 1: bear :: cases/compilation/output/config/filter_sources.sh 1: bear :: cases/compilation/output/config/filter_sources_relative.sh 1: bear :: cases/compilation/output/define_with_escaped_quote.sh 1: bear :: cases/compilation/output/define_with_quote.sh 1: bear :: cases/compilation/output/duplicate_entries.sh 1: bear :: cases/compilation/output/empty_env.sh 1: bear :: cases/compilation/output/existing_files_only.sh 1: bear :: cases/compilation/output/flag/field_output.sh 1: bear :: cases/compilation/output/flag/use_cc.sh 1: bear :: cases/compilation/output/flag/use_cxx.sh 1: bear :: cases/compilation/output/flags_filtered_link.sh 1: bear :: cases/compilation/output/flags_filtered_preproc.sh 1: bear :: cases/compilation/output/multiple_source_build.sh 1: bear :: cases/compilation/output/successful_build.sh 1: bear :: cases/compilation/output/wrapper.sh 1: bear :: cases/intercept/preload/libtool_commands_captured.sh 1: bear :: cases/intercept/preload/signal_outside_build.sh 1: 1: 1: Testing Time: 12.02s 1: Unsupported : 7 1: Passed : 66 1: Expectedly Failed: 6 1: Failed : 21 1/1 Test #1: bear::func_test ..................***Failed 13.02 sec 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 13.05 sec The following tests FAILED: 1 - bear::func_test (Failed) Errors while running CTest Output from these tests are in: /build/bear/src/build/subprojects/Build/BearTest/Testing/Temporary/LastTest.log Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. make[2]: *** [CMakeFiles/BearTest.dir/build.make:123: subprojects/Stamp/BearTest/BearTest-test] Error 8 make[1]: *** [CMakeFiles/Makefile2:219: CMakeFiles/BearTest.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root2/build [?25h[?25hreceiving incremental file list bear-3.1.3-10-riscv64-build.log bear-3.1.3-10-riscv64-prepare.log sent 62 bytes received 64,023 bytes 128,170.00 bytes/sec total size is 726,232 speedup is 11.33