==> Building on reshiram ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/bear ./ PKGBUILD 1,124 100% 0.00kB/s 0:00:00 1,124 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) bear-3.1.2-1.log 239 100% 233.40kB/s 0:00:00 239 100% 233.40kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,024 bytes received 93 bytes 2,234.00 bytes/sec total size is 1,319 speedup is 1.18 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root3 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] -> [root3]...done ==> Making package: bear 3.1.2-1 (Wed Jun 21 15:11:37 2023) ==> Retrieving sources...  -> Cloning bear git repo... Cloning into bare repository '/home/felix/packages/bear/bear'... remote: Enumerating objects: 15862, done. remote: Counting objects: 0% (1/3107) remote: Counting objects: 1% (32/3107) remote: Counting objects: 2% (63/3107) remote: Counting objects: 3% (94/3107) remote: Counting objects: 4% (125/3107) remote: Counting objects: 5% (156/3107) remote: Counting objects: 6% (187/3107) remote: Counting objects: 7% (218/3107) remote: Counting objects: 8% (249/3107) remote: Counting objects: 9% (280/3107) remote: Counting objects: 10% (311/3107) remote: Counting objects: 11% (342/3107) remote: Counting objects: 12% (373/3107) remote: Counting objects: 13% (404/3107) remote: Counting objects: 14% (435/3107) remote: Counting objects: 15% (467/3107) remote: Counting objects: 16% (498/3107) remote: Counting objects: 17% (529/3107) remote: Counting objects: 18% (560/3107) remote: Counting objects: 19% (591/3107) remote: Counting objects: 20% (622/3107) remote: Counting objects: 21% (653/3107) remote: Counting objects: 22% (684/3107) remote: Counting objects: 23% (715/3107) remote: Counting objects: 24% (746/3107) remote: Counting objects: 25% (777/3107) remote: Counting objects: 26% (808/3107) remote: Counting objects: 27% (839/3107) remote: Counting objects: 28% (870/3107) remote: Counting objects: 29% (902/3107) remote: Counting objects: 30% (933/3107) remote: Counting objects: 31% (964/3107) remote: Counting objects: 32% (995/3107) remote: Counting objects: 33% (1026/3107) remote: Counting objects: 34% (1057/3107) remote: Counting objects: 35% (1088/3107) remote: Counting objects: 36% (1119/3107) remote: Counting objects: 37% (1150/3107) remote: Counting objects: 38% (1181/3107) remote: Counting objects: 39% (1212/3107) remote: Counting objects: 40% (1243/3107) remote: Counting objects: 41% (1274/3107) remote: Counting objects: 42% (1305/3107) remote: Counting objects: 43% (1337/3107) remote: Counting objects: 44% (1368/3107) remote: Counting objects: 45% (1399/3107) remote: Counting objects: 46% (1430/3107) remote: Counting objects: 47% (1461/3107) remote: Counting objects: 48% (1492/3107) remote: Counting objects: 49% (1523/3107) remote: Counting objects: 50% (1554/3107) remote: Counting objects: 51% (1585/3107) remote: Counting objects: 52% (1616/3107) remote: Counting objects: 53% (1647/3107) remote: Counting objects: 54% (1678/3107) remote: Counting objects: 55% (1709/3107) remote: Counting objects: 56% (1740/3107) remote: Counting objects: 57% (1771/3107) remote: Counting objects: 58% (1803/3107) remote: Counting objects: 59% (1834/3107) remote: Counting objects: 60% (1865/3107) remote: Counting objects: 61% (1896/3107) remote: Counting objects: 62% (1927/3107) remote: Counting objects: 63% (1958/3107) remote: Counting objects: 64% (1989/3107) remote: Counting objects: 65% (2020/3107) remote: Counting objects: 66% (2051/3107) remote: Counting objects: 67% (2082/3107) remote: Counting objects: 68% (2113/3107) remote: Counting objects: 69% (2144/3107) remote: Counting objects: 70% (2175/3107) remote: Counting objects: 71% (2206/3107) remote: Counting objects: 72% (2238/3107) remote: Counting objects: 73% (2269/3107) remote: Counting objects: 74% (2300/3107) remote: Counting objects: 75% (2331/3107) remote: Counting objects: 76% (2362/3107) remote: Counting objects: 77% (2393/3107) remote: Counting objects: 78% (2424/3107) remote: Counting objects: 79% (2455/3107) remote: Counting objects: 80% (2486/3107) remote: Counting objects: 81% (2517/3107) remote: Counting objects: 82% (2548/3107) remote: Counting objects: 83% (2579/3107) remote: Counting objects: 84% (2610/3107) remote: Counting objects: 85% (2641/3107) remote: Counting objects: 86% (2673/3107) remote: Counting objects: 87% (2704/3107) remote: Counting objects: 88% (2735/3107) remote: Counting objects: 89% (2766/3107) remote: Counting objects: 90% (2797/3107) remote: Counting objects: 91% (2828/3107) remote: Counting objects: 92% (2859/3107) remote: Counting objects: 93% (2890/3107) remote: Counting objects: 94% (2921/3107) remote: Counting objects: 95% (2952/3107) remote: Counting objects: 96% (2983/3107) remote: Counting objects: 97% (3014/3107) remote: Counting objects: 98% (3045/3107) remote: Counting objects: 99% (3076/3107) remote: Counting objects: 100% (3107/3107) remote: Counting objects: 100% (3107/3107), done. remote: Compressing objects: 0% (1/926) remote: Compressing objects: 1% (10/926) remote: Compressing objects: 2% (19/926) remote: Compressing objects: 3% (28/926) remote: Compressing objects: 4% (38/926) remote: Compressing objects: 5% (47/926) remote: Compressing objects: 6% (56/926) remote: Compressing objects: 7% (65/926) remote: Compressing objects: 8% (75/926) remote: Compressing objects: 9% (84/926) remote: Compressing objects: 10% (93/926) remote: Compressing objects: 11% (102/926) remote: Compressing objects: 12% (112/926) remote: Compressing objects: 13% (121/926) remote: Compressing objects: 14% (130/926) remote: Compressing objects: 15% (139/926) remote: Compressing objects: 16% (149/926) remote: Compressing objects: 17% (158/926) remote: Compressing objects: 18% (167/926) remote: Compressing objects: 19% (176/926) remote: Compressing objects: 20% (186/926) remote: Compressing objects: 21% (195/926) remote: Compressing objects: 22% (204/926) remote: Compressing objects: 23% (213/926) remote: Compressing objects: 24% (223/926) remote: Compressing objects: 25% (232/926) remote: Compressing objects: 26% (241/926) remote: Compressing objects: 27% (251/926) remote: Compressing objects: 28% (260/926) remote: Compressing objects: 29% (269/926) remote: Compressing objects: 30% (278/926) remote: Compressing objects: 31% (288/926) remote: Compressing objects: 32% (297/926) remote: Compressing objects: 33% (306/926) remote: Compressing objects: 34% (315/926) remote: Compressing objects: 35% (325/926) remote: Compressing objects: 36% (334/926) remote: Compressing objects: 37% (343/926) remote: Compressing objects: 38% (352/926) remote: Compressing objects: 39% (362/926) remote: Compressing objects: 40% (371/926) remote: Compressing objects: 41% (380/926) remote: Compressing objects: 42% (389/926) remote: Compressing objects: 43% (399/926) remote: Compressing objects: 44% (408/926) remote: Compressing objects: 45% (417/926) remote: Compressing objects: 46% (426/926) remote: Compressing objects: 47% (436/926) remote: Compressing objects: 48% (445/926) remote: Compressing objects: 49% (454/926) remote: Compressing objects: 50% (463/926) remote: Compressing objects: 51% (473/926) remote: Compressing objects: 52% (482/926) remote: Compressing objects: 53% (491/926) remote: Compressing objects: 54% (501/926) remote: Compressing objects: 55% (510/926) remote: Compressing objects: 56% (519/926) remote: Compressing objects: 57% (528/926) remote: Compressing objects: 58% (538/926) remote: Compressing objects: 59% (547/926) remote: Compressing objects: 60% (556/926) remote: Compressing objects: 61% (565/926) remote: Compressing objects: 62% (575/926) remote: Compressing objects: 63% (584/926) remote: Compressing objects: 64% (593/926) remote: Compressing objects: 65% (602/926) remote: Compressing objects: 66% (612/926) remote: Compressing objects: 67% (621/926) remote: Compressing objects: 68% (630/926) remote: Compressing objects: 69% (639/926) remote: Compressing objects: 70% (649/926) remote: Compressing objects: 71% (658/926) remote: Compressing objects: 72% (667/926) remote: Compressing objects: 73% (676/926) remote: Compressing objects: 74% (686/926) remote: Compressing objects: 75% (695/926) remote: Compressing objects: 76% (704/926) remote: Compressing objects: 77% (714/926) remote: Compressing objects: 78% (723/926) remote: Compressing objects: 79% (732/926) remote: Compressing objects: 80% (741/926) remote: Compressing objects: 81% (751/926) remote: Compressing objects: 82% (760/926) remote: Compressing objects: 83% (769/926) remote: Compressing objects: 84% (778/926) remote: Compressing objects: 85% (788/926) remote: Compressing objects: 86% (797/926) remote: Compressing objects: 87% (806/926) remote: Compressing objects: 88% (815/926) remote: Compressing objects: 89% (825/926) remote: Compressing objects: 90% (834/926) remote: Compressing objects: 91% (843/926) remote: Compressing objects: 92% (852/926) remote: Compressing objects: 93% (862/926) remote: Compressing objects: 94% (871/926) remote: Compressing objects: 95% (880/926) remote: Compressing objects: 96% (889/926) remote: Compressing objects: 97% (899/926) remote: Compressing objects: 98% (908/926) remote: Compressing objects: 99% (917/926) remote: Compressing objects: 100% (926/926) remote: Compressing objects: 100% (926/926), done. Receiving objects: 0% (1/15862) Receiving objects: 1% (159/15862) Receiving objects: 2% (318/15862) Receiving objects: 3% (476/15862) Receiving objects: 4% (635/15862) Receiving objects: 5% (794/15862) Receiving objects: 6% (952/15862) Receiving objects: 7% (1111/15862) Receiving objects: 8% (1269/15862) Receiving objects: 9% (1428/15862) Receiving objects: 10% (1587/15862) Receiving objects: 11% (1745/15862) Receiving objects: 12% (1904/15862) Receiving objects: 13% (2063/15862) Receiving objects: 14% (2221/15862) Receiving objects: 15% (2380/15862) Receiving objects: 16% (2538/15862) Receiving objects: 17% (2697/15862) Receiving objects: 18% (2856/15862) Receiving objects: 19% (3014/15862) Receiving objects: 20% (3173/15862) Receiving objects: 21% (3332/15862) Receiving objects: 22% (3490/15862) Receiving objects: 23% (3649/15862) Receiving objects: 24% (3807/15862) Receiving objects: 25% (3966/15862) Receiving objects: 26% (4125/15862) Receiving objects: 27% (4283/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 28% (4442/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 29% (4600/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 30% (4759/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 31% (4918/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 32% (5076/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 33% (5235/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 34% (5394/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 35% (5552/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 36% (5711/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 37% (5869/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 38% (6028/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 39% (6187/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 40% (6345/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 41% (6504/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 42% (6663/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 43% (6821/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 44% (6980/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 45% (7138/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 46% (7297/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 47% (7456/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 48% (7614/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 49% (7773/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 50% (7931/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 51% (8090/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 52% (8249/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 53% (8407/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 54% (8566/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 55% (8725/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 56% (8883/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 57% (9042/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 58% (9200/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 59% (9359/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 60% (9518/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 61% (9676/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 62% (9835/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 63% (9994/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 64% (10152/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 65% (10311/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 66% (10469/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 67% (10628/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 68% (10787/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 69% (10945/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 70% (11104/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 71% (11263/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 72% (11421/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 73% (11580/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 74% (11738/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 75% (11897/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 76% (12056/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 77% (12214/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 78% (12373/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 79% (12531/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 80% (12690/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 81% (12849/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 82% (13007/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 83% (13166/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 84% (13325/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 85% (13483/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 86% (13642/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 87% (13800/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 88% (13959/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 89% (14118/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 90% (14276/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 91% (14435/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 92% (14594/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 93% (14752/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 94% (14911/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 95% (15069/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 96% (15228/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 97% (15387/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 98% (15545/15862), 844.00 KiB | 1.53 MiB/s remote: Total 15862 (delta 2122), reused 2920 (delta 2026), pack-reused 12755 Receiving objects: 99% (15704/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 100% (15862/15862), 844.00 KiB | 1.53 MiB/s Receiving objects: 100% (15862/15862), 2.90 MiB | 3.02 MiB/s, done. Resolving deltas: 0% (0/10284) Resolving deltas: 1% (103/10284) Resolving deltas: 2% (206/10284) Resolving deltas: 3% (309/10284) Resolving deltas: 4% (412/10284) Resolving deltas: 5% (515/10284) Resolving deltas: 6% (618/10284) Resolving deltas: 7% (720/10284) Resolving deltas: 8% (824/10284) Resolving deltas: 9% (926/10284) Resolving deltas: 10% (1029/10284) Resolving deltas: 11% (1132/10284) Resolving deltas: 12% (1235/10284) Resolving deltas: 13% (1337/10284) Resolving deltas: 14% (1440/10284) Resolving deltas: 15% (1543/10284) Resolving deltas: 16% (1646/10284) Resolving deltas: 17% (1749/10284) Resolving deltas: 18% (1853/10284) Resolving deltas: 19% (1954/10284) Resolving deltas: 20% (2057/10284) Resolving deltas: 21% (2160/10284) Resolving deltas: 22% (2263/10284) Resolving deltas: 23% (2366/10284) Resolving deltas: 24% (2469/10284) Resolving deltas: 25% (2571/10284) Resolving deltas: 26% (2674/10284) Resolving deltas: 27% (2777/10284) Resolving deltas: 28% (2880/10284) Resolving deltas: 29% (2983/10284) Resolving deltas: 30% (3086/10284) Resolving deltas: 31% (3189/10284) Resolving deltas: 32% (3291/10284) Resolving deltas: 33% (3395/10284) Resolving deltas: 34% (3497/10284) Resolving deltas: 35% (3600/10284) Resolving deltas: 36% (3703/10284) Resolving deltas: 37% (3806/10284) Resolving deltas: 38% (3908/10284) Resolving deltas: 39% (4011/10284) Resolving deltas: 40% (4114/10284) Resolving deltas: 41% (4217/10284) Resolving deltas: 42% (4320/10284) Resolving deltas: 43% (4424/10284) Resolving deltas: 44% (4525/10284) Resolving deltas: 45% (4628/10284) Resolving deltas: 46% (4731/10284) Resolving deltas: 47% (4834/10284) Resolving deltas: 48% (4937/10284) Resolving deltas: 49% (5040/10284) Resolving deltas: 50% (5143/10284) Resolving deltas: 51% (5245/10284) Resolving deltas: 52% (5348/10284) Resolving deltas: 53% (5451/10284) Resolving deltas: 54% (5554/10284) Resolving deltas: 55% (5657/10284) Resolving deltas: 56% (5760/10284) Resolving deltas: 57% (5862/10284) Resolving deltas: 58% (5965/10284) Resolving deltas: 59% (6068/10284) Resolving deltas: 60% (6171/10284) Resolving deltas: 61% (6274/10284) Resolving deltas: 62% (6377/10284) Resolving deltas: 63% (6479/10284) Resolving deltas: 64% (6582/10284) Resolving deltas: 65% (6685/10284) Resolving deltas: 66% (6788/10284) Resolving deltas: 67% (6892/10284) Resolving deltas: 68% (6994/10284) Resolving deltas: 69% (7096/10284) Resolving deltas: 70% (7199/10284) Resolving deltas: 71% (7302/10284) Resolving deltas: 72% (7405/10284) Resolving deltas: 73% (7508/10284) Resolving deltas: 74% (7611/10284) Resolving deltas: 75% (7713/10284) Resolving deltas: 76% (7816/10284) Resolving deltas: 77% (7919/10284) Resolving deltas: 78% (8022/10284) Resolving deltas: 79% (8125/10284) Resolving deltas: 80% (8228/10284) Resolving deltas: 81% (8331/10284) Resolving deltas: 82% (8433/10284) Resolving deltas: 83% (8537/10284) Resolving deltas: 84% (8639/10284) Resolving deltas: 85% (8742/10284) Resolving deltas: 86% (8845/10284) Resolving deltas: 87% (8948/10284) Resolving deltas: 88% (9050/10284) Resolving deltas: 89% (9153/10284) Resolving deltas: 90% (9256/10284) Resolving deltas: 91% (9359/10284) Resolving deltas: 92% (9462/10284) Resolving deltas: 93% (9566/10284) Resolving deltas: 94% (9667/10284) Resolving deltas: 95% (9770/10284) Resolving deltas: 96% (9873/10284) Resolving deltas: 97% (9977/10284) Resolving deltas: 98% (10079/10284) Resolving deltas: 99% (10182/10284) Resolving deltas: 100% (10284/10284) Resolving deltas: 100% (10284/10284), done. ==> Validating source files with b2sums... bear ... Skipped ==> Making package: bear 3.1.2-1 (Wed Jun 21 15:12:24 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (8) New Version Net Change Download Size extra/abseil-cpp 20230125.3-1 5.32 MiB 1.09 MiB extra/c-ares 1.19.1-1 0.45 MiB extra/fmt 9.1.0-4 1.88 MiB extra/grpc 1.53.0-3 15.52 MiB 3.88 MiB extra/nlohmann-json 3.11.2-1 0.98 MiB extra/protobuf 21.12-2 7.70 MiB extra/re2 1:20230301-1 0.32 MiB extra/spdlog 1.11.0-2 0.63 MiB 0.17 MiB Total Download Size: 5.14 MiB Total Installed Size: 32.80 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... grpc-1.53.0-3-riscv64 downloading... abseil-cpp-20230125.3-1-riscv64 downloading... spdlog-1.11.0-2-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing c-ares... installing protobuf... installing re2... installing abseil-cpp... installing grpc... installing fmt... installing spdlog... installing nlohmann-json... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (15) New Version Net Change extra/hicolor-icon-theme 0.17-3 0.05 MiB extra/jsoncpp 1.9.5-2 1.24 MiB core/libedit 20221030_3.1-1 0.24 MiB core/libnsl 2.0.0-3 0.06 MiB extra/libuv 1.44.2-1 0.52 MiB extra/llvm-libs 15.0.7-3 99.58 MiB extra/perl-error 0.17029-4 0.04 MiB extra/perl-mailtools 2.21-6 0.11 MiB extra/perl-timedate 2.33-4 0.08 MiB extra/rhash 1.4.3-1 0.31 MiB extra/cmake 3.26.4-1 59.86 MiB extra/git 2.41.0-1 34.87 MiB extra/gtest 1.13.0-1 2.00 MiB extra/llvm 15.0.7-3 115.99 MiB core/python 3.11.3-1 104.68 MiB Total Installed Size: 419.63 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [pending] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libnsl... installing libuv... installing rhash... installing cmake... Optional dependencies for cmake qt6-base: cmake-gui installing gtest... Optional dependencies for gtest python: gmock generator [pending] installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing libedit... installing llvm-libs... installing llvm... :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Creating working copy of bear git repo... Cloning into 'bear'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... -- The C compiler identification is GNU 13.1.1 -- The CXX compiler identification is GNU 13.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Setting build type to 'Release' as none was specified. -- Looking for nlohman_json dependency -- Looking for nlohman_json dependency -- found -- Looking for fmt dependency -- Looking for fmt dependency -- found -- Looking for spdlog dependency -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for spdlog dependency -- found -- Looking for gRPC::grpc++ dependency -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Checking for modules 'protobuf>=3.11;grpc++>=1.26' -- Found protobuf, version 3.21.12.0 -- Found grpc++, version 1.53.0 -- Looking for gRPC::grpc++ dependency -- found -- Looking for protoc -- Looking for protoc -- found -- Looking for grpc_cpp_plugin -- Looking for grpc_cpp_plugin -- found -- Looking for GTest dependency -- Checking for modules 'gtest>=1.10;gtest_main>=1.10;gmock>=1.10' -- Found gtest, version 1.13.0 -- Found gtest_main, version 1.13.0 -- Found gmock, version 1.13.0 -- Looking for GTest dependency -- found -- Configuring done (165.8s) -- Generating done (0.1s) -- Build files have been written to: /build/bear/src/build ==> Starting pkgver()... ==> Starting build()... [ 0%] Built target spdlog_dependency [ 0%] Built target fmt_dependency [ 0%] Built target googletest_dependency [ 0%] Built target nlohmann_json_dependency [ 0%] Built target grpc_dependency [ 5%] Creating directories for 'BearSource' [ 11%] No download step for 'BearSource' [ 16%] No update step for 'BearSource' [ 22%] No patch step for 'BearSource' [ 27%] Performing configure step for 'BearSource' loading initial cache file /build/bear/src/build/subprojects/tmp/BearSource/BearSource-cache-Release.cmake -- The C compiler identification is GNU 13.1.1 -- The CXX compiler identification is GNU 13.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Checking for modules 'gtest;gtest_main;gmock' -- Found gtest, version 1.13.0 -- Found gtest_main, version 1.13.0 -- Found gmock, version 1.13.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 3.21.12.0 -- Found grpc++, version 1.53.0 -- Looking for spawn.h -- Looking for spawn.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for errno.h -- Looking for errno.h - found -- Looking for sys/utsname.h -- Looking for sys/utsname.h - found -- Looking for sys/wait.h -- Looking for sys/wait.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for gnu/lib-names.h -- Looking for gnu/lib-names.h - found -- Looking for _NSGetEnviron -- Looking for _NSGetEnviron - not found -- Looking for dlopen -- Looking for dlopen - found -- Looking for dlsym -- Looking for dlsym - found -- Looking for dlerror -- Looking for dlerror - found -- Looking for dlclose -- Looking for dlclose - found -- Looking for RTLD_NEXT -- Looking for RTLD_NEXT - found -- Looking for EACCES -- Looking for EACCES - found -- Looking for ENOENT -- Looking for ENOENT - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for environ -- Looking for environ - found -- Looking for uname -- Looking for uname - found -- Looking for confstr -- Looking for confstr - found -- Looking for _CS_PATH -- Looking for _CS_PATH - found -- Looking for _CS_GNU_LIBC_VERSION -- Looking for _CS_GNU_LIBC_VERSION - found -- Looking for _CS_GNU_LIBPTHREAD_VERSION -- Looking for _CS_GNU_LIBPTHREAD_VERSION - found -- Looking for protoc ... /usr/bin/protoc -- Looking for grpc_cpp_plugin ... /usr/bin/grpc_cpp_plugin -- Configuring done (182.6s) -- Generating done (0.6s) -- Build files have been written to: /build/bear/src/build/subprojects/Build/BearSource [ 33%] Performing build step for 'BearSource' [ 4%] Building CXX object libflags/CMakeFiles/flags_a.dir/source/Flags.cc.o [ 4%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Os.cc.o [ 4%] Building CXX object libshell/CMakeFiles/shell_a.dir/source/Command.cc.o [ 4%] Building CXX object libresult/CMakeFiles/result_unit_test.dir/test/ResultTest.cc.o [ 5%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Guard.cc.o [ 7%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Errors.cc.o [ 8%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Path.cc.o [ 8%] Built target flags_a [ 9%] Generating supervise.pb.h, supervise.grpc.pb.h, supervise.pb.cc, supervise.grpc.pb.cc [ 10%] Generating intercept.pb.h, intercept.grpc.pb.h, intercept.pb.cc, intercept.grpc.pb.cc [ 11%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/supervise.pb.cc.o [ 13%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Process.cc.o [ 14%] Linking CXX executable result_unit_test [ 14%] Built target result_unit_test [ 15%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Buffer.cc.o [ 16%] 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/Executor.cc.o [ 19%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Linker.cc.o [ 20%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Logger.cc.o [ 21%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Paths.cc.o [ 22%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Resolver.cc.o [ 22%] Built target shell_a [ 23%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/supervise.grpc.pb.cc.o [ 25%] Building CXX object intercept/CMakeFiles/exec_a.dir/source/report/libexec/Session.cc.o [ 25%] Built target exec_a [ 26%] Building CXX object libflags/CMakeFiles/flags_unit_test.dir/test/FlagsTest.cc.o [ 27%] Building CXX object libshell/CMakeFiles/shell_unit_test.dir/test/CommandTest.cc.o [ 28%] Linking CXX executable shell_unit_test [ 28%] Built target shell_unit_test [ 29%] Linking CXX executable flags_unit_test [ 30%] Building CXX object libmain/CMakeFiles/main_a.dir/source/ApplicationLogConfig.cc.o [ 30%] Built target flags_unit_test [ 32%] Building CXX object intercept/CMakeFiles/exec.dir/source/report/libexec/lib.cc.o [ 33%] Building CXX object libsys/CMakeFiles/sys_a.dir/source/Signal.cc.o [ 34%] Building CXX object intercept/CMakeFiles/exec.dir/source/report/libexec/std.cc.o [ 35%] Linking C shared library libexec.so [ 35%] Built target exec [ 36%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/ArrayTest.cc.o [ 38%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/intercept.pb.cc.o [ 38%] Built target sys_a [ 39%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/BufferTest.cc.o [ 40%] Building CXX object libsys/CMakeFiles/sys_unit_test.dir/test/EnvironmentTest.cc.o [ 41%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/ExecutorTest.cc.o [ 42%] Building CXX object intercept/proto/CMakeFiles/rpc_a.dir/intercept.grpc.pb.cc.o [ 44%] Building CXX object libsys/CMakeFiles/sys_unit_test.dir/test/ErrorsTest.cc.o [ 45%] Building CXX object libmain/CMakeFiles/main_a.dir/source/ApplicationFromArgs.cc.o [ 46%] Building CXX object libsys/CMakeFiles/sys_unit_test.dir/test/PathTest.cc.o [ 46%] Built target rpc_a [ 47%] Building CXX object libmain/CMakeFiles/main_a.dir/source/SubcommandFromArgs.cc.o [ 48%] Linking CXX executable sys_unit_test [ 48%] Built target sys_unit_test [ 50%] Building CXX object citnames/CMakeFiles/citnames_json_a.dir/source/Configuration.cc.o [ 51%] Building CXX object intercept/CMakeFiles/domain_a.dir/source/Domain.cc.o [ 52%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/PathsTest.cc.o [ 53%] Building CXX object intercept/CMakeFiles/domain_a.dir/source/Convert.cc.o [ 53%] Built target main_a [ 54%] Building CXX object intercept/CMakeFiles/events_db_a.dir/source/collect/db/EventsDatabaseReader.cc.o [ 55%] Building CXX object intercept/CMakeFiles/exec_unit_test.dir/test/libexec/SessionTest.cc.o [ 55%] Built target domain_a [ 57%] Building CXX object intercept/CMakeFiles/events_db_a.dir/source/collect/db/EventsDatabaseWriter.cc.o [ 58%] Linking CXX executable exec_unit_test [ 58%] Built target exec_unit_test [ 59%] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/EventFactory.cc.o [ 60%] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/EventReporter.cc.o [ 60%] Built target events_db_a [ 61%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/SessionLibrary.cc.o [ 63%] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/RpcClients.cc.o [ 64%] Building CXX object citnames/CMakeFiles/citnames_json_a.dir/source/Output.cc.o [ 65%] Building CXX object intercept/CMakeFiles/wrapper_a.dir/source/report/wrapper/Application.cc.o [ 66%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Intercept.cc.o [ 67%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Reporter.cc.o [ 67%] Built target citnames_json_a [ 69%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/RpcServices.cc.o [ 69%] Built target wrapper_a [ 70%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/Citnames.cc.o [ 71%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/Session.cc.o [ 72%] Building CXX object intercept/CMakeFiles/intercept_a.dir/source/collect/SessionWrapper.cc.o [ 73%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Build.cc.o [ 75%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Parsers.cc.o [ 76%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/Semantic.cc.o [ 77%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolAny.cc.o [ 78%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolClang.cc.o [ 78%] Built target intercept_a [ 79%] Building CXX object intercept/CMakeFiles/wrapper.dir/source/report/wrapper/main.cc.o [ 80%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolCuda.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/ToolWrapper.cc.o [ 84%] Building CXX object citnames/CMakeFiles/citnames_a.dir/source/semantic/ToolExtendingWrapper.cc.o [ 85%] Linking CXX executable wrapper [ 85%] Built target wrapper [ 86%] Building CXX object intercept/CMakeFiles/intercept_unit_test.dir/test/EventFactoryTest.cc.o [ 88%] Building CXX object intercept/CMakeFiles/intercept_unit_test.dir/test/SessionTest.cc.o [ 88%] Built target citnames_a [ 90%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/OutputTest.cc.o [ 90%] Building CXX object bear/CMakeFiles/bear_a.dir/source/Application.cc.o [ 91%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/ParserTest.cc.o [ 92%] Linking CXX executable intercept_unit_test [ 92%] Built target intercept_unit_test [ 94%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/ToolClangTest.cc.o [ 95%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/ToolGccTest.cc.o [ 96%] Building CXX object citnames/CMakeFiles/citnames_unit_test.dir/test/ToolWrapperTest.cc.o [ 96%] Built target bear_a [ 97%] Building CXX object bear/CMakeFiles/bear.dir/main.cc.o [ 98%] Linking CXX executable citnames_unit_test [ 98%] Built target citnames_unit_test [100%] Linking CXX executable bear [100%] Built target bear [ 38%] Performing test step for 'BearSource' Test project /build/bear/src/build/subprojects/Build/BearSource Start 1: bear::result_unit_test 1/7 Test #1: bear::result_unit_test ........... Passed 0.02 sec Start 2: bear::flags_unit_test 2/7 Test #2: bear::flags_unit_test ............ Passed 0.02 sec Start 3: bear::shell_unit_test 3/7 Test #3: bear::shell_unit_test ............ Passed 0.06 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.17 sec Start 7: bear::citnames_unit_test 7/7 Test #7: bear::citnames_unit_test ......... Passed 0.20 sec 100% tests passed, 0 tests failed out of 7 Total Test time (real) = 0.52 sec [ 44%] Performing install step for 'BearSource' [ 2%] Built target shell_a [ 2%] Built target flags_a [ 4%] Built target result_unit_test [ 11%] Built target sys_a [ 14%] Built target flags_unit_test [ 23%] Built target exec_a [ 30%] Built target rpc_a [ 33%] Built target shell_unit_test [ 40%] Built target exec [ 41%] Built target sys_unit_test [ 45%] Built target main_a [ 52%] Built target exec_unit_test [ 54%] Built target citnames_json_a [ 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 [ 90%] Built target intercept_unit_test [ 90%] Built target bear_a [ 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.1.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 (22.2s) -- Generating done (0.0s) -- Build files have been written to: /build/bear/src/build/subprojects/Build/BearTest [ 83%] Performing build step for 'BearTest' [ 88%] Performing test step for 'BearTest' UpdateCTestConfiguration from :/build/bear/src/build/subprojects/Build/BearTest/DartConfiguration.tcl UpdateCTestConfiguration from :/build/bear/src/build/subprojects/Build/BearTest/DartConfiguration.tcl Test project /build/bear/src/build/subprojects/Build/BearTest Constructing a list of tests Done constructing a list of tests Updating test list for fixtures Added 0 tests to meet fixture requirements Checking test dependency graph... Checking test dependency graph end test 1 Start 1: bear::func_test 1: Test command: /usr/bin/lit "-D_TEST_EXEC_ROOT=/build/bear/src/build/subprojects/Build/BearTest" "-D_BIN_BEAR=/build/bear/src/build/stage/bin/bear" "-D_BIN_CITNAMES=/build/bear/src/build/stage/bin/citnames" "-D_BIN_INTERCEPT=/build/bear/src/build/stage/bin/intercept" "-D_BIN_WRAPPER=/build/bear/src/build/stage/lib/bear/wrapper" "-D_BIN_WRAPPER_DIR=/build/bear/src/build/stage/lib/bear/wrapper.d" "-D_LIB_EXEC=/build/bear/src/build/stage/lib/bear/libexec.so" "-v" "/build/bear/src/build/subprojects/Build/BearTest" 1: Working Directory: /build/bear/src/build/subprojects/Build/BearTest 1: Test timeout computed to be: 90 1: [('%{compile}', 'cc -I /build/bear/src/build/subprojects/Build/BearTest'), ('%{bear}', '/build/bear/src/build/stage/bin/bear --bear-path /build/bear/src/build/stage/bin/bear --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper /build/bear/src/build/stage/lib/bear/wrapper --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d'), ('%{intercept}', '/build/bear/src/build/stage/bin/bear intercept --wrapper /build/bear/src/build/stage/lib/bear/wrapper --library /build/bear/src/build/stage/lib/bear/libexec.so --wrapper-dir /build/bear/src/build/stage/lib/bear/wrapper.d'), ('%{citnames}', '/build/bear/src/build/stage/bin/bear citnames'), ('%{shell}', '/usr/bin/sh'), ('%{make}', '/usr/bin/make'), ('%{true}', '/usr/bin/true'), ('%{false}', '/usr/bin/false'), ('%{echo}', '/usr/bin/echo'), ('%{sleep}', '/usr/bin/sleep'), ('%{c_compiler}', '/usr/bin/cc'), ('%{cxx_compiler}', '/usr/bin/c++'), ('%{libtool}', '/usr/bin/libtool'), ('%{fakeroot}', '/usr/bin/fakeroot')] 1: {'PATH': '/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl', 'LLVM_DISABLE_CRASH_REPORT': '1', 'TERM': 'tmux-256color', 'SOURCE_DATE_EPOCH': '1687331444', '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, 4 workers -- 1: UNSUPPORTED: bear :: cases/citnames/exit_code/exit_code_for_success.sh (1 of 100) 1: XFAIL: bear :: cases/citnames/exit_code/exit_code_for_fail.sh (2 of 100) 1: PASS: bear :: cases/citnames/exit_code/exit_code_for_help.sh (3 of 100) 1: PASS: bear :: cases/citnames/output/clang_plugin.sh (4 of 100) 1: PASS: bear :: cases/citnames/output/relative_paths_converted.sh (5 of 100) 1: PASS: bear :: cases/citnames/output/wrapper_flags_extended.sh (6 of 100) 1: XFAIL: bear :: cases/compilation/exit_code/exit_code_for_empty.sh (7 of 100) 1: PASS: bear :: cases/compilation/exit_code/exit_code_for_help.sh (8 of 100) 1: PASS: bear :: cases/citnames/output/convert_format.sh (9 of 100) 1: XFAIL: bear :: cases/compilation/exit_code/exit_code_for_fail.sh (10 of 100) 1: PASS: bear :: cases/compilation/exit_code/exit_code_for_success.sh (11 of 100) 1: UNSUPPORTED: bear :: cases/compilation/output/compile_cuda.sh (12 of 100) 1: UNSUPPORTED: bear :: cases/compilation/output/compile_fortran.sh (13 of 100) 1: FAIL: bear :: cases/compilation/output/assembly_sources.mk (14 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/assembly_sources.mk' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/make -C /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output -f /build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk clean 1: : 'RUN: at line 5'; /build/bear/src/build/stage/bin/bear --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: [15:30:52.622848, br, 2689] bear: 3.1.2 1: [15:30:52.623568, br, 2689] 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: [15:30:52.623782, br, 2689] 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=1687331444", "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-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk"] 1: [15:30:52.623975, br, 2689] sysname: Linux 1: [15:30:52.624092, br, 2689] release: 6.3.5-arch1-1 1: [15:30:52.624196, br, 2689] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:52.624294, br, 2689] machine: riscv64 1: [15:30:52.624558, br, 2689] 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: [15:30:52.626737, br, 2689] Process spawned. [pid: 2710, 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: [15:30:52.626909, br, 2689] Process wait requested. [pid: 2710] 1: [15:30:52.792515, br, 2710] bear: 3.1.2 1: [15:30:52.792877, br, 2710] 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: [15:30:52.792972, br, 2710] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:30:52.793016, br, 2710] sysname: Linux 1: [15:30:52.793027, br, 2710] release: 6.3.5-arch1-1 1: [15:30:52.793036, br, 2710] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:52.793044, br, 2710] machine: riscv64 1: [15:30:52.793191, br, 2710] 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: [15:30:52.793601, br, 2710] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:30:52.826473, br, 2710] Running gRPC server. dns:///localhost:38649 1: [15:30:52.827708, br, 2710] Process spawned. [pid: 2741, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38649", "--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: [15:30:52.827840, br, 2710] Process wait requested. [pid: 2741] 1: [15:30:52.962956, el, 2741] lib.cc; on_load 1: [15:30:52.964309, wr, 2741, ppid: 2710] wrapper: 3.1.2 1: [15:30:52.964532, wr, 2741, ppid: 2710] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38649", "--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: [15:30:52.964793, wr, 2741, ppid: 2710] 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:38649", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:30:52.965038, wr, 2741, ppid: 2710] 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:38649]}, {--execute: [/usr/bin/make]}, {--verbose: []}]} 1: [15:30:52.984377, wr, 2741, ppid: 2710] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:52.996419, br, 2710] trying to resolve for library: /usr/bin/make 1: [15:30:52.998060, wr, 2741, ppid: 2710] gRPC call [Resolve] finished: true 1: [15:30:52.999908, wr, 2741, ppid: 2710] Process spawned. [pid: 2751, 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: [15:30:53.000257, wr, 2741, ppid: 2710] gRPC call requested: supervise::Interceptor::Register 1: [15:30:53.014349, wr, 2741, ppid: 2710] gRPC call [Register] finished: true 1: [15:30:53.014699, wr, 2741, ppid: 2710] Process wait requested. [pid: 2751] 1: [15:30:53.019369, el, 2751] lib.cc; on_load 1: [15:30:53.025439, el, 2752] lib.cc; execvp file: /bin/sh 1: [15:30:53.168878, el, 2752] lib.cc; on_load 1: [15:30:53.170112, wr, 2752, ppid: 2751] wrapper: 3.1.2 1: [15:30:53.170208, wr, 2752, ppid: 2751] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38649", "--verbose", "--execute", "/bin/sh", "--", "/bin/sh", "-c", "echo \"int main() { return 0; }\" > main.c"] 1: [15:30:53.170315, wr, 2752, ppid: 2751] environment: ["TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "LLVM_DISABLE_CRASH_REPORT=1", "FALSE=/usr/bin/false", "SOURCE_DATE_EPOCH=1687331444", "TMP=/tmp/lit-tmp-r4hbrhzk", "MAKEFLAGS=", "MFLAGS=", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "MAKELEVEL=1", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:38649", "PATH=/build/bear/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-r4hbrhzk", "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: [15:30:53.170458, wr, 2752, ppid: 2751] 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:38649]}, {--execute: [/bin/sh]}, {--verbose: []}]} 1: [15:30:53.189345, wr, 2752, ppid: 2751] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:53.209821, br, 2710] trying to resolve for library: /bin/sh 1: [15:30:53.211196, wr, 2752, ppid: 2751] gRPC call [Resolve] finished: true 1: [15:30:53.212823, wr, 2752, ppid: 2751] Process spawned. [pid: 2763, command: ["/bin/sh", "-c", "echo \"int main() { return 0; }\" > main.c"]] 1: [15:30:53.212987, wr, 2752, ppid: 2751] gRPC call requested: supervise::Interceptor::Register 1: [15:30:53.219283, wr, 2752, ppid: 2751] gRPC call [Register] finished: true 1: [15:30:53.219818, wr, 2752, ppid: 2751] Process wait requested. [pid: 2763] 1: [15:30:53.225386, el, 2763] lib.cc; on_load 1: [15:30:53.237141, el, 2763] lib.cc; on_unload 1: [15:30:53.238554, wr, 2752, ppid: 2751] Process wait request: done. [pid: 2763] 1: [15:30:53.238736, wr, 2752, ppid: 2751] gRPC call requested: supervise::Interceptor::Register 1: [15:30:53.241271, wr, 2752, ppid: 2751] gRPC call [Register] finished: true 1: [15:30:53.374820, wr, 2752, ppid: 2751] succeeded with: 0 1: [15:30:53.375058, el, 2752] lib.cc; on_unload 1: [15:30:53.381712, el, 2769] lib.cc; execvp file: /usr/bin/cc 1: [15:30:53.571610, el, 2769] lib.cc; on_load 1: [15:30:53.573050, wr, 2769, ppid: 2751] wrapper: 3.1.2 1: [15:30:53.573290, wr, 2769, ppid: 2751] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:38649", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-S", "main.c", "-o", "main.s"] 1: [15:30:53.573553, wr, 2769, ppid: 2751] environment: ["TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "LLVM_DISABLE_CRASH_REPORT=1", "FALSE=/usr/bin/false", "SOURCE_DATE_EPOCH=1687331444", "TMP=/tmp/lit-tmp-r4hbrhzk", "MAKEFLAGS=", "MFLAGS=", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "MAKELEVEL=1", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:38649", "PATH=/build/bear/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-r4hbrhzk", "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: [15:30:53.573867, wr, 2769, ppid: 2751] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -S, main.c, -o, main.s]}, {--destination: [dns:///localhost:38649]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:30:53.618130, wr, 2769, ppid: 2751] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:53.627569, br, 2710] trying to resolve for library: /usr/bin/cc 1: [15:30:53.629468, wr, 2769, ppid: 2751] gRPC call [Resolve] finished: true 1: [15:30:53.640564, wr, 2769, ppid: 2751] Process spawned. [pid: 2798, command: ["/usr/bin/cc", "-S", "main.c", "-o", "main.s"]] 1: [15:30:53.640853, wr, 2769, ppid: 2751] gRPC call requested: supervise::Interceptor::Register 1: [15:30:53.646897, wr, 2769, ppid: 2751] gRPC call [Register] finished: true 1: [15:30:53.647230, wr, 2769, ppid: 2751] Process wait requested. [pid: 2798] 1: free(): invalid pointer 1: [15:30:54.072788, wr, 2769, ppid: 2751] Process wait request: done. [pid: 2798] 1: [15:30:54.072893, wr, 2769, ppid: 2751] gRPC call requested: supervise::Interceptor::Register 1: [15:30:54.082809, wr, 2769, ppid: 2751] gRPC call [Register] finished: true 1: [15:30:54.175784, wr, 2769, ppid: 2751] succeeded with: 1 1: [15:30:54.176029, el, 2769] lib.cc; on_unload 1: make: *** [/build/bear/src/bear/test/cases/compilation/output/assembly_sources.mk:14: main.s] Error 1 1: [15:30:54.183049, el, 2751] lib.cc; on_unload 1: [15:30:54.184531, wr, 2741, ppid: 2710] Process wait request: done. [pid: 2751] 1: [15:30:54.184620, wr, 2741, ppid: 2710] gRPC call requested: supervise::Interceptor::Register 1: [15:30:54.188357, wr, 2741, ppid: 2710] gRPC call [Register] finished: true 1: [15:30:54.459105, wr, 2741, ppid: 2710] succeeded with: 2 1: [15:30:54.459339, el, 2741] lib.cc; on_unload 1: [15:30:54.470901, br, 2710] Process wait request: done. [pid: 2741] 1: [15:30:54.471067, br, 2710] Running command. [Exited with 2] 1: [15:30:54.471104, br, 2710] Stopping gRPC server. 1: [15:30:54.485435, br, 2710] succeeded with: 2 1: [15:30:54.496034, br, 2689] Process wait request: done. [pid: 2710] 1: [15:30:54.496201, br, 2689] Running intercept finished. [Exited with 2] 1: [15:30:54.501464, br, 2689] Process spawned. [pid: 2882, 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: [15:30:54.501615, br, 2689] Process wait requested. [pid: 2882] 1: [15:30:54.704988, br, 2882] bear: 3.1.2 1: [15:30:54.705354, br, 2882] 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: [15:30:54.705452, br, 2882] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:30:54.705495, br, 2882] sysname: Linux 1: [15:30:54.705507, br, 2882] release: 6.3.5-arch1-1 1: [15:30:54.705516, br, 2882] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:54.705524, br, 2882] machine: riscv64 1: [15:30:54.705676, br, 2882] 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: [15:30:54.706379, br, 2882] 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: [15:30:54.712498, br, 2882] [pid: 2751] 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":{"PATH":"/build/bear/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","SOURCE_DATE_EPOCH":"1687331444","ECHO":"/usr/bin/echo","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","TRUE":"/usr/bin/true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38649","LLVM_DISABLE_CRASH_REPORT":"1","FALSE":"/usr/bin/false","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TMP":"/tmp/lit-tmp-r4hbrhzk","CXX":"/usr/bin/c++","CC":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [15:30:54.715297, br, 2882] [pid: 2751] recognition failed: No tools recognize this execution. 1: [15:30:54.716647, br, 2882] [pid: 2763] 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":{"PATH":"/build/bear/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","SOURCE_DATE_EPOCH":"1687331444","ECHO":"/usr/bin/echo","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","TERM":"tmux-256color","MAKEFLAGS":"","TEMP":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","MFLAGS":"","TRUE":"/usr/bin/true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38649","LLVM_DISABLE_CRASH_REPORT":"1","FALSE":"/usr/bin/false","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TMP":"/tmp/lit-tmp-r4hbrhzk","MAKELEVEL":"1","CXX":"/usr/bin/c++","CC":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [15:30:54.716717, br, 2882] [pid: 2763] recognition failed: No tools recognize this execution. 1: [15:30:54.718048, br, 2882] [pid: 2798] 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":{"PATH":"/build/bear/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","SOURCE_DATE_EPOCH":"1687331444","ECHO":"/usr/bin/echo","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","TERM":"tmux-256color","MAKEFLAGS":"","TEMP":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","MFLAGS":"","TRUE":"/usr/bin/true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:38649","LLVM_DISABLE_CRASH_REPORT":"1","FALSE":"/usr/bin/false","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TMP":"/tmp/lit-tmp-r4hbrhzk","MAKELEVEL":"1","CXX":"/usr/bin/c++","CC":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [15:30:54.718244, br, 2882] [pid: 2798] recognized. 1: [15:30:54.718963, br, 2882] compilation entries created. [size: 1] 1: [15:30:54.718990, br, 2882] compilation entries to output. [size: 1] 1: [15:30:54.719873, br, 2882] compilation entries written. [size: 1] 1: [15:30:54.719926, br, 2882] succeeded with: 0 1: [15:30:54.725411, br, 2689] Process wait request: done. [pid: 2882] 1: [15:30:54.725550, br, 2689] Running citnames finished. [Exited with 0] 1: [15:30:54.725916, br, 2689] succeeded with: 2 1: 1: error: command failed with exit status: 2 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/bug439.mk (15 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: [15:30:53.437512, br, 2766] bear: 3.1.2 1: [15:30:53.438140, br, 2766] 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: [15:30:53.438371, br, 2766] 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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=0", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "CC=/usr/bin/cc", "SLEEP=/usr/bin/sleep", "_=/build/bear/src/build/stage/bin/bear"] 1: [15:30:53.438516, br, 2766] sysname: Linux 1: [15:30:53.438617, br, 2766] release: 6.3.5-arch1-1 1: [15:30:53.438716, br, 2766] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:53.438808, br, 2766] machine: riscv64 1: [15:30:53.439054, br, 2766] 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: [15:30:53.441208, br, 2766] Process spawned. [pid: 2770, 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: [15:30:53.441366, br, 2766] Process wait requested. [pid: 2770] 1: [15:30:53.659348, br, 2770] bear: 3.1.2 1: [15:30:53.659711, br, 2770] 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: [15:30:53.659835, br, 2770] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true", "_=/build/bear/src/build/stage/bin/bear"] 1: [15:30:53.659884, br, 2770] sysname: Linux 1: [15:30:53.659895, br, 2770] release: 6.3.5-arch1-1 1: [15:30:53.659904, br, 2770] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:53.659912, br, 2770] machine: riscv64 1: [15:30:53.660073, br, 2770] 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: [15:30:53.660512, br, 2770] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:30:53.713319, br, 2770] Running gRPC server. dns:///localhost:36157 1: [15:30:53.714685, br, 2770] Process spawned. [pid: 2819, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:36157", "--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: [15:30:53.714821, br, 2770] Process wait requested. [pid: 2819] 1: [15:30:53.876230, el, 2819] lib.cc; on_load 1: [15:30:53.877348, wr, 2819, ppid: 2770] wrapper: 3.1.2 1: [15:30:53.877447, wr, 2819, ppid: 2770] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:36157", "--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: [15:30:53.877574, wr, 2819, ppid: 2770] 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:36157", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true", "_=/build/bear/src/build/stage/bin/bear"] 1: [15:30:53.877717, wr, 2819, ppid: 2770] 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:36157]}, {--execute: [/usr/bin/make]}, {--verbose: []}]} 1: [15:30:53.883963, wr, 2819, ppid: 2770] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:53.898001, br, 2770] trying to resolve for library: /usr/bin/make 1: [15:30:53.900417, wr, 2819, ppid: 2770] gRPC call [Resolve] finished: true 1: [15:30:53.902066, wr, 2819, ppid: 2770] Process spawned. [pid: 2840, 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: [15:30:53.902235, wr, 2819, ppid: 2770] gRPC call requested: supervise::Interceptor::Register 1: [15:30:53.912738, wr, 2819, ppid: 2770] gRPC call [Register] finished: true 1: [15:30:53.913063, wr, 2819, ppid: 2770] Process wait requested. [pid: 2840] 1: [15:30:53.929433, el, 2840] lib.cc; on_load 1: [15:30:53.936277, el, 2841] lib.cc; execvp file: /bin/sh 1: [15:30:54.088438, el, 2841] lib.cc; on_load 1: [15:30:54.089550, wr, 2841, ppid: 2840] wrapper: 3.1.2 1: [15:30:54.089634, wr, 2841, ppid: 2840] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:36157", "--verbose", "--execute", "/bin/sh", "--", "/bin/sh", "-c", "echo \"int main() { return 0; }\" > bug439.c"] 1: [15:30:54.089764, wr, 2841, ppid: 2840] environment: ["TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "LLVM_DISABLE_CRASH_REPORT=1", "FALSE=/usr/bin/false", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output", "SOURCE_DATE_EPOCH=1687331444", "TMP=/tmp/lit-tmp-r4hbrhzk", "MAKEFLAGS=", "MFLAGS=", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "SHLVL=0", "MAKELEVEL=1", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:36157", "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-r4hbrhzk", "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: [15:30:54.089903, wr, 2841, ppid: 2840] 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:36157]}, {--execute: [/bin/sh]}, {--verbose: []}]} 1: [15:30:54.096739, wr, 2841, ppid: 2840] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:54.114829, br, 2770] trying to resolve for library: /bin/sh 1: [15:30:54.116836, wr, 2841, ppid: 2840] gRPC call [Resolve] finished: true 1: [15:30:54.118543, wr, 2841, ppid: 2840] Process spawned. [pid: 2860, command: ["/bin/sh", "-c", "echo \"int main() { return 0; }\" > bug439.c"]] 1: [15:30:54.118728, wr, 2841, ppid: 2840] gRPC call requested: supervise::Interceptor::Register 1: [15:30:54.124414, wr, 2841, ppid: 2840] gRPC call [Register] finished: true 1: [15:30:54.124725, wr, 2841, ppid: 2840] Process wait requested. [pid: 2860] 1: [15:30:54.137463, el, 2860] lib.cc; on_load 1: [15:30:54.149731, el, 2860] lib.cc; on_unload 1: [15:30:54.151060, wr, 2841, ppid: 2840] Process wait request: done. [pid: 2860] 1: [15:30:54.151121, wr, 2841, ppid: 2840] gRPC call requested: supervise::Interceptor::Register 1: [15:30:54.153594, wr, 2841, ppid: 2840] gRPC call [Register] finished: true 1: [15:30:54.418504, wr, 2841, ppid: 2840] succeeded with: 0 1: [15:30:54.418709, el, 2841] lib.cc; on_unload 1: [15:30:54.424753, el, 2875] lib.cc; execvp file: /usr/bin/cc 1: [15:30:54.576506, el, 2875] lib.cc; on_load 1: [15:30:54.577647, wr, 2875, ppid: 2840] wrapper: 3.1.2 1: [15:30:54.577734, wr, 2875, ppid: 2840] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:36157", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-S", "bug439.c", "-o", "bug439.s"] 1: [15:30:54.577865, wr, 2875, ppid: 2840] environment: ["TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "LLVM_DISABLE_CRASH_REPORT=1", "FALSE=/usr/bin/false", "PWD=/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output", "SOURCE_DATE_EPOCH=1687331444", "TMP=/tmp/lit-tmp-r4hbrhzk", "MAKEFLAGS=", "MFLAGS=", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "SHLVL=0", "MAKELEVEL=1", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:36157", "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-r4hbrhzk", "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: [15:30:54.578011, wr, 2875, ppid: 2840] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/cc, -S, bug439.c, -o, bug439.s]}, {--destination: [dns:///localhost:36157]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:30:54.596919, wr, 2875, ppid: 2840] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:54.611304, br, 2770] trying to resolve for library: /usr/bin/cc 1: [15:30:54.612921, wr, 2875, ppid: 2840] gRPC call [Resolve] finished: true 1: [15:30:54.617533, wr, 2875, ppid: 2840] Process spawned. [pid: 2891, command: ["/usr/bin/cc", "-S", "bug439.c", "-o", "bug439.s"]] 1: [15:30:54.617746, wr, 2875, ppid: 2840] gRPC call requested: supervise::Interceptor::Register 1: [15:30:54.625692, wr, 2875, ppid: 2840] gRPC call [Register] finished: true 1: [15:30:54.626039, wr, 2875, ppid: 2840] Process wait requested. [pid: 2891] 1: free(): invalid pointer 1: [15:30:55.050477, wr, 2875, ppid: 2840] Process wait request: done. [pid: 2891] 1: [15:30:55.050606, wr, 2875, ppid: 2840] gRPC call requested: supervise::Interceptor::Register 1: [15:30:55.053490, wr, 2875, ppid: 2840] gRPC call [Register] finished: true 1: [15:30:55.062062, wr, 2875, ppid: 2840] succeeded with: 1 1: [15:30:55.062280, el, 2875] lib.cc; on_unload 1: make: *** [/build/bear/src/bear/test/cases/compilation/output/bug439.mk:15: bug439.s] Error 1 1: [15:30:55.068122, el, 2840] lib.cc; on_unload 1: [15:30:55.069712, wr, 2819, ppid: 2770] Process wait request: done. [pid: 2840] 1: [15:30:55.069791, wr, 2819, ppid: 2770] gRPC call requested: supervise::Interceptor::Register 1: [15:30:55.072426, wr, 2819, ppid: 2770] gRPC call [Register] finished: true 1: [15:30:55.080519, wr, 2819, ppid: 2770] succeeded with: 2 1: [15:30:55.080756, el, 2819] lib.cc; on_unload 1: [15:30:55.086298, br, 2770] Process wait request: done. [pid: 2819] 1: [15:30:55.086470, br, 2770] Running command. [Exited with 2] 1: [15:30:55.086511, br, 2770] Stopping gRPC server. 1: [15:30:55.347647, br, 2770] succeeded with: 2 1: [15:30:55.362024, br, 2766] Process wait request: done. [pid: 2770] 1: [15:30:55.362184, br, 2766] Running intercept finished. [Exited with 2] 1: [15:30:55.363383, br, 2766] Process spawned. [pid: 2927, 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: [15:30:55.363503, br, 2766] Process wait requested. [pid: 2927] 1: [15:30:55.573718, br, 2927] bear: 3.1.2 1: [15:30:55.574163, br, 2927] 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: [15:30:55.574281, br, 2927] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true", "_=/build/bear/src/build/stage/bin/bear"] 1: [15:30:55.574331, br, 2927] sysname: Linux 1: [15:30:55.574343, br, 2927] release: 6.3.5-arch1-1 1: [15:30:55.574352, br, 2927] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:55.574360, br, 2927] machine: riscv64 1: [15:30:55.574511, br, 2927] 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: [15:30:55.575236, br, 2927] 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: [15:30:55.582027, br, 2927] [pid: 2840] 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":{"TMPDIR":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-r4hbrhzk","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LIBTOOL":"/usr/bin/libtool","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:36157","SLEEP":"/usr/bin/sleep","_":"/build/bear/src/build/stage/bin/bear","TRUE":"/usr/bin/true","INTERCEPT_VERBOSE":"true","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","SOURCE_DATE_EPOCH":"1687331444","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","CC":"/usr/bin/cc","LC_CTYPE":"en_US.UTF-8","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CXX":"/usr/bin/c++","SHLVL":"0","TERM":"tmux-256color","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output"}} 1: [15:30:55.584866, br, 2927] [pid: 2840] recognition failed: No tools recognize this execution. 1: [15:30:55.586351, br, 2927] [pid: 2860] 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":{"TEMP":"/tmp/lit-tmp-r4hbrhzk","TMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:36157","_":"/build/bear/src/build/stage/bin/bear","SOURCE_DATE_EPOCH":"1687331444","CXX":"/usr/bin/c++","TERM":"tmux-256color","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","SLEEP":"/usr/bin/sleep","TRUE":"/usr/bin/true","MAKEFLAGS":"","INTERCEPT_VERBOSE":"true","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","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LC_CTYPE":"en_US.UTF-8","CC":"/usr/bin/cc","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","MAKELEVEL":"1","MFLAGS":"","SHLVL":"0","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output"}} 1: [15:30:55.586442, br, 2927] [pid: 2860] recognition failed: No tools recognize this execution. 1: [15:30:55.588018, br, 2927] [pid: 2891] 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":{"TEMP":"/tmp/lit-tmp-r4hbrhzk","TMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:36157","_":"/build/bear/src/build/stage/bin/bear","SOURCE_DATE_EPOCH":"1687331444","CXX":"/usr/bin/c++","TERM":"tmux-256color","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","SLEEP":"/usr/bin/sleep","TRUE":"/usr/bin/true","MAKEFLAGS":"","INTERCEPT_VERBOSE":"true","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","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LC_CTYPE":"en_US.UTF-8","CC":"/usr/bin/cc","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","MAKELEVEL":"1","MFLAGS":"","SHLVL":"0","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output"}} 1: [15:30:55.588218, br, 2927] [pid: 2891] recognized. 1: [15:30:55.588994, br, 2927] compilation entries created. [size: 1] 1: [15:30:55.589022, br, 2927] compilation entries to output. [size: 1] 1: [15:30:55.589899, br, 2927] compilation entries written. [size: 1] 1: [15:30:55.589960, br, 2927] succeeded with: 0 1: [15:30:55.595936, br, 2766] Process wait request: done. [pid: 2927] 1: [15:30:55.596074, br, 2766] Running citnames finished. [Exited with 0] 1: [15:30:55.596469, br, 2766] succeeded with: 2 1: 1: error: command failed with exit status: 2 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/compilation/output/broken_build.sh (16 of 100) 1: FAIL: bear :: cases/compilation/output/config/filter_compilers.sh (17 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/config/filter_compilers.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh /build/bear/src/bear/test/cases/compilation/output/config/filter_compilers.sh /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output; /build/bear/src/build/stage/bin/bear --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: [15:30:53.816145, br, 2801] bear: 3.1.2 1: [15:30:53.816533, br, 2801] 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: [15:30:53.816630, br, 2801] 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=1687331444", "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-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk"] 1: [15:30:53.816673, br, 2801] sysname: Linux 1: [15:30:53.816685, br, 2801] release: 6.3.5-arch1-1 1: [15:30:53.816693, br, 2801] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:53.816701, br, 2801] machine: riscv64 1: [15:30:53.816839, br, 2801] 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: [15:30:53.818859, br, 2801] Process spawned. [pid: 2821, 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: [15:30:53.819011, br, 2801] Process wait requested. [pid: 2821] 1: [15:30:53.974772, br, 2821] bear: 3.1.2 1: [15:30:53.975180, br, 2821] 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: [15:30:53.975281, br, 2821] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:30:53.975326, br, 2821] sysname: Linux 1: [15:30:53.975338, br, 2821] release: 6.3.5-arch1-1 1: [15:30:53.975347, br, 2821] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:53.975355, br, 2821] machine: riscv64 1: [15:30:53.975518, br, 2821] 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: [15:30:53.975977, br, 2821] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:30:54.029065, br, 2821] Running gRPC server. dns:///localhost:37085 1: [15:30:54.040891, br, 2821] Process spawned. [pid: 2851, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:37085", "--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: [15:30:54.041056, br, 2821] Process wait requested. [pid: 2851] 1: [15:30:54.198030, el, 2851] lib.cc; on_load 1: [15:30:54.199380, wr, 2851, ppid: 2821] wrapper: 3.1.2 1: [15:30:54.199484, wr, 2851, ppid: 2821] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:37085", "--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: [15:30:54.199597, wr, 2851, ppid: 2821] 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:37085", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:30:54.199735, wr, 2851, ppid: 2821] 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:37085]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:30:54.218736, wr, 2851, ppid: 2821] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:54.229446, br, 2821] trying to resolve for library: /usr/bin/sh 1: [15:30:54.231798, wr, 2851, ppid: 2821] gRPC call [Resolve] finished: true 1: [15:30:54.243041, wr, 2851, ppid: 2821] Process spawned. [pid: 2870, command: ["/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_compilers.sh.tmp/build.sh"]] 1: [15:30:54.243221, wr, 2851, ppid: 2821] gRPC call requested: supervise::Interceptor::Register 1: [15:30:54.256024, el, 2870] lib.cc; on_load 1: [15:30:54.268032, wr, 2851, ppid: 2821] gRPC call [Register] finished: true 1: [15:30:54.268401, wr, 2851, ppid: 2821] Process wait requested. [pid: 2870] 1: [15:30:54.270335, el, 2871] lib.cc; execve path: /usr/bin/cc 1: [15:30:54.416005, el, 2871] lib.cc; on_load 1: [15:30:54.417093, wr, 2871, ppid: 2870] wrapper: 3.1.2 1: [15:30:54.417200, wr, 2871, ppid: 2870] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:37085", "--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: [15:30:54.417371, wr, 2871, ppid: 2870] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:37085", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:30:54.417523, wr, 2871, ppid: 2870] 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:37085]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:30:54.437295, wr, 2871, ppid: 2870] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:54.461315, br, 2821] trying to resolve for library: /usr/bin/cc 1: [15:30:54.470225, wr, 2871, ppid: 2870] gRPC call [Resolve] finished: true 1: [15:30:54.481373, wr, 2871, ppid: 2870] Process spawned. [pid: 2881, 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: [15:30:54.481682, wr, 2871, ppid: 2870] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [15:30:54.495553, wr, 2871, ppid: 2870] gRPC call [Register] finished: true 1: [15:30:54.495925, wr, 2871, ppid: 2870] Process wait requested. [pid: 2881] 1: [15:30:54.924296, wr, 2871, ppid: 2870] Process wait request: done. [pid: 2881] 1: [15:30:54.924363, wr, 2871, ppid: 2870] gRPC call requested: supervise::Interceptor::Register 1: [15:30:54.933072, wr, 2871, ppid: 2870] gRPC call [Register] finished: true 1: [15:30:55.194486, wr, 2871, ppid: 2870] succeeded with: 1 1: [15:30:55.194752, el, 2871] lib.cc; on_unload 1: [15:30:55.202490, el, 2914] lib.cc; execve path: /usr/bin/cc 1: [15:30:55.355137, el, 2914] lib.cc; on_load 1: [15:30:55.356364, wr, 2914, ppid: 2870] wrapper: 3.1.2 1: [15:30:55.356483, wr, 2914, ppid: 2870] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:37085", "--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: [15:30:55.356624, wr, 2914, ppid: 2870] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:37085", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:30:55.356787, wr, 2914, ppid: 2870] 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:37085]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:30:55.388009, wr, 2914, ppid: 2870] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:55.410084, br, 2821] trying to resolve for library: /usr/bin/cc 1: [15:30:55.412340, wr, 2914, ppid: 2870] gRPC call [Resolve] finished: true 1: [15:30:55.420974, wr, 2914, ppid: 2870] Process spawned. [pid: 2936, 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: [15:30:55.421200, wr, 2914, ppid: 2870] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [15:30:55.427880, wr, 2914, ppid: 2870] gRPC call [Register] finished: true 1: [15:30:55.428237, wr, 2914, ppid: 2870] Process wait requested. [pid: 2936] 1: [15:30:55.877887, wr, 2914, ppid: 2870] Process wait request: done. [pid: 2936] 1: [15:30:55.877955, wr, 2914, ppid: 2870] gRPC call requested: supervise::Interceptor::Register 1: [15:30:55.885624, wr, 2914, ppid: 2870] gRPC call [Register] finished: true 1: [15:30:55.954825, wr, 2914, ppid: 2870] succeeded with: 1 1: [15:30:55.955042, el, 2914] lib.cc; on_unload 1: [15:30:55.962221, el, 2968] lib.cc; execve path: /usr/bin/c++ 1: [15:30:56.129402, el, 2968] lib.cc; on_load 1: [15:30:56.130533, wr, 2968, ppid: 2870] wrapper: 3.1.2 1: [15:30:56.130663, wr, 2968, ppid: 2870] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:37085", "--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: [15:30:56.130783, wr, 2968, ppid: 2870] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:37085", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:30:56.130931, wr, 2968, ppid: 2870] 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:37085]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [15:30:56.137659, wr, 2968, ppid: 2870] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:56.150881, br, 2821] trying to resolve for library: /usr/bin/c++ 1: [15:30:56.152596, wr, 2968, ppid: 2870] gRPC call [Resolve] finished: true 1: [15:30:56.154312, wr, 2968, ppid: 2870] Process spawned. [pid: 3003, 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: [15:30:56.154483, wr, 2968, ppid: 2870] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [15:30:56.167828, wr, 2968, ppid: 2870] gRPC call [Register] finished: true 1: [15:30:56.168197, wr, 2968, ppid: 2870] Process wait requested. [pid: 3003] 1: [15:30:56.601184, wr, 2968, ppid: 2870] Process wait request: done. [pid: 3003] 1: [15:30:56.601256, wr, 2968, ppid: 2870] gRPC call requested: supervise::Interceptor::Register 1: [15:30:56.607573, wr, 2968, ppid: 2870] gRPC call [Register] finished: true 1: [15:30:56.871151, wr, 2968, ppid: 2870] succeeded with: 1 1: [15:30:56.871364, el, 2968] lib.cc; on_unload 1: [15:30:56.879796, el, 3063] lib.cc; execve path: /usr/bin/c++ 1: [15:30:57.017061, el, 3063] lib.cc; on_load 1: [15:30:57.020932, wr, 3063, ppid: 2870] wrapper: 3.1.2 1: [15:30:57.021037, wr, 3063, ppid: 2870] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:37085", "--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: [15:30:57.021154, wr, 3063, ppid: 2870] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:37085", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:30:57.021298, wr, 3063, ppid: 2870] 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:37085]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [15:30:57.039274, wr, 3063, ppid: 2870] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:57.048287, br, 2821] trying to resolve for library: /usr/bin/c++ 1: [15:30:57.049784, wr, 3063, ppid: 2870] gRPC call [Resolve] finished: true 1: [15:30:57.051406, wr, 3063, ppid: 2870] Process spawned. [pid: 3072, 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: [15:30:57.051572, wr, 3063, ppid: 2870] gRPC call requested: supervise::Interceptor::Register 1: [15:30:57.056549, wr, 3063, ppid: 2870] gRPC call [Register] finished: true 1: [15:30:57.056853, wr, 3063, ppid: 2870] Process wait requested. [pid: 3072] 1: free(): invalid pointer 1: [15:30:57.497433, wr, 3063, ppid: 2870] Process wait request: done. [pid: 3072] 1: [15:30:57.497505, wr, 3063, ppid: 2870] gRPC call requested: supervise::Interceptor::Register 1: [15:30:57.500051, wr, 3063, ppid: 2870] gRPC call [Register] finished: true 1: [15:30:57.526195, wr, 3063, ppid: 2870] succeeded with: 1 1: [15:30:57.526444, el, 3063] lib.cc; on_unload 1: [15:30:57.532893, el, 2870] lib.cc; on_unload 1: [15:30:57.534685, wr, 2851, ppid: 2821] Process wait request: done. [pid: 2870] 1: [15:30:57.534774, wr, 2851, ppid: 2821] gRPC call requested: supervise::Interceptor::Register 1: [15:30:57.541075, wr, 2851, ppid: 2821] gRPC call [Register] finished: true 1: [15:30:57.571062, wr, 2851, ppid: 2821] succeeded with: 1 1: [15:30:57.571297, el, 2851] lib.cc; on_unload 1: [15:30:57.577654, br, 2821] Process wait request: done. [pid: 2851] 1: [15:30:57.577800, br, 2821] Running command. [Exited with 1] 1: [15:30:57.577838, br, 2821] Stopping gRPC server. 1: [15:30:57.670890, br, 2821] succeeded with: 1 1: [15:30:57.684312, br, 2801] Process wait request: done. [pid: 2821] 1: [15:30:57.684485, br, 2801] Running intercept finished. [Exited with 1] 1: [15:30:57.685599, br, 2801] Process spawned. [pid: 3095, 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: [15:30:57.685718, br, 2801] Process wait requested. [pid: 3095] 1: [15:30:57.839142, br, 3095] bear: 3.1.2 1: [15:30:57.839880, br, 3095] 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: [15:30:57.840110, br, 3095] environment: ["CC=/usr/bin/cc", "CXX=/usr/bin/c++", "ECHO=/usr/bin/echo", "FALSE=/usr/bin/false", "LC_CTYPE=en_US.UTF-8", "LIBTOOL=/usr/bin/libtool", "LLVM_DISABLE_CRASH_REPORT=1", "PATH=/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl", "SLEEP=/usr/bin/sleep", "SOURCE_DATE_EPOCH=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:30:57.840277, br, 3095] sysname: Linux 1: [15:30:57.840406, br, 3095] release: 6.3.5-arch1-1 1: [15:30:57.840530, br, 3095] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:57.840742, br, 3095] machine: riscv64 1: [15:30:57.841032, br, 3095] 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: [15:30:57.842209, br, 3095] 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: [15:30:57.848730, br, 3095] [pid: 2870] 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","CXX":"/usr/bin/c++","LIBTOOL":"/usr/bin/libtool","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","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","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","TMP":"/tmp/lit-tmp-r4hbrhzk","CC":"/usr/bin/cc","SOURCE_DATE_EPOCH":"1687331444","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:37085","FALSE":"/usr/bin/false"}} 1: [15:30:57.851886, br, 3095] [pid: 2870] recognition failed: No tools recognize this execution. 1: [15:30:57.853675, br, 3095] [pid: 2881] 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","CXX":"/usr/bin/c++","LIBTOOL":"/usr/bin/libtool","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","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","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","TMP":"/tmp/lit-tmp-r4hbrhzk","CC":"/usr/bin/cc","SHLVL":"1","SOURCE_DATE_EPOCH":"1687331444","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:37085","_":"/usr/bin/cc","FALSE":"/usr/bin/false"}} 1: [15:30:57.854185, br, 3095] [pid: 2881] recognized. 1: [15:30:57.856034, br, 3095] [pid: 2936] 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","CXX":"/usr/bin/c++","LIBTOOL":"/usr/bin/libtool","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","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","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","TMP":"/tmp/lit-tmp-r4hbrhzk","CC":"/usr/bin/cc","SHLVL":"1","SOURCE_DATE_EPOCH":"1687331444","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:37085","_":"/usr/bin/cc","FALSE":"/usr/bin/false"}} 1: [15:30:57.856356, br, 3095] [pid: 2936] recognized. 1: [15:30:57.858153, br, 3095] [pid: 3003] 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","CXX":"/usr/bin/c++","LIBTOOL":"/usr/bin/libtool","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","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","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","TMP":"/tmp/lit-tmp-r4hbrhzk","CC":"/usr/bin/cc","SHLVL":"1","SOURCE_DATE_EPOCH":"1687331444","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:37085","_":"/usr/bin/c++","FALSE":"/usr/bin/false"}} 1: [15:30:57.858463, br, 3095] [pid: 3003] recognition failed: The tool is on the exclude list from configuration. 1: [15:30:57.860157, br, 3095] [pid: 3072] 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","CXX":"/usr/bin/c++","LIBTOOL":"/usr/bin/libtool","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","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","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","TMP":"/tmp/lit-tmp-r4hbrhzk","CC":"/usr/bin/cc","SHLVL":"1","SOURCE_DATE_EPOCH":"1687331444","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:37085","_":"/usr/bin/c++","FALSE":"/usr/bin/false"}} 1: [15:30:57.860390, br, 3095] [pid: 3072] recognition failed: The tool is on the exclude list from configuration. 1: [15:30:57.861242, br, 3095] compilation entries created. [size: 2] 1: [15:30:57.861438, br, 3095] compilation entries to output. [size: 2] 1: [15:30:57.862598, br, 3095] compilation entries written. [size: 2] 1: [15:30:57.862838, br, 3095] succeeded with: 0 1: [15:30:57.868063, br, 2801] Process wait request: done. [pid: 3095] 1: [15:30:57.868203, br, 2801] Running citnames finished. [Exited with 0] 1: [15:30:57.868646, br, 2801] 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 (18 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: [15:30:55.860028, br, 2952] bear: 3.1.2 1: [15:30:55.860475, br, 2952] 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: [15:30:55.860573, br, 2952] 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=1687331444", "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-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk"] 1: [15:30:55.860703, br, 2952] sysname: Linux 1: [15:30:55.860715, br, 2952] release: 6.3.5-arch1-1 1: [15:30:55.860724, br, 2952] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:55.860732, br, 2952] machine: riscv64 1: [15:30:55.860903, br, 2952] 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: [15:30:55.869863, br, 2952] Process spawned. [pid: 2962, 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: [15:30:55.870548, br, 2952] Process wait requested. [pid: 2962] 1: [15:30:56.031758, br, 2962] bear: 3.1.2 1: [15:30:56.032196, br, 2962] 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: [15:30:56.032290, br, 2962] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:30:56.032331, br, 2962] sysname: Linux 1: [15:30:56.032342, br, 2962] release: 6.3.5-arch1-1 1: [15:30:56.032351, br, 2962] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:56.032358, br, 2962] machine: riscv64 1: [15:30:56.032508, br, 2962] 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: [15:30:56.032940, br, 2962] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:30:56.052328, br, 2962] Running gRPC server. dns:///localhost:41441 1: [15:30:56.054246, br, 2962] Process spawned. [pid: 2989, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41441", "--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: [15:30:56.054383, br, 2962] Process wait requested. [pid: 2989] 1: [15:30:56.194417, el, 2989] lib.cc; on_load 1: [15:30:56.195538, wr, 2989, ppid: 2962] wrapper: 3.1.2 1: [15:30:56.195647, wr, 2989, ppid: 2962] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41441", "--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: [15:30:56.195767, wr, 2989, ppid: 2962] 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:41441", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:30:56.195906, wr, 2989, ppid: 2962] 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:41441]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:30:56.202541, wr, 2989, ppid: 2962] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:56.221694, br, 2962] trying to resolve for library: /usr/bin/sh 1: [15:30:56.224066, wr, 2989, ppid: 2962] gRPC call [Resolve] finished: true 1: [15:30:56.234228, wr, 2989, ppid: 2962] Process spawned. [pid: 3013, 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: [15:30:56.234469, wr, 2989, ppid: 2962] gRPC call requested: supervise::Interceptor::Register 1: [15:30:56.245665, wr, 2989, ppid: 2962] gRPC call [Register] finished: true 1: [15:30:56.246019, wr, 2989, ppid: 2962] Process wait requested. [pid: 3013] 1: [15:30:56.248172, el, 3013] lib.cc; on_load 1: [15:30:56.262039, el, 3014] lib.cc; execve path: /usr/bin/cc 1: [15:30:56.415470, el, 3014] lib.cc; on_load 1: [15:30:56.416521, wr, 3014, ppid: 3013] wrapper: 3.1.2 1: [15:30:56.416621, wr, 3014, ppid: 3013] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41441", "--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: [15:30:56.416739, wr, 3014, ppid: 3013] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:41441", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:30:56.416878, wr, 3014, ppid: 3013] 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:41441]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:30:56.438750, wr, 3014, ppid: 3013] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:56.451989, br, 2962] trying to resolve for library: /usr/bin/cc 1: [15:30:56.455198, wr, 3014, ppid: 3013] gRPC call [Resolve] finished: true 1: [15:30:56.460860, wr, 3014, ppid: 3013] Process spawned. [pid: 3042, 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: [15:30:56.461068, wr, 3014, ppid: 3013] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [15:30:56.469506, wr, 3014, ppid: 3013] gRPC call [Register] finished: true 1: [15:30:56.469890, wr, 3014, ppid: 3013] Process wait requested. [pid: 3042] 1: [15:30:56.856538, wr, 3014, ppid: 3013] Process wait request: done. [pid: 3042] 1: [15:30:56.856605, wr, 3014, ppid: 3013] gRPC call requested: supervise::Interceptor::Register 1: [15:30:56.859813, wr, 3014, ppid: 3013] gRPC call [Register] finished: true 1: [15:30:57.119986, wr, 3014, ppid: 3013] succeeded with: 1 1: [15:30:57.120242, el, 3014] lib.cc; on_unload 1: [15:30:57.128136, el, 3073] lib.cc; execve path: /usr/bin/cc 1: [15:30:57.281118, el, 3073] lib.cc; on_load 1: [15:30:57.282191, wr, 3073, ppid: 3013] wrapper: 3.1.2 1: [15:30:57.282287, wr, 3073, ppid: 3013] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41441", "--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: [15:30:57.282416, wr, 3073, ppid: 3013] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:41441", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:30:57.282544, wr, 3073, ppid: 3013] 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:41441]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:30:57.288722, wr, 3073, ppid: 3013] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:57.298311, br, 2962] trying to resolve for library: /usr/bin/cc 1: [15:30:57.300287, wr, 3073, ppid: 3013] gRPC call [Resolve] finished: true 1: [15:30:57.302766, wr, 3073, ppid: 3013] Process spawned. [pid: 3084, 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: [15:30:57.302945, wr, 3073, ppid: 3013] gRPC call requested: supervise::Interceptor::Register 1: [15:30:57.308227, wr, 3073, ppid: 3013] gRPC call [Register] finished: true 1: [15:30:57.308548, wr, 3073, ppid: 3013] Process wait requested. [pid: 3084] 1: free(): invalid pointer 1: [15:30:57.777088, wr, 3073, ppid: 3013] Process wait request: done. [pid: 3084] 1: [15:30:57.777167, wr, 3073, ppid: 3013] gRPC call requested: supervise::Interceptor::Register 1: [15:30:57.781731, wr, 3073, ppid: 3013] gRPC call [Register] finished: true 1: [15:30:58.047464, wr, 3073, ppid: 3013] succeeded with: 1 1: [15:30:58.047724, el, 3073] lib.cc; on_unload 1: [15:30:58.053817, el, 3013] lib.cc; on_unload 1: [15:30:58.055353, wr, 2989, ppid: 2962] Process wait request: done. [pid: 3013] 1: [15:30:58.055436, wr, 2989, ppid: 2962] gRPC call requested: supervise::Interceptor::Register 1: [15:30:58.058062, wr, 2989, ppid: 2962] gRPC call [Register] finished: true 1: [15:30:58.064773, wr, 2989, ppid: 2962] succeeded with: 1 1: [15:30:58.064995, el, 2989] lib.cc; on_unload 1: [15:30:58.072868, br, 2962] Process wait request: done. [pid: 2989] 1: [15:30:58.073041, br, 2962] Running command. [Exited with 1] 1: [15:30:58.073079, br, 2962] Stopping gRPC server. 1: [15:30:58.334775, br, 2962] succeeded with: 1 1: [15:30:58.343183, br, 2952] Process wait request: done. [pid: 2962] 1: [15:30:58.343358, br, 2952] Running intercept finished. [Exited with 1] 1: [15:30:58.344630, br, 2952] Process spawned. [pid: 3119, 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: [15:30:58.344755, br, 2952] Process wait requested. [pid: 3119] 1: [15:30:58.548514, br, 3119] bear: 3.1.2 1: [15:30:58.548867, br, 3119] 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: [15:30:58.548961, br, 3119] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:30:58.549007, br, 3119] sysname: Linux 1: [15:30:58.549018, br, 3119] release: 6.3.5-arch1-1 1: [15:30:58.549027, br, 3119] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:58.549035, br, 3119] machine: riscv64 1: [15:30:58.549195, br, 3119] 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: [15:30:58.550272, br, 3119] 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: [15:30:58.560870, br, 3119] [pid: 3013] 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":{"INTERCEPT_VERBOSE":"true","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:41441","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo","SOURCE_DATE_EPOCH":"1687331444","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TERM":"tmux-256color","LC_CTYPE":"en_US.UTF-8","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TEMP":"/tmp/lit-tmp-r4hbrhzk","TRUE":"/usr/bin/true","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/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: [15:30:58.570949, br, 3119] [pid: 3013] recognition failed: No tools recognize this execution. 1: [15:30:58.572587, br, 3119] [pid: 3042] 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":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","INTERCEPT_VERBOSE":"true","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:41441","SHLVL":"1","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo","_":"/usr/bin/cc","SOURCE_DATE_EPOCH":"1687331444","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TERM":"tmux-256color","LC_CTYPE":"en_US.UTF-8","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TEMP":"/tmp/lit-tmp-r4hbrhzk","TRUE":"/usr/bin/true","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/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: [15:30:58.572836, br, 3119] [pid: 3042] recognized. 1: [15:30:58.574565, br, 3119] [pid: 3084] 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":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","INTERCEPT_VERBOSE":"true","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:41441","SHLVL":"1","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo","_":"/usr/bin/cc","SOURCE_DATE_EPOCH":"1687331444","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TERM":"tmux-256color","LC_CTYPE":"en_US.UTF-8","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TEMP":"/tmp/lit-tmp-r4hbrhzk","TRUE":"/usr/bin/true","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/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: [15:30:58.574717, br, 3119] [pid: 3084] recognized. 1: [15:30:58.575804, br, 3119] compilation entries created. [size: 2] 1: [15:30:58.575843, br, 3119] compilation entries to output. [size: 2] 1: [15:30:58.576815, br, 3119] compilation entries written. [size: 2] 1: [15:30:58.576887, br, 3119] succeeded with: 0 1: [15:30:58.590302, br, 2952] Process wait request: done. [pid: 3119] 1: [15:30:58.590429, br, 2952] Running citnames finished. [Exited with 0] 1: [15:30:58.590959, br, 2952] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/config/filter_sources.sh (19 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: [15:30:56.128991, br, 2974] bear: 3.1.2 1: [15:30:56.129655, br, 2974] 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: [15:30:56.130095, br, 2974] 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=1687331444", "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-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk"] 1: [15:30:56.130255, br, 2974] sysname: Linux 1: [15:30:56.130362, br, 2974] release: 6.3.5-arch1-1 1: [15:30:56.130461, br, 2974] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:56.130558, br, 2974] machine: riscv64 1: [15:30:56.131186, br, 2974] 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: [15:30:56.133298, br, 2974] Process spawned. [pid: 2995, 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: [15:30:56.133450, br, 2974] Process wait requested. [pid: 2995] 1: [15:30:56.297530, br, 2995] bear: 3.1.2 1: [15:30:56.298030, br, 2995] 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: [15:30:56.298124, br, 2995] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:30:56.298171, br, 2995] sysname: Linux 1: [15:30:56.298183, br, 2995] release: 6.3.5-arch1-1 1: [15:30:56.298192, br, 2995] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:56.298201, br, 2995] machine: riscv64 1: [15:30:56.298360, br, 2995] 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: [15:30:56.298819, br, 2995] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:30:56.330773, br, 2995] Running gRPC server. dns:///localhost:41997 1: [15:30:56.337296, br, 2995] Process spawned. [pid: 3033, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41997", "--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: [15:30:56.337450, br, 2995] Process wait requested. [pid: 3033] 1: [15:30:56.509699, el, 3033] lib.cc; on_load 1: [15:30:56.511365, wr, 3033, ppid: 2995] wrapper: 3.1.2 1: [15:30:56.511470, wr, 3033, ppid: 2995] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41997", "--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: [15:30:56.511572, wr, 3033, ppid: 2995] 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:41997", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:30:56.511718, wr, 3033, ppid: 2995] 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:41997]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:30:56.541723, wr, 3033, ppid: 2995] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:56.556383, br, 2995] trying to resolve for library: /usr/bin/sh 1: [15:30:56.558289, wr, 3033, ppid: 2995] gRPC call [Resolve] finished: true 1: [15:30:56.560129, wr, 3033, ppid: 2995] Process spawned. [pid: 3052, command: ["/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh"]] 1: [15:30:56.560454, wr, 3033, ppid: 2995] gRPC call requested: supervise::Interceptor::Register 1: [15:30:56.575579, wr, 3033, ppid: 2995] gRPC call [Register] finished: true 1: [15:30:56.576231, wr, 3033, ppid: 2995] Process wait requested. [pid: 3052] 1: [15:30:56.576593, el, 3052] lib.cc; on_load 1: [15:30:56.590337, el, 3053] lib.cc; execve path: /usr/bin/cc 1: [15:30:56.740555, el, 3053] lib.cc; on_load 1: [15:30:56.741681, wr, 3053, ppid: 3052] wrapper: 3.1.2 1: [15:30:56.741784, wr, 3053, ppid: 3052] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41997", "--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: [15:30:56.741900, wr, 3053, ppid: 3052] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:41997", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:30:56.742039, wr, 3053, ppid: 3052] 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:41997]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:30:56.759844, wr, 3053, ppid: 3052] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:56.768694, br, 2995] trying to resolve for library: /usr/bin/cc 1: [15:30:56.770185, wr, 3053, ppid: 3052] gRPC call [Resolve] finished: true 1: [15:30:56.772013, wr, 3053, ppid: 3052] Process spawned. [pid: 3062, 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: [15:30:56.772178, wr, 3053, ppid: 3052] gRPC call requested: supervise::Interceptor::Register 1: [15:30:56.777695, wr, 3053, ppid: 3052] gRPC call [Register] finished: true 1: [15:30:56.778028, wr, 3053, ppid: 3052] Process wait requested. [pid: 3062] 1: free(): invalid pointer 1: [15:30:57.182695, wr, 3053, ppid: 3052] Process wait request: done. [pid: 3062] 1: [15:30:57.182788, wr, 3053, ppid: 3052] gRPC call requested: supervise::Interceptor::Register 1: [15:30:57.186964, wr, 3053, ppid: 3052] gRPC call [Register] finished: true 1: [15:30:57.200093, wr, 3053, ppid: 3052] succeeded with: 1 1: [15:30:57.200314, el, 3053] lib.cc; on_unload 1: [15:30:57.208778, el, 3075] lib.cc; execve path: /usr/bin/cc 1: [15:30:57.378640, el, 3075] lib.cc; on_load 1: [15:30:57.379874, wr, 3075, ppid: 3052] wrapper: 3.1.2 1: [15:30:57.379988, wr, 3075, ppid: 3052] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41997", "--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: [15:30:57.380131, wr, 3075, ppid: 3052] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:41997", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:30:57.380293, wr, 3075, ppid: 3052] 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:41997]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:30:57.408257, wr, 3075, ppid: 3052] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:57.421535, br, 2995] trying to resolve for library: /usr/bin/cc 1: [15:30:57.423855, wr, 3075, ppid: 3052] gRPC call [Resolve] finished: true 1: [15:30:57.425897, wr, 3075, ppid: 3052] Process spawned. [pid: 3094, 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: [15:30:57.426081, wr, 3075, ppid: 3052] gRPC call requested: supervise::Interceptor::Register 1: [15:30:57.432551, wr, 3075, ppid: 3052] gRPC call [Register] finished: true 1: [15:30:57.433118, wr, 3075, ppid: 3052] Process wait requested. [pid: 3094] 1: free(): invalid pointer 1: [15:30:57.895307, wr, 3075, ppid: 3052] Process wait request: done. [pid: 3094] 1: [15:30:57.895385, wr, 3075, ppid: 3052] gRPC call requested: supervise::Interceptor::Register 1: [15:30:57.902477, wr, 3075, ppid: 3052] gRPC call [Register] finished: true 1: [15:30:57.913369, wr, 3075, ppid: 3052] succeeded with: 1 1: [15:30:57.913601, el, 3075] lib.cc; on_unload 1: [15:30:57.922801, el, 3096] lib.cc; execve path: /usr/bin/cc 1: [15:30:58.066675, el, 3096] lib.cc; on_load 1: [15:30:58.067893, wr, 3096, ppid: 3052] wrapper: 3.1.2 1: [15:30:58.067999, wr, 3096, ppid: 3052] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41997", "--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: [15:30:58.068119, wr, 3096, ppid: 3052] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:41997", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:30:58.068269, wr, 3096, ppid: 3052] 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:41997]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:30:58.076597, wr, 3096, ppid: 3052] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:58.086406, br, 2995] trying to resolve for library: /usr/bin/cc 1: [15:30:58.088286, wr, 3096, ppid: 3052] gRPC call [Resolve] finished: true 1: [15:30:58.097554, wr, 3096, ppid: 3052] Process spawned. [pid: 3117, 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: [15:30:58.097772, wr, 3096, ppid: 3052] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [15:30:58.103818, wr, 3096, ppid: 3052] gRPC call [Register] finished: true 1: [15:30:58.104198, wr, 3096, ppid: 3052] Process wait requested. [pid: 3117] 1: [15:30:58.501669, wr, 3096, ppid: 3052] Process wait request: done. [pid: 3117] 1: [15:30:58.501741, wr, 3096, ppid: 3052] gRPC call requested: supervise::Interceptor::Register 1: [15:30:58.513361, wr, 3096, ppid: 3052] gRPC call [Register] finished: true 1: [15:30:58.523670, wr, 3096, ppid: 3052] succeeded with: 1 1: [15:30:58.523901, el, 3096] lib.cc; on_unload 1: [15:30:58.532243, el, 3137] lib.cc; execve path: /usr/bin/cc 1: [15:30:58.737922, el, 3137] lib.cc; on_load 1: [15:30:58.739130, wr, 3137, ppid: 3052] wrapper: 3.1.2 1: [15:30:58.739241, wr, 3137, ppid: 3052] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:41997", "--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: [15:30:58.739363, wr, 3137, ppid: 3052] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:41997", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:30:58.739518, wr, 3137, ppid: 3052] 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:41997]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:30:58.746389, wr, 3137, ppid: 3052] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:58.756742, br, 2995] trying to resolve for library: /usr/bin/cc 1: [15:30:58.758384, wr, 3137, ppid: 3052] gRPC call [Resolve] finished: true 1: [15:30:58.760122, wr, 3137, ppid: 3052] Process spawned. [pid: 3156, 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: [15:30:58.760323, wr, 3137, ppid: 3052] gRPC call requested: supervise::Interceptor::Register 1: [15:30:58.767046, wr, 3137, ppid: 3052] gRPC call [Register] finished: true 1: [15:30:58.767466, wr, 3137, ppid: 3052] Process wait requested. [pid: 3156] 1: free(): invalid pointer 1: [15:30:59.192313, wr, 3137, ppid: 3052] Process wait request: done. [pid: 3156] 1: [15:30:59.192410, wr, 3137, ppid: 3052] gRPC call requested: supervise::Interceptor::Register 1: [15:30:59.198870, wr, 3137, ppid: 3052] gRPC call [Register] finished: true 1: [15:30:59.208965, wr, 3137, ppid: 3052] succeeded with: 1 1: [15:30:59.209185, el, 3137] lib.cc; on_unload 1: [15:30:59.215498, el, 3052] lib.cc; on_unload 1: [15:30:59.217130, wr, 3033, ppid: 2995] Process wait request: done. [pid: 3052] 1: [15:30:59.217207, wr, 3033, ppid: 2995] gRPC call requested: supervise::Interceptor::Register 1: [15:30:59.219756, wr, 3033, ppid: 2995] gRPC call [Register] finished: true 1: [15:30:59.231275, wr, 3033, ppid: 2995] succeeded with: 1 1: [15:30:59.231500, el, 3033] lib.cc; on_unload 1: [15:30:59.237107, br, 2995] Process wait request: done. [pid: 3033] 1: [15:30:59.237324, br, 2995] Running command. [Exited with 1] 1: [15:30:59.237362, br, 2995] Stopping gRPC server. 1: [15:30:59.249210, br, 2995] succeeded with: 1 1: [15:30:59.256071, br, 2974] Process wait request: done. [pid: 2995] 1: [15:30:59.256245, br, 2974] Running intercept finished. [Exited with 1] 1: [15:30:59.257427, br, 2974] Process spawned. [pid: 3186, 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: [15:30:59.257563, br, 2974] Process wait requested. [pid: 3186] 1: [15:30:59.415404, br, 3186] bear: 3.1.2 1: [15:30:59.415731, br, 3186] 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: [15:30:59.415828, br, 3186] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:30:59.415871, br, 3186] sysname: Linux 1: [15:30:59.415884, br, 3186] release: 6.3.5-arch1-1 1: [15:30:59.415894, br, 3186] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:59.415903, br, 3186] machine: riscv64 1: [15:30:59.416057, br, 3186] 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: [15:30:59.417197, br, 3186] 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: [15:30:59.423596, br, 3186] [pid: 3052] execution: {"executable":"/usr/bin/sh","arguments":["/usr/bin/sh","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/build.sh"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","TERM":"tmux-256color","SLEEP":"/usr/bin/sleep","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:41997","SOURCE_DATE_EPOCH":"1687331444","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","CC":"/usr/bin/cc","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"true","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [15:30:59.426490, br, 3186] [pid: 3052] recognition failed: No tools recognize this execution. 1: [15:30:59.427903, br, 3186] [pid: 3062] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","TERM":"tmux-256color","SLEEP":"/usr/bin/sleep","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:41997","SOURCE_DATE_EPOCH":"1687331444","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","CC":"/usr/bin/cc","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"true","_":"/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","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [15:30:59.428101, br, 3186] [pid: 3062] recognized. 1: [15:30:59.429708, br, 3186] [pid: 3094] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","TERM":"tmux-256color","SLEEP":"/usr/bin/sleep","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:41997","SOURCE_DATE_EPOCH":"1687331444","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","CC":"/usr/bin/cc","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"true","_":"/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","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [15:30:59.429832, br, 3186] [pid: 3094] recognized. 1: [15:30:59.438354, br, 3186] [pid: 3117] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude/source_1.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","TERM":"tmux-256color","SLEEP":"/usr/bin/sleep","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:41997","SOURCE_DATE_EPOCH":"1687331444","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","CC":"/usr/bin/cc","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"true","_":"/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","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [15:30:59.438516, br, 3186] [pid: 3117] recognized. 1: [15:30:59.440110, br, 3186] [pid: 3156] execution: {"executable":"/usr/bin/cc","arguments":["/usr/bin/cc","-c","/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources.sh.tmp/exclude/source_2.c"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","environment":{"TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","TERM":"tmux-256color","SLEEP":"/usr/bin/sleep","SHLVL":"1","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:41997","SOURCE_DATE_EPOCH":"1687331444","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","CC":"/usr/bin/cc","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TRUE":"/usr/bin/true","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"true","_":"/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","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [15:30:59.440207, br, 3186] [pid: 3156] recognized. 1: [15:30:59.440923, br, 3186] compilation entries created. [size: 4] 1: [15:30:59.440955, br, 3186] compilation entries to output. [size: 4] 1: [15:30:59.442011, br, 3186] compilation entries written. [size: 2] 1: [15:30:59.442090, br, 3186] succeeded with: 0 1: [15:30:59.454055, br, 2974] Process wait request: done. [pid: 3186] 1: [15:30:59.454197, br, 2974] Running citnames finished. [Exited with 0] 1: [15:30:59.454619, br, 2974] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/define_with_escaped_quote.sh (20 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: [15:30:58.780390, br, 3143] bear: 3.1.2 1: [15:30:58.780784, br, 3143] 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: [15:30:58.780879, br, 3143] 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=1687331444", "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-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk"] 1: [15:30:58.780918, br, 3143] sysname: Linux 1: [15:30:58.780931, br, 3143] release: 6.3.5-arch1-1 1: [15:30:58.780939, br, 3143] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:58.780947, br, 3143] machine: riscv64 1: [15:30:58.781107, br, 3143] 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: [15:30:58.785403, br, 3143] Process spawned. [pid: 3161, 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: [15:30:58.785569, br, 3143] Process wait requested. [pid: 3161] 1: [15:30:58.930551, br, 3161] bear: 3.1.2 1: [15:30:58.930970, br, 3161] 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: [15:30:58.931064, br, 3161] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:30:58.931124, br, 3161] sysname: Linux 1: [15:30:58.931135, br, 3161] release: 6.3.5-arch1-1 1: [15:30:58.931144, br, 3161] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:58.931151, br, 3161] machine: riscv64 1: [15:30:58.931318, br, 3161] 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: [15:30:58.931807, br, 3161] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:30:58.990512, br, 3161] Running gRPC server. dns:///localhost:46543 1: [15:30:58.991959, br, 3161] Process spawned. [pid: 3172, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46543", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh"]] 1: [15:30:58.992102, br, 3161] Process wait requested. [pid: 3172] 1: [15:30:59.128002, el, 3172] lib.cc; on_load 1: [15:30:59.129184, wr, 3172, ppid: 3161] wrapper: 3.1.2 1: [15:30:59.129271, wr, 3172, ppid: 3161] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46543", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh"] 1: [15:30:59.129373, wr, 3172, ppid: 3161] 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:46543", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:30:59.129510, wr, 3172, ppid: 3161] 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:46543]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:30:59.136229, wr, 3172, ppid: 3161] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:59.147762, br, 3161] trying to resolve for library: /usr/bin/sh 1: [15:30:59.149934, wr, 3172, ppid: 3161] gRPC call [Resolve] finished: true 1: [15:30:59.160872, wr, 3172, ppid: 3161] Process spawned. [pid: 3183, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_escaped_quote.sh"]] 1: [15:30:59.161096, wr, 3172, ppid: 3161] gRPC call requested: supervise::Interceptor::Register 1: [15:30:59.163838, el, 3183] lib.cc; on_load 1: [15:30:59.172537, wr, 3172, ppid: 3161] gRPC call [Register] finished: true 1: [15:30:59.172871, wr, 3172, ppid: 3161] Process wait requested. [pid: 3183] 1: [15:30:59.186236, el, 3185] lib.cc; execve path: /usr/bin/cat 1: [15:30:59.353393, el, 3185] lib.cc; on_load 1: [15:30:59.354640, wr, 3185, ppid: 3183] wrapper: 3.1.2 1: [15:30:59.354731, wr, 3185, ppid: 3183] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46543", "--verbose", "--execute", "/usr/bin/cat", "--", "cat"] 1: [15:30:59.354868, wr, 3185, ppid: 3183] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46543", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:30:59.355023, wr, 3185, ppid: 3183] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [cat]}, {--destination: [dns:///localhost:46543]}, {--execute: [/usr/bin/cat]}, {--verbose: []}]} 1: [15:30:59.375383, wr, 3185, ppid: 3183] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:59.385041, br, 3161] trying to resolve for library: /usr/bin/cat 1: [15:30:59.386564, wr, 3185, ppid: 3183] gRPC call [Resolve] finished: true 1: [15:30:59.388256, wr, 3185, ppid: 3183] Process spawned. [pid: 3205, command: ["cat"]] 1: [15:30:59.388524, wr, 3185, ppid: 3183] gRPC call requested: supervise::Interceptor::Register 1: [15:30:59.394061, wr, 3185, ppid: 3183] gRPC call [Register] finished: true 1: [15:30:59.394387, wr, 3185, ppid: 3183] Process wait requested. [pid: 3205] 1: [15:30:59.401545, el, 3205] lib.cc; on_load 1: [15:30:59.403317, wr, 3185, ppid: 3183] Process wait request: done. [pid: 3205] 1: [15:30:59.403373, wr, 3185, ppid: 3183] gRPC call requested: supervise::Interceptor::Register 1: [15:30:59.405829, wr, 3185, ppid: 3183] gRPC call [Register] finished: true 1: [15:30:59.413447, wr, 3185, ppid: 3183] succeeded with: 0 1: [15:30:59.413664, el, 3185] lib.cc; on_unload 1: [15:30:59.421610, el, 3207] lib.cc; execve path: /usr/bin/cc 1: [15:30:59.608110, el, 3207] lib.cc; on_load 1: [15:30:59.609242, wr, 3207, ppid: 3183] wrapper: 3.1.2 1: [15:30:59.609342, wr, 3207, ppid: 3183] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46543", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-DMESSAGE=\"Hello World\\n\"", "-o", "define_with_escaped_quote", "define_with_escaped_quote.c"] 1: [15:30:59.609473, wr, 3207, ppid: 3183] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46543", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:30:59.609615, wr, 3207, ppid: 3183] 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:46543]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:30:59.615987, wr, 3207, ppid: 3183] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:59.630350, br, 3161] trying to resolve for library: /usr/bin/cc 1: [15:30:59.631998, wr, 3207, ppid: 3183] gRPC call [Resolve] finished: true 1: [15:30:59.633633, wr, 3207, ppid: 3183] Process spawned. [pid: 3228, command: ["/usr/bin/cc", "-DMESSAGE=\"Hello World\\n\"", "-o", "define_with_escaped_quote", "define_with_escaped_quote.c"]] 1: [15:30:59.633813, wr, 3207, ppid: 3183] gRPC call requested: supervise::Interceptor::Register 1: [15:30:59.639527, wr, 3207, ppid: 3183] gRPC call [Register] finished: true 1: [15:30:59.639851, wr, 3207, ppid: 3183] Process wait requested. [pid: 3228] 1: free(): invalid pointer 1: [15:31:00.069011, wr, 3207, ppid: 3183] Process wait request: done. [pid: 3228] 1: [15:31:00.069105, wr, 3207, ppid: 3183] gRPC call requested: supervise::Interceptor::Register 1: [15:31:00.076763, wr, 3207, ppid: 3183] gRPC call [Register] finished: true 1: [15:31:00.336801, wr, 3207, ppid: 3183] succeeded with: 1 1: [15:31:00.337016, el, 3207] lib.cc; on_unload 1: [15:31:00.344256, el, 3183] lib.cc; on_unload 1: [15:31:00.345666, wr, 3172, ppid: 3161] Process wait request: done. [pid: 3183] 1: [15:31:00.345732, wr, 3172, ppid: 3161] gRPC call requested: supervise::Interceptor::Register 1: [15:31:00.348192, wr, 3172, ppid: 3161] gRPC call [Register] finished: true 1: [15:31:00.607905, wr, 3172, ppid: 3161] succeeded with: 1 1: [15:31:00.608126, el, 3172] lib.cc; on_unload 1: [15:31:00.613831, br, 3161] Process wait request: done. [pid: 3172] 1: [15:31:00.614013, br, 3161] Running command. [Exited with 1] 1: [15:31:00.614054, br, 3161] Stopping gRPC server. 1: [15:31:00.874831, br, 3161] succeeded with: 1 1: [15:31:00.888239, br, 3143] Process wait request: done. [pid: 3161] 1: [15:31:00.888403, br, 3143] Running intercept finished. [Exited with 1] 1: [15:31:00.889538, br, 3143] Process spawned. [pid: 3301, 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: [15:31:00.889652, br, 3143] Process wait requested. [pid: 3301] 1: [15:31:01.029933, br, 3301] bear: 3.1.2 1: [15:31:01.030267, br, 3301] 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: [15:31:01.030355, br, 3301] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:01.030397, br, 3301] sysname: Linux 1: [15:31:01.030409, br, 3301] release: 6.3.5-arch1-1 1: [15:31:01.030419, br, 3301] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:01.030428, br, 3301] machine: riscv64 1: [15:31:01.030651, br, 3301] 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: [15:31:01.031323, br, 3301] 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: [15:31:01.037629, br, 3301] [pid: 3183] 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":{"TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","ECHO":"/usr/bin/echo","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:46543","INTERCEPT_VERBOSE":"true","SLEEP":"/usr/bin/sleep","TMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","CXX":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-r4hbrhzk","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","SOURCE_DATE_EPOCH":"1687331444","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [15:31:01.040474, br, 3301] [pid: 3183] recognition failed: No tools recognize this execution. 1: [15:31:01.042005, br, 3301] [pid: 3205] execution: {"executable":"/usr/bin/cat","arguments":["cat"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/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","_":"/usr/bin/cat","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SHLVL":"1","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:46543","INTERCEPT_VERBOSE":"true","SLEEP":"/usr/bin/sleep","TMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","CXX":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-r4hbrhzk","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","SOURCE_DATE_EPOCH":"1687331444","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [15:31:01.042099, br, 3301] [pid: 3205] recognition failed: No tools recognize this execution. 1: [15:31:01.043682, br, 3301] [pid: 3228] 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":{"TRUE":"/usr/bin/true","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/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","_":"/usr/bin/cc","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SHLVL":"1","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:46543","INTERCEPT_VERBOSE":"true","SLEEP":"/usr/bin/sleep","TMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TERM":"tmux-256color","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","CXX":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-r4hbrhzk","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","SOURCE_DATE_EPOCH":"1687331444","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [15:31:01.043885, br, 3301] [pid: 3228] recognized. 1: [15:31:01.044781, br, 3301] compilation entries created. [size: 1] 1: [15:31:01.044819, br, 3301] compilation entries to output. [size: 1] 1: [15:31:01.045783, br, 3301] compilation entries written. [size: 1] 1: [15:31:01.045844, br, 3301] succeeded with: 0 1: [15:31:01.050987, br, 3143] Process wait request: done. [pid: 3301] 1: [15:31:01.051156, br, 3143] Running citnames finished. [Exited with 0] 1: [15:31:01.051581, br, 3143] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/define_with_quote.sh (21 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: [15:30:59.652260, br, 3208] bear: 3.1.2 1: [15:30:59.652633, br, 3208] 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: [15:30:59.652725, br, 3208] 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=1687331444", "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-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk"] 1: [15:30:59.652761, br, 3208] sysname: Linux 1: [15:30:59.652772, br, 3208] release: 6.3.5-arch1-1 1: [15:30:59.652781, br, 3208] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:59.652789, br, 3208] machine: riscv64 1: [15:30:59.652934, br, 3208] 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: [15:30:59.654798, br, 3208] Process spawned. [pid: 3229, 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: [15:30:59.654931, br, 3208] Process wait requested. [pid: 3229] 1: [15:30:59.803246, br, 3229] bear: 3.1.2 1: [15:30:59.803836, br, 3229] 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: [15:30:59.804071, br, 3229] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:30:59.804209, br, 3229] sysname: Linux 1: [15:30:59.804314, br, 3229] release: 6.3.5-arch1-1 1: [15:30:59.804408, br, 3229] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:59.804503, br, 3229] machine: riscv64 1: [15:30:59.804828, br, 3229] 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: [15:30:59.805370, br, 3229] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:30:59.862684, br, 3229] Running gRPC server. dns:///localhost:43247 1: [15:30:59.872673, br, 3229] Process spawned. [pid: 3248, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43247", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh"]] 1: [15:30:59.873030, br, 3229] Process wait requested. [pid: 3248] 1: [15:31:00.013613, el, 3248] lib.cc; on_load 1: [15:31:00.014822, wr, 3248, ppid: 3229] wrapper: 3.1.2 1: [15:31:00.014922, wr, 3248, ppid: 3229] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43247", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh"] 1: [15:31:00.015035, wr, 3248, ppid: 3229] 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:43247", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:00.015182, wr, 3248, ppid: 3229] 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:43247]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:31:00.034910, wr, 3248, ppid: 3229] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:00.047926, br, 3229] trying to resolve for library: /usr/bin/sh 1: [15:31:00.051112, wr, 3248, ppid: 3229] gRPC call [Resolve] finished: true 1: [15:31:00.052715, wr, 3248, ppid: 3229] Process spawned. [pid: 3259, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/define_with_quote.sh"]] 1: [15:31:00.052883, wr, 3248, ppid: 3229] gRPC call requested: supervise::Interceptor::Register 1: [15:31:00.064003, wr, 3248, ppid: 3229] gRPC call [Register] finished: true 1: [15:31:00.064357, wr, 3248, ppid: 3229] Process wait requested. [pid: 3259] 1: [15:31:00.083154, el, 3259] lib.cc; on_load 1: [15:31:00.098421, el, 3269] lib.cc; execve path: /usr/bin/cat 1: [15:31:00.247908, el, 3269] lib.cc; on_load 1: [15:31:00.248994, wr, 3269, ppid: 3259] wrapper: 3.1.2 1: [15:31:00.249072, wr, 3269, ppid: 3259] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43247", "--verbose", "--execute", "/usr/bin/cat", "--", "cat"] 1: [15:31:00.249185, wr, 3269, ppid: 3259] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43247", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:00.249319, wr, 3269, ppid: 3259] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [cat]}, {--destination: [dns:///localhost:43247]}, {--execute: [/usr/bin/cat]}, {--verbose: []}]} 1: [15:31:00.266950, wr, 3269, ppid: 3259] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:00.275775, br, 3229] trying to resolve for library: /usr/bin/cat 1: [15:31:00.276972, wr, 3269, ppid: 3259] gRPC call [Resolve] finished: true 1: [15:31:00.278684, wr, 3269, ppid: 3259] Process spawned. [pid: 3278, command: ["cat"]] 1: [15:31:00.278845, wr, 3269, ppid: 3259] gRPC call requested: supervise::Interceptor::Register 1: [15:31:00.283675, wr, 3269, ppid: 3259] gRPC call [Register] finished: true 1: [15:31:00.283994, wr, 3269, ppid: 3259] Process wait requested. [pid: 3278] 1: [15:31:00.288799, el, 3278] lib.cc; on_load 1: [15:31:00.290415, wr, 3269, ppid: 3259] Process wait request: done. [pid: 3278] 1: [15:31:00.290455, wr, 3269, ppid: 3259] gRPC call requested: supervise::Interceptor::Register 1: [15:31:00.292413, wr, 3269, ppid: 3259] gRPC call [Register] finished: true 1: [15:31:00.551994, wr, 3269, ppid: 3259] succeeded with: 0 1: [15:31:00.552209, el, 3269] lib.cc; on_unload 1: [15:31:00.559398, el, 3280] lib.cc; execve path: /usr/bin/c++ 1: [15:31:00.723535, el, 3280] lib.cc; on_load 1: [15:31:00.724838, wr, 3280, ppid: 3259] wrapper: 3.1.2 1: [15:31:00.724939, wr, 3280, ppid: 3259] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43247", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-DEXPORT=extern \"C\"", "-o", "define_with_quote", "define_with_quote.c"] 1: [15:31:00.725061, wr, 3280, ppid: 3259] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43247", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:00.725206, wr, 3280, ppid: 3259] 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:43247]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [15:31:00.744387, wr, 3280, ppid: 3259] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:00.753165, br, 3229] trying to resolve for library: /usr/bin/c++ 1: [15:31:00.754796, wr, 3280, ppid: 3259] gRPC call [Resolve] finished: true 1: [15:31:00.756558, wr, 3280, ppid: 3259] Process spawned. [pid: 3299, command: ["/usr/bin/c++", "-DEXPORT=extern \"C\"", "-o", "define_with_quote", "define_with_quote.c"]] 1: [15:31:00.756945, wr, 3280, ppid: 3259] gRPC call requested: supervise::Interceptor::Register 1: [15:31:00.762461, wr, 3280, ppid: 3259] gRPC call [Register] finished: true 1: [15:31:00.763789, wr, 3280, ppid: 3259] Process wait requested. [pid: 3299] 1: free(): invalid pointer 1: [15:31:01.192871, wr, 3280, ppid: 3259] Process wait request: done. [pid: 3299] 1: [15:31:01.193212, wr, 3280, ppid: 3259] gRPC call requested: supervise::Interceptor::Register 1: [15:31:01.196955, wr, 3280, ppid: 3259] gRPC call [Register] finished: true 1: [15:31:01.209189, wr, 3280, ppid: 3259] succeeded with: 1 1: [15:31:01.209418, el, 3280] lib.cc; on_unload 1: [15:31:01.215392, el, 3259] lib.cc; on_unload 1: [15:31:01.216875, wr, 3248, ppid: 3229] Process wait request: done. [pid: 3259] 1: [15:31:01.216963, wr, 3248, ppid: 3229] gRPC call requested: supervise::Interceptor::Register 1: [15:31:01.221599, wr, 3248, ppid: 3229] gRPC call [Register] finished: true 1: [15:31:01.353786, wr, 3248, ppid: 3229] succeeded with: 1 1: [15:31:01.354044, el, 3248] lib.cc; on_unload 1: [15:31:01.360338, br, 3229] Process wait request: done. [pid: 3248] 1: [15:31:01.360515, br, 3229] Running command. [Exited with 1] 1: [15:31:01.360553, br, 3229] Stopping gRPC server. 1: [15:31:01.382292, br, 3229] succeeded with: 1 1: [15:31:01.389361, br, 3208] Process wait request: done. [pid: 3229] 1: [15:31:01.389539, br, 3208] Running intercept finished. [Exited with 1] 1: [15:31:01.390711, br, 3208] Process spawned. [pid: 3315, 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: [15:31:01.390832, br, 3208] Process wait requested. [pid: 3315] 1: [15:31:01.539788, br, 3315] bear: 3.1.2 1: [15:31:01.540135, br, 3315] 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: [15:31:01.540230, br, 3315] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:01.540274, br, 3315] sysname: Linux 1: [15:31:01.540285, br, 3315] release: 6.3.5-arch1-1 1: [15:31:01.540294, br, 3315] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:01.540303, br, 3315] machine: riscv64 1: [15:31:01.540447, br, 3315] 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: [15:31:01.541312, br, 3315] 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: [15:31:01.547655, br, 3315] [pid: 3259] 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":{"TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","LIBTOOL":"/usr/bin/libtool","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","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TRUE":"/usr/bin/true","TEMP":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","TMP":"/tmp/lit-tmp-r4hbrhzk","LLVM_DISABLE_CRASH_REPORT":"1","CC":"/usr/bin/cc","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:43247","TERM":"tmux-256color"}} 1: [15:31:01.550749, br, 3315] [pid: 3259] recognition failed: No tools recognize this execution. 1: [15:31:01.552113, br, 3315] [pid: 3278] execution: {"executable":"/usr/bin/cat","arguments":["cat"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LIBTOOL":"/usr/bin/libtool","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","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SHLVL":"1","TRUE":"/usr/bin/true","TEMP":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cat","TMP":"/tmp/lit-tmp-r4hbrhzk","LLVM_DISABLE_CRASH_REPORT":"1","CC":"/usr/bin/cc","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:43247","TERM":"tmux-256color"}} 1: [15:31:01.552191, br, 3315] [pid: 3278] recognition failed: No tools recognize this execution. 1: [15:31:01.553662, br, 3315] [pid: 3299] 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":{"TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LIBTOOL":"/usr/bin/libtool","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","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SHLVL":"1","TRUE":"/usr/bin/true","TEMP":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/c++","TMP":"/tmp/lit-tmp-r4hbrhzk","LLVM_DISABLE_CRASH_REPORT":"1","CC":"/usr/bin/cc","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:43247","TERM":"tmux-256color"}} 1: [15:31:01.553898, br, 3315] [pid: 3299] recognized. 1: [15:31:01.554771, br, 3315] compilation entries created. [size: 1] 1: [15:31:01.554802, br, 3315] compilation entries to output. [size: 1] 1: [15:31:01.555720, br, 3315] compilation entries written. [size: 1] 1: [15:31:01.555774, br, 3315] succeeded with: 0 1: [15:31:01.561097, br, 3208] Process wait request: done. [pid: 3315] 1: [15:31:01.561239, br, 3208] Running citnames finished. [Exited with 0] 1: [15:31:01.561658, br, 3208] 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 (22 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: [15:30:58.191819, br, 3108] bear: 3.1.2 1: [15:30:58.192218, br, 3108] 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: [15:30:58.192313, br, 3108] 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=1687331444", "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-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk"] 1: [15:30:58.192360, br, 3108] sysname: Linux 1: [15:30:58.192371, br, 3108] release: 6.3.5-arch1-1 1: [15:30:58.192380, br, 3108] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:58.192391, br, 3108] machine: riscv64 1: [15:30:58.192551, br, 3108] 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: [15:30:58.194511, br, 3108] Process spawned. [pid: 3118, 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: [15:30:58.194654, br, 3108] Process wait requested. [pid: 3118] 1: [15:30:58.350183, br, 3118] bear: 3.1.2 1: [15:30:58.350554, br, 3118] 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: [15:30:58.350828, br, 3118] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:30:58.350887, br, 3118] sysname: Linux 1: [15:30:58.350900, br, 3118] release: 6.3.5-arch1-1 1: [15:30:58.350909, br, 3118] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:30:58.350917, br, 3118] machine: riscv64 1: [15:30:58.351082, br, 3118] 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: [15:30:58.351549, br, 3118] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:30:58.370363, br, 3118] Running gRPC server. dns:///localhost:43159 1: [15:30:58.373368, br, 3118] Process spawned. [pid: 3129, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43159", "--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: [15:30:58.373525, br, 3118] Process wait requested. [pid: 3129] 1: [15:30:58.524168, el, 3129] lib.cc; on_load 1: [15:30:58.525370, wr, 3129, ppid: 3118] wrapper: 3.1.2 1: [15:30:58.525476, wr, 3129, ppid: 3118] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43159", "--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: [15:30:58.525596, wr, 3129, ppid: 3118] 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:43159", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:30:58.525753, wr, 3129, ppid: 3118] 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:43159]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:30:58.546382, wr, 3129, ppid: 3118] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:58.562970, br, 3118] trying to resolve for library: /usr/bin/sh 1: [15:30:58.564844, wr, 3129, ppid: 3118] gRPC call [Resolve] finished: true 1: [15:30:58.574766, wr, 3129, ppid: 3118] Process spawned. [pid: 3141, command: ["/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output/filter_sources_relative.sh.tmp/build.sh"]] 1: [15:30:58.574959, wr, 3129, ppid: 3118] gRPC call requested: supervise::Interceptor::Register 1: [15:30:58.587939, el, 3141] lib.cc; on_load 1: [15:30:58.590300, wr, 3129, ppid: 3118] gRPC call [Register] finished: true 1: [15:30:58.590689, wr, 3129, ppid: 3118] Process wait requested. [pid: 3141] 1: [15:30:58.602420, el, 3142] lib.cc; execve path: /usr/bin/cc 1: [15:30:58.749589, el, 3142] lib.cc; on_load 1: [15:30:58.750835, wr, 3142, ppid: 3141] wrapper: 3.1.2 1: [15:30:58.750951, wr, 3142, ppid: 3141] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43159", "--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: [15:30:58.751092, wr, 3142, ppid: 3141] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43159", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:30:58.751247, wr, 3142, ppid: 3141] 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:43159]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:30:58.773689, wr, 3142, ppid: 3141] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:58.786048, br, 3118] trying to resolve for library: /usr/bin/cc 1: [15:30:58.788471, wr, 3142, ppid: 3141] gRPC call [Resolve] finished: true 1: [15:30:58.800887, wr, 3142, ppid: 3141] Process spawned. [pid: 3162, 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: [15:30:58.801334, wr, 3142, ppid: 3141] gRPC call requested: supervise::Interceptor::Register 1: [15:30:58.808366, wr, 3142, ppid: 3141] gRPC call [Register] finished: true 1: [15:30:58.808918, wr, 3142, ppid: 3141] Process wait requested. [pid: 3162] 1: free(): invalid pointer 1: [15:30:59.297316, wr, 3142, ppid: 3141] Process wait request: done. [pid: 3162] 1: [15:30:59.297496, wr, 3142, ppid: 3141] gRPC call requested: supervise::Interceptor::Register 1: [15:30:59.303219, wr, 3142, ppid: 3141] gRPC call [Register] finished: true 1: [15:30:59.568657, wr, 3142, ppid: 3141] succeeded with: 1 1: [15:30:59.568886, el, 3142] lib.cc; on_unload 1: [15:30:59.576483, el, 3212] lib.cc; execve path: /usr/bin/cc 1: [15:30:59.727483, el, 3212] lib.cc; on_load 1: [15:30:59.728576, wr, 3212, ppid: 3141] wrapper: 3.1.2 1: [15:30:59.728680, wr, 3212, ppid: 3141] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43159", "--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: [15:30:59.728813, wr, 3212, ppid: 3141] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43159", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:30:59.728948, wr, 3212, ppid: 3141] 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:43159]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:30:59.760851, wr, 3212, ppid: 3141] gRPC call requested: supervise::Supervisor::Resolve 1: [15:30:59.769810, br, 3118] trying to resolve for library: /usr/bin/cc 1: [15:30:59.771797, wr, 3212, ppid: 3141] gRPC call [Resolve] finished: true 1: [15:30:59.773451, wr, 3212, ppid: 3141] Process spawned. [pid: 3238, 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: [15:30:59.773625, wr, 3212, ppid: 3141] gRPC call requested: supervise::Interceptor::Register 1: [15:30:59.779198, wr, 3212, ppid: 3141] gRPC call [Register] finished: true 1: [15:30:59.779520, wr, 3212, ppid: 3141] Process wait requested. [pid: 3238] 1: free(): invalid pointer 1: [15:31:00.184438, wr, 3212, ppid: 3141] Process wait request: done. [pid: 3238] 1: [15:31:00.184541, wr, 3212, ppid: 3141] gRPC call requested: supervise::Interceptor::Register 1: [15:31:00.190203, wr, 3212, ppid: 3141] gRPC call [Register] finished: true 1: [15:31:00.457541, wr, 3212, ppid: 3141] succeeded with: 1 1: [15:31:00.457762, el, 3212] lib.cc; on_unload 1: [15:31:00.470106, el, 3279] lib.cc; execve path: /usr/bin/cc 1: [15:31:00.612875, el, 3279] lib.cc; on_load 1: [15:31:00.614650, wr, 3279, ppid: 3141] wrapper: 3.1.2 1: [15:31:00.615627, wr, 3279, ppid: 3141] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43159", "--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: [15:31:00.615922, wr, 3279, ppid: 3141] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43159", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:00.616201, wr, 3279, ppid: 3141] 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:43159]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:00.634643, wr, 3279, ppid: 3141] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:00.643889, br, 3118] trying to resolve for library: /usr/bin/cc 1: [15:31:00.650469, wr, 3279, ppid: 3141] gRPC call [Resolve] finished: true 1: [15:31:00.652225, wr, 3279, ppid: 3141] Process spawned. [pid: 3290, 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: [15:31:00.652539, wr, 3279, ppid: 3141] gRPC call requested: supervise::Interceptor::Register 1: [15:31:00.658490, wr, 3279, ppid: 3141] gRPC call [Register] finished: true 1: [15:31:00.659053, wr, 3279, ppid: 3141] Process wait requested. [pid: 3290] 1: free(): invalid pointer 1: [15:31:01.064201, wr, 3279, ppid: 3141] Process wait request: done. [pid: 3290] 1: [15:31:01.064310, wr, 3279, ppid: 3141] gRPC call requested: supervise::Interceptor::Register 1: [15:31:01.072922, wr, 3279, ppid: 3141] gRPC call [Register] finished: true 1: [15:31:01.145187, wr, 3279, ppid: 3141] succeeded with: 1 1: [15:31:01.145435, el, 3279] lib.cc; on_unload 1: [15:31:01.153646, el, 3303] lib.cc; execve path: /usr/bin/cc 1: [15:31:01.310239, el, 3303] lib.cc; on_load 1: [15:31:01.311497, wr, 3303, ppid: 3141] wrapper: 3.1.2 1: [15:31:01.311610, wr, 3303, ppid: 3141] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43159", "--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: [15:31:01.311733, wr, 3303, ppid: 3141] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43159", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:01.311883, wr, 3303, ppid: 3141] 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:43159]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:01.336448, wr, 3303, ppid: 3141] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:01.346228, br, 3118] trying to resolve for library: /usr/bin/cc 1: [15:31:01.348218, wr, 3303, ppid: 3141] gRPC call [Resolve] finished: true 1: [15:31:01.349813, wr, 3303, ppid: 3141] Process spawned. [pid: 3314, 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: [15:31:01.349978, wr, 3303, ppid: 3141] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [15:31:01.366540, wr, 3303, ppid: 3141] gRPC call [Register] finished: true 1: [15:31:01.366876, wr, 3303, ppid: 3141] Process wait requested. [pid: 3314] 1: [15:31:01.822732, wr, 3303, ppid: 3141] Process wait request: done. [pid: 3314] 1: [15:31:01.822800, wr, 3303, ppid: 3141] gRPC call requested: supervise::Interceptor::Register 1: [15:31:01.825813, wr, 3303, ppid: 3141] gRPC call [Register] finished: true 1: [15:31:01.834342, wr, 3303, ppid: 3141] succeeded with: 1 1: [15:31:01.834563, el, 3303] lib.cc; on_unload 1: [15:31:01.840961, el, 3141] lib.cc; on_unload 1: [15:31:01.842542, wr, 3129, ppid: 3118] Process wait request: done. [pid: 3141] 1: [15:31:01.842638, wr, 3129, ppid: 3118] gRPC call requested: supervise::Interceptor::Register 1: [15:31:01.845089, wr, 3129, ppid: 3118] gRPC call [Register] finished: true 1: [15:31:01.853849, wr, 3129, ppid: 3118] succeeded with: 1 1: [15:31:01.854112, el, 3129] lib.cc; on_unload 1: [15:31:01.859864, br, 3118] Process wait request: done. [pid: 3129] 1: [15:31:01.860015, br, 3118] Running command. [Exited with 1] 1: [15:31:01.860054, br, 3118] Stopping gRPC server. 1: [15:31:01.867343, br, 3118] succeeded with: 1 1: [15:31:01.874065, br, 3108] Process wait request: done. [pid: 3118] 1: [15:31:01.874244, br, 3108] Running intercept finished. [Exited with 1] 1: [15:31:01.875487, br, 3108] Process spawned. [pid: 3339, 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: [15:31:01.875619, br, 3108] Process wait requested. [pid: 3339] 1: [15:31:02.028016, br, 3339] bear: 3.1.2 1: [15:31:02.028311, br, 3339] 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: [15:31:02.028404, br, 3339] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:02.028444, br, 3339] sysname: Linux 1: [15:31:02.028456, br, 3339] release: 6.3.5-arch1-1 1: [15:31:02.028467, br, 3339] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:02.028475, br, 3339] machine: riscv64 1: [15:31:02.028615, br, 3339] 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: [15:31:02.029640, br, 3339] 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: [15:31:02.035759, br, 3339] [pid: 3141] 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":{"SOURCE_DATE_EPOCH":"1687331444","CXX":"/usr/bin/c++","TERM":"tmux-256color","FALSE":"/usr/bin/false","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:43159","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","TEMP":"/tmp/lit-tmp-r4hbrhzk","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo","TMP":"/tmp/lit-tmp-r4hbrhzk","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8"}} 1: [15:31:02.038615, br, 3339] [pid: 3141] recognition failed: No tools recognize this execution. 1: [15:31:02.040043, br, 3339] [pid: 3162] 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":{"SOURCE_DATE_EPOCH":"1687331444","CXX":"/usr/bin/c++","TERM":"tmux-256color","FALSE":"/usr/bin/false","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:43159","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","_":"/usr/bin/cc","TEMP":"/tmp/lit-tmp-r4hbrhzk","SHLVL":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo","TMP":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8"}} 1: [15:31:02.040247, br, 3339] [pid: 3162] recognized. 1: [15:31:02.041948, br, 3339] [pid: 3238] 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":{"SOURCE_DATE_EPOCH":"1687331444","CXX":"/usr/bin/c++","TERM":"tmux-256color","FALSE":"/usr/bin/false","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:43159","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","_":"/usr/bin/cc","TEMP":"/tmp/lit-tmp-r4hbrhzk","SHLVL":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo","TMP":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8"}} 1: [15:31:02.042054, br, 3339] [pid: 3238] recognized. 1: [15:31:02.043545, br, 3339] [pid: 3290] 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":{"SOURCE_DATE_EPOCH":"1687331444","CXX":"/usr/bin/c++","TERM":"tmux-256color","FALSE":"/usr/bin/false","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:43159","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","_":"/usr/bin/cc","TEMP":"/tmp/lit-tmp-r4hbrhzk","SHLVL":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo","TMP":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8"}} 1: [15:31:02.043642, br, 3339] [pid: 3290] recognized. 1: [15:31:02.045229, br, 3339] [pid: 3314] 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":{"SOURCE_DATE_EPOCH":"1687331444","CXX":"/usr/bin/c++","TERM":"tmux-256color","FALSE":"/usr/bin/false","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:43159","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","LIBTOOL":"/usr/bin/libtool","SLEEP":"/usr/bin/sleep","LLVM_DISABLE_CRASH_REPORT":"1","_":"/usr/bin/cc","TEMP":"/tmp/lit-tmp-r4hbrhzk","SHLVL":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo","TMP":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/config/Output","TRUE":"/usr/bin/true","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LC_CTYPE":"en_US.UTF-8"}} 1: [15:31:02.045330, br, 3339] [pid: 3314] recognized. 1: [15:31:02.045997, br, 3339] compilation entries created. [size: 4] 1: [15:31:02.046028, br, 3339] compilation entries to output. [size: 4] 1: [15:31:02.047037, br, 3339] compilation entries written. [size: 2] 1: [15:31:02.047115, br, 3339] succeeded with: 0 1: [15:31:02.052368, br, 3108] Process wait request: done. [pid: 3339] 1: [15:31:02.052544, br, 3108] Running citnames finished. [Exited with 0] 1: [15:31:02.052967, br, 3108] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/compilation/output/config/filter_flags.sh (23 of 100) 1: FAIL: bear :: cases/compilation/output/empty_env.sh (24 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: [15:31:02.312810, br, 3385] bear: 3.1.2 1: [15:31:02.319050, br, 3385] 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: [15:31:02.319222, br, 3385] environment: [] 1: [15:31:02.319356, br, 3385] sysname: Linux 1: [15:31:02.319458, br, 3385] release: 6.3.5-arch1-1 1: [15:31:02.319555, br, 3385] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:02.319650, br, 3385] machine: riscv64 1: [15:31:02.319909, br, 3385] 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: [15:31:02.321879, br, 3385] Process spawned. [pid: 3395, 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: [15:31:02.322033, br, 3385] Process wait requested. [pid: 3395] 1: [15:31:02.501868, br, 3395] bear: 3.1.2 1: [15:31:02.502272, br, 3395] 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: [15:31:02.502296, br, 3395] environment: [] 1: [15:31:02.502333, br, 3395] sysname: Linux 1: [15:31:02.502346, br, 3395] release: 6.3.5-arch1-1 1: [15:31:02.502356, br, 3395] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:02.502364, br, 3395] machine: riscv64 1: [15:31:02.502522, br, 3395] 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: [15:31:02.502953, br, 3395] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:31:02.523713, br, 3395] Running gRPC server. dns:///localhost:35095 1: [15:31:02.540446, br, 3395] Process spawned. [pid: 3408, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35095", "--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: [15:31:02.540652, br, 3395] Process wait requested. [pid: 3408] 1: [15:31:02.706898, el, 3408] lib.cc; on_load 1: [15:31:02.708240, wr, 3408, ppid: 3395] wrapper: 3.1.2 1: [15:31:02.708470, wr, 3408, ppid: 3395] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35095", "--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: [15:31:02.708621, wr, 3408, ppid: 3395] environment: ["INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:35095", "INTERCEPT_VERBOSE=true", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so"] 1: [15:31:02.708858, wr, 3408, ppid: 3395] 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:35095]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:31:02.715240, wr, 3408, ppid: 3395] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:02.736374, br, 3395] trying to resolve for library: /usr/bin/sh 1: [15:31:02.738386, wr, 3408, ppid: 3395] gRPC call [Resolve] finished: true 1: [15:31:02.739884, wr, 3408, ppid: 3395] Process spawned. [pid: 3430, command: ["/usr/bin/sh", "/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output/empty_env.sh.tmp/build.sh"]] 1: [15:31:02.740027, wr, 3408, ppid: 3395] gRPC call requested: supervise::Interceptor::Register 1: [15:31:02.750445, wr, 3408, ppid: 3395] gRPC call [Register] finished: true 1: [15:31:02.750805, wr, 3408, ppid: 3395] Process wait requested. [pid: 3430] 1: [15:31:02.760076, el, 3430] lib.cc; on_load 1: [15:31:02.764768, el, 3431] lib.cc; execve path: /usr/bin/cc 1: [15:31:02.928407, el, 3431] lib.cc; on_load 1: [15:31:02.929776, wr, 3431, ppid: 3430] wrapper: 3.1.2 1: [15:31:02.930090, wr, 3431, ppid: 3430] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35095", "--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: [15:31:02.930275, wr, 3431, ppid: 3430] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35095", "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: [15:31:02.930534, wr, 3431, ppid: 3430] 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:35095]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:02.941877, wr, 3431, ppid: 3430] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:02.954471, br, 3395] trying to resolve for library: /usr/bin/cc 1: [15:31:02.956876, wr, 3431, ppid: 3430] gRPC call [Resolve] finished: true 1: [15:31:02.958766, wr, 3431, ppid: 3430] Process spawned. [pid: 3468, 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: [15:31:02.958952, wr, 3431, ppid: 3430] gRPC call requested: supervise::Interceptor::Register 1: [15:31:02.965493, wr, 3431, ppid: 3430] gRPC call [Register] finished: true 1: [15:31:02.965963, wr, 3431, ppid: 3430] Process wait requested. [pid: 3468] 1: free(): invalid pointer 1: [15:31:03.404154, wr, 3431, ppid: 3430] Process wait request: done. [pid: 3468] 1: [15:31:03.404248, wr, 3431, ppid: 3430] gRPC call requested: supervise::Interceptor::Register 1: [15:31:03.406929, wr, 3431, ppid: 3430] gRPC call [Register] finished: true 1: [15:31:03.414082, wr, 3431, ppid: 3430] succeeded with: 1 1: [15:31:03.414285, el, 3431] lib.cc; on_unload 1: [15:31:03.421293, el, 3492] lib.cc; execve path: /usr/bin/cc 1: [15:31:03.623347, el, 3492] lib.cc; on_load 1: [15:31:03.624587, wr, 3492, ppid: 3430] wrapper: 3.1.2 1: [15:31:03.624713, wr, 3492, ppid: 3430] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35095", "--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: [15:31:03.624779, wr, 3492, ppid: 3430] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35095", "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: [15:31:03.624926, wr, 3492, ppid: 3430] 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:35095]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:03.655499, wr, 3492, ppid: 3430] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:03.664968, br, 3395] trying to resolve for library: /usr/bin/cc 1: [15:31:03.666548, wr, 3492, ppid: 3430] gRPC call [Resolve] finished: true 1: [15:31:03.688278, wr, 3492, ppid: 3430] Process spawned. [pid: 3529, 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: [15:31:03.688757, wr, 3492, ppid: 3430] gRPC call requested: supervise::Interceptor::Register 1: [15:31:03.695120, wr, 3492, ppid: 3430] gRPC call [Register] finished: true 1: [15:31:03.695691, wr, 3492, ppid: 3430] Process wait requested. [pid: 3529] 1: free(): invalid pointer 1: [15:31:04.144610, wr, 3492, ppid: 3430] Process wait request: done. [pid: 3529] 1: [15:31:04.144725, wr, 3492, ppid: 3430] gRPC call requested: supervise::Interceptor::Register 1: [15:31:04.148569, wr, 3492, ppid: 3430] gRPC call [Register] finished: true 1: [15:31:04.417007, wr, 3492, ppid: 3430] succeeded with: 1 1: [15:31:04.417222, el, 3492] lib.cc; on_unload 1: [15:31:04.423245, el, 3430] lib.cc; on_unload 1: [15:31:04.424562, wr, 3408, ppid: 3395] Process wait request: done. [pid: 3430] 1: [15:31:04.424633, wr, 3408, ppid: 3395] gRPC call requested: supervise::Interceptor::Register 1: [15:31:04.426966, wr, 3408, ppid: 3395] gRPC call [Register] finished: true 1: [15:31:04.438939, wr, 3408, ppid: 3395] succeeded with: 1 1: [15:31:04.439163, el, 3408] lib.cc; on_unload 1: [15:31:04.445119, br, 3395] Process wait request: done. [pid: 3408] 1: [15:31:04.445292, br, 3395] Running command. [Exited with 1] 1: [15:31:04.445320, br, 3395] Stopping gRPC server. 1: [15:31:04.706740, br, 3395] succeeded with: 1 1: [15:31:04.713442, br, 3385] Process wait request: done. [pid: 3395] 1: [15:31:04.713603, br, 3385] Running intercept finished. [Exited with 1] 1: [15:31:04.714723, br, 3385] Process spawned. [pid: 3559, 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: [15:31:04.714838, br, 3385] Process wait requested. [pid: 3559] 1: [15:31:04.845846, br, 3559] bear: 3.1.2 1: [15:31:04.846184, br, 3559] 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: [15:31:04.846203, br, 3559] environment: [] 1: [15:31:04.846235, br, 3559] sysname: Linux 1: [15:31:04.846246, br, 3559] release: 6.3.5-arch1-1 1: [15:31:04.846254, br, 3559] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:04.846263, br, 3559] machine: riscv64 1: [15:31:04.846401, br, 3559] 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: [15:31:04.846976, br, 3559] 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: [15:31:04.852301, br, 3559] [pid: 3430] 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_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35095"}} 1: [15:31:04.855035, br, 3559] [pid: 3430] recognition failed: No tools recognize this execution. 1: [15:31:04.855800, br, 3559] [pid: 3468] 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":{"_":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35095","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","SHLVL":"1","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [15:31:04.856045, br, 3559] [pid: 3468] recognized. 1: [15:31:04.857188, br, 3559] [pid: 3529] 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":{"_":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35095","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","SHLVL":"1","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so"}} 1: [15:31:04.857315, br, 3559] [pid: 3529] recognized. 1: [15:31:04.857913, br, 3559] compilation entries created. [size: 2] 1: [15:31:04.857936, br, 3559] compilation entries to output. [size: 2] 1: [15:31:04.858849, br, 3559] compilation entries written. [size: 2] 1: [15:31:04.858907, br, 3559] succeeded with: 0 1: [15:31:04.864041, br, 3385] Process wait request: done. [pid: 3559] 1: [15:31:04.864194, br, 3385] Running citnames finished. [Exited with 0] 1: [15:31:04.864586, br, 3385] 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 (25 of 100) 1: FAIL: bear :: cases/compilation/output/duplicate_entries.sh (26 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: [15:31:01.245539, br, 3302] bear: 3.1.2 1: [15:31:01.246184, br, 3302] 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: [15:31:01.246382, br, 3302] 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=1687331444", "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-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk"] 1: [15:31:01.246518, br, 3302] sysname: Linux 1: [15:31:01.246617, br, 3302] release: 6.3.5-arch1-1 1: [15:31:01.246714, br, 3302] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:01.246807, br, 3302] machine: riscv64 1: [15:31:01.247050, br, 3302] 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: [15:31:01.249239, br, 3302] Process spawned. [pid: 3304, 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: [15:31:01.249567, br, 3302] Process wait requested. [pid: 3304] 1: [15:31:01.404751, br, 3304] bear: 3.1.2 1: [15:31:01.405098, br, 3304] 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: [15:31:01.405194, br, 3304] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:01.405237, br, 3304] sysname: Linux 1: [15:31:01.405249, br, 3304] release: 6.3.5-arch1-1 1: [15:31:01.405258, br, 3304] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:01.405266, br, 3304] machine: riscv64 1: [15:31:01.412430, br, 3304] 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: [15:31:01.413607, br, 3304] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:31:01.466024, br, 3304] Running gRPC server. dns:///localhost:40913 1: [15:31:01.467669, br, 3304] Process spawned. [pid: 3325, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40913", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh"]] 1: [15:31:01.467813, br, 3304] Process wait requested. [pid: 3325] 1: [15:31:01.645990, el, 3325] lib.cc; on_load 1: [15:31:01.647084, wr, 3325, ppid: 3304] wrapper: 3.1.2 1: [15:31:01.647180, wr, 3325, ppid: 3304] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40913", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh"] 1: [15:31:01.647331, wr, 3325, ppid: 3304] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:01.647479, wr, 3325, ppid: 3304] 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:40913]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:31:01.653867, wr, 3325, ppid: 3304] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:01.677496, br, 3304] trying to resolve for library: /usr/bin/sh 1: [15:31:01.679254, wr, 3325, ppid: 3304] gRPC call [Resolve] finished: true 1: [15:31:01.687566, wr, 3325, ppid: 3304] Process spawned. [pid: 3336, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/duplicate_entries.sh"]] 1: [15:31:01.687785, wr, 3325, ppid: 3304] gRPC call requested: supervise::Interceptor::Register 1: [15:31:01.700748, el, 3336] lib.cc; on_load 1: [15:31:01.704458, wr, 3325, ppid: 3304] gRPC call [Register] finished: true 1: [15:31:01.704833, wr, 3325, ppid: 3304] Process wait requested. [pid: 3336] 1: [15:31:01.714741, el, 3337] lib.cc; execve path: /usr/bin/touch 1: [15:31:01.879750, el, 3337] lib.cc; on_load 1: [15:31:01.881042, wr, 3337, ppid: 3336] wrapper: 3.1.2 1: [15:31:01.881145, wr, 3337, ppid: 3336] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40913", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "duplicate_entries_1.c", "duplicate_entries_2.c"] 1: [15:31:01.881271, wr, 3337, ppid: 3336] 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/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:01.881431, wr, 3337, ppid: 3336] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, duplicate_entries_1.c, duplicate_entries_2.c]}, {--destination: [dns:///localhost:40913]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [15:31:01.888655, wr, 3337, ppid: 3336] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:01.900571, br, 3304] trying to resolve for library: /usr/bin/touch 1: [15:31:01.902919, wr, 3337, ppid: 3336] gRPC call [Resolve] finished: true 1: [15:31:01.908151, wr, 3337, ppid: 3336] Process spawned. [pid: 3350, command: ["touch", "duplicate_entries_1.c", "duplicate_entries_2.c"]] 1: [15:31:01.908385, wr, 3337, ppid: 3336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:01.915468, wr, 3337, ppid: 3336] gRPC call [Register] finished: true 1: [15:31:01.915838, wr, 3337, ppid: 3336] Process wait requested. [pid: 3350] 1: [15:31:01.925329, el, 3350] lib.cc; on_load 1: [15:31:01.927599, wr, 3337, ppid: 3336] Process wait request: done. [pid: 3350] 1: [15:31:01.927662, wr, 3337, ppid: 3336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:01.930700, wr, 3337, ppid: 3336] gRPC call [Register] finished: true 1: [15:31:01.943464, wr, 3337, ppid: 3336] succeeded with: 0 1: [15:31:01.943690, el, 3337] lib.cc; on_unload 1: [15:31:01.951183, el, 3359] lib.cc; execve path: /usr/bin/cc 1: [15:31:02.124163, el, 3359] lib.cc; on_load 1: [15:31:02.125544, wr, 3359, ppid: 3336] wrapper: 3.1.2 1: [15:31:02.125821, wr, 3359, ppid: 3336] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40913", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_1.o"] 1: [15:31:02.126093, wr, 3359, ppid: 3336] 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/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:02.126408, wr, 3359, ppid: 3336] 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:40913]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:02.145277, wr, 3359, ppid: 3336] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:02.155559, br, 3304] trying to resolve for library: /usr/bin/cc 1: [15:31:02.158139, wr, 3359, ppid: 3336] gRPC call [Resolve] finished: true 1: [15:31:02.164888, wr, 3359, ppid: 3336] Process spawned. [pid: 3386, command: ["/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_1.o"]] 1: [15:31:02.165114, wr, 3359, ppid: 3336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:02.171703, wr, 3359, ppid: 3336] gRPC call [Register] finished: true 1: [15:31:02.172052, wr, 3359, ppid: 3336] Process wait requested. [pid: 3386] 1: free(): invalid pointer 1: [15:31:02.603419, wr, 3359, ppid: 3336] Process wait request: done. [pid: 3386] 1: [15:31:02.603480, wr, 3359, ppid: 3336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:02.606589, wr, 3359, ppid: 3336] gRPC call [Register] finished: true 1: [15:31:02.625995, wr, 3359, ppid: 3336] succeeded with: 1 1: [15:31:02.626239, el, 3359] lib.cc; on_unload 1: [15:31:02.633867, el, 3419] lib.cc; execve path: /usr/bin/cc 1: [15:31:02.780052, el, 3419] lib.cc; on_load 1: [15:31:02.781197, wr, 3419, ppid: 3336] wrapper: 3.1.2 1: [15:31:02.781289, wr, 3419, ppid: 3336] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40913", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_2.o"] 1: [15:31:02.781419, wr, 3419, ppid: 3336] 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/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:02.781555, wr, 3419, ppid: 3336] 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:40913]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:02.787916, wr, 3419, ppid: 3336] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:02.800823, br, 3304] trying to resolve for library: /usr/bin/cc 1: [15:31:02.802425, wr, 3419, ppid: 3336] gRPC call [Resolve] finished: true 1: [15:31:02.804768, wr, 3419, ppid: 3336] Process spawned. [pid: 3448, command: ["/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_2.o"]] 1: [15:31:02.804945, wr, 3419, ppid: 3336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:02.811587, wr, 3419, ppid: 3336] gRPC call [Register] finished: true 1: [15:31:02.811958, wr, 3419, ppid: 3336] Process wait requested. [pid: 3448] 1: free(): invalid pointer 1: [15:31:03.230993, wr, 3419, ppid: 3336] Process wait request: done. [pid: 3448] 1: [15:31:03.231097, wr, 3419, ppid: 3336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:03.238741, wr, 3419, ppid: 3336] gRPC call [Register] finished: true 1: [15:31:03.251470, wr, 3419, ppid: 3336] succeeded with: 1 1: [15:31:03.251913, el, 3419] lib.cc; on_unload 1: [15:31:03.260014, el, 3480] lib.cc; execve path: /usr/bin/cc 1: [15:31:03.469438, el, 3480] lib.cc; on_load 1: [15:31:03.471254, wr, 3480, ppid: 3336] wrapper: 3.1.2 1: [15:31:03.471523, wr, 3480, ppid: 3336] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40913", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_3.o", "-D_FLAG=value"] 1: [15:31:03.471782, wr, 3480, ppid: 3336] 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/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:03.472051, wr, 3480, ppid: 3336] 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:40913]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:03.478674, wr, 3480, ppid: 3336] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:03.502413, br, 3304] trying to resolve for library: /usr/bin/cc 1: [15:31:03.504555, wr, 3480, ppid: 3336] gRPC call [Resolve] finished: true 1: [15:31:03.514095, wr, 3480, ppid: 3336] Process spawned. [pid: 3501, command: ["/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_3.o", "-D_FLAG=value"]] 1: [15:31:03.514335, wr, 3480, ppid: 3336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:03.520419, wr, 3480, ppid: 3336] gRPC call [Register] finished: true 1: [15:31:03.520807, wr, 3480, ppid: 3336] Process wait requested. [pid: 3501] 1: free(): invalid pointer 1: [15:31:03.967557, wr, 3480, ppid: 3336] Process wait request: done. [pid: 3501] 1: [15:31:03.967631, wr, 3480, ppid: 3336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:03.970042, wr, 3480, ppid: 3336] gRPC call [Register] finished: true 1: [15:31:03.976489, wr, 3480, ppid: 3336] succeeded with: 1 1: [15:31:03.976693, el, 3480] lib.cc; on_unload 1: [15:31:03.984410, el, 3539] lib.cc; execve path: /usr/bin/cc 1: [15:31:04.134166, el, 3539] lib.cc; on_load 1: [15:31:04.135622, wr, 3539, ppid: 3336] wrapper: 3.1.2 1: [15:31:04.135860, wr, 3539, ppid: 3336] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40913", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_4.o", "-D_FLAG=value"] 1: [15:31:04.136111, wr, 3539, ppid: 3336] 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/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:04.136366, wr, 3539, ppid: 3336] 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:40913]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:04.155904, wr, 3539, ppid: 3336] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:04.165576, br, 3304] trying to resolve for library: /usr/bin/cc 1: [15:31:04.167476, wr, 3539, ppid: 3336] gRPC call [Resolve] finished: true 1: [15:31:04.169208, wr, 3539, ppid: 3336] Process spawned. [pid: 3548, command: ["/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_4.o", "-D_FLAG=value"]] 1: [15:31:04.169513, wr, 3539, ppid: 3336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:04.175118, wr, 3539, ppid: 3336] gRPC call [Register] finished: true 1: [15:31:04.175648, wr, 3539, ppid: 3336] Process wait requested. [pid: 3548] 1: free(): invalid pointer 1: [15:31:04.598477, wr, 3539, ppid: 3336] Process wait request: done. [pid: 3548] 1: [15:31:04.598557, wr, 3539, ppid: 3336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:04.601544, wr, 3539, ppid: 3336] gRPC call [Register] finished: true 1: [15:31:04.862961, wr, 3539, ppid: 3336] succeeded with: 1 1: [15:31:04.863178, el, 3539] lib.cc; on_unload 1: [15:31:04.870745, el, 3560] lib.cc; execve path: /usr/bin/cc 1: [15:31:05.018262, el, 3560] lib.cc; on_load 1: [15:31:05.019369, wr, 3560, ppid: 3336] wrapper: 3.1.2 1: [15:31:05.019458, wr, 3560, ppid: 3336] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40913", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_1.o"] 1: [15:31:05.019575, wr, 3560, ppid: 3336] 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/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:05.019711, wr, 3560, ppid: 3336] 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:40913]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:05.038169, wr, 3560, ppid: 3336] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:05.047710, br, 3304] trying to resolve for library: /usr/bin/cc 1: [15:31:05.049219, wr, 3560, ppid: 3336] gRPC call [Resolve] finished: true 1: [15:31:05.050915, wr, 3560, ppid: 3336] Process spawned. [pid: 3571, command: ["/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_1.o"]] 1: [15:31:05.051094, wr, 3560, ppid: 3336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:05.056631, wr, 3560, ppid: 3336] gRPC call [Register] finished: true 1: [15:31:05.056953, wr, 3560, ppid: 3336] Process wait requested. [pid: 3571] 1: free(): invalid pointer 1: [15:31:05.495320, wr, 3560, ppid: 3336] Process wait request: done. [pid: 3571] 1: [15:31:05.495387, wr, 3560, ppid: 3336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:05.498039, wr, 3560, ppid: 3336] gRPC call [Register] finished: true 1: [15:31:05.561097, wr, 3560, ppid: 3336] succeeded with: 1 1: [15:31:05.561345, el, 3560] lib.cc; on_unload 1: [15:31:05.574560, el, 3606] lib.cc; execve path: /usr/bin/cc 1: [15:31:05.718894, el, 3606] lib.cc; on_load 1: [15:31:05.719973, wr, 3606, ppid: 3336] wrapper: 3.1.2 1: [15:31:05.720068, wr, 3606, ppid: 3336] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40913", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_2.o"] 1: [15:31:05.720202, wr, 3606, ppid: 3336] 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/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:05.720339, wr, 3606, ppid: 3336] 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:40913]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:05.739109, wr, 3606, ppid: 3336] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:05.749341, br, 3304] trying to resolve for library: /usr/bin/cc 1: [15:31:05.751263, wr, 3606, ppid: 3336] gRPC call [Resolve] finished: true 1: [15:31:05.752896, wr, 3606, ppid: 3336] Process spawned. [pid: 3635, command: ["/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_2.o"]] 1: [15:31:05.753063, wr, 3606, ppid: 3336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:05.759039, wr, 3606, ppid: 3336] gRPC call [Register] finished: true 1: [15:31:05.759355, wr, 3606, ppid: 3336] Process wait requested. [pid: 3635] 1: free(): invalid pointer 1: [15:31:06.166772, wr, 3606, ppid: 3336] Process wait request: done. [pid: 3635] 1: [15:31:06.166854, wr, 3606, ppid: 3336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:06.174198, wr, 3606, ppid: 3336] gRPC call [Register] finished: true 1: [15:31:06.242630, wr, 3606, ppid: 3336] succeeded with: 1 1: [15:31:06.242865, el, 3606] lib.cc; on_unload 1: [15:31:06.250124, el, 3678] lib.cc; execve path: /usr/bin/cc 1: [15:31:06.397565, el, 3678] lib.cc; on_load 1: [15:31:06.398706, wr, 3678, ppid: 3336] wrapper: 3.1.2 1: [15:31:06.398806, wr, 3678, ppid: 3336] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40913", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_3.o", "-D_FLAG=value"] 1: [15:31:06.398941, wr, 3678, ppid: 3336] 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/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:06.399090, wr, 3678, ppid: 3336] 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:40913]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:06.444646, wr, 3678, ppid: 3336] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:06.478896, br, 3304] trying to resolve for library: /usr/bin/cc 1: [15:31:06.480681, wr, 3678, ppid: 3336] gRPC call [Resolve] finished: true 1: [15:31:06.490825, wr, 3678, ppid: 3336] Process spawned. [pid: 3711, command: ["/usr/bin/cc", "-c", "duplicate_entries_1.c", "-o", "duplicate_entries_3.o", "-D_FLAG=value"]] 1: [15:31:06.491117, wr, 3678, ppid: 3336] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [15:31:06.501215, wr, 3678, ppid: 3336] gRPC call [Register] finished: true 1: [15:31:06.501621, wr, 3678, ppid: 3336] Process wait requested. [pid: 3711] 1: [15:31:06.947747, wr, 3678, ppid: 3336] Process wait request: done. [pid: 3711] 1: [15:31:06.947813, wr, 3678, ppid: 3336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:06.951001, wr, 3678, ppid: 3336] gRPC call [Register] finished: true 1: [15:31:07.216166, wr, 3678, ppid: 3336] succeeded with: 1 1: [15:31:07.216413, el, 3678] lib.cc; on_unload 1: [15:31:07.223697, el, 3737] lib.cc; execve path: /usr/bin/cc 1: [15:31:07.360613, el, 3737] lib.cc; on_load 1: [15:31:07.361762, wr, 3737, ppid: 3336] wrapper: 3.1.2 1: [15:31:07.361844, wr, 3737, ppid: 3336] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40913", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_4.o", "-D_FLAG=value"] 1: [15:31:07.361959, wr, 3737, ppid: 3336] 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/Output", "TRUE=/usr/bin/true", "SOURCE_DATE_EPOCH=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:07.362096, wr, 3737, ppid: 3336] 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:40913]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:07.381772, wr, 3737, ppid: 3336] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:07.391937, br, 3304] trying to resolve for library: /usr/bin/cc 1: [15:31:07.394387, wr, 3737, ppid: 3336] gRPC call [Resolve] finished: true 1: [15:31:07.397958, wr, 3737, ppid: 3336] Process spawned. [pid: 3747, command: ["/usr/bin/cc", "-c", "duplicate_entries_2.c", "-o", "duplicate_entries_4.o", "-D_FLAG=value"]] 1: [15:31:07.398156, wr, 3737, ppid: 3336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:07.406398, wr, 3737, ppid: 3336] gRPC call [Register] finished: true 1: [15:31:07.407107, wr, 3737, ppid: 3336] Process wait requested. [pid: 3747] 1: free(): invalid pointer 1: [15:31:07.819845, wr, 3737, ppid: 3336] Process wait request: done. [pid: 3747] 1: [15:31:07.819926, wr, 3737, ppid: 3336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:07.823393, wr, 3737, ppid: 3336] gRPC call [Register] finished: true 1: [15:31:08.089149, wr, 3737, ppid: 3336] succeeded with: 1 1: [15:31:08.089408, el, 3737] lib.cc; on_unload 1: [15:31:08.095264, el, 3336] lib.cc; on_unload 1: [15:31:08.096683, wr, 3325, ppid: 3304] Process wait request: done. [pid: 3336] 1: [15:31:08.096757, wr, 3325, ppid: 3304] gRPC call requested: supervise::Interceptor::Register 1: [15:31:08.099596, wr, 3325, ppid: 3304] gRPC call [Register] finished: true 1: [15:31:08.106877, wr, 3325, ppid: 3304] succeeded with: 1 1: [15:31:08.107078, el, 3325] lib.cc; on_unload 1: [15:31:08.114200, br, 3304] Process wait request: done. [pid: 3325] 1: [15:31:08.114364, br, 3304] Running command. [Exited with 1] 1: [15:31:08.114402, br, 3304] Stopping gRPC server. 1: [15:31:08.373710, br, 3304] succeeded with: 1 1: [15:31:08.381690, br, 3302] Process wait request: done. [pid: 3304] 1: [15:31:08.381861, br, 3302] Running intercept finished. [Exited with 1] 1: [15:31:08.383099, br, 3302] Process spawned. [pid: 3770, 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: [15:31:08.383223, br, 3302] Process wait requested. [pid: 3770] 1: [15:31:08.532848, br, 3770] bear: 3.1.2 1: [15:31:08.533401, br, 3770] 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: [15:31:08.533615, br, 3770] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:08.533796, br, 3770] sysname: Linux 1: [15:31:08.533956, br, 3770] release: 6.3.5-arch1-1 1: [15:31:08.534079, br, 3770] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:08.534194, br, 3770] machine: riscv64 1: [15:31:08.534445, br, 3770] 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: [15:31:08.535219, br, 3770] 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: [15:31:08.541450, br, 3770] [pid: 3336] 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":{"TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40913","CC":"/usr/bin/cc","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LIBTOOL":"/usr/bin/libtool","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","TRUE":"/usr/bin/true","ECHO":"/usr/bin/echo"}} 1: [15:31:08.544670, br, 3770] [pid: 3336] recognition failed: No tools recognize this execution. 1: [15:31:08.546298, br, 3770] [pid: 3350] 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":{"TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40913","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","SHLVL":"1","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LIBTOOL":"/usr/bin/libtool","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/touch","TRUE":"/usr/bin/true","ECHO":"/usr/bin/echo"}} 1: [15:31:08.546519, br, 3770] [pid: 3350] recognition failed: No tools recognize this execution. 1: [15:31:08.548158, br, 3770] [pid: 3386] 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":{"TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40913","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","SHLVL":"1","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LIBTOOL":"/usr/bin/libtool","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TRUE":"/usr/bin/true","ECHO":"/usr/bin/echo"}} 1: [15:31:08.548518, br, 3770] [pid: 3386] recognized. 1: [15:31:08.550331, br, 3770] [pid: 3448] 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":{"TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40913","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","SHLVL":"1","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LIBTOOL":"/usr/bin/libtool","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TRUE":"/usr/bin/true","ECHO":"/usr/bin/echo"}} 1: [15:31:08.550658, br, 3770] [pid: 3448] recognized. 1: [15:31:08.552349, br, 3770] [pid: 3501] 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":{"TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40913","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","SHLVL":"1","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LIBTOOL":"/usr/bin/libtool","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TRUE":"/usr/bin/true","ECHO":"/usr/bin/echo"}} 1: [15:31:08.552626, br, 3770] [pid: 3501] recognized. 1: [15:31:08.554731, br, 3770] [pid: 3548] 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":{"TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40913","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","SHLVL":"1","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LIBTOOL":"/usr/bin/libtool","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TRUE":"/usr/bin/true","ECHO":"/usr/bin/echo"}} 1: [15:31:08.555038, br, 3770] [pid: 3548] recognized. 1: [15:31:08.557352, br, 3770] [pid: 3571] 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":{"TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40913","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","SHLVL":"1","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LIBTOOL":"/usr/bin/libtool","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TRUE":"/usr/bin/true","ECHO":"/usr/bin/echo"}} 1: [15:31:08.557671, br, 3770] [pid: 3571] recognized. 1: [15:31:08.559507, br, 3770] [pid: 3635] 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":{"TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40913","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","SHLVL":"1","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LIBTOOL":"/usr/bin/libtool","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TRUE":"/usr/bin/true","ECHO":"/usr/bin/echo"}} 1: [15:31:08.559801, br, 3770] [pid: 3635] recognized. 1: [15:31:08.561939, br, 3770] [pid: 3711] 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":{"TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40913","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","SHLVL":"1","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LIBTOOL":"/usr/bin/libtool","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TRUE":"/usr/bin/true","ECHO":"/usr/bin/echo"}} 1: [15:31:08.562235, br, 3770] [pid: 3711] recognized. 1: [15:31:08.564791, br, 3770] [pid: 3747] 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":{"TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","SLEEP":"/usr/bin/sleep","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:40913","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","INTERCEPT_VERBOSE":"true","SHLVL":"1","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","LIBTOOL":"/usr/bin/libtool","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TRUE":"/usr/bin/true","ECHO":"/usr/bin/echo"}} 1: [15:31:08.565137, br, 3770] [pid: 3747] recognized. 1: [15:31:08.565953, br, 3770] compilation entries created. [size: 8] 1: [15:31:08.566104, br, 3770] compilation entries to output. [size: 8] 1: [15:31:08.568164, br, 3770] compilation entries written. [size: 4] 1: [15:31:08.568462, br, 3770] succeeded with: 0 1: [15:31:08.573566, br, 3302] Process wait request: done. [pid: 3770] 1: [15:31:08.573725, br, 3302] Running citnames finished. [Exited with 0] 1: [15:31:08.574191, br, 3302] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/flag/field_output.sh (27 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: [15:31:05.786695, br, 3607] bear: 3.1.2 1: [15:31:05.787298, br, 3607] 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: [15:31:05.787490, br, 3607] 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=1687331444", "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-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk"] 1: [15:31:05.787623, br, 3607] sysname: Linux 1: [15:31:05.787725, br, 3607] release: 6.3.5-arch1-1 1: [15:31:05.787822, br, 3607] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:05.787915, br, 3607] machine: riscv64 1: [15:31:05.788148, br, 3607] 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: [15:31:05.790208, br, 3607] Process spawned. [pid: 3636, 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: [15:31:05.790483, br, 3607] Process wait requested. [pid: 3636] 1: [15:31:05.944746, br, 3636] bear: 3.1.2 1: [15:31:05.945106, br, 3636] 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: [15:31:05.945201, br, 3636] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:05.945241, br, 3636] sysname: Linux 1: [15:31:05.945251, br, 3636] release: 6.3.5-arch1-1 1: [15:31:05.945260, br, 3636] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:05.945267, br, 3636] machine: riscv64 1: [15:31:05.945407, br, 3636] 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: [15:31:05.945824, br, 3636] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:31:05.975381, br, 3636] Running gRPC server. dns:///localhost:45147 1: [15:31:05.976489, br, 3636] Process spawned. [pid: 3656, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45147", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh"]] 1: [15:31:05.976617, br, 3636] Process wait requested. [pid: 3656] 1: [15:31:06.114055, el, 3656] lib.cc; on_load 1: [15:31:06.115270, wr, 3656, ppid: 3636] wrapper: 3.1.2 1: [15:31:06.115359, wr, 3656, ppid: 3636] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45147", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh"] 1: [15:31:06.115459, wr, 3656, ppid: 3636] 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:45147", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:06.115596, wr, 3656, ppid: 3636] 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:45147]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:31:06.134080, wr, 3656, ppid: 3636] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:06.145951, br, 3636] trying to resolve for library: /usr/bin/sh 1: [15:31:06.148426, wr, 3656, ppid: 3636] gRPC call [Resolve] finished: true 1: [15:31:06.150061, wr, 3656, ppid: 3636] Process spawned. [pid: 3675, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/field_output.sh"]] 1: [15:31:06.150230, wr, 3656, ppid: 3636] gRPC call requested: supervise::Interceptor::Register 1: [15:31:06.160902, wr, 3656, ppid: 3636] gRPC call [Register] finished: true 1: [15:31:06.161232, wr, 3656, ppid: 3636] Process wait requested. [pid: 3675] 1: [15:31:06.162573, el, 3675] lib.cc; on_load 1: [15:31:06.186394, el, 3677] lib.cc; execve path: /usr/bin/touch 1: [15:31:06.331932, el, 3677] lib.cc; on_load 1: [15:31:06.333290, wr, 3677, ppid: 3675] wrapper: 3.1.2 1: [15:31:06.333500, wr, 3677, ppid: 3675] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45147", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "field_output_1.c", "field_output_2.c"] 1: [15:31:06.333791, wr, 3677, ppid: 3675] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45147", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:06.334076, wr, 3677, ppid: 3675] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, field_output_1.c, field_output_2.c]}, {--destination: [dns:///localhost:45147]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [15:31:06.342325, wr, 3677, ppid: 3675] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:06.364296, br, 3636] trying to resolve for library: /usr/bin/touch 1: [15:31:06.366609, wr, 3677, ppid: 3675] gRPC call [Resolve] finished: true 1: [15:31:06.380891, wr, 3677, ppid: 3675] Process spawned. [pid: 3697, command: ["touch", "field_output_1.c", "field_output_2.c"]] 1: [15:31:06.381360, wr, 3677, ppid: 3675] gRPC call requested: supervise::Interceptor::Register 1: [15:31:06.398923, el, 3697] lib.cc; on_load 1: [15:31:06.409070, wr, 3677, ppid: 3675] gRPC call [Register] finished: true 1: [15:31:06.409417, wr, 3677, ppid: 3675] Process wait requested. [pid: 3697] 1: [15:31:06.409509, wr, 3677, ppid: 3675] Process wait request: done. [pid: 3697] 1: [15:31:06.409532, wr, 3677, ppid: 3675] gRPC call requested: supervise::Interceptor::Register 1: [15:31:06.417853, wr, 3677, ppid: 3675] gRPC call [Register] finished: true 1: [15:31:06.447966, wr, 3677, ppid: 3675] succeeded with: 0 1: [15:31:06.448205, el, 3677] lib.cc; on_unload 1: [15:31:06.459589, el, 3706] lib.cc; execve path: /usr/bin/cc 1: [15:31:06.656074, el, 3706] lib.cc; on_load 1: [15:31:06.657831, wr, 3706, ppid: 3675] wrapper: 3.1.2 1: [15:31:06.658104, wr, 3706, ppid: 3675] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45147", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "field_output_1.o", "field_output_1.c"] 1: [15:31:06.658378, wr, 3706, ppid: 3675] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45147", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:06.658695, wr, 3706, ppid: 3675] 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:45147]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:06.688622, wr, 3706, ppid: 3675] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:06.698808, br, 3636] trying to resolve for library: /usr/bin/cc 1: [15:31:06.700385, wr, 3706, ppid: 3675] gRPC call [Resolve] finished: true 1: [15:31:06.702382, wr, 3706, ppid: 3675] Process spawned. [pid: 3726, command: ["/usr/bin/cc", "-c", "-o", "field_output_1.o", "field_output_1.c"]] 1: [15:31:06.702725, wr, 3706, ppid: 3675] gRPC call requested: supervise::Interceptor::Register 1: [15:31:06.713794, wr, 3706, ppid: 3675] gRPC call [Register] finished: true 1: [15:31:06.714454, wr, 3706, ppid: 3675] Process wait requested. [pid: 3726] 1: free(): invalid pointer 1: [15:31:07.158327, wr, 3706, ppid: 3675] Process wait request: done. [pid: 3726] 1: [15:31:07.158443, wr, 3706, ppid: 3675] gRPC call requested: supervise::Interceptor::Register 1: [15:31:07.161248, wr, 3706, ppid: 3675] gRPC call [Register] finished: true 1: [15:31:07.422645, wr, 3706, ppid: 3675] succeeded with: 1 1: [15:31:07.422871, el, 3706] lib.cc; on_unload 1: [15:31:07.431091, el, 3748] lib.cc; execve path: /usr/bin/cc 1: [15:31:07.608906, el, 3748] lib.cc; on_load 1: [15:31:07.610088, wr, 3748, ppid: 3675] wrapper: 3.1.2 1: [15:31:07.610173, wr, 3748, ppid: 3675] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45147", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "field_output_2.o", "field_output_2.c"] 1: [15:31:07.610292, wr, 3748, ppid: 3675] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45147", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:07.610437, wr, 3748, ppid: 3675] 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:45147]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:07.630471, wr, 3748, ppid: 3675] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:07.640181, br, 3636] trying to resolve for library: /usr/bin/cc 1: [15:31:07.642372, wr, 3748, ppid: 3675] gRPC call [Resolve] finished: true 1: [15:31:07.644249, wr, 3748, ppid: 3675] Process spawned. [pid: 3766, command: ["/usr/bin/cc", "-c", "-o", "field_output_2.o", "field_output_2.c"]] 1: [15:31:07.644579, wr, 3748, ppid: 3675] gRPC call requested: supervise::Interceptor::Register 1: [15:31:07.650762, wr, 3748, ppid: 3675] gRPC call [Register] finished: true 1: [15:31:07.651330, wr, 3748, ppid: 3675] Process wait requested. [pid: 3766] 1: free(): invalid pointer 1: [15:31:08.067689, wr, 3748, ppid: 3675] Process wait request: done. [pid: 3766] 1: [15:31:08.067787, wr, 3748, ppid: 3675] gRPC call requested: supervise::Interceptor::Register 1: [15:31:08.074687, wr, 3748, ppid: 3675] gRPC call [Register] finished: true 1: [15:31:08.209116, wr, 3748, ppid: 3675] succeeded with: 1 1: [15:31:08.209347, el, 3748] lib.cc; on_unload 1: [15:31:08.214952, el, 3675] lib.cc; on_unload 1: [15:31:08.216297, wr, 3656, ppid: 3636] Process wait request: done. [pid: 3675] 1: [15:31:08.216369, wr, 3656, ppid: 3636] gRPC call requested: supervise::Interceptor::Register 1: [15:31:08.218983, wr, 3656, ppid: 3636] gRPC call [Register] finished: true 1: [15:31:08.481302, wr, 3656, ppid: 3636] succeeded with: 1 1: [15:31:08.481798, el, 3656] lib.cc; on_unload 1: [15:31:08.488052, br, 3636] Process wait request: done. [pid: 3656] 1: [15:31:08.488230, br, 3636] Running command. [Exited with 1] 1: [15:31:08.488283, br, 3636] Stopping gRPC server. 1: [15:31:08.497416, br, 3636] succeeded with: 1 1: [15:31:08.503806, br, 3607] Process wait request: done. [pid: 3636] 1: [15:31:08.504051, br, 3607] Running intercept finished. [Exited with 1] 1: [15:31:08.505254, br, 3607] Process spawned. [pid: 3772, 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: [15:31:08.505375, br, 3607] Process wait requested. [pid: 3772] 1: [15:31:08.668967, br, 3772] bear: 3.1.2 1: [15:31:08.669307, br, 3772] 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: [15:31:08.669400, br, 3772] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:08.669441, br, 3772] sysname: Linux 1: [15:31:08.669453, br, 3772] release: 6.3.5-arch1-1 1: [15:31:08.669462, br, 3772] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:08.669471, br, 3772] machine: riscv64 1: [15:31:08.669605, br, 3772] 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: [15:31:08.670286, br, 3772] 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: [15:31:08.676488, br, 3772] [pid: 3675] 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":{"INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TMP":"/tmp/lit-tmp-r4hbrhzk","TERM":"tmux-256color","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo","LC_CTYPE":"en_US.UTF-8","CC":"/usr/bin/cc","FALSE":"/usr/bin/false","LIBTOOL":"/usr/bin/libtool","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"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","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45147"}} 1: [15:31:08.679378, br, 3772] [pid: 3675] recognition failed: No tools recognize this execution. 1: [15:31:08.680811, br, 3772] [pid: 3697] 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":{"INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TMP":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","TERM":"tmux-256color","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo","LC_CTYPE":"en_US.UTF-8","CC":"/usr/bin/cc","_":"/usr/bin/touch","FALSE":"/usr/bin/false","LIBTOOL":"/usr/bin/libtool","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"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","SHLVL":"1","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45147"}} 1: [15:31:08.680890, br, 3772] [pid: 3697] recognition failed: No tools recognize this execution. 1: [15:31:08.682201, br, 3772] [pid: 3726] 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":{"INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TMP":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","TERM":"tmux-256color","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo","LC_CTYPE":"en_US.UTF-8","CC":"/usr/bin/cc","_":"/usr/bin/cc","FALSE":"/usr/bin/false","LIBTOOL":"/usr/bin/libtool","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"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","SHLVL":"1","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45147"}} 1: [15:31:08.682407, br, 3772] [pid: 3726] recognized. 1: [15:31:08.684119, br, 3772] [pid: 3766] 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":{"INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TMP":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","TERM":"tmux-256color","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo","LC_CTYPE":"en_US.UTF-8","CC":"/usr/bin/cc","_":"/usr/bin/cc","FALSE":"/usr/bin/false","LIBTOOL":"/usr/bin/libtool","CXX":"/usr/bin/c++","INTERCEPT_VERBOSE":"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","SHLVL":"1","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45147"}} 1: [15:31:08.684220, br, 3772] [pid: 3766] recognized. 1: [15:31:08.684886, br, 3772] compilation entries created. [size: 2] 1: [15:31:08.684916, br, 3772] compilation entries to output. [size: 2] 1: [15:31:08.685918, br, 3772] compilation entries written. [size: 2] 1: [15:31:08.685983, br, 3772] succeeded with: 0 1: [15:31:08.691516, br, 3607] Process wait request: done. [pid: 3772] 1: [15:31:08.691656, br, 3607] Running citnames finished. [Exited with 0] 1: [15:31:08.692055, br, 3607] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/existing_files_only.sh (28 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: [15:31:02.698570, br, 3406] bear: 3.1.2 1: [15:31:02.698968, br, 3406] 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: [15:31:02.699050, br, 3406] 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=1687331444", "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-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk"] 1: [15:31:02.699090, br, 3406] sysname: Linux 1: [15:31:02.699102, br, 3406] release: 6.3.5-arch1-1 1: [15:31:02.699111, br, 3406] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:02.699119, br, 3406] machine: riscv64 1: [15:31:02.699262, br, 3406] 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: [15:31:02.701262, br, 3406] Process spawned. [pid: 3420, 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: [15:31:02.701399, br, 3406] Process wait requested. [pid: 3420] 1: [15:31:02.858811, br, 3420] bear: 3.1.2 1: [15:31:02.859148, br, 3420] 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: [15:31:02.859243, br, 3420] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:02.859282, br, 3420] sysname: Linux 1: [15:31:02.859293, br, 3420] release: 6.3.5-arch1-1 1: [15:31:02.859301, br, 3420] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:02.859310, br, 3420] machine: riscv64 1: [15:31:02.859457, br, 3420] 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: [15:31:02.859863, br, 3420] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:31:02.890132, br, 3420] Running gRPC server. dns:///localhost:44369 1: [15:31:02.891396, br, 3420] Process spawned. [pid: 3459, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44369", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh", "-build"]] 1: [15:31:02.891540, br, 3420] Process wait requested. [pid: 3459] 1: [15:31:03.041560, el, 3459] lib.cc; on_load 1: [15:31:03.042754, wr, 3459, ppid: 3420] wrapper: 3.1.2 1: [15:31:03.042852, wr, 3459, ppid: 3420] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44369", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh", "-build"] 1: [15:31:03.042970, wr, 3459, ppid: 3420] 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:44369", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:03.043116, wr, 3459, ppid: 3420] 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:44369]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:31:03.051779, wr, 3459, ppid: 3420] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:03.069171, br, 3420] trying to resolve for library: /usr/bin/sh 1: [15:31:03.070749, wr, 3459, ppid: 3420] gRPC call [Resolve] finished: true 1: [15:31:03.072469, wr, 3459, ppid: 3420] Process spawned. [pid: 3478, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/existing_files_only.sh", "-build"]] 1: [15:31:03.072808, wr, 3459, ppid: 3420] gRPC call requested: supervise::Interceptor::Register 1: [15:31:03.083010, wr, 3459, ppid: 3420] gRPC call [Register] finished: true 1: [15:31:03.083558, wr, 3459, ppid: 3420] Process wait requested. [pid: 3478] 1: [15:31:03.092919, el, 3478] lib.cc; on_load 1: [15:31:03.107179, el, 3479] lib.cc; execve path: /usr/bin/mkdir 1: [15:31:03.259439, el, 3479] lib.cc; on_load 1: [15:31:03.261463, wr, 3479, ppid: 3478] wrapper: 3.1.2 1: [15:31:03.261716, wr, 3479, ppid: 3478] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44369", "--verbose", "--execute", "/usr/bin/mkdir", "--", "mkdir", "-p", "exists", "exists/config"] 1: [15:31:03.261978, wr, 3479, ppid: 3478] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:44369", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:03.262254, wr, 3479, ppid: 3478] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [mkdir, -p, exists, exists/config]}, {--destination: [dns:///localhost:44369]}, {--execute: [/usr/bin/mkdir]}, {--verbose: []}]} 1: [15:31:03.272394, wr, 3479, ppid: 3478] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:03.284732, br, 3420] trying to resolve for library: /usr/bin/mkdir 1: [15:31:03.287416, wr, 3479, ppid: 3478] gRPC call [Resolve] finished: true 1: [15:31:03.289567, wr, 3479, ppid: 3478] Process spawned. [pid: 3489, command: ["mkdir", "-p", "exists", "exists/config"]] 1: [15:31:03.289905, wr, 3479, ppid: 3478] gRPC call requested: supervise::Interceptor::Register 1: [15:31:03.296491, wr, 3479, ppid: 3478] gRPC call [Register] finished: true 1: [15:31:03.296823, wr, 3479, ppid: 3478] Process wait requested. [pid: 3489] 1: [15:31:03.305284, el, 3489] lib.cc; on_load 1: [15:31:03.319332, wr, 3479, ppid: 3478] Process wait request: done. [pid: 3489] 1: [15:31:03.319580, wr, 3479, ppid: 3478] gRPC call requested: supervise::Interceptor::Register 1: [15:31:03.322239, wr, 3479, ppid: 3478] gRPC call [Register] finished: true 1: [15:31:03.327161, wr, 3479, ppid: 3478] succeeded with: 0 1: [15:31:03.327732, el, 3479] lib.cc; on_unload 1: [15:31:03.335854, el, 3490] lib.cc; execve path: /usr/bin/touch 1: [15:31:03.526171, el, 3490] lib.cc; on_load 1: [15:31:03.531680, wr, 3490, ppid: 3478] wrapper: 3.1.2 1: [15:31:03.531993, wr, 3490, ppid: 3478] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44369", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "exists/config/source_1.c", "exists/config/source_2.c"] 1: [15:31:03.532259, wr, 3490, ppid: 3478] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:44369", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:03.532551, wr, 3490, ppid: 3478] 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:44369]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [15:31:03.547646, wr, 3490, ppid: 3478] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:03.578085, br, 3420] trying to resolve for library: /usr/bin/touch 1: [15:31:03.580121, wr, 3490, ppid: 3478] gRPC call [Resolve] finished: true 1: [15:31:03.593274, wr, 3490, ppid: 3478] Process spawned. [pid: 3510, command: ["touch", "exists/config/source_1.c", "exists/config/source_2.c"]] 1: [15:31:03.593493, wr, 3490, ppid: 3478] gRPC call requested: supervise::Interceptor::Register 1: [15:31:03.608119, wr, 3490, ppid: 3478] gRPC call [Register] finished: true 1: [15:31:03.608515, wr, 3490, ppid: 3478] Process wait requested. [pid: 3510] 1: [15:31:03.614691, el, 3510] lib.cc; on_load 1: [15:31:03.620156, wr, 3490, ppid: 3478] Process wait request: done. [pid: 3510] 1: [15:31:03.620219, wr, 3490, ppid: 3478] gRPC call requested: supervise::Interceptor::Register 1: [15:31:03.622693, wr, 3490, ppid: 3478] gRPC call [Register] finished: true 1: [15:31:03.643513, wr, 3490, ppid: 3478] succeeded with: 0 1: [15:31:03.643790, el, 3490] lib.cc; on_unload 1: [15:31:03.655965, el, 3527] lib.cc; execve path: /usr/bin/cc 1: [15:31:03.815330, el, 3527] lib.cc; on_load 1: [15:31:03.816496, wr, 3527, ppid: 3478] wrapper: 3.1.2 1: [15:31:03.816587, wr, 3527, ppid: 3478] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44369", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "exists/config/source_1.o", "exists/config/source_1.c"] 1: [15:31:03.816704, wr, 3527, ppid: 3478] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:44369", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:03.816860, wr, 3527, ppid: 3478] 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:44369]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:03.848285, wr, 3527, ppid: 3478] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:03.858223, br, 3420] trying to resolve for library: /usr/bin/cc 1: [15:31:03.860196, wr, 3527, ppid: 3478] gRPC call [Resolve] finished: true 1: [15:31:03.861910, wr, 3527, ppid: 3478] Process spawned. [pid: 3538, command: ["/usr/bin/cc", "-c", "-o", "exists/config/source_1.o", "exists/config/source_1.c"]] 1: [15:31:03.862076, wr, 3527, ppid: 3478] gRPC call requested: supervise::Interceptor::Register 1: [15:31:03.867631, wr, 3527, ppid: 3478] gRPC call [Register] finished: true 1: [15:31:03.867899, wr, 3527, ppid: 3478] Process wait requested. [pid: 3538] 1: free(): invalid pointer 1: [15:31:04.317879, wr, 3527, ppid: 3478] Process wait request: done. [pid: 3538] 1: [15:31:04.317972, wr, 3527, ppid: 3478] gRPC call requested: supervise::Interceptor::Register 1: [15:31:04.321231, wr, 3527, ppid: 3478] gRPC call [Register] finished: true 1: [15:31:04.334980, wr, 3527, ppid: 3478] succeeded with: 1 1: [15:31:04.335203, el, 3527] lib.cc; on_unload 1: [15:31:04.342314, el, 3549] lib.cc; execve path: /usr/bin/cc 1: [15:31:04.482274, el, 3549] lib.cc; on_load 1: [15:31:04.483412, wr, 3549, ppid: 3478] wrapper: 3.1.2 1: [15:31:04.483490, wr, 3549, ppid: 3478] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44369", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "exists/config/source_2.o", "exists/config/source_2.c"] 1: [15:31:04.483606, wr, 3549, ppid: 3478] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:44369", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:04.483741, wr, 3549, ppid: 3478] 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:44369]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:04.503463, wr, 3549, ppid: 3478] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:04.513382, br, 3420] trying to resolve for library: /usr/bin/cc 1: [15:31:04.514882, wr, 3549, ppid: 3478] gRPC call [Resolve] finished: true 1: [15:31:04.516607, wr, 3549, ppid: 3478] Process spawned. [pid: 3558, command: ["/usr/bin/cc", "-c", "-o", "exists/config/source_2.o", "exists/config/source_2.c"]] 1: [15:31:04.516915, wr, 3549, ppid: 3478] gRPC call requested: supervise::Interceptor::Register 1: [15:31:04.522340, wr, 3549, ppid: 3478] gRPC call [Register] finished: true 1: [15:31:04.522866, wr, 3549, ppid: 3478] Process wait requested. [pid: 3558] 1: free(): invalid pointer 1: [15:31:04.928915, wr, 3549, ppid: 3478] Process wait request: done. [pid: 3558] 1: [15:31:04.928994, wr, 3549, ppid: 3478] gRPC call requested: supervise::Interceptor::Register 1: [15:31:04.934725, wr, 3549, ppid: 3478] gRPC call [Register] finished: true 1: [15:31:05.208095, wr, 3549, ppid: 3478] succeeded with: 1 1: [15:31:05.208335, el, 3549] lib.cc; on_unload 1: [15:31:05.220212, el, 3575] lib.cc; execve path: /usr/bin/rm 1: [15:31:05.365463, el, 3575] lib.cc; on_load 1: [15:31:05.366602, wr, 3575, ppid: 3478] wrapper: 3.1.2 1: [15:31:05.366696, wr, 3575, ppid: 3478] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44369", "--verbose", "--execute", "/usr/bin/rm", "--", "rm", "exists/config/source_1.c", "exists/config/source_2.c"] 1: [15:31:05.366833, wr, 3575, ppid: 3478] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:44369", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:05.366986, wr, 3575, ppid: 3478] 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:44369]}, {--execute: [/usr/bin/rm]}, {--verbose: []}]} 1: [15:31:05.398903, wr, 3575, ppid: 3478] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:05.409600, br, 3420] trying to resolve for library: /usr/bin/rm 1: [15:31:05.411601, wr, 3575, ppid: 3478] gRPC call [Resolve] finished: true 1: [15:31:05.413167, wr, 3575, ppid: 3478] Process spawned. [pid: 3598, command: ["rm", "exists/config/source_1.c", "exists/config/source_2.c"]] 1: [15:31:05.413340, wr, 3575, ppid: 3478] gRPC call requested: supervise::Interceptor::Register 1: [15:31:05.419956, wr, 3575, ppid: 3478] gRPC call [Register] finished: true 1: [15:31:05.420281, wr, 3575, ppid: 3478] Process wait requested. [pid: 3598] 1: [15:31:05.429775, el, 3598] lib.cc; on_load 1: [15:31:05.435518, wr, 3575, ppid: 3478] Process wait request: done. [pid: 3598] 1: [15:31:05.435571, wr, 3575, ppid: 3478] gRPC call requested: supervise::Interceptor::Register 1: [15:31:05.441010, wr, 3575, ppid: 3478] gRPC call [Register] finished: true 1: [15:31:05.455136, wr, 3575, ppid: 3478] succeeded with: 0 1: [15:31:05.455360, el, 3575] lib.cc; on_unload 1: [15:31:05.464532, el, 3604] lib.cc; execve path: /usr/bin/mkdir 1: [15:31:05.628376, el, 3604] lib.cc; on_load 1: [15:31:05.630223, wr, 3604, ppid: 3478] wrapper: 3.1.2 1: [15:31:05.630450, wr, 3604, ppid: 3478] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44369", "--verbose", "--execute", "/usr/bin/mkdir", "--", "mkdir", "-p", "exists", "exists/src"] 1: [15:31:05.630793, wr, 3604, ppid: 3478] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:44369", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:05.631105, wr, 3604, ppid: 3478] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [mkdir, -p, exists, exists/src]}, {--destination: [dns:///localhost:44369]}, {--execute: [/usr/bin/mkdir]}, {--verbose: []}]} 1: [15:31:05.637205, wr, 3604, ppid: 3478] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:05.648974, br, 3420] trying to resolve for library: /usr/bin/mkdir 1: [15:31:05.657484, wr, 3604, ppid: 3478] gRPC call [Resolve] finished: true 1: [15:31:05.665130, wr, 3604, ppid: 3478] Process spawned. [pid: 3625, command: ["mkdir", "-p", "exists", "exists/src"]] 1: [15:31:05.665417, wr, 3604, ppid: 3478] gRPC call requested: supervise::Interceptor::Register 1: [15:31:05.672588, wr, 3604, ppid: 3478] gRPC call [Register] finished: true 1: [15:31:05.672908, wr, 3604, ppid: 3478] Process wait requested. [pid: 3625] 1: [15:31:05.674135, el, 3625] lib.cc; on_load 1: [15:31:05.677954, wr, 3604, ppid: 3478] Process wait request: done. [pid: 3625] 1: [15:31:05.678008, wr, 3604, ppid: 3478] gRPC call requested: supervise::Interceptor::Register 1: [15:31:05.681020, wr, 3604, ppid: 3478] gRPC call [Register] finished: true 1: [15:31:05.817931, wr, 3604, ppid: 3478] succeeded with: 0 1: [15:31:05.818173, el, 3604] lib.cc; on_unload 1: [15:31:05.826714, el, 3637] lib.cc; execve path: /usr/bin/touch 1: [15:31:05.981888, el, 3637] lib.cc; on_load 1: [15:31:05.982972, wr, 3637, ppid: 3478] wrapper: 3.1.2 1: [15:31:05.983061, wr, 3637, ppid: 3478] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44369", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "exists/src/source_1.c", "exists/src/source_2.c"] 1: [15:31:05.983200, wr, 3637, ppid: 3478] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:44369", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:05.983342, wr, 3637, ppid: 3478] 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:44369]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [15:31:06.002022, wr, 3637, ppid: 3478] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:06.012096, br, 3420] trying to resolve for library: /usr/bin/touch 1: [15:31:06.013898, wr, 3637, ppid: 3478] gRPC call [Resolve] finished: true 1: [15:31:06.015587, wr, 3637, ppid: 3478] Process spawned. [pid: 3665, command: ["touch", "exists/src/source_1.c", "exists/src/source_2.c"]] 1: [15:31:06.015775, wr, 3637, ppid: 3478] gRPC call requested: supervise::Interceptor::Register 1: [15:31:06.021891, wr, 3637, ppid: 3478] gRPC call [Register] finished: true 1: [15:31:06.022211, wr, 3637, ppid: 3478] Process wait requested. [pid: 3665] 1: [15:31:06.026040, el, 3665] lib.cc; on_load 1: [15:31:06.027870, wr, 3637, ppid: 3478] Process wait request: done. [pid: 3665] 1: [15:31:06.027916, wr, 3637, ppid: 3478] gRPC call requested: supervise::Interceptor::Register 1: [15:31:06.030036, wr, 3637, ppid: 3478] gRPC call [Register] finished: true 1: [15:31:06.290711, wr, 3637, ppid: 3478] succeeded with: 0 1: [15:31:06.290940, el, 3637] lib.cc; on_unload 1: [15:31:06.298941, el, 3679] lib.cc; execve path: /usr/bin/cc 1: [15:31:06.465827, el, 3679] lib.cc; on_load 1: [15:31:06.467041, wr, 3679, ppid: 3478] wrapper: 3.1.2 1: [15:31:06.467146, wr, 3679, ppid: 3478] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44369", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "exists/src/source_1.o", "exists/src/source_1.c"] 1: [15:31:06.467337, wr, 3679, ppid: 3478] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:44369", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:06.467515, wr, 3679, ppid: 3478] 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:44369]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:06.505950, wr, 3679, ppid: 3478] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:06.526253, br, 3420] trying to resolve for library: /usr/bin/cc 1: [15:31:06.527863, wr, 3679, ppid: 3478] gRPC call [Resolve] finished: true 1: [15:31:06.557559, wr, 3679, ppid: 3478] Process spawned. [pid: 3716, command: ["/usr/bin/cc", "-c", "-o", "exists/src/source_1.o", "exists/src/source_1.c"]] 1: [15:31:06.557785, wr, 3679, ppid: 3478] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [15:31:06.581551, wr, 3679, ppid: 3478] gRPC call [Register] finished: true 1: [15:31:06.581950, wr, 3679, ppid: 3478] Process wait requested. [pid: 3716] 1: [15:31:07.044350, wr, 3679, ppid: 3478] Process wait request: done. [pid: 3716] 1: [15:31:07.044460, wr, 3679, ppid: 3478] gRPC call requested: supervise::Interceptor::Register 1: [15:31:07.048148, wr, 3679, ppid: 3478] gRPC call [Register] finished: true 1: [15:31:07.313862, wr, 3679, ppid: 3478] succeeded with: 1 1: [15:31:07.314131, el, 3679] lib.cc; on_unload 1: [15:31:07.325987, el, 3738] lib.cc; execve path: /usr/bin/cc 1: [15:31:07.499504, el, 3738] lib.cc; on_load 1: [15:31:07.501047, wr, 3738, ppid: 3478] wrapper: 3.1.2 1: [15:31:07.501376, wr, 3738, ppid: 3478] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44369", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "exists/src/source_2.o", "exists/src/source_2.c"] 1: [15:31:07.501655, wr, 3738, ppid: 3478] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:44369", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:07.501952, wr, 3738, ppid: 3478] 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:44369]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:07.521817, wr, 3738, ppid: 3478] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:07.537672, br, 3420] trying to resolve for library: /usr/bin/cc 1: [15:31:07.540088, wr, 3738, ppid: 3478] gRPC call [Resolve] finished: true 1: [15:31:07.541946, wr, 3738, ppid: 3478] Process spawned. [pid: 3757, command: ["/usr/bin/cc", "-c", "-o", "exists/src/source_2.o", "exists/src/source_2.c"]] 1: [15:31:07.542276, wr, 3738, ppid: 3478] gRPC call requested: supervise::Interceptor::Register 1: [15:31:07.548524, wr, 3738, ppid: 3478] gRPC call [Register] finished: true 1: [15:31:07.549071, wr, 3738, ppid: 3478] Process wait requested. [pid: 3757] 1: free(): invalid pointer 1: [15:31:08.012453, wr, 3738, ppid: 3478] Process wait request: done. [pid: 3757] 1: [15:31:08.012567, wr, 3738, ppid: 3478] gRPC call requested: supervise::Interceptor::Register 1: [15:31:08.018477, wr, 3738, ppid: 3478] gRPC call [Register] finished: true 1: [15:31:08.282482, wr, 3738, ppid: 3478] succeeded with: 1 1: [15:31:08.282715, el, 3738] lib.cc; on_unload 1: [15:31:08.289602, el, 3478] lib.cc; on_unload 1: [15:31:08.291065, wr, 3459, ppid: 3420] Process wait request: done. [pid: 3478] 1: [15:31:08.291147, wr, 3459, ppid: 3420] gRPC call requested: supervise::Interceptor::Register 1: [15:31:08.294315, wr, 3459, ppid: 3420] gRPC call [Register] finished: true 1: [15:31:08.555130, wr, 3459, ppid: 3420] succeeded with: 1 1: [15:31:08.555335, el, 3459] lib.cc; on_unload 1: [15:31:08.561100, br, 3420] Process wait request: done. [pid: 3459] 1: [15:31:08.561261, br, 3420] Running command. [Exited with 1] 1: [15:31:08.561298, br, 3420] Stopping gRPC server. 1: [15:31:08.567777, br, 3420] succeeded with: 1 1: [15:31:08.579676, br, 3406] Process wait request: done. [pid: 3420] 1: [15:31:08.579857, br, 3406] Running intercept finished. [Exited with 1] 1: [15:31:08.602309, br, 3406] Process spawned. [pid: 3773, 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: [15:31:08.602466, br, 3406] Process wait requested. [pid: 3773] 1: [15:31:08.735128, br, 3773] bear: 3.1.2 1: [15:31:08.735486, br, 3773] 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: [15:31:08.735583, 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:08.735627, br, 3773] sysname: Linux 1: [15:31:08.735639, br, 3773] release: 6.3.5-arch1-1 1: [15:31:08.735647, br, 3773] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:08.735659, br, 3773] machine: riscv64 1: [15:31:08.735804, br, 3773] 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: [15:31:08.736511, br, 3773] 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: [15:31:08.742893, br, 3773] [pid: 3478] 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":{"TMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","CC":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44369","ECHO":"/usr/bin/echo","SOURCE_DATE_EPOCH":"1687331444","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","TRUE":"/usr/bin/true","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [15:31:08.745635, br, 3773] [pid: 3478] recognition failed: No tools recognize this execution. 1: [15:31:08.747063, br, 3773] [pid: 3489] execution: {"executable":"/usr/bin/mkdir","arguments":["mkdir","-p","exists","exists/config"],"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","SHLVL":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","_":"/usr/bin/mkdir","CC":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44369","ECHO":"/usr/bin/echo","SOURCE_DATE_EPOCH":"1687331444","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","TRUE":"/usr/bin/true","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [15:31:08.747143, br, 3773] [pid: 3489] recognition failed: No tools recognize this execution. 1: [15:31:08.748579, br, 3773] [pid: 3510] 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":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SHLVL":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","_":"/usr/bin/touch","CC":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44369","ECHO":"/usr/bin/echo","SOURCE_DATE_EPOCH":"1687331444","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","TRUE":"/usr/bin/true","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [15:31:08.748652, br, 3773] [pid: 3510] recognition failed: No tools recognize this execution. 1: [15:31:08.750017, br, 3773] [pid: 3538] 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":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SHLVL":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","_":"/usr/bin/cc","CC":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44369","ECHO":"/usr/bin/echo","SOURCE_DATE_EPOCH":"1687331444","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","TRUE":"/usr/bin/true","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [15:31:08.750229, br, 3773] [pid: 3538] recognized. 1: [15:31:08.752093, br, 3773] [pid: 3558] 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":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SHLVL":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","_":"/usr/bin/cc","CC":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44369","ECHO":"/usr/bin/echo","SOURCE_DATE_EPOCH":"1687331444","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","TRUE":"/usr/bin/true","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [15:31:08.752199, br, 3773] [pid: 3558] recognized. 1: [15:31:08.753757, br, 3773] [pid: 3598] 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":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SHLVL":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","_":"/usr/bin/rm","CC":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44369","ECHO":"/usr/bin/echo","SOURCE_DATE_EPOCH":"1687331444","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","TRUE":"/usr/bin/true","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [15:31:08.753834, br, 3773] [pid: 3598] recognition failed: No tools recognize this execution. 1: [15:31:08.755296, br, 3773] [pid: 3625] execution: {"executable":"/usr/bin/mkdir","arguments":["mkdir","-p","exists","exists/src"],"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","SHLVL":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","_":"/usr/bin/mkdir","CC":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44369","ECHO":"/usr/bin/echo","SOURCE_DATE_EPOCH":"1687331444","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","TRUE":"/usr/bin/true","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [15:31:08.755376, br, 3773] [pid: 3625] recognition failed: No tools recognize this execution. 1: [15:31:08.756723, br, 3773] [pid: 3665] 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":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SHLVL":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","_":"/usr/bin/touch","CC":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44369","ECHO":"/usr/bin/echo","SOURCE_DATE_EPOCH":"1687331444","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","TRUE":"/usr/bin/true","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [15:31:08.756803, br, 3773] [pid: 3665] recognition failed: No tools recognize this execution. 1: [15:31:08.758287, br, 3773] [pid: 3716] 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":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SHLVL":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","_":"/usr/bin/cc","CC":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44369","ECHO":"/usr/bin/echo","SOURCE_DATE_EPOCH":"1687331444","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","TRUE":"/usr/bin/true","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [15:31:08.758421, br, 3773] [pid: 3716] recognized. 1: [15:31:08.760074, br, 3773] [pid: 3757] 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":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","SHLVL":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","_":"/usr/bin/cc","CC":"/usr/bin/cc","LLVM_DISABLE_CRASH_REPORT":"1","LC_CTYPE":"en_US.UTF-8","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44369","ECHO":"/usr/bin/echo","SOURCE_DATE_EPOCH":"1687331444","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","TRUE":"/usr/bin/true","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [15:31:08.760189, br, 3773] [pid: 3757] recognized. 1: [15:31:08.760960, br, 3773] compilation entries created. [size: 4] 1: [15:31:08.760993, br, 3773] compilation entries to output. [size: 4] 1: [15:31:08.762065, br, 3773] compilation entries written. [size: 2] 1: [15:31:08.762170, br, 3773] succeeded with: 0 1: [15:31:08.767488, br, 3406] Process wait request: done. [pid: 3773] 1: [15:31:08.767634, br, 3406] Running citnames finished. [Exited with 0] 1: [15:31:08.768055, br, 3406] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/flag/use_cxx.sh (29 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: [15:31:08.883632, br, 3775] bear: 3.1.2 1: [15:31:08.884340, br, 3775] 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: [15:31:08.884551, br, 3775] 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=1687331444", "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-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk"] 1: [15:31:08.884690, br, 3775] sysname: Linux 1: [15:31:08.884797, br, 3775] release: 6.3.5-arch1-1 1: [15:31:08.884898, br, 3775] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:08.884995, br, 3775] machine: riscv64 1: [15:31:08.885245, br, 3775] 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: [15:31:08.887466, br, 3775] Process spawned. [pid: 3778, 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: [15:31:08.887617, br, 3775] Process wait requested. [pid: 3778] 1: [15:31:09.033763, br, 3778] bear: 3.1.2 1: [15:31:09.034415, br, 3778] 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: [15:31:09.034633, br, 3778] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:09.034785, br, 3778] sysname: Linux 1: [15:31:09.034951, br, 3778] release: 6.3.5-arch1-1 1: [15:31:09.035072, br, 3778] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:09.035192, br, 3778] machine: riscv64 1: [15:31:09.035463, br, 3778] 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: [15:31:09.036028, br, 3778] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:31:09.055556, br, 3778] Running gRPC server. dns:///localhost:43765 1: [15:31:09.057363, br, 3778] Process spawned. [pid: 3800, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43765", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh"]] 1: [15:31:09.057507, br, 3778] Process wait requested. [pid: 3800] 1: [15:31:09.204221, el, 3800] lib.cc; on_load 1: [15:31:09.205530, wr, 3800, ppid: 3778] wrapper: 3.1.2 1: [15:31:09.205752, wr, 3800, ppid: 3778] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43765", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh"] 1: [15:31:09.206015, wr, 3800, ppid: 3778] 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:43765", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:09.206275, wr, 3800, ppid: 3778] 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:43765]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:31:09.213171, wr, 3800, ppid: 3778] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:09.227211, br, 3778] trying to resolve for library: /usr/bin/sh 1: [15:31:09.230400, wr, 3800, ppid: 3778] gRPC call [Resolve] finished: true 1: [15:31:09.232366, wr, 3800, ppid: 3778] Process spawned. [pid: 3831, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cxx.sh"]] 1: [15:31:09.232547, wr, 3800, ppid: 3778] gRPC call requested: supervise::Interceptor::Register 1: [15:31:09.244269, wr, 3800, ppid: 3778] gRPC call [Register] finished: true 1: [15:31:09.244814, wr, 3800, ppid: 3778] Process wait requested. [pid: 3831] 1: [15:31:09.257809, el, 3831] lib.cc; on_load 1: [15:31:09.272683, el, 3840] lib.cc; execve path: /usr/bin/touch 1: [15:31:09.442423, el, 3840] lib.cc; on_load 1: [15:31:09.451395, wr, 3840, ppid: 3831] wrapper: 3.1.2 1: [15:31:09.451706, wr, 3840, ppid: 3831] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43765", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "use_cxx_1.cc", "use_cxx_2.cc"] 1: [15:31:09.451975, wr, 3840, ppid: 3831] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43765", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:09.452395, wr, 3840, ppid: 3831] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, use_cxx_1.cc, use_cxx_2.cc]}, {--destination: [dns:///localhost:43765]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [15:31:09.459701, wr, 3840, ppid: 3831] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:09.477349, br, 3778] trying to resolve for library: /usr/bin/touch 1: [15:31:09.479803, wr, 3840, ppid: 3831] gRPC call [Resolve] finished: true 1: [15:31:09.481671, wr, 3840, ppid: 3831] Process spawned. [pid: 3871, command: ["touch", "use_cxx_1.cc", "use_cxx_2.cc"]] 1: [15:31:09.481862, wr, 3840, ppid: 3831] gRPC call requested: supervise::Interceptor::Register 1: [15:31:09.488428, wr, 3840, ppid: 3831] gRPC call [Register] finished: true 1: [15:31:09.488972, wr, 3840, ppid: 3831] Process wait requested. [pid: 3871] 1: [15:31:09.498814, el, 3871] lib.cc; on_load 1: [15:31:09.501243, wr, 3840, ppid: 3831] Process wait request: done. [pid: 3871] 1: [15:31:09.501321, wr, 3840, ppid: 3831] gRPC call requested: supervise::Interceptor::Register 1: [15:31:09.504220, wr, 3840, ppid: 3831] gRPC call [Register] finished: true 1: [15:31:09.525545, wr, 3840, ppid: 3831] succeeded with: 0 1: [15:31:09.525760, el, 3840] lib.cc; on_unload 1: [15:31:09.535753, el, 3877] lib.cc; execve path: /usr/bin/c++ 1: [15:31:09.680261, el, 3877] lib.cc; on_load 1: [15:31:09.681587, wr, 3877, ppid: 3831] wrapper: 3.1.2 1: [15:31:09.681692, wr, 3877, ppid: 3831] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43765", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-c", "-o", "use_cxx_1.o", "use_cxx_1.cc"] 1: [15:31:09.681832, wr, 3877, ppid: 3831] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43765", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:09.681994, wr, 3877, ppid: 3831] 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:43765]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [15:31:09.689060, wr, 3877, ppid: 3831] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:09.704400, br, 3778] trying to resolve for library: /usr/bin/c++ 1: [15:31:09.705862, wr, 3877, ppid: 3831] gRPC call [Resolve] finished: true 1: [15:31:09.712082, wr, 3877, ppid: 3831] Process spawned. [pid: 3902, command: ["/usr/bin/c++", "-c", "-o", "use_cxx_1.o", "use_cxx_1.cc"]] 1: [15:31:09.712269, wr, 3877, ppid: 3831] gRPC call requested: supervise::Interceptor::Register 1: [15:31:09.717805, wr, 3877, ppid: 3831] gRPC call [Register] finished: true 1: [15:31:09.718125, wr, 3877, ppid: 3831] Process wait requested. [pid: 3902] 1: free(): invalid pointer 1: [15:31:10.213643, wr, 3877, ppid: 3831] Process wait request: done. [pid: 3902] 1: [15:31:10.213736, wr, 3877, ppid: 3831] gRPC call requested: supervise::Interceptor::Register 1: [15:31:10.219123, wr, 3877, ppid: 3831] gRPC call [Register] finished: true 1: [15:31:10.482439, wr, 3877, ppid: 3831] succeeded with: 1 1: [15:31:10.482656, el, 3877] lib.cc; on_unload 1: [15:31:10.490964, el, 3945] lib.cc; execve path: /usr/bin/c++ 1: [15:31:10.630094, el, 3945] lib.cc; on_load 1: [15:31:10.631774, wr, 3945, ppid: 3831] wrapper: 3.1.2 1: [15:31:10.632007, wr, 3945, ppid: 3831] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:43765", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-c", "-o", "use_cxx_2.o", "use_cxx_2.cc"] 1: [15:31:10.632416, wr, 3945, ppid: 3831] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:43765", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:10.632714, wr, 3945, ppid: 3831] 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:43765]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [15:31:10.663200, wr, 3945, ppid: 3831] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:10.672871, br, 3778] trying to resolve for library: /usr/bin/c++ 1: [15:31:10.674635, wr, 3945, ppid: 3831] gRPC call [Resolve] finished: true 1: [15:31:10.676414, wr, 3945, ppid: 3831] Process spawned. [pid: 3964, command: ["/usr/bin/c++", "-c", "-o", "use_cxx_2.o", "use_cxx_2.cc"]] 1: [15:31:10.676729, wr, 3945, ppid: 3831] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [15:31:10.696140, wr, 3945, ppid: 3831] gRPC call [Register] finished: true 1: [15:31:10.696527, wr, 3945, ppid: 3831] Process wait requested. [pid: 3964] 1: [15:31:11.182203, wr, 3945, ppid: 3831] Process wait request: done. [pid: 3964] 1: [15:31:11.182305, wr, 3945, ppid: 3831] gRPC call requested: supervise::Interceptor::Register 1: [15:31:11.184913, wr, 3945, ppid: 3831] gRPC call [Register] finished: true 1: [15:31:11.446942, wr, 3945, ppid: 3831] succeeded with: 1 1: [15:31:11.447174, el, 3945] lib.cc; on_unload 1: [15:31:11.452858, el, 3831] lib.cc; on_unload 1: [15:31:11.454335, wr, 3800, ppid: 3778] Process wait request: done. [pid: 3831] 1: [15:31:11.454413, wr, 3800, ppid: 3778] gRPC call requested: supervise::Interceptor::Register 1: [15:31:11.457725, wr, 3800, ppid: 3778] gRPC call [Register] finished: true 1: [15:31:11.466171, wr, 3800, ppid: 3778] succeeded with: 1 1: [15:31:11.466385, el, 3800] lib.cc; on_unload 1: [15:31:11.472281, br, 3778] Process wait request: done. [pid: 3800] 1: [15:31:11.472455, br, 3778] Running command. [Exited with 1] 1: [15:31:11.472494, br, 3778] Stopping gRPC server. 1: [15:31:11.734115, br, 3778] succeeded with: 1 1: [15:31:11.740833, br, 3775] Process wait request: done. [pid: 3778] 1: [15:31:11.741002, br, 3775] Running intercept finished. [Exited with 1] 1: [15:31:11.742044, br, 3775] Process spawned. [pid: 4014, 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: [15:31:11.742159, br, 3775] Process wait requested. [pid: 4014] 1: [15:31:11.885821, br, 4014] bear: 3.1.2 1: [15:31:11.886154, br, 4014] 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: [15:31:11.886249, br, 4014] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:11.886289, br, 4014] sysname: Linux 1: [15:31:11.886300, br, 4014] release: 6.3.5-arch1-1 1: [15:31:11.886310, br, 4014] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:11.886318, br, 4014] machine: riscv64 1: [15:31:11.886467, br, 4014] 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: [15:31:11.887149, br, 4014] 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: [15:31:11.893059, br, 4014] [pid: 3831] 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":{"PATH":"/build/bear/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:43765","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LIBTOOL":"/usr/bin/libtool","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TRUE":"/usr/bin/true","ECHO":"/usr/bin/echo","CC":"/usr/bin/cc","FALSE":"/usr/bin/false","CXX":"/usr/bin/c++","LC_CTYPE":"en_US.UTF-8","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep"}} 1: [15:31:11.895917, br, 4014] [pid: 3831] recognition failed: No tools recognize this execution. 1: [15:31:11.897165, br, 4014] [pid: 3871] 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":{"SHLVL":"1","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:43765","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LIBTOOL":"/usr/bin/libtool","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TRUE":"/usr/bin/true","ECHO":"/usr/bin/echo","CC":"/usr/bin/cc","FALSE":"/usr/bin/false","CXX":"/usr/bin/c++","LC_CTYPE":"en_US.UTF-8","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","_":"/usr/bin/touch","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output"}} 1: [15:31:11.897215, br, 4014] [pid: 3871] recognition failed: No tools recognize this execution. 1: [15:31:11.898514, br, 4014] [pid: 3902] 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":{"SHLVL":"1","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:43765","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LIBTOOL":"/usr/bin/libtool","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TRUE":"/usr/bin/true","ECHO":"/usr/bin/echo","CC":"/usr/bin/cc","FALSE":"/usr/bin/false","CXX":"/usr/bin/c++","LC_CTYPE":"en_US.UTF-8","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","_":"/usr/bin/c++","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output"}} 1: [15:31:11.898690, br, 4014] [pid: 3902] recognized. 1: [15:31:11.900273, br, 4014] [pid: 3964] 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":{"SHLVL":"1","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:43765","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LIBTOOL":"/usr/bin/libtool","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TRUE":"/usr/bin/true","ECHO":"/usr/bin/echo","CC":"/usr/bin/cc","FALSE":"/usr/bin/false","CXX":"/usr/bin/c++","LC_CTYPE":"en_US.UTF-8","LLVM_DISABLE_CRASH_REPORT":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","_":"/usr/bin/c++","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output"}} 1: [15:31:11.900341, br, 4014] [pid: 3964] recognized. 1: [15:31:11.900975, br, 4014] compilation entries created. [size: 2] 1: [15:31:11.901001, br, 4014] compilation entries to output. [size: 2] 1: [15:31:11.901916, br, 4014] compilation entries written. [size: 2] 1: [15:31:11.901965, br, 4014] succeeded with: 0 1: [15:31:11.906666, br, 3775] Process wait request: done. [pid: 4014] 1: [15:31:11.906792, br, 3775] Running citnames finished. [Exited with 0] 1: [15:31:11.907150, br, 3775] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/flag/use_cc.sh (30 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/flag/use_cc.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 5'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output; /build/bear/src/build/stage/bin/bear --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: [15:31:08.804848, br, 3774] bear: 3.1.2 1: [15:31:08.805224, br, 3774] 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: [15:31:08.805319, br, 3774] 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=1687331444", "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-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk"] 1: [15:31:08.805364, br, 3774] sysname: Linux 1: [15:31:08.805377, br, 3774] release: 6.3.5-arch1-1 1: [15:31:08.805386, br, 3774] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:08.805394, br, 3774] machine: riscv64 1: [15:31:08.805542, br, 3774] 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: [15:31:08.824225, br, 3774] Process spawned. [pid: 3777, 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: [15:31:08.824399, br, 3774] Process wait requested. [pid: 3777] 1: [15:31:08.956672, br, 3777] bear: 3.1.2 1: [15:31:08.957033, br, 3777] 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: [15:31:08.957127, br, 3777] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:08.957168, br, 3777] sysname: Linux 1: [15:31:08.957179, br, 3777] release: 6.3.5-arch1-1 1: [15:31:08.957188, br, 3777] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:08.957196, br, 3777] machine: riscv64 1: [15:31:08.957415, br, 3777] 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: [15:31:08.957863, br, 3777] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:31:08.979023, br, 3777] Running gRPC server. dns:///localhost:44723 1: [15:31:08.980795, br, 3777] Process spawned. [pid: 3790, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44723", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh"]] 1: [15:31:08.980953, br, 3777] Process wait requested. [pid: 3790] 1: [15:31:09.130723, el, 3790] lib.cc; on_load 1: [15:31:09.131876, wr, 3790, ppid: 3777] wrapper: 3.1.2 1: [15:31:09.131973, wr, 3790, ppid: 3777] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44723", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh"] 1: [15:31:09.132080, wr, 3790, ppid: 3777] 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:44723", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:09.132224, wr, 3790, ppid: 3777] 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:44723]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:31:09.138642, wr, 3790, ppid: 3777] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:09.151862, br, 3777] trying to resolve for library: /usr/bin/sh 1: [15:31:09.154119, wr, 3790, ppid: 3777] gRPC call [Resolve] finished: true 1: [15:31:09.167568, wr, 3790, ppid: 3777] Process spawned. [pid: 3820, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flag/use_cc.sh"]] 1: [15:31:09.167811, wr, 3790, ppid: 3777] gRPC call requested: supervise::Interceptor::Register 1: [15:31:09.168572, el, 3820] lib.cc; on_load 1: [15:31:09.178893, wr, 3790, ppid: 3777] gRPC call [Register] finished: true 1: [15:31:09.179234, wr, 3790, ppid: 3777] Process wait requested. [pid: 3820] 1: [15:31:09.182962, el, 3821] lib.cc; execve path: /usr/bin/touch 1: [15:31:09.386818, el, 3821] lib.cc; on_load 1: [15:31:09.387996, wr, 3821, ppid: 3820] wrapper: 3.1.2 1: [15:31:09.388084, wr, 3821, ppid: 3820] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44723", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "use_cc_1.c", "use_cc_2.c"] 1: [15:31:09.388201, wr, 3821, ppid: 3820] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:44723", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:09.388336, wr, 3821, ppid: 3820] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, use_cc_1.c, use_cc_2.c]}, {--destination: [dns:///localhost:44723]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [15:31:09.404946, wr, 3821, ppid: 3820] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:09.424126, br, 3777] trying to resolve for library: /usr/bin/touch 1: [15:31:09.425837, wr, 3821, ppid: 3820] gRPC call [Resolve] finished: true 1: [15:31:09.443692, wr, 3821, ppid: 3820] Process spawned. [pid: 3854, command: ["touch", "use_cc_1.c", "use_cc_2.c"]] 1: [15:31:09.443906, wr, 3821, ppid: 3820] gRPC call requested: supervise::Interceptor::Register 1: [15:31:09.449863, wr, 3821, ppid: 3820] gRPC call [Register] finished: true 1: [15:31:09.450196, wr, 3821, ppid: 3820] Process wait requested. [pid: 3854] 1: [15:31:09.462848, el, 3854] lib.cc; on_load 1: [15:31:09.471372, wr, 3821, ppid: 3820] Process wait request: done. [pid: 3854] 1: [15:31:09.471436, wr, 3821, ppid: 3820] gRPC call requested: supervise::Interceptor::Register 1: [15:31:09.474263, wr, 3821, ppid: 3820] gRPC call [Register] finished: true 1: [15:31:09.509833, wr, 3821, ppid: 3820] succeeded with: 0 1: [15:31:09.510055, el, 3821] lib.cc; on_unload 1: [15:31:09.517746, el, 3875] lib.cc; execve path: /usr/bin/cc 1: [15:31:09.671802, el, 3875] lib.cc; on_load 1: [15:31:09.674991, wr, 3875, ppid: 3820] wrapper: 3.1.2 1: [15:31:09.675087, wr, 3875, ppid: 3820] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44723", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "use_cc_1.o", "use_cc_1.c"] 1: [15:31:09.675208, wr, 3875, ppid: 3820] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:44723", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:09.675369, wr, 3875, ppid: 3820] 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:44723]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:09.695348, wr, 3875, ppid: 3820] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:09.708680, br, 3777] trying to resolve for library: /usr/bin/cc 1: [15:31:09.710374, wr, 3875, ppid: 3820] gRPC call [Resolve] finished: true 1: [15:31:09.714204, wr, 3875, ppid: 3820] Process spawned. [pid: 3903, command: ["/usr/bin/cc", "-c", "-o", "use_cc_1.o", "use_cc_1.c"]] 1: [15:31:09.714374, wr, 3875, ppid: 3820] gRPC call requested: supervise::Interceptor::Register 1: [15:31:09.719897, wr, 3875, ppid: 3820] gRPC call [Register] finished: true 1: [15:31:09.720215, wr, 3875, ppid: 3820] Process wait requested. [pid: 3903] 1: free(): invalid pointer 1: [15:31:10.192226, wr, 3875, ppid: 3820] Process wait request: done. [pid: 3903] 1: [15:31:10.192323, wr, 3875, ppid: 3820] gRPC call requested: supervise::Interceptor::Register 1: [15:31:10.194874, wr, 3875, ppid: 3820] gRPC call [Register] finished: true 1: [15:31:10.466763, wr, 3875, ppid: 3820] succeeded with: 1 1: [15:31:10.466991, el, 3875] lib.cc; on_unload 1: [15:31:10.474421, el, 3944] lib.cc; execve path: /usr/bin/cc 1: [15:31:10.610876, el, 3944] lib.cc; on_load 1: [15:31:10.612033, wr, 3944, ppid: 3820] wrapper: 3.1.2 1: [15:31:10.612123, wr, 3944, ppid: 3820] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:44723", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "use_cc_2.o", "use_cc_2.c"] 1: [15:31:10.612261, wr, 3944, ppid: 3820] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:44723", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:10.612414, wr, 3944, ppid: 3820] 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:44723]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:10.621255, wr, 3944, ppid: 3820] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:10.630403, br, 3777] trying to resolve for library: /usr/bin/cc 1: [15:31:10.632161, wr, 3944, ppid: 3820] gRPC call [Resolve] finished: true 1: [15:31:10.633676, wr, 3944, ppid: 3820] Process spawned. [pid: 3955, command: ["/usr/bin/cc", "-c", "-o", "use_cc_2.o", "use_cc_2.c"]] 1: [15:31:10.633838, wr, 3944, ppid: 3820] gRPC call requested: supervise::Interceptor::Register 1: [15:31:10.639666, wr, 3944, ppid: 3820] gRPC call [Register] finished: true 1: [15:31:10.640024, wr, 3944, ppid: 3820] Process wait requested. [pid: 3955] 1: free(): invalid pointer 1: [15:31:11.074609, wr, 3944, ppid: 3820] Process wait request: done. [pid: 3955] 1: [15:31:11.074705, wr, 3944, ppid: 3820] gRPC call requested: supervise::Interceptor::Register 1: [15:31:11.081472, wr, 3944, ppid: 3820] gRPC call [Register] finished: true 1: [15:31:11.351397, wr, 3944, ppid: 3820] succeeded with: 1 1: [15:31:11.351609, el, 3944] lib.cc; on_unload 1: [15:31:11.357761, el, 3820] lib.cc; on_unload 1: [15:31:11.359182, wr, 3790, ppid: 3777] Process wait request: done. [pid: 3820] 1: [15:31:11.359254, wr, 3790, ppid: 3777] gRPC call requested: supervise::Interceptor::Register 1: [15:31:11.362783, wr, 3790, ppid: 3777] gRPC call [Register] finished: true 1: [15:31:11.642183, wr, 3790, ppid: 3777] succeeded with: 1 1: [15:31:11.642403, el, 3790] lib.cc; on_unload 1: [15:31:11.648312, br, 3777] Process wait request: done. [pid: 3790] 1: [15:31:11.648495, br, 3777] Running command. [Exited with 1] 1: [15:31:11.648533, br, 3777] Stopping gRPC server. 1: [15:31:11.937721, br, 3777] succeeded with: 1 1: [15:31:11.947530, br, 3774] Process wait request: done. [pid: 3777] 1: [15:31:11.947698, br, 3774] Running intercept finished. [Exited with 1] 1: [15:31:11.950756, br, 3774] Process spawned. [pid: 4016, 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: [15:31:11.950883, br, 3774] Process wait requested. [pid: 4016] 1: [15:31:12.099973, br, 4016] bear: 3.1.2 1: [15:31:12.100309, br, 4016] 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: [15:31:12.100402, br, 4016] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:12.100441, br, 4016] sysname: Linux 1: [15:31:12.100452, br, 4016] release: 6.3.5-arch1-1 1: [15:31:12.100461, br, 4016] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:12.100469, br, 4016] machine: riscv64 1: [15:31:12.100704, br, 4016] 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: [15:31:12.101488, br, 4016] 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: [15:31:12.107361, br, 4016] [pid: 3820] 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_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1687331444","CXX":"/usr/bin/c++","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","SLEEP":"/usr/bin/sleep","FALSE":"/usr/bin/false","INTERCEPT_VERBOSE":"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","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","TRUE":"/usr/bin/true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44723","TMP":"/tmp/lit-tmp-r4hbrhzk","TMPDIR":"/tmp/lit-tmp-r4hbrhzk"}} 1: [15:31:12.110104, br, 4016] [pid: 3820] recognition failed: No tools recognize this execution. 1: [15:31:12.111611, br, 4016] [pid: 3854] 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":{"INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SHLVL":"1","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1687331444","CXX":"/usr/bin/c++","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","SLEEP":"/usr/bin/sleep","_":"/usr/bin/touch","FALSE":"/usr/bin/false","INTERCEPT_VERBOSE":"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","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","TRUE":"/usr/bin/true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44723","TMP":"/tmp/lit-tmp-r4hbrhzk","TMPDIR":"/tmp/lit-tmp-r4hbrhzk"}} 1: [15:31:12.111698, br, 4016] [pid: 3854] recognition failed: No tools recognize this execution. 1: [15:31:12.113082, br, 4016] [pid: 3903] 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":{"INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SHLVL":"1","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1687331444","CXX":"/usr/bin/c++","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","SLEEP":"/usr/bin/sleep","_":"/usr/bin/cc","FALSE":"/usr/bin/false","INTERCEPT_VERBOSE":"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","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","TRUE":"/usr/bin/true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44723","TMP":"/tmp/lit-tmp-r4hbrhzk","TMPDIR":"/tmp/lit-tmp-r4hbrhzk"}} 1: [15:31:12.113295, br, 4016] [pid: 3903] recognized. 1: [15:31:12.115178, br, 4016] [pid: 3955] 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":{"INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SHLVL":"1","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/flag/Output","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1687331444","CXX":"/usr/bin/c++","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","SLEEP":"/usr/bin/sleep","_":"/usr/bin/cc","FALSE":"/usr/bin/false","INTERCEPT_VERBOSE":"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","ECHO":"/usr/bin/echo","LLVM_DISABLE_CRASH_REPORT":"1","TRUE":"/usr/bin/true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:44723","TMP":"/tmp/lit-tmp-r4hbrhzk","TMPDIR":"/tmp/lit-tmp-r4hbrhzk"}} 1: [15:31:12.115288, br, 4016] [pid: 3955] recognized. 1: [15:31:12.115978, br, 4016] compilation entries created. [size: 2] 1: [15:31:12.116009, br, 4016] compilation entries to output. [size: 2] 1: [15:31:12.116991, br, 4016] compilation entries written. [size: 2] 1: [15:31:12.117056, br, 4016] succeeded with: 0 1: [15:31:12.124059, br, 3774] Process wait request: done. [pid: 4016] 1: [15:31:12.124231, br, 3774] Running citnames finished. [Exited with 0] 1: [15:31:12.124651, br, 3774] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/multiple_source_build.sh (31 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: [15:31:12.318618, br, 4018] bear: 3.1.2 1: [15:31:12.319042, br, 4018] 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: [15:31:12.319134, br, 4018] 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=1687331444", "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-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk"] 1: [15:31:12.319171, br, 4018] sysname: Linux 1: [15:31:12.319182, br, 4018] release: 6.3.5-arch1-1 1: [15:31:12.319191, br, 4018] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:12.319198, br, 4018] machine: riscv64 1: [15:31:12.319349, br, 4018] 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: [15:31:12.321309, br, 4018] Process spawned. [pid: 4030, 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: [15:31:12.321448, br, 4018] Process wait requested. [pid: 4030] 1: [15:31:12.469083, br, 4030] bear: 3.1.2 1: [15:31:12.469414, br, 4030] 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: [15:31:12.469508, br, 4030] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:12.469554, br, 4030] sysname: Linux 1: [15:31:12.469565, br, 4030] release: 6.3.5-arch1-1 1: [15:31:12.469574, br, 4030] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:12.469581, br, 4030] machine: riscv64 1: [15:31:12.469741, br, 4030] 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: [15:31:12.470173, br, 4030] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:31:12.504834, br, 4030] Running gRPC server. dns:///localhost:42935 1: [15:31:12.506261, br, 4030] Process spawned. [pid: 4061, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42935", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh"]] 1: [15:31:12.506386, br, 4030] Process wait requested. [pid: 4061] 1: [15:31:12.645418, el, 4061] lib.cc; on_load 1: [15:31:12.646746, wr, 4061, ppid: 4030] wrapper: 3.1.2 1: [15:31:12.646995, wr, 4061, ppid: 4030] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42935", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh"] 1: [15:31:12.647228, wr, 4061, ppid: 4030] 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:42935", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:12.647523, wr, 4061, ppid: 4030] 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:42935]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:31:12.654202, wr, 4061, ppid: 4030] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:12.665971, br, 4030] trying to resolve for library: /usr/bin/sh 1: [15:31:12.668109, wr, 4061, ppid: 4030] gRPC call [Resolve] finished: true 1: [15:31:12.672877, wr, 4061, ppid: 4030] Process spawned. [pid: 4071, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/multiple_source_build.sh"]] 1: [15:31:12.673161, wr, 4061, ppid: 4030] gRPC call requested: supervise::Interceptor::Register 1: [15:31:12.685460, wr, 4061, ppid: 4030] gRPC call [Register] finished: true 1: [15:31:12.685854, wr, 4061, ppid: 4030] Process wait requested. [pid: 4071] 1: [15:31:12.695531, el, 4071] lib.cc; on_load 1: [15:31:12.710681, el, 4082] lib.cc; execve path: /usr/bin/cc 1: [15:31:12.852930, el, 4082] lib.cc; on_load 1: [15:31:12.854178, wr, 4082, ppid: 4071] wrapper: 3.1.2 1: [15:31:12.854287, wr, 4082, ppid: 4071] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42935", "--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: [15:31:12.854406, wr, 4082, ppid: 4071] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42935", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:12.854561, wr, 4082, ppid: 4071] 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:42935]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:12.861324, wr, 4082, ppid: 4071] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:12.873416, br, 4030] trying to resolve for library: /usr/bin/cc 1: [15:31:12.876045, wr, 4082, ppid: 4071] gRPC call [Resolve] finished: true 1: [15:31:12.877975, wr, 4082, ppid: 4071] Process spawned. [pid: 4092, command: ["/usr/bin/cc", "-o", "multiple_source_build", "multiple_source_build_1.c", "multiple_source_build_2.c", "multiple_source_build_3.c"]] 1: [15:31:12.878175, wr, 4082, ppid: 4071] gRPC call requested: supervise::Interceptor::Register 1: [15:31:12.884840, wr, 4082, ppid: 4071] gRPC call [Register] finished: true 1: [15:31:12.885190, wr, 4082, ppid: 4071] Process wait requested. [pid: 4092] 1: free(): invalid pointer 1: [15:31:13.320380, wr, 4082, ppid: 4071] Process wait request: done. [pid: 4092] 1: [15:31:13.320480, wr, 4082, ppid: 4071] gRPC call requested: supervise::Interceptor::Register 1: [15:31:13.323879, wr, 4082, ppid: 4071] gRPC call [Register] finished: true 1: [15:31:13.338664, wr, 4082, ppid: 4071] succeeded with: 1 1: [15:31:13.338894, el, 4082] lib.cc; on_unload 1: [15:31:13.345191, el, 4071] lib.cc; on_unload 1: [15:31:13.346807, wr, 4061, ppid: 4030] Process wait request: done. [pid: 4071] 1: [15:31:13.346900, wr, 4061, ppid: 4030] gRPC call requested: supervise::Interceptor::Register 1: [15:31:13.350350, wr, 4061, ppid: 4030] gRPC call [Register] finished: true 1: [15:31:13.357162, wr, 4061, ppid: 4030] succeeded with: 1 1: [15:31:13.357415, el, 4061] lib.cc; on_unload 1: [15:31:13.362909, br, 4030] Process wait request: done. [pid: 4061] 1: [15:31:13.363074, br, 4030] Running command. [Exited with 1] 1: [15:31:13.363110, br, 4030] Stopping gRPC server. 1: [15:31:13.374657, br, 4030] succeeded with: 1 1: [15:31:13.382262, br, 4018] Process wait request: done. [pid: 4030] 1: [15:31:13.382433, br, 4018] Running intercept finished. [Exited with 1] 1: [15:31:13.383513, br, 4018] Process spawned. [pid: 4104, 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: [15:31:13.383621, br, 4018] Process wait requested. [pid: 4104] 1: [15:31:13.542206, br, 4104] bear: 3.1.2 1: [15:31:13.542840, br, 4104] 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: [15:31:13.543074, br, 4104] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:13.543257, br, 4104] sysname: Linux 1: [15:31:13.543388, br, 4104] release: 6.3.5-arch1-1 1: [15:31:13.543508, br, 4104] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:13.543664, br, 4104] machine: riscv64 1: [15:31:13.543961, br, 4104] 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: [15:31:13.544771, br, 4104] 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: [15:31:13.550976, br, 4104] [pid: 4071] 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":{"TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42935","PATH":"/build/bear/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","ECHO":"/usr/bin/echo","INTERCEPT_VERBOSE":"true","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","SOURCE_DATE_EPOCH":"1687331444","TRUE":"/usr/bin/true","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-r4hbrhzk"}} 1: [15:31:13.554275, br, 4104] [pid: 4071] recognition failed: No tools recognize this execution. 1: [15:31:13.556040, br, 4104] [pid: 4092] 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":{"_":"/usr/bin/cc","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","LC_CTYPE":"en_US.UTF-8","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42935","PATH":"/build/bear/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","ECHO":"/usr/bin/echo","SHLVL":"1","INTERCEPT_VERBOSE":"true","TERM":"tmux-256color","TEMP":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","SOURCE_DATE_EPOCH":"1687331444","TRUE":"/usr/bin/true","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CC":"/usr/bin/cc","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","CXX":"/usr/bin/c++","TMP":"/tmp/lit-tmp-r4hbrhzk"}} 1: [15:31:13.556516, br, 4104] [pid: 4092] recognized. 1: [15:31:13.561554, br, 4104] compilation entries created. [size: 3] 1: [15:31:13.561855, br, 4104] compilation entries to output. [size: 3] 1: [15:31:13.563247, br, 4104] compilation entries written. [size: 3] 1: [15:31:13.563537, br, 4104] succeeded with: 0 1: [15:31:13.569044, br, 4018] Process wait request: done. [pid: 4104] 1: [15:31:13.569190, br, 4018] Running citnames finished. [Exited with 0] 1: [15:31:13.569643, br, 4018] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/flags_filtered_link.sh (32 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/flags_filtered_link.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --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: [15:31:08.937309, br, 3776] bear: 3.1.2 1: [15:31:08.937956, br, 3776] 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: [15:31:08.938161, br, 3776] 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=1687331444", "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-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk"] 1: [15:31:08.938305, br, 3776] sysname: Linux 1: [15:31:08.938406, br, 3776] release: 6.3.5-arch1-1 1: [15:31:08.938506, br, 3776] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:08.938602, br, 3776] machine: riscv64 1: [15:31:08.938852, br, 3776] 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: [15:31:08.941080, br, 3776] Process spawned. [pid: 3779, 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: [15:31:08.941244, br, 3776] Process wait requested. [pid: 3779] 1: [15:31:09.083065, br, 3779] bear: 3.1.2 1: [15:31:09.083686, br, 3779] 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: [15:31:09.083972, br, 3779] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:09.084153, br, 3779] sysname: Linux 1: [15:31:09.084315, br, 3779] release: 6.3.5-arch1-1 1: [15:31:09.084438, br, 3779] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:09.084558, br, 3779] machine: riscv64 1: [15:31:09.084824, br, 3779] 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: [15:31:09.085381, br, 3779] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:31:09.104936, br, 3779] Running gRPC server. dns:///localhost:42537 1: [15:31:09.106324, br, 3779] Process spawned. [pid: 3810, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42537", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh"]] 1: [15:31:09.106467, br, 3779] Process wait requested. [pid: 3810] 1: [15:31:09.250783, el, 3810] lib.cc; on_load 1: [15:31:09.252146, wr, 3810, ppid: 3779] wrapper: 3.1.2 1: [15:31:09.252385, wr, 3810, ppid: 3779] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42537", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh"] 1: [15:31:09.252666, wr, 3810, ppid: 3779] 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:42537", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:09.252929, wr, 3810, ppid: 3779] 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:42537]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:31:09.261199, wr, 3810, ppid: 3779] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:09.272297, br, 3779] trying to resolve for library: /usr/bin/sh 1: [15:31:09.274069, wr, 3810, ppid: 3779] gRPC call [Resolve] finished: true 1: [15:31:09.275674, wr, 3810, ppid: 3779] Process spawned. [pid: 3842, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_link.sh"]] 1: [15:31:09.275842, wr, 3810, ppid: 3779] gRPC call requested: supervise::Interceptor::Register 1: [15:31:09.286130, wr, 3810, ppid: 3779] gRPC call [Register] finished: true 1: [15:31:09.286466, wr, 3810, ppid: 3779] Process wait requested. [pid: 3842] 1: [15:31:09.295313, el, 3842] lib.cc; on_load 1: [15:31:09.311387, el, 3844] lib.cc; execve path: /usr/bin/uname 1: [15:31:09.312821, el, 3845] lib.cc; execve path: /usr/bin/grep 1: [15:31:09.462799, el, 3844] lib.cc; on_load 1: [15:31:09.464889, wr, 3844, ppid: 3843] wrapper: 3.1.2 1: [15:31:09.465151, wr, 3844, ppid: 3843] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42537", "--verbose", "--execute", "/usr/bin/uname", "--", "uname"] 1: [15:31:09.465447, wr, 3844, ppid: 3843] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42537", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=0", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:09.465744, wr, 3844, ppid: 3843] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [uname]}, {--destination: [dns:///localhost:42537]}, {--execute: [/usr/bin/uname]}, {--verbose: []}]} 1: [15:31:09.472968, wr, 3844, ppid: 3843] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:09.501758, br, 3779] trying to resolve for library: /usr/bin/uname 1: [15:31:09.504477, wr, 3844, ppid: 3843] gRPC call [Resolve] finished: true 1: [15:31:09.508379, el, 3845] lib.cc; on_load 1: [15:31:09.509889, wr, 3845, ppid: 3843] wrapper: 3.1.2 1: [15:31:09.510135, wr, 3845, ppid: 3843] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42537", "--verbose", "--execute", "/usr/bin/grep", "--", "grep", "-i", "darwin"] 1: [15:31:09.510384, wr, 3845, ppid: 3843] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42537", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=0", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:09.510721, wr, 3845, ppid: 3843] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [grep, -i, darwin]}, {--destination: [dns:///localhost:42537]}, {--execute: [/usr/bin/grep]}, {--verbose: []}]} 1: [15:31:09.513831, wr, 3844, ppid: 3843] Process spawned. [pid: 3872, command: ["uname"]] 1: [15:31:09.514176, wr, 3844, ppid: 3843] gRPC call requested: supervise::Interceptor::Register 1: [15:31:09.520955, wr, 3844, ppid: 3843] gRPC call [Register] finished: true 1: [15:31:09.521488, wr, 3844, ppid: 3843] Process wait requested. [pid: 3872] 1: [15:31:09.523001, el, 3872] lib.cc; on_load 1: [15:31:09.525020, wr, 3844, ppid: 3843] Process wait request: done. [pid: 3872] 1: [15:31:09.525076, wr, 3844, ppid: 3843] gRPC call requested: supervise::Interceptor::Register 1: [15:31:09.528005, wr, 3844, ppid: 3843] gRPC call [Register] finished: true 1: [15:31:09.536521, wr, 3844, ppid: 3843] succeeded with: 0 1: [15:31:09.536754, el, 3844] lib.cc; on_unload 1: [15:31:09.553333, wr, 3845, ppid: 3843] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:09.562697, br, 3779] trying to resolve for library: /usr/bin/grep 1: [15:31:09.564623, wr, 3845, ppid: 3843] gRPC call [Resolve] finished: true 1: [15:31:09.566253, wr, 3845, ppid: 3843] Process spawned. [pid: 3883, command: ["grep", "-i", "darwin"]] 1: [15:31:09.566441, wr, 3845, ppid: 3843] gRPC call requested: supervise::Interceptor::Register 1: [15:31:09.573019, wr, 3845, ppid: 3843] gRPC call [Register] finished: true 1: [15:31:09.573353, wr, 3845, ppid: 3843] Process wait requested. [pid: 3883] 1: [15:31:09.583017, el, 3883] lib.cc; on_load 1: [15:31:09.595208, wr, 3845, ppid: 3843] Process wait request: done. [pid: 3883] 1: [15:31:09.595278, wr, 3845, ppid: 3843] gRPC call requested: supervise::Interceptor::Register 1: [15:31:09.597921, wr, 3845, ppid: 3843] gRPC call [Register] finished: true 1: [15:31:09.666509, wr, 3845, ppid: 3843] succeeded with: 1 1: [15:31:09.666735, el, 3845] lib.cc; on_unload 1: [15:31:09.672891, el, 3843] lib.cc; on_unload 1: [15:31:09.677922, el, 3886] lib.cc; execve path: /usr/bin/cc 1: [15:31:09.835411, el, 3886] lib.cc; on_load 1: [15:31:09.836511, wr, 3886, ppid: 3842] wrapper: 3.1.2 1: [15:31:09.836601, wr, 3886, ppid: 3842] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42537", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "flags_filtered_link_1.o", "-fpic", "flags_filtered_link_1.c"] 1: [15:31:09.836718, wr, 3886, ppid: 3842] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42537", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:09.836858, wr, 3886, ppid: 3842] 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:42537]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:09.855462, wr, 3886, ppid: 3842] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:09.885880, br, 3779] trying to resolve for library: /usr/bin/cc 1: [15:31:09.889532, wr, 3886, ppid: 3842] gRPC call [Resolve] finished: true 1: [15:31:09.897619, wr, 3886, ppid: 3842] Process spawned. [pid: 3913, command: ["/usr/bin/cc", "-c", "-o", "flags_filtered_link_1.o", "-fpic", "flags_filtered_link_1.c"]] 1: [15:31:09.897832, wr, 3886, ppid: 3842] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [15:31:09.904407, wr, 3886, ppid: 3842] gRPC call [Register] finished: true 1: [15:31:09.904714, wr, 3886, ppid: 3842] Process wait requested. [pid: 3913] 1: [15:31:10.331662, wr, 3886, ppid: 3842] Process wait request: done. [pid: 3913] 1: [15:31:10.331767, wr, 3886, ppid: 3842] gRPC call requested: supervise::Interceptor::Register 1: [15:31:10.335473, wr, 3886, ppid: 3842] gRPC call [Register] finished: true 1: [15:31:10.607413, wr, 3886, ppid: 3842] succeeded with: 1 1: [15:31:10.607646, el, 3886] lib.cc; on_unload 1: [15:31:10.615355, el, 3946] lib.cc; execve path: /usr/bin/cc 1: [15:31:10.766892, el, 3946] lib.cc; on_load 1: [15:31:10.768050, wr, 3946, ppid: 3842] wrapper: 3.1.2 1: [15:31:10.768142, wr, 3946, ppid: 3842] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42537", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "flags_filtered_link_2.o", "-fpic", "flags_filtered_link_2.c"] 1: [15:31:10.768279, wr, 3946, ppid: 3842] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42537", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:10.768413, wr, 3946, ppid: 3842] 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:42537]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:10.774994, wr, 3946, ppid: 3842] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:10.785968, br, 3779] trying to resolve for library: /usr/bin/cc 1: [15:31:10.787905, wr, 3946, ppid: 3842] gRPC call [Resolve] finished: true 1: [15:31:10.791373, wr, 3946, ppid: 3842] Process spawned. [pid: 3974, command: ["/usr/bin/cc", "-c", "-o", "flags_filtered_link_2.o", "-fpic", "flags_filtered_link_2.c"]] 1: [15:31:10.791557, wr, 3946, ppid: 3842] gRPC call requested: supervise::Interceptor::Register 1: [15:31:10.797496, wr, 3946, ppid: 3842] gRPC call [Register] finished: true 1: [15:31:10.797867, wr, 3946, ppid: 3842] Process wait requested. [pid: 3974] 1: free(): invalid pointer 1: [15:31:11.227217, wr, 3946, ppid: 3842] Process wait request: done. [pid: 3974] 1: [15:31:11.227399, wr, 3946, ppid: 3842] gRPC call requested: supervise::Interceptor::Register 1: [15:31:11.230268, wr, 3946, ppid: 3842] gRPC call [Register] finished: true 1: [15:31:11.365406, wr, 3946, ppid: 3842] succeeded with: 1 1: [15:31:11.365614, el, 3946] lib.cc; on_unload 1: [15:31:11.373463, el, 3994] lib.cc; execve path: /usr/bin/cc 1: [15:31:11.544801, el, 3994] lib.cc; on_load 1: [15:31:11.545858, wr, 3994, ppid: 3842] wrapper: 3.1.2 1: [15:31:11.545953, wr, 3994, ppid: 3842] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42537", "--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: [15:31:11.546067, wr, 3994, ppid: 3842] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42537", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:11.546204, wr, 3994, ppid: 3842] 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:42537]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:11.564558, wr, 3994, ppid: 3842] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:11.573585, br, 3779] trying to resolve for library: /usr/bin/cc 1: [15:31:11.575081, wr, 3994, ppid: 3842] gRPC call [Resolve] finished: true 1: [15:31:11.576694, wr, 3994, ppid: 3842] Process spawned. [pid: 4004, command: ["/usr/bin/cc", "-o", "libfoobar.so", "-shared", "-Wl,-soname,foobar", "flags_filtered_link_1.o", "flags_filtered_link_2.o"]] 1: [15:31:11.576858, wr, 3994, ppid: 3842] gRPC call requested: supervise::Interceptor::Register 1: [15:31:11.582007, wr, 3994, ppid: 3842] gRPC call [Register] finished: true 1: [15:31:11.582315, wr, 3994, ppid: 3842] Process wait requested. [pid: 4004] 1: free(): invalid pointer 1: [15:31:11.997918, wr, 3994, ppid: 3842] Process wait request: done. [pid: 4004] 1: [15:31:11.997990, wr, 3994, ppid: 3842] gRPC call requested: supervise::Interceptor::Register 1: [15:31:12.002535, wr, 3994, ppid: 3842] gRPC call [Register] finished: true 1: [15:31:12.268979, wr, 3994, ppid: 3842] succeeded with: 1 1: [15:31:12.269188, el, 3994] lib.cc; on_unload 1: [15:31:12.276303, el, 4029] lib.cc; execve path: /usr/bin/cc 1: [15:31:12.416203, el, 4029] lib.cc; on_load 1: [15:31:12.417507, wr, 4029, ppid: 3842] wrapper: 3.1.2 1: [15:31:12.417607, wr, 4029, ppid: 3842] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42537", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-o", "flags_filtered_link_3", "-lfoobar", "-L.", "flags_filtered_link_3.c"] 1: [15:31:12.417727, wr, 4029, ppid: 3842] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42537", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:12.417875, wr, 4029, ppid: 3842] 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:42537]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:12.444980, wr, 4029, ppid: 3842] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:12.472988, br, 3779] trying to resolve for library: /usr/bin/cc 1: [15:31:12.475094, wr, 4029, ppid: 3842] gRPC call [Resolve] finished: true 1: [15:31:12.485008, wr, 4029, ppid: 3842] Process spawned. [pid: 4053, command: ["/usr/bin/cc", "-o", "flags_filtered_link_3", "-lfoobar", "-L.", "flags_filtered_link_3.c"]] 1: [15:31:12.485243, wr, 4029, ppid: 3842] gRPC call requested: supervise::Interceptor::Register 1: [15:31:12.492444, wr, 4029, ppid: 3842] gRPC call [Register] finished: true 1: [15:31:12.492800, wr, 4029, ppid: 3842] Process wait requested. [pid: 4053] 1: free(): invalid pointer 1: [15:31:12.941826, wr, 4029, ppid: 3842] Process wait request: done. [pid: 4053] 1: [15:31:12.941909, wr, 4029, ppid: 3842] gRPC call requested: supervise::Interceptor::Register 1: [15:31:12.945568, wr, 4029, ppid: 3842] gRPC call [Register] finished: true 1: [15:31:13.241089, wr, 4029, ppid: 3842] succeeded with: 1 1: [15:31:13.241365, el, 4029] lib.cc; on_unload 1: [15:31:13.249386, el, 4103] lib.cc; execve path: /usr/bin/cc 1: [15:31:13.440504, el, 4103] lib.cc; on_load 1: [15:31:13.441741, wr, 4103, ppid: 3842] wrapper: 3.1.2 1: [15:31:13.441846, wr, 4103, ppid: 3842] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:42537", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-o", "flags_filtered_link_4", "-l", "foobar", "-L", ".", "flags_filtered_link_4.c"] 1: [15:31:13.441966, wr, 4103, ppid: 3842] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:42537", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:13.442127, wr, 4103, ppid: 3842] 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:42537]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:13.455773, wr, 4103, ppid: 3842] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:13.466007, br, 3779] trying to resolve for library: /usr/bin/cc 1: [15:31:13.467639, wr, 4103, ppid: 3842] gRPC call [Resolve] finished: true 1: [15:31:13.478304, wr, 4103, ppid: 3842] Process spawned. [pid: 4114, command: ["/usr/bin/cc", "-o", "flags_filtered_link_4", "-l", "foobar", "-L", ".", "flags_filtered_link_4.c"]] 1: [15:31:13.478523, wr, 4103, ppid: 3842] gRPC call requested: supervise::Interceptor::Register 1: [15:31:13.484369, wr, 4103, ppid: 3842] gRPC call [Register] finished: true 1: [15:31:13.484714, wr, 4103, ppid: 3842] Process wait requested. [pid: 4114] 1: free(): invalid pointer 1: [15:31:13.962869, wr, 4103, ppid: 3842] Process wait request: done. [pid: 4114] 1: [15:31:13.962933, wr, 4103, ppid: 3842] gRPC call requested: supervise::Interceptor::Register 1: [15:31:13.969522, wr, 4103, ppid: 3842] gRPC call [Register] finished: true 1: [15:31:13.985259, wr, 4103, ppid: 3842] succeeded with: 1 1: [15:31:13.985495, el, 4103] lib.cc; on_unload 1: [15:31:13.994358, el, 3842] lib.cc; on_unload 1: [15:31:13.995980, wr, 3810, ppid: 3779] Process wait request: done. [pid: 3842] 1: [15:31:13.996070, wr, 3810, ppid: 3779] gRPC call requested: supervise::Interceptor::Register 1: [15:31:13.998666, wr, 3810, ppid: 3779] gRPC call [Register] finished: true 1: [15:31:14.008279, wr, 3810, ppid: 3779] succeeded with: 1 1: [15:31:14.008523, el, 3810] lib.cc; on_unload 1: [15:31:14.019799, br, 3779] Process wait request: done. [pid: 3810] 1: [15:31:14.019973, br, 3779] Running command. [Exited with 1] 1: [15:31:14.020010, br, 3779] Stopping gRPC server. 1: [15:31:14.031089, br, 3779] succeeded with: 1 1: [15:31:14.038493, br, 3776] Process wait request: done. [pid: 3779] 1: [15:31:14.038676, br, 3776] Running intercept finished. [Exited with 1] 1: [15:31:14.039794, br, 3776] Process spawned. [pid: 4135, 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: [15:31:14.039913, br, 3776] Process wait requested. [pid: 4135] 1: [15:31:14.187200, br, 4135] bear: 3.1.2 1: [15:31:14.187630, br, 4135] 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: [15:31:14.187724, br, 4135] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:14.187770, br, 4135] sysname: Linux 1: [15:31:14.187782, br, 4135] release: 6.3.5-arch1-1 1: [15:31:14.187791, br, 4135] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:14.187799, br, 4135] machine: riscv64 1: [15:31:14.187948, br, 4135] 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: [15:31:14.188674, br, 4135] 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: [15:31:14.195143, br, 4135] [pid: 3842] 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":{"CC":"/usr/bin/cc","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TRUE":"/usr/bin/true","SLEEP":"/usr/bin/sleep","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","LC_CTYPE":"en_US.UTF-8","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42537","ECHO":"/usr/bin/echo","TMP":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","INTERCEPT_VERBOSE":"true","TEMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CXX":"/usr/bin/c++","TERM":"tmux-256color","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [15:31:14.197977, br, 4135] [pid: 3842] recognition failed: No tools recognize this execution. 1: [15:31:14.199482, br, 4135] [pid: 3872] execution: {"executable":"/usr/bin/uname","arguments":["uname"],"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","CC":"/usr/bin/cc","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","_":"/usr/bin/uname","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TRUE":"/usr/bin/true","SLEEP":"/usr/bin/sleep","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","LC_CTYPE":"en_US.UTF-8","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42537","ECHO":"/usr/bin/echo","TMP":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","SHLVL":"0","INTERCEPT_VERBOSE":"true","TEMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CXX":"/usr/bin/c++","TERM":"tmux-256color","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [15:31:14.199570, br, 4135] [pid: 3872] recognition failed: No tools recognize this execution. 1: [15:31:14.201096, br, 4135] [pid: 3883] execution: {"executable":"/usr/bin/grep","arguments":["grep","-i","darwin"],"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","CC":"/usr/bin/cc","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","_":"/usr/bin/grep","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","TRUE":"/usr/bin/true","SLEEP":"/usr/bin/sleep","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","LC_CTYPE":"en_US.UTF-8","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42537","ECHO":"/usr/bin/echo","TMP":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","SHLVL":"0","INTERCEPT_VERBOSE":"true","TEMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CXX":"/usr/bin/c++","TERM":"tmux-256color","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [15:31:14.201186, br, 4135] [pid: 3883] recognition failed: No tools recognize this execution. 1: [15:31:14.202698, br, 4135] [pid: 3913] 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":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","_":"/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","TRUE":"/usr/bin/true","SLEEP":"/usr/bin/sleep","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","LC_CTYPE":"en_US.UTF-8","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42537","ECHO":"/usr/bin/echo","TMP":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","SHLVL":"1","INTERCEPT_VERBOSE":"true","TEMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CXX":"/usr/bin/c++","TERM":"tmux-256color","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [15:31:14.202944, br, 4135] [pid: 3913] recognized. 1: [15:31:14.205564, br, 4135] [pid: 3974] 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":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","_":"/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","TRUE":"/usr/bin/true","SLEEP":"/usr/bin/sleep","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","LC_CTYPE":"en_US.UTF-8","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42537","ECHO":"/usr/bin/echo","TMP":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","SHLVL":"1","INTERCEPT_VERBOSE":"true","TEMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CXX":"/usr/bin/c++","TERM":"tmux-256color","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [15:31:14.205718, br, 4135] [pid: 3974] recognized. 1: [15:31:14.207628, br, 4135] [pid: 4004] 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":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","_":"/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","TRUE":"/usr/bin/true","SLEEP":"/usr/bin/sleep","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","LC_CTYPE":"en_US.UTF-8","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42537","ECHO":"/usr/bin/echo","TMP":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","SHLVL":"1","INTERCEPT_VERBOSE":"true","TEMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CXX":"/usr/bin/c++","TERM":"tmux-256color","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [15:31:14.207818, br, 4135] [pid: 4004] recognition failed: Source files not found for compilation. 1: [15:31:14.209902, br, 4135] [pid: 4053] 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":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","_":"/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","TRUE":"/usr/bin/true","SLEEP":"/usr/bin/sleep","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","LC_CTYPE":"en_US.UTF-8","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42537","ECHO":"/usr/bin/echo","TMP":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","SHLVL":"1","INTERCEPT_VERBOSE":"true","TEMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CXX":"/usr/bin/c++","TERM":"tmux-256color","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [15:31:14.210056, br, 4135] [pid: 4053] recognized. 1: [15:31:14.212001, br, 4135] [pid: 4114] 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":{"PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CC":"/usr/bin/cc","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","_":"/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","TRUE":"/usr/bin/true","SLEEP":"/usr/bin/sleep","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LIBTOOL":"/usr/bin/libtool","LC_CTYPE":"en_US.UTF-8","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:42537","ECHO":"/usr/bin/echo","TMP":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","SHLVL":"1","INTERCEPT_VERBOSE":"true","TEMP":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","CXX":"/usr/bin/c++","TERM":"tmux-256color","LLVM_DISABLE_CRASH_REPORT":"1"}} 1: [15:31:14.212141, br, 4135] [pid: 4114] recognized. 1: [15:31:14.212905, br, 4135] compilation entries created. [size: 4] 1: [15:31:14.212939, br, 4135] compilation entries to output. [size: 4] 1: [15:31:14.214283, br, 4135] compilation entries written. [size: 4] 1: [15:31:14.214411, br, 4135] succeeded with: 0 1: [15:31:14.220740, br, 3776] Process wait request: done. [pid: 4135] 1: [15:31:14.220871, br, 3776] Running citnames finished. [Exited with 0] 1: [15:31:14.221307, br, 3776] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: FAIL: bear :: cases/compilation/output/flags_filtered_preproc.sh (33 of 100) 1: ******************** TEST 'bear :: cases/compilation/output/flags_filtered_preproc.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; cd /build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output; /build/bear/src/build/stage/bin/bear --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: [15:31:12.071702, br, 4015] bear: 3.1.2 1: [15:31:12.072358, br, 4015] 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: [15:31:12.072557, br, 4015] 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=1687331444", "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-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk"] 1: [15:31:12.072686, br, 4015] sysname: Linux 1: [15:31:12.072784, br, 4015] release: 6.3.5-arch1-1 1: [15:31:12.072877, br, 4015] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:12.072968, br, 4015] machine: riscv64 1: [15:31:12.073209, br, 4015] 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: [15:31:12.075404, br, 4015] Process spawned. [pid: 4017, 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: [15:31:12.075721, br, 4015] Process wait requested. [pid: 4017] 1: [15:31:12.237342, br, 4017] bear: 3.1.2 1: [15:31:12.237700, br, 4017] 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: [15:31:12.237796, br, 4017] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:12.237835, br, 4017] sysname: Linux 1: [15:31:12.237846, br, 4017] release: 6.3.5-arch1-1 1: [15:31:12.237855, br, 4017] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:12.237863, br, 4017] machine: riscv64 1: [15:31:12.238002, br, 4017] 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: [15:31:12.238406, br, 4017] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:31:12.266374, br, 4017] Running gRPC server. dns:///localhost:45467 1: [15:31:12.268668, br, 4017] Process spawned. [pid: 4028, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45467", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh"]] 1: [15:31:12.268810, br, 4017] Process wait requested. [pid: 4028] 1: [15:31:12.407949, el, 4028] lib.cc; on_load 1: [15:31:12.409041, wr, 4028, ppid: 4017] wrapper: 3.1.2 1: [15:31:12.409130, wr, 4028, ppid: 4017] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45467", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh"] 1: [15:31:12.409240, wr, 4028, ppid: 4017] 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:45467", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:12.409378, wr, 4028, ppid: 4017] 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:45467]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:31:12.429468, wr, 4028, ppid: 4017] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:12.440831, br, 4017] trying to resolve for library: /usr/bin/sh 1: [15:31:12.442870, wr, 4028, ppid: 4017] gRPC call [Resolve] finished: true 1: [15:31:12.448744, wr, 4028, ppid: 4017] Process spawned. [pid: 4048, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/flags_filtered_preproc.sh"]] 1: [15:31:12.448940, wr, 4028, ppid: 4017] gRPC call requested: supervise::Interceptor::Register 1: [15:31:12.464027, wr, 4028, ppid: 4017] gRPC call [Register] finished: true 1: [15:31:12.464381, wr, 4028, ppid: 4017] Process wait requested. [pid: 4048] 1: [15:31:12.471267, el, 4048] lib.cc; on_load 1: [15:31:12.494324, el, 4059] lib.cc; execve path: /usr/bin/touch 1: [15:31:12.663422, el, 4059] lib.cc; on_load 1: [15:31:12.666357, wr, 4059, ppid: 4048] wrapper: 3.1.2 1: [15:31:12.666626, wr, 4059, ppid: 4048] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45467", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "flags_filtered_preproc_1.c", "flags_filtered_preproc_2.c"] 1: [15:31:12.666917, wr, 4059, ppid: 4048] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45467", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:12.669417, wr, 4059, ppid: 4048] 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:45467]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [15:31:12.689530, wr, 4059, ppid: 4048] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:12.701028, br, 4017] trying to resolve for library: /usr/bin/touch 1: [15:31:12.702712, wr, 4059, ppid: 4048] gRPC call [Resolve] finished: true 1: [15:31:12.704483, wr, 4059, ppid: 4048] Process spawned. [pid: 4081, command: ["touch", "flags_filtered_preproc_1.c", "flags_filtered_preproc_2.c"]] 1: [15:31:12.704659, wr, 4059, ppid: 4048] gRPC call requested: supervise::Interceptor::Register 1: [15:31:12.711050, wr, 4059, ppid: 4048] gRPC call [Register] finished: true 1: [15:31:12.711395, wr, 4059, ppid: 4048] Process wait requested. [pid: 4081] 1: [15:31:12.716284, el, 4081] lib.cc; on_load 1: [15:31:12.718348, wr, 4059, ppid: 4048] Process wait request: done. [pid: 4081] 1: [15:31:12.718400, wr, 4059, ppid: 4048] gRPC call requested: supervise::Interceptor::Register 1: [15:31:12.720926, wr, 4059, ppid: 4048] gRPC call [Register] finished: true 1: [15:31:12.728288, wr, 4059, ppid: 4048] succeeded with: 0 1: [15:31:12.728504, el, 4059] lib.cc; on_unload 1: [15:31:12.736639, el, 4083] lib.cc; execve path: /usr/bin/cc 1: [15:31:12.881025, el, 4083] lib.cc; on_load 1: [15:31:12.882262, wr, 4083, ppid: 4048] wrapper: 3.1.2 1: [15:31:12.882367, wr, 4083, ppid: 4048] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45467", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-M", "-o", "flags_filtered_preproc_1.d", "flags_filtered_preproc_1.c"] 1: [15:31:12.882510, wr, 4083, ppid: 4048] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45467", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:12.882673, wr, 4083, ppid: 4048] 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:45467]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:12.903026, wr, 4083, ppid: 4048] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:12.913089, br, 4017] trying to resolve for library: /usr/bin/cc 1: [15:31:12.916575, wr, 4083, ppid: 4048] gRPC call [Resolve] finished: true 1: free(): invalid pointer 1: [15:31:12.948203, wr, 4083, ppid: 4048] Process spawned. [pid: 4101, command: ["/usr/bin/cc", "-c", "-M", "-o", "flags_filtered_preproc_1.d", "flags_filtered_preproc_1.c"]] 1: [15:31:12.948457, wr, 4083, ppid: 4048] gRPC call requested: supervise::Interceptor::Register 1: [15:31:12.963450, wr, 4083, ppid: 4048] gRPC call [Register] finished: true 1: [15:31:12.963801, wr, 4083, ppid: 4048] Process wait requested. [pid: 4101] 1: [15:31:13.412828, wr, 4083, ppid: 4048] Process wait request: done. [pid: 4101] 1: [15:31:13.412946, wr, 4083, ppid: 4048] gRPC call requested: supervise::Interceptor::Register 1: [15:31:13.419364, wr, 4083, ppid: 4048] gRPC call [Register] finished: true 1: [15:31:13.427030, wr, 4083, ppid: 4048] succeeded with: 1 1: [15:31:13.427302, el, 4083] lib.cc; on_unload 1: [15:31:13.447130, el, 4108] lib.cc; execve path: /usr/bin/cc 1: [15:31:13.616379, el, 4108] lib.cc; on_load 1: [15:31:13.617672, wr, 4108, ppid: 4048] wrapper: 3.1.2 1: [15:31:13.617771, wr, 4108, ppid: 4048] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45467", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-MM", "-o", "flags_filtered_preproc_2.d", "flags_filtered_preproc_2.c"] 1: [15:31:13.617890, wr, 4108, ppid: 4048] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45467", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:13.618042, wr, 4108, ppid: 4048] 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:45467]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:13.642686, wr, 4108, ppid: 4048] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:13.663756, br, 4017] trying to resolve for library: /usr/bin/cc 1: [15:31:13.665548, wr, 4108, ppid: 4048] gRPC call [Resolve] finished: true 1: [15:31:13.667706, wr, 4108, ppid: 4048] Process spawned. [pid: 4124, command: ["/usr/bin/cc", "-c", "-MM", "-o", "flags_filtered_preproc_2.d", "flags_filtered_preproc_2.c"]] 1: [15:31:13.667922, wr, 4108, ppid: 4048] gRPC call requested: supervise::Interceptor::Register 1: [15:31:13.674156, wr, 4108, ppid: 4048] gRPC call [Register] finished: true 1: [15:31:13.674513, wr, 4108, ppid: 4048] Process wait requested. [pid: 4124] 1: free(): invalid pointer 1: [15:31:14.125937, wr, 4108, ppid: 4048] Process wait request: done. [pid: 4124] 1: [15:31:14.126058, wr, 4108, ppid: 4048] gRPC call requested: supervise::Interceptor::Register 1: [15:31:14.143247, wr, 4108, ppid: 4048] gRPC call [Register] finished: true 1: [15:31:14.150723, wr, 4108, ppid: 4048] succeeded with: 1 1: [15:31:14.150953, el, 4108] lib.cc; on_unload 1: [15:31:14.159358, el, 4138] lib.cc; execve path: /usr/bin/cc 1: [15:31:14.324701, el, 4138] lib.cc; on_load 1: [15:31:14.325879, wr, 4138, ppid: 4048] wrapper: 3.1.2 1: [15:31:14.325974, wr, 4138, ppid: 4048] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45467", "--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: [15:31:14.326091, wr, 4138, ppid: 4048] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45467", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:14.326234, wr, 4138, ppid: 4048] 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:45467]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:14.333185, wr, 4138, ppid: 4048] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:14.344829, br, 4017] trying to resolve for library: /usr/bin/cc 1: [15:31:14.346557, wr, 4138, ppid: 4048] gRPC call [Resolve] finished: true 1: [15:31:14.348285, wr, 4138, ppid: 4048] Process spawned. [pid: 4160, command: ["/usr/bin/cc", "-c", "-MD", "-MF", "flags_filtered_preproc_1.d", "-o", "flags_filtered_preproc_1.o", "flags_filtered_preproc_1.c"]] 1: [15:31:14.348461, wr, 4138, ppid: 4048] gRPC call requested: supervise::Interceptor::Register 1: [15:31:14.354181, wr, 4138, ppid: 4048] gRPC call [Register] finished: true 1: [15:31:14.354518, wr, 4138, ppid: 4048] Process wait requested. [pid: 4160] 1: free(): invalid pointer 1: [15:31:14.783496, wr, 4138, ppid: 4048] Process wait request: done. [pid: 4160] 1: [15:31:14.783566, wr, 4138, ppid: 4048] gRPC call requested: supervise::Interceptor::Register 1: [15:31:14.796376, wr, 4138, ppid: 4048] gRPC call [Register] finished: true 1: [15:31:14.805727, wr, 4138, ppid: 4048] succeeded with: 1 1: [15:31:14.805947, el, 4138] lib.cc; on_unload 1: [15:31:14.821123, el, 4186] lib.cc; execve path: /usr/bin/cc 1: [15:31:15.065398, el, 4186] lib.cc; on_load 1: [15:31:15.066587, wr, 4186, ppid: 4048] wrapper: 3.1.2 1: [15:31:15.066687, wr, 4186, ppid: 4048] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:45467", "--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: [15:31:15.066827, wr, 4186, ppid: 4048] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:45467", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:15.066986, wr, 4186, ppid: 4048] 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:45467]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:15.095762, wr, 4186, ppid: 4048] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:15.121214, br, 4017] trying to resolve for library: /usr/bin/cc 1: [15:31:15.125668, wr, 4186, ppid: 4048] gRPC call [Resolve] finished: true 1: [15:31:15.127465, wr, 4186, ppid: 4048] Process spawned. [pid: 4238, command: ["/usr/bin/cc", "-c", "-MMD", "-MF", "flags_filtered_preproc_2.d", "-o", "flags_filtered_preproc_2.o", "flags_filtered_preproc_2.c"]] 1: [15:31:15.127671, wr, 4186, ppid: 4048] gRPC call requested: supervise::Interceptor::Register 1: [15:31:15.136766, wr, 4186, ppid: 4048] gRPC call [Register] finished: true 1: [15:31:15.137133, wr, 4186, ppid: 4048] Process wait requested. [pid: 4238] 1: free(): invalid pointer 1: [15:31:16.086333, wr, 4186, ppid: 4048] Process wait request: done. [pid: 4238] 1: [15:31:16.086429, wr, 4186, ppid: 4048] gRPC call requested: supervise::Interceptor::Register 1: [15:31:16.090807, wr, 4186, ppid: 4048] gRPC call [Register] finished: true 1: [15:31:16.352400, wr, 4186, ppid: 4048] succeeded with: 1 1: [15:31:16.352631, el, 4186] lib.cc; on_unload 1: [15:31:16.359058, el, 4048] lib.cc; on_unload 1: [15:31:16.360966, wr, 4028, ppid: 4017] Process wait request: done. [pid: 4048] 1: [15:31:16.361047, wr, 4028, ppid: 4017] gRPC call requested: supervise::Interceptor::Register 1: [15:31:16.363306, wr, 4028, ppid: 4017] gRPC call [Register] finished: true 1: [15:31:16.624782, wr, 4028, ppid: 4017] succeeded with: 1 1: [15:31:16.625055, el, 4028] lib.cc; on_unload 1: [15:31:16.630516, br, 4017] Process wait request: done. [pid: 4028] 1: [15:31:16.630738, br, 4017] Running command. [Exited with 1] 1: [15:31:16.630776, br, 4017] Stopping gRPC server. 1: [15:31:16.892664, br, 4017] succeeded with: 1 1: [15:31:16.899580, br, 4015] Process wait request: done. [pid: 4017] 1: [15:31:16.899744, br, 4015] Running intercept finished. [Exited with 1] 1: [15:31:16.900961, br, 4015] Process spawned. [pid: 4305, 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: [15:31:16.901082, br, 4015] Process wait requested. [pid: 4305] 1: [15:31:17.039744, br, 4305] bear: 3.1.2 1: [15:31:17.040405, br, 4305] 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: [15:31:17.040672, br, 4305] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:17.040846, br, 4305] sysname: Linux 1: [15:31:17.041004, br, 4305] release: 6.3.5-arch1-1 1: [15:31:17.041126, br, 4305] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:17.041243, br, 4305] machine: riscv64 1: [15:31:17.041509, br, 4305] 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: [15:31:17.042316, br, 4305] 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: [15:31:17.048557, br, 4305] [pid: 4048] 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":{"PATH":"/build/bear/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","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","SLEEP":"/usr/bin/sleep","INTERCEPT_VERBOSE":"true","TMP":"/tmp/lit-tmp-r4hbrhzk","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-r4hbrhzk","LLVM_DISABLE_CRASH_REPORT":"1","TRUE":"/usr/bin/true","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45467","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1687331444","CXX":"/usr/bin/c++","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [15:31:17.051662, br, 4305] [pid: 4048] recognition failed: No tools recognize this execution. 1: [15:31:17.053226, br, 4305] [pid: 4081] 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":{"PATH":"/build/bear/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","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SHLVL":"1","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","SLEEP":"/usr/bin/sleep","INTERCEPT_VERBOSE":"true","_":"/usr/bin/touch","TMP":"/tmp/lit-tmp-r4hbrhzk","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-r4hbrhzk","LLVM_DISABLE_CRASH_REPORT":"1","TRUE":"/usr/bin/true","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45467","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1687331444","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CXX":"/usr/bin/c++","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [15:31:17.053486, br, 4305] [pid: 4081] recognition failed: No tools recognize this execution. 1: [15:31:17.055246, br, 4305] [pid: 4101] 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":{"PATH":"/build/bear/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","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SHLVL":"1","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","SLEEP":"/usr/bin/sleep","INTERCEPT_VERBOSE":"true","_":"/usr/bin/cc","TMP":"/tmp/lit-tmp-r4hbrhzk","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-r4hbrhzk","LLVM_DISABLE_CRASH_REPORT":"1","TRUE":"/usr/bin/true","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45467","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1687331444","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CXX":"/usr/bin/c++","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [15:31:17.055651, br, 4305] [pid: 4101] recognized. 1: [15:31:17.057451, br, 4305] [pid: 4124] 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":{"PATH":"/build/bear/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","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SHLVL":"1","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","SLEEP":"/usr/bin/sleep","INTERCEPT_VERBOSE":"true","_":"/usr/bin/cc","TMP":"/tmp/lit-tmp-r4hbrhzk","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-r4hbrhzk","LLVM_DISABLE_CRASH_REPORT":"1","TRUE":"/usr/bin/true","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45467","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1687331444","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CXX":"/usr/bin/c++","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [15:31:17.057733, br, 4305] [pid: 4124] recognized. 1: [15:31:17.059390, br, 4305] [pid: 4160] 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":{"PATH":"/build/bear/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","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SHLVL":"1","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","SLEEP":"/usr/bin/sleep","INTERCEPT_VERBOSE":"true","_":"/usr/bin/cc","TMP":"/tmp/lit-tmp-r4hbrhzk","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-r4hbrhzk","LLVM_DISABLE_CRASH_REPORT":"1","TRUE":"/usr/bin/true","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45467","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1687331444","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CXX":"/usr/bin/c++","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [15:31:17.059681, br, 4305] [pid: 4160] recognized. 1: [15:31:17.061667, br, 4305] [pid: 4238] 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":{"PATH":"/build/bear/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","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SHLVL":"1","LIBTOOL":"/usr/bin/libtool","FALSE":"/usr/bin/false","SLEEP":"/usr/bin/sleep","INTERCEPT_VERBOSE":"true","_":"/usr/bin/cc","TMP":"/tmp/lit-tmp-r4hbrhzk","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo","TEMP":"/tmp/lit-tmp-r4hbrhzk","LLVM_DISABLE_CRASH_REPORT":"1","TRUE":"/usr/bin/true","TERM":"tmux-256color","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:45467","LC_CTYPE":"en_US.UTF-8","SOURCE_DATE_EPOCH":"1687331444","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","CXX":"/usr/bin/c++","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper"}} 1: [15:31:17.061968, br, 4305] [pid: 4238] recognized. 1: [15:31:17.062862, br, 4305] compilation entries created. [size: 2] 1: [15:31:17.063036, br, 4305] compilation entries to output. [size: 2] 1: [15:31:17.064244, br, 4305] compilation entries written. [size: 2] 1: [15:31:17.064516, br, 4305] succeeded with: 0 1: [15:31:17.070283, br, 4015] Process wait request: done. [pid: 4305] 1: [15:31:17.070458, br, 4015] Running citnames finished. [Exited with 0] 1: [15:31:17.070955, br, 4015] 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 (34 of 100) 1: XFAIL: bear :: cases/intercept/exit_code/exit_code_for_empty.sh (35 of 100) 1: XFAIL: bear :: cases/intercept/exit_code/exit_code_for_fail.sh (36 of 100) 1: PASS: bear :: cases/intercept/exit_code/exit_code_for_help.sh (37 of 100) 1: PASS: bear :: cases/intercept/exit_code/exit_code_for_success.sh (38 of 100) 1: PASS: bear :: cases/intercept/output/shell_command_with_iso8859-2.sh (39 of 100) 1: PASS: bear :: cases/compilation/output/parallel_build.sh (40 of 100) 1: FAIL: bear :: cases/compilation/output/successful_build.sh (41 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: [15:31:14.528383, br, 4151] bear: 3.1.2 1: [15:31:14.528736, br, 4151] 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: [15:31:14.528829, br, 4151] 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=1687331444", "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-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk"] 1: [15:31:14.528875, br, 4151] sysname: Linux 1: [15:31:14.528885, br, 4151] release: 6.3.5-arch1-1 1: [15:31:14.528894, br, 4151] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:14.528901, br, 4151] machine: riscv64 1: [15:31:14.529061, br, 4151] 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: [15:31:14.540928, br, 4151] Process spawned. [pid: 4170, 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: [15:31:14.541108, br, 4151] Process wait requested. [pid: 4170] 1: [15:31:14.722635, br, 4170] bear: 3.1.2 1: [15:31:14.723039, br, 4170] 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: [15:31:14.723137, br, 4170] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:14.723190, br, 4170] sysname: Linux 1: [15:31:14.723202, br, 4170] release: 6.3.5-arch1-1 1: [15:31:14.723211, br, 4170] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:14.723220, br, 4170] machine: riscv64 1: [15:31:14.723376, br, 4170] 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: [15:31:14.723814, br, 4170] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:31:14.794478, br, 4170] Running gRPC server. dns:///localhost:33759 1: [15:31:14.795524, br, 4170] Process spawned. [pid: 4185, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33759", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/successful_build.sh"]] 1: [15:31:14.795652, br, 4170] Process wait requested. [pid: 4185] 1: [15:31:15.118978, el, 4185] lib.cc; on_load 1: [15:31:15.120161, wr, 4185, ppid: 4170] wrapper: 3.1.2 1: [15:31:15.120261, wr, 4185, ppid: 4170] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33759", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/successful_build.sh"] 1: [15:31:15.120364, wr, 4185, ppid: 4170] 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:33759", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:15.120519, wr, 4185, ppid: 4170] 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:33759]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:31:15.144853, wr, 4185, ppid: 4170] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:15.158109, br, 4170] trying to resolve for library: /usr/bin/sh 1: [15:31:15.161369, wr, 4185, ppid: 4170] gRPC call [Resolve] finished: true 1: [15:31:15.163125, wr, 4185, ppid: 4170] Process spawned. [pid: 4241, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/successful_build.sh"]] 1: [15:31:15.163318, wr, 4185, ppid: 4170] gRPC call requested: supervise::Interceptor::Register 1: [15:31:15.174381, wr, 4185, ppid: 4170] gRPC call [Register] finished: true 1: [15:31:15.174709, wr, 4185, ppid: 4170] Process wait requested. [pid: 4241] 1: [15:31:15.187950, el, 4241] lib.cc; on_load 1: [15:31:15.204469, el, 4242] lib.cc; execve path: /usr/bin/touch 1: [15:31:15.403577, el, 4242] lib.cc; on_load 1: [15:31:15.405099, wr, 4242, ppid: 4241] wrapper: 3.1.2 1: [15:31:15.405398, wr, 4242, ppid: 4241] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33759", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "successful_build_1.c", "successful_build_2.c", "successful_build_3.c", "successful_build_4.c"] 1: [15:31:15.405655, wr, 4242, ppid: 4241] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:33759", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:15.405929, wr, 4242, ppid: 4241] 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:33759]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [15:31:15.429115, wr, 4242, ppid: 4241] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:15.441622, br, 4170] trying to resolve for library: /usr/bin/touch 1: [15:31:15.443148, wr, 4242, ppid: 4241] gRPC call [Resolve] finished: true 1: [15:31:15.464859, wr, 4242, ppid: 4241] Process spawned. [pid: 4251, command: ["touch", "successful_build_1.c", "successful_build_2.c", "successful_build_3.c", "successful_build_4.c"]] 1: [15:31:15.465102, wr, 4242, ppid: 4241] gRPC call requested: supervise::Interceptor::Register 1: [15:31:15.467230, el, 4251] lib.cc; on_load 1: [15:31:15.471600, wr, 4242, ppid: 4241] gRPC call [Register] finished: true 1: [15:31:15.471955, wr, 4242, ppid: 4241] Process wait requested. [pid: 4251] 1: [15:31:15.472527, wr, 4242, ppid: 4241] Process wait request: done. [pid: 4251] 1: [15:31:15.472557, wr, 4242, ppid: 4241] gRPC call requested: supervise::Interceptor::Register 1: [15:31:15.475773, wr, 4242, ppid: 4241] gRPC call [Register] finished: true 1: [15:31:15.486026, wr, 4242, ppid: 4241] succeeded with: 0 1: [15:31:15.486254, el, 4242] lib.cc; on_unload 1: [15:31:15.498575, el, 4252] lib.cc; execve path: /usr/bin/cc 1: [15:31:15.666664, el, 4252] lib.cc; on_load 1: [15:31:15.674738, wr, 4252, ppid: 4241] wrapper: 3.1.2 1: [15:31:15.675083, wr, 4252, ppid: 4241] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33759", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "successful_build_1.o", "successful_build_1.c"] 1: [15:31:15.675346, wr, 4252, ppid: 4241] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:33759", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:15.675619, wr, 4252, ppid: 4241] 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:33759]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:15.701926, wr, 4252, ppid: 4241] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:15.714936, br, 4170] trying to resolve for library: /usr/bin/cc 1: [15:31:15.720681, wr, 4252, ppid: 4241] gRPC call [Resolve] finished: true 1: [15:31:15.722447, wr, 4252, ppid: 4241] Process spawned. [pid: 4262, command: ["/usr/bin/cc", "-c", "-o", "successful_build_1.o", "successful_build_1.c"]] 1: [15:31:15.722630, wr, 4252, ppid: 4241] gRPC call requested: supervise::Interceptor::Register 1: [15:31:15.732978, wr, 4252, ppid: 4241] gRPC call [Register] finished: true 1: [15:31:15.733331, wr, 4252, ppid: 4241] Process wait requested. [pid: 4262] 1: free(): invalid pointer 1: [15:31:16.253838, wr, 4252, ppid: 4241] Process wait request: done. [pid: 4262] 1: [15:31:16.253971, wr, 4252, ppid: 4241] gRPC call requested: supervise::Interceptor::Register 1: [15:31:16.257181, wr, 4252, ppid: 4241] gRPC call [Register] finished: true 1: [15:31:16.517492, wr, 4252, ppid: 4241] succeeded with: 1 1: [15:31:16.517738, el, 4252] lib.cc; on_unload 1: [15:31:16.524908, el, 4294] lib.cc; execve path: /usr/bin/cc 1: [15:31:16.664492, el, 4294] lib.cc; on_load 1: [15:31:16.665547, wr, 4294, ppid: 4241] wrapper: 3.1.2 1: [15:31:16.665626, wr, 4294, ppid: 4241] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33759", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "successful_build_2.o", "successful_build_2.c"] 1: [15:31:16.665741, wr, 4294, ppid: 4241] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:33759", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:16.665876, wr, 4294, ppid: 4241] 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:33759]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:16.683527, wr, 4294, ppid: 4241] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:16.693302, br, 4170] trying to resolve for library: /usr/bin/cc 1: [15:31:16.695119, wr, 4294, ppid: 4241] gRPC call [Resolve] finished: true 1: [15:31:16.696637, wr, 4294, ppid: 4241] Process spawned. [pid: 4303, command: ["/usr/bin/cc", "-c", "-o", "successful_build_2.o", "successful_build_2.c"]] 1: [15:31:16.696796, wr, 4294, ppid: 4241] gRPC call requested: supervise::Interceptor::Register 1: [15:31:16.702287, wr, 4294, ppid: 4241] gRPC call [Register] finished: true 1: [15:31:16.702582, wr, 4294, ppid: 4241] Process wait requested. [pid: 4303] 1: free(): invalid pointer 1: [15:31:17.087050, wr, 4294, ppid: 4241] Process wait request: done. [pid: 4303] 1: [15:31:17.087146, wr, 4294, ppid: 4241] gRPC call requested: supervise::Interceptor::Register 1: [15:31:17.091892, wr, 4294, ppid: 4241] gRPC call [Register] finished: true 1: [15:31:17.354311, wr, 4294, ppid: 4241] succeeded with: 1 1: [15:31:17.354528, el, 4294] lib.cc; on_unload 1: [15:31:17.362360, el, 4310] lib.cc; execve path: /usr/bin/c++ 1: [15:31:17.521709, el, 4310] lib.cc; on_load 1: [15:31:17.522910, wr, 4310, ppid: 4241] wrapper: 3.1.2 1: [15:31:17.523016, wr, 4310, ppid: 4241] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33759", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-c", "-o", "successful_build_3.o", "successful_build_3.c"] 1: [15:31:17.523138, wr, 4310, ppid: 4241] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:33759", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:17.523304, wr, 4310, ppid: 4241] 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:33759]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [15:31:17.530212, wr, 4310, ppid: 4241] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:17.545926, br, 4170] trying to resolve for library: /usr/bin/c++ 1: [15:31:17.547623, wr, 4310, ppid: 4241] gRPC call [Resolve] finished: true 1: [15:31:17.549366, wr, 4310, ppid: 4241] Process spawned. [pid: 4331, command: ["/usr/bin/c++", "-c", "-o", "successful_build_3.o", "successful_build_3.c"]] 1: [15:31:17.549554, wr, 4310, ppid: 4241] gRPC call requested: supervise::Interceptor::Register 1: [15:31:17.555620, wr, 4310, ppid: 4241] gRPC call [Register] finished: true 1: [15:31:17.555967, wr, 4310, ppid: 4241] Process wait requested. [pid: 4331] 1: free(): invalid pointer 1: [15:31:18.000195, wr, 4310, ppid: 4241] Process wait request: done. [pid: 4331] 1: [15:31:18.000303, wr, 4310, ppid: 4241] gRPC call requested: supervise::Interceptor::Register 1: [15:31:18.003153, wr, 4310, ppid: 4241] gRPC call [Register] finished: true 1: [15:31:18.273387, wr, 4310, ppid: 4241] succeeded with: 1 1: [15:31:18.273613, el, 4310] lib.cc; on_unload 1: [15:31:18.281158, el, 4365] lib.cc; execve path: /usr/bin/c++ 1: [15:31:18.456051, el, 4365] lib.cc; on_load 1: [15:31:18.457535, wr, 4365, ppid: 4241] wrapper: 3.1.2 1: [15:31:18.457646, wr, 4365, ppid: 4241] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:33759", "--verbose", "--execute", "/usr/bin/c++", "--", "/usr/bin/c++", "-c", "-o", "successful_build_4.o", "successful_build_4.c"] 1: [15:31:18.457783, wr, 4365, ppid: 4241] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:33759", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:18.457952, wr, 4365, ppid: 4241] 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:33759]}, {--execute: [/usr/bin/c++]}, {--verbose: []}]} 1: [15:31:18.473448, wr, 4365, ppid: 4241] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:18.493143, br, 4170] trying to resolve for library: /usr/bin/c++ 1: [15:31:18.495278, wr, 4365, ppid: 4241] gRPC call [Resolve] finished: true 1: [15:31:18.496897, wr, 4365, ppid: 4241] Process spawned. [pid: 4393, command: ["/usr/bin/c++", "-c", "-o", "successful_build_4.o", "successful_build_4.c"]] 1: [15:31:18.497063, wr, 4365, ppid: 4241] gRPC call requested: supervise::Interceptor::Register 1: free(): invalid pointer 1: [15:31:18.510273, wr, 4365, ppid: 4241] gRPC call [Register] finished: true 1: [15:31:18.511000, wr, 4365, ppid: 4241] Process wait requested. [pid: 4393] 1: [15:31:18.918357, wr, 4365, ppid: 4241] Process wait request: done. [pid: 4393] 1: [15:31:18.918424, wr, 4365, ppid: 4241] gRPC call requested: supervise::Interceptor::Register 1: [15:31:18.921668, wr, 4365, ppid: 4241] gRPC call [Register] finished: true 1: [15:31:19.066972, wr, 4365, ppid: 4241] succeeded with: 1 1: [15:31:19.067228, el, 4365] lib.cc; on_unload 1: [15:31:19.074239, el, 4241] lib.cc; on_unload 1: [15:31:19.075827, wr, 4185, ppid: 4170] Process wait request: done. [pid: 4241] 1: [15:31:19.075925, wr, 4185, ppid: 4170] gRPC call requested: supervise::Interceptor::Register 1: [15:31:19.079172, wr, 4185, ppid: 4170] gRPC call [Register] finished: true 1: [15:31:19.352228, wr, 4185, ppid: 4170] succeeded with: 1 1: [15:31:19.352476, el, 4185] lib.cc; on_unload 1: [15:31:19.358766, br, 4170] Process wait request: done. [pid: 4185] 1: [15:31:19.358938, br, 4170] Running command. [Exited with 1] 1: [15:31:19.358974, br, 4170] Stopping gRPC server. 1: [15:31:19.369528, br, 4170] succeeded with: 1 1: [15:31:19.375774, br, 4151] Process wait request: done. [pid: 4170] 1: [15:31:19.375947, br, 4151] Running intercept finished. [Exited with 1] 1: [15:31:19.384730, br, 4151] Process spawned. [pid: 4458, 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: [15:31:19.384873, br, 4151] Process wait requested. [pid: 4458] 1: [15:31:19.570341, br, 4458] bear: 3.1.2 1: [15:31:19.570715, br, 4458] 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: [15:31:19.570811, br, 4458] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:19.570854, br, 4458] sysname: Linux 1: [15:31:19.570865, br, 4458] release: 6.3.5-arch1-1 1: [15:31:19.570875, br, 4458] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:19.570883, br, 4458] machine: riscv64 1: [15:31:19.571035, br, 4458] 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: [15:31:19.571708, br, 4458] 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: [15:31:19.577999, br, 4458] [pid: 4241] 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":{"TMPDIR":"/tmp/lit-tmp-r4hbrhzk","TRUE":"/usr/bin/true","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33759","FALSE":"/usr/bin/false","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","CXX":"/usr/bin/c++","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SLEEP":"/usr/bin/sleep","SOURCE_DATE_EPOCH":"1687331444","LC_CTYPE":"en_US.UTF-8","TEMP":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo"}} 1: [15:31:19.580925, br, 4458] [pid: 4241] recognition failed: No tools recognize this execution. 1: [15:31:19.582266, br, 4458] [pid: 4251] 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":{"TMPDIR":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TRUE":"/usr/bin/true","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33759","FALSE":"/usr/bin/false","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","SHLVL":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","CXX":"/usr/bin/c++","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SLEEP":"/usr/bin/sleep","SOURCE_DATE_EPOCH":"1687331444","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/touch","TEMP":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo"}} 1: [15:31:19.582357, br, 4458] [pid: 4251] recognition failed: No tools recognize this execution. 1: [15:31:19.583713, br, 4458] [pid: 4262] 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":{"TMPDIR":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TRUE":"/usr/bin/true","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33759","FALSE":"/usr/bin/false","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","SHLVL":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","CXX":"/usr/bin/c++","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SLEEP":"/usr/bin/sleep","SOURCE_DATE_EPOCH":"1687331444","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TEMP":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo"}} 1: [15:31:19.583901, br, 4458] [pid: 4262] recognized. 1: [15:31:19.585634, br, 4458] [pid: 4303] 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":{"TMPDIR":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TRUE":"/usr/bin/true","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33759","FALSE":"/usr/bin/false","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","SHLVL":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","CXX":"/usr/bin/c++","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SLEEP":"/usr/bin/sleep","SOURCE_DATE_EPOCH":"1687331444","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/cc","TEMP":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo"}} 1: [15:31:19.585724, br, 4458] [pid: 4303] recognized. 1: [15:31:19.590764, br, 4458] [pid: 4331] 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":{"TMPDIR":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TRUE":"/usr/bin/true","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33759","FALSE":"/usr/bin/false","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","SHLVL":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","CXX":"/usr/bin/c++","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SLEEP":"/usr/bin/sleep","SOURCE_DATE_EPOCH":"1687331444","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo"}} 1: [15:31:19.590926, br, 4458] [pid: 4331] recognized. 1: [15:31:19.592571, br, 4458] [pid: 4393] 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":{"TMPDIR":"/tmp/lit-tmp-r4hbrhzk","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","TRUE":"/usr/bin/true","CC":"/usr/bin/cc","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:33759","FALSE":"/usr/bin/false","INTERCEPT_VERBOSE":"true","LIBTOOL":"/usr/bin/libtool","SHLVL":"1","TMP":"/tmp/lit-tmp-r4hbrhzk","PATH":"/build/bear/src/bear/test/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl","CXX":"/usr/bin/c++","TERM":"tmux-256color","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","LLVM_DISABLE_CRASH_REPORT":"1","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","SLEEP":"/usr/bin/sleep","SOURCE_DATE_EPOCH":"1687331444","LC_CTYPE":"en_US.UTF-8","_":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-r4hbrhzk","ECHO":"/usr/bin/echo"}} 1: [15:31:19.592657, br, 4458] [pid: 4393] recognized. 1: [15:31:19.593308, br, 4458] compilation entries created. [size: 4] 1: [15:31:19.593334, br, 4458] compilation entries to output. [size: 4] 1: [15:31:19.594572, br, 4458] compilation entries written. [size: 4] 1: [15:31:19.594669, br, 4458] succeeded with: 0 1: [15:31:19.600830, br, 4151] Process wait request: done. [pid: 4458] 1: [15:31:19.600972, br, 4151] Running citnames finished. [Exited with 0] 1: [15:31:19.601418, br, 4151] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/preload/build_command_captured.sh (42 of 100) 1: PASS: bear :: cases/intercept/preload/build_stderr_captured.sh (43 of 100) 1: FAIL: bear :: cases/compilation/output/wrapper.sh (44 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: [15:31:17.270662, br, 4307] bear: 3.1.2 1: [15:31:17.271305, br, 4307] 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: [15:31:17.271498, br, 4307] 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=1687331444", "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-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk"] 1: [15:31:17.271631, br, 4307] sysname: Linux 1: [15:31:17.271730, br, 4307] release: 6.3.5-arch1-1 1: [15:31:17.271826, br, 4307] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:17.271919, br, 4307] machine: riscv64 1: [15:31:17.272155, br, 4307] 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: [15:31:17.274282, br, 4307] Process spawned. [pid: 4309, 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: [15:31:17.274569, br, 4307] Process wait requested. [pid: 4309] 1: [15:31:17.443105, br, 4309] bear: 3.1.2 1: [15:31:17.443476, br, 4309] 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: [15:31:17.443569, br, 4309] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:17.443613, br, 4309] sysname: Linux 1: [15:31:17.443624, br, 4309] release: 6.3.5-arch1-1 1: [15:31:17.443640, br, 4309] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:17.443649, br, 4309] machine: riscv64 1: [15:31:17.443799, br, 4309] 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: [15:31:17.444328, br, 4309] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:31:17.476601, br, 4309] Running gRPC server. dns:///localhost:35217 1: [15:31:17.488109, br, 4309] Process spawned. [pid: 4321, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35217", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/wrapper.sh"]] 1: [15:31:17.488279, br, 4309] Process wait requested. [pid: 4321] 1: [15:31:17.663029, el, 4321] lib.cc; on_load 1: [15:31:17.664532, wr, 4321, ppid: 4309] wrapper: 3.1.2 1: [15:31:17.664847, wr, 4321, ppid: 4309] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35217", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/wrapper.sh"] 1: [15:31:17.665099, wr, 4321, ppid: 4309] 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:35217", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:17.665382, wr, 4321, ppid: 4309] 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:35217]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:31:17.673823, wr, 4321, ppid: 4309] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:17.685648, br, 4309] trying to resolve for library: /usr/bin/sh 1: [15:31:17.687499, wr, 4321, ppid: 4309] gRPC call [Resolve] finished: true 1: [15:31:17.698046, wr, 4321, ppid: 4309] Process spawned. [pid: 4341, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/compilation/output/wrapper.sh"]] 1: [15:31:17.698289, wr, 4321, ppid: 4309] gRPC call requested: supervise::Interceptor::Register 1: [15:31:17.709418, wr, 4321, ppid: 4309] gRPC call [Register] finished: true 1: [15:31:17.710020, wr, 4321, ppid: 4309] Process wait requested. [pid: 4341] 1: [15:31:17.724333, el, 4341] lib.cc; on_load 1: [15:31:17.748174, el, 4342] lib.cc; execve path: /usr/bin/touch 1: [15:31:17.900259, el, 4342] lib.cc; on_load 1: [15:31:17.901558, wr, 4342, ppid: 4341] wrapper: 3.1.2 1: [15:31:17.901653, wr, 4342, ppid: 4341] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35217", "--verbose", "--execute", "/usr/bin/touch", "--", "touch", "wrapper_1.c", "wrapper_2.c"] 1: [15:31:17.901790, wr, 4342, ppid: 4341] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35217", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:17.901952, wr, 4342, ppid: 4341] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [touch, wrapper_1.c, wrapper_2.c]}, {--destination: [dns:///localhost:35217]}, {--execute: [/usr/bin/touch]}, {--verbose: []}]} 1: [15:31:17.909264, wr, 4342, ppid: 4341] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:17.929284, br, 4309] trying to resolve for library: /usr/bin/touch 1: [15:31:17.931944, wr, 4342, ppid: 4341] gRPC call [Resolve] finished: true 1: [15:31:17.944913, wr, 4342, ppid: 4341] Process spawned. [pid: 4351, command: ["touch", "wrapper_1.c", "wrapper_2.c"]] 1: [15:31:17.945140, wr, 4342, ppid: 4341] gRPC call requested: supervise::Interceptor::Register 1: [15:31:17.951562, wr, 4342, ppid: 4341] gRPC call [Register] finished: true 1: [15:31:17.951888, wr, 4342, ppid: 4341] Process wait requested. [pid: 4351] 1: [15:31:17.954184, el, 4351] lib.cc; on_load 1: [15:31:17.957460, wr, 4342, ppid: 4341] Process wait request: done. [pid: 4351] 1: [15:31:17.957698, wr, 4342, ppid: 4341] gRPC call requested: supervise::Interceptor::Register 1: [15:31:17.960462, wr, 4342, ppid: 4341] gRPC call [Register] finished: true 1: [15:31:17.967897, wr, 4342, ppid: 4341] succeeded with: 0 1: [15:31:17.968317, el, 4342] lib.cc; on_unload 1: [15:31:17.987101, el, 4352] lib.cc; execve path: /usr/bin/cat 1: [15:31:18.136849, el, 4352] lib.cc; on_load 1: [15:31:18.137981, wr, 4352, ppid: 4341] wrapper: 3.1.2 1: [15:31:18.138064, wr, 4352, ppid: 4341] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35217", "--verbose", "--execute", "/usr/bin/cat", "--", "cat"] 1: [15:31:18.138180, wr, 4352, ppid: 4341] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35217", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:18.138323, wr, 4352, ppid: 4341] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [cat]}, {--destination: [dns:///localhost:35217]}, {--execute: [/usr/bin/cat]}, {--verbose: []}]} 1: [15:31:18.146893, wr, 4352, ppid: 4341] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:18.156094, br, 4309] trying to resolve for library: /usr/bin/cat 1: [15:31:18.157804, wr, 4352, ppid: 4341] gRPC call [Resolve] finished: true 1: [15:31:18.159347, wr, 4352, ppid: 4341] Process spawned. [pid: 4364, command: ["cat"]] 1: [15:31:18.159517, wr, 4352, ppid: 4341] gRPC call requested: supervise::Interceptor::Register 1: [15:31:18.165155, wr, 4352, ppid: 4341] gRPC call [Register] finished: true 1: [15:31:18.165491, wr, 4352, ppid: 4341] Process wait requested. [pid: 4364] 1: [15:31:18.168007, el, 4364] lib.cc; on_load 1: [15:31:18.169714, wr, 4352, ppid: 4341] Process wait request: done. [pid: 4364] 1: [15:31:18.169760, wr, 4352, ppid: 4341] gRPC call requested: supervise::Interceptor::Register 1: [15:31:18.172145, wr, 4352, ppid: 4341] gRPC call [Register] finished: true 1: [15:31:18.446129, wr, 4352, ppid: 4341] succeeded with: 0 1: [15:31:18.446355, el, 4352] lib.cc; on_unload 1: [15:31:18.464557, el, 4376] lib.cc; execve path: /usr/bin/chmod 1: [15:31:18.646167, el, 4376] lib.cc; on_load 1: [15:31:18.647638, wr, 4376, ppid: 4341] wrapper: 3.1.2 1: [15:31:18.647884, wr, 4376, ppid: 4341] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35217", "--verbose", "--execute", "/usr/bin/chmod", "--", "chmod", "+x", "wrapper"] 1: [15:31:18.648140, wr, 4376, ppid: 4341] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35217", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:18.648410, wr, 4376, ppid: 4341] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [chmod, +x, wrapper]}, {--destination: [dns:///localhost:35217]}, {--execute: [/usr/bin/chmod]}, {--verbose: []}]} 1: [15:31:18.655187, wr, 4376, ppid: 4341] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:18.665797, br, 4309] trying to resolve for library: /usr/bin/chmod 1: [15:31:18.668118, wr, 4376, ppid: 4341] gRPC call [Resolve] finished: true 1: [15:31:18.669946, wr, 4376, ppid: 4341] Process spawned. [pid: 4406, command: ["chmod", "+x", "wrapper"]] 1: [15:31:18.670124, wr, 4376, ppid: 4341] gRPC call requested: supervise::Interceptor::Register 1: [15:31:18.676337, wr, 4376, ppid: 4341] gRPC call [Register] finished: true 1: [15:31:18.676651, wr, 4376, ppid: 4341] Process wait requested. [pid: 4406] 1: [15:31:18.682587, el, 4406] lib.cc; on_load 1: [15:31:18.684332, wr, 4376, ppid: 4341] Process wait request: done. [pid: 4406] 1: [15:31:18.684387, wr, 4376, ppid: 4341] gRPC call requested: supervise::Interceptor::Register 1: [15:31:18.686600, wr, 4376, ppid: 4341] gRPC call [Register] finished: true 1: [15:31:18.694362, wr, 4376, ppid: 4341] succeeded with: 0 1: [15:31:18.694574, el, 4376] lib.cc; on_unload 1: [15:31:18.702231, el, 4407] lib.cc; execve path: ./wrapper 1: [15:31:18.847982, el, 4407] lib.cc; on_load 1: [15:31:18.849131, wr, 4407, ppid: 4341] wrapper: 3.1.2 1: [15:31:18.849219, wr, 4407, ppid: 4341] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35217", "--verbose", "--execute", "./wrapper", "--", "./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_1.o", "wrapper_1.c"] 1: [15:31:18.849336, wr, 4407, ppid: 4341] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35217", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:18.849477, wr, 4407, ppid: 4341] 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:35217]}, {--execute: [./wrapper]}, {--verbose: []}]} 1: [15:31:18.872526, wr, 4407, ppid: 4341] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:18.885988, br, 4309] trying to resolve for library: ./wrapper 1: [15:31:18.888383, wr, 4407, ppid: 4341] gRPC call [Resolve] finished: true 1: [15:31:18.890169, wr, 4407, ppid: 4341] Process spawned. [pid: 4417, command: ["./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_1.o", "wrapper_1.c"]] 1: [15:31:18.890352, wr, 4407, ppid: 4341] gRPC call requested: supervise::Interceptor::Register 1: [15:31:18.896954, wr, 4407, ppid: 4341] gRPC call [Register] finished: true 1: [15:31:18.897423, wr, 4407, ppid: 4341] Process wait requested. [pid: 4417] 1: [15:31:18.906459, el, 4417] lib.cc; on_load 1: [15:31:18.907099, el, 4417] lib.cc; execvp file: sh 1: [15:31:19.056829, el, 4417] lib.cc; on_load 1: [15:31:19.058049, wr, 4417, ppid: 4407] wrapper: 3.1.2 1: [15:31:19.058145, wr, 4417, ppid: 4407] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35217", "--verbose", "--execute", "/usr/bin/sh", "--", "sh", "./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_1.o", "wrapper_1.c"] 1: [15:31:19.058283, wr, 4417, ppid: 4407] 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:35217", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true", "_=./wrapper"] 1: [15:31:19.058429, wr, 4417, ppid: 4407] 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:35217]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:31:19.084922, wr, 4417, ppid: 4407] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:19.095524, br, 4309] trying to resolve for library: /usr/bin/sh 1: [15:31:19.097569, wr, 4417, ppid: 4407] gRPC call [Resolve] finished: true 1: [15:31:19.099217, wr, 4417, ppid: 4407] Process spawned. [pid: 4437, command: ["sh", "./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_1.o", "wrapper_1.c"]] 1: [15:31:19.099398, wr, 4417, ppid: 4407] gRPC call requested: supervise::Interceptor::Register 1: [15:31:19.105583, wr, 4417, ppid: 4407] gRPC call [Register] finished: true 1: [15:31:19.105913, wr, 4417, ppid: 4407] Process wait requested. [pid: 4437] 1: [15:31:19.112748, el, 4437] lib.cc; on_load 1: [15:31:19.124804, el, 4437] lib.cc; execve path: /usr/bin/cc 1: [15:31:19.269253, el, 4437] lib.cc; on_load 1: [15:31:19.270636, wr, 4437, ppid: 4417] wrapper: 3.1.2 1: [15:31:19.270847, wr, 4437, ppid: 4417] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35217", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "wrapper_1.o", "wrapper_1.c"] 1: [15:31:19.271125, wr, 4437, ppid: 4417] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35217", "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=1687331444", "CXX=/usr/bin/c++", "_=./wrapper", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:19.271371, wr, 4437, ppid: 4417] 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:35217]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:19.290000, wr, 4437, ppid: 4417] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:19.313199, br, 4309] trying to resolve for library: /usr/bin/cc 1: [15:31:19.315197, wr, 4437, ppid: 4417] gRPC call [Resolve] finished: true 1: [15:31:19.316882, wr, 4437, ppid: 4417] Process spawned. [pid: 4457, command: ["/usr/bin/cc", "-c", "-o", "wrapper_1.o", "wrapper_1.c"]] 1: [15:31:19.317060, wr, 4437, ppid: 4417] gRPC call requested: supervise::Interceptor::Register 1: [15:31:19.323349, wr, 4437, ppid: 4417] gRPC call [Register] finished: true 1: [15:31:19.323671, wr, 4437, ppid: 4417] Process wait requested. [pid: 4457] 1: free(): invalid pointer 1: [15:31:19.771832, wr, 4437, ppid: 4417] Process wait request: done. [pid: 4457] 1: [15:31:19.771899, wr, 4437, ppid: 4417] gRPC call requested: supervise::Interceptor::Register 1: [15:31:19.774557, wr, 4437, ppid: 4417] gRPC call [Register] finished: true 1: [15:31:19.783016, wr, 4437, ppid: 4417] succeeded with: 1 1: [15:31:19.783229, el, 4437] lib.cc; on_unload 1: [15:31:19.789032, wr, 4417, ppid: 4407] Process wait request: done. [pid: 4437] 1: [15:31:19.789112, wr, 4417, ppid: 4407] gRPC call requested: supervise::Interceptor::Register 1: [15:31:19.792287, wr, 4417, ppid: 4407] gRPC call [Register] finished: true 1: [15:31:19.799310, wr, 4417, ppid: 4407] succeeded with: 1 1: [15:31:19.799528, el, 4417] lib.cc; on_unload 1: [15:31:19.805197, wr, 4407, ppid: 4341] Process wait request: done. [pid: 4417] 1: [15:31:19.805283, wr, 4407, ppid: 4341] gRPC call requested: supervise::Interceptor::Register 1: [15:31:19.807892, wr, 4407, ppid: 4341] gRPC call [Register] finished: true 1: [15:31:19.815026, wr, 4407, ppid: 4341] succeeded with: 1 1: [15:31:19.815239, el, 4407] lib.cc; on_unload 1: [15:31:19.823481, el, 4486] lib.cc; execve path: ./wrapper 1: [15:31:19.981383, el, 4486] lib.cc; on_load 1: [15:31:19.982822, wr, 4486, ppid: 4341] wrapper: 3.1.2 1: [15:31:19.983047, wr, 4486, ppid: 4341] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35217", "--verbose", "--execute", "./wrapper", "--", "./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_2.o", "wrapper_2.c"] 1: [15:31:19.983298, wr, 4486, ppid: 4341] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35217", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:19.983570, wr, 4486, ppid: 4341] 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:35217]}, {--execute: [./wrapper]}, {--verbose: []}]} 1: [15:31:20.003768, wr, 4486, ppid: 4341] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:20.014623, br, 4309] trying to resolve for library: ./wrapper 1: [15:31:20.016302, wr, 4486, ppid: 4341] gRPC call [Resolve] finished: true 1: [15:31:20.018741, wr, 4486, ppid: 4341] Process spawned. [pid: 4526, command: ["./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_2.o", "wrapper_2.c"]] 1: [15:31:20.019195, wr, 4486, ppid: 4341] gRPC call requested: supervise::Interceptor::Register 1: [15:31:20.027581, el, 4526] lib.cc; on_load 1: [15:31:20.028519, wr, 4486, ppid: 4341] gRPC call [Register] finished: true 1: [15:31:20.029036, wr, 4486, ppid: 4341] Process wait requested. [pid: 4526] 1: [15:31:20.029553, el, 4526] lib.cc; execvp file: sh 1: [15:31:20.183205, el, 4526] lib.cc; on_load 1: [15:31:20.184617, wr, 4526, ppid: 4486] wrapper: 3.1.2 1: [15:31:20.184840, wr, 4526, ppid: 4486] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35217", "--verbose", "--execute", "/usr/bin/sh", "--", "sh", "./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_2.o", "wrapper_2.c"] 1: [15:31:20.185081, wr, 4526, ppid: 4486] 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:35217", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true", "_=./wrapper"] 1: [15:31:20.185319, wr, 4526, ppid: 4486] 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:35217]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:31:20.203902, wr, 4526, ppid: 4486] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:20.214471, br, 4309] trying to resolve for library: /usr/bin/sh 1: [15:31:20.216038, wr, 4526, ppid: 4486] gRPC call [Resolve] finished: true 1: [15:31:20.217946, wr, 4526, ppid: 4486] Process spawned. [pid: 4555, command: ["sh", "./wrapper", "/usr/bin/cc", "-c", "-o", "wrapper_2.o", "wrapper_2.c"]] 1: [15:31:20.218280, wr, 4526, ppid: 4486] gRPC call requested: supervise::Interceptor::Register 1: [15:31:20.223814, wr, 4526, ppid: 4486] gRPC call [Register] finished: true 1: [15:31:20.224528, wr, 4526, ppid: 4486] Process wait requested. [pid: 4555] 1: [15:31:20.230733, el, 4555] lib.cc; on_load 1: [15:31:20.242430, el, 4555] lib.cc; execve path: /usr/bin/cc 1: [15:31:20.395277, el, 4555] lib.cc; on_load 1: [15:31:20.396599, wr, 4555, ppid: 4526] wrapper: 3.1.2 1: [15:31:20.396694, wr, 4555, ppid: 4526] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:35217", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-c", "-o", "wrapper_2.o", "wrapper_2.c"] 1: [15:31:20.396829, wr, 4555, ppid: 4526] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:35217", "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=1687331444", "CXX=/usr/bin/c++", "_=./wrapper", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:20.396978, wr, 4555, ppid: 4526] 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:35217]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:20.438237, wr, 4555, ppid: 4526] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:20.454335, br, 4309] trying to resolve for library: /usr/bin/cc 1: [15:31:20.455924, wr, 4555, ppid: 4526] gRPC call [Resolve] finished: true 1: [15:31:20.468085, wr, 4555, ppid: 4526] Process spawned. [pid: 4575, command: ["/usr/bin/cc", "-c", "-o", "wrapper_2.o", "wrapper_2.c"]] 1: [15:31:20.468308, wr, 4555, ppid: 4526] gRPC call requested: supervise::Interceptor::Register 1: [15:31:20.481290, wr, 4555, ppid: 4526] gRPC call [Register] finished: true 1: [15:31:20.481663, wr, 4555, ppid: 4526] Process wait requested. [pid: 4575] 1: free(): invalid pointer 1: [15:31:20.901065, wr, 4555, ppid: 4526] Process wait request: done. [pid: 4575] 1: [15:31:20.901131, wr, 4555, ppid: 4526] gRPC call requested: supervise::Interceptor::Register 1: [15:31:20.908357, wr, 4555, ppid: 4526] gRPC call [Register] finished: true 1: [15:31:21.169957, wr, 4555, ppid: 4526] succeeded with: 1 1: [15:31:21.170223, el, 4555] lib.cc; on_unload 1: [15:31:21.176278, wr, 4526, ppid: 4486] Process wait request: done. [pid: 4555] 1: [15:31:21.176380, wr, 4526, ppid: 4486] gRPC call requested: supervise::Interceptor::Register 1: [15:31:21.179614, wr, 4526, ppid: 4486] gRPC call [Register] finished: true 1: [15:31:21.440837, wr, 4526, ppid: 4486] succeeded with: 1 1: [15:31:21.441072, el, 4526] lib.cc; on_unload 1: [15:31:21.447548, wr, 4486, ppid: 4341] Process wait request: done. [pid: 4526] 1: [15:31:21.447661, wr, 4486, ppid: 4341] gRPC call requested: supervise::Interceptor::Register 1: [15:31:21.450192, wr, 4486, ppid: 4341] gRPC call [Register] finished: true 1: [15:31:21.711612, wr, 4486, ppid: 4341] succeeded with: 1 1: [15:31:21.711862, el, 4486] lib.cc; on_unload 1: [15:31:21.718364, el, 4341] lib.cc; on_unload 1: [15:31:21.719843, wr, 4321, ppid: 4309] Process wait request: done. [pid: 4341] 1: [15:31:21.719937, wr, 4321, ppid: 4309] gRPC call requested: supervise::Interceptor::Register 1: [15:31:21.722624, wr, 4321, ppid: 4309] gRPC call [Register] finished: true 1: [15:31:21.983619, wr, 4321, ppid: 4309] succeeded with: 1 1: [15:31:21.983856, el, 4321] lib.cc; on_unload 1: [15:31:21.989887, br, 4309] Process wait request: done. [pid: 4321] 1: [15:31:21.990066, br, 4309] Running command. [Exited with 1] 1: [15:31:21.990104, br, 4309] Stopping gRPC server. 1: [15:31:22.249166, br, 4309] succeeded with: 1 1: [15:31:22.255765, br, 4307] Process wait request: done. [pid: 4309] 1: [15:31:22.255950, br, 4307] Running intercept finished. [Exited with 1] 1: [15:31:22.257117, br, 4307] Process spawned. [pid: 4688, 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: [15:31:22.257275, br, 4307] Process wait requested. [pid: 4688] 1: [15:31:22.424511, br, 4688] bear: 3.1.2 1: [15:31:22.424812, br, 4688] 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: [15:31:22.424893, br, 4688] 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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:22.424931, br, 4688] sysname: Linux 1: [15:31:22.424943, br, 4688] release: 6.3.5-arch1-1 1: [15:31:22.424952, br, 4688] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:22.424959, br, 4688] machine: riscv64 1: [15:31:22.425095, br, 4688] 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: [15:31:22.425718, br, 4688] 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: [15:31:22.431806, br, 4688] [pid: 4341] 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":{"LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","CXX":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","LIBTOOL":"/usr/bin/libtool","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35217","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TMP":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","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","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo"}} 1: [15:31:22.434714, br, 4688] [pid: 4341] recognition failed: No tools recognize this execution. 1: [15:31:22.436109, br, 4688] [pid: 4351] 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":{"LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SHLVL":"1","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","CXX":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LIBTOOL":"/usr/bin/libtool","_":"/usr/bin/touch","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35217","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TMP":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","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","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo"}} 1: [15:31:22.436182, br, 4688] [pid: 4351] recognition failed: No tools recognize this execution. 1: [15:31:22.437567, br, 4688] [pid: 4364] execution: {"executable":"/usr/bin/cat","arguments":["cat"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SHLVL":"1","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","CXX":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LIBTOOL":"/usr/bin/libtool","_":"/usr/bin/cat","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35217","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TMP":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","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","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo"}} 1: [15:31:22.437635, br, 4688] [pid: 4364] recognition failed: No tools recognize this execution. 1: [15:31:22.438937, br, 4688] [pid: 4406] execution: {"executable":"/usr/bin/chmod","arguments":["chmod","+x","wrapper"],"workingDir":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","environment":{"LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SHLVL":"1","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","CXX":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LIBTOOL":"/usr/bin/libtool","_":"/usr/bin/chmod","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35217","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TMP":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","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","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo"}} 1: [15:31:22.439004, br, 4688] [pid: 4406] recognition failed: No tools recognize this execution. 1: [15:31:22.440251, br, 4688] [pid: 4417] 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":{"LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SHLVL":"1","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","CXX":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LIBTOOL":"/usr/bin/libtool","_":"./wrapper","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35217","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TMP":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","CC":"./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","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo"}} 1: [15:31:22.440309, br, 4688] [pid: 4417] recognition failed: No tools recognize this execution. 1: [15:31:22.441482, br, 4688] [pid: 4437] 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":{"LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SHLVL":"1","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","CXX":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LIBTOOL":"/usr/bin/libtool","_":"./wrapper","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35217","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TMP":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","CC":"./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","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo"}} 1: [15:31:22.441538, br, 4688] [pid: 4437] recognition failed: No tools recognize this execution. 1: [15:31:22.442692, br, 4688] [pid: 4457] 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":{"LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SHLVL":"1","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","CXX":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LIBTOOL":"/usr/bin/libtool","_":"./wrapper","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35217","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TMP":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","CC":"./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","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo"}} 1: [15:31:22.442893, br, 4688] [pid: 4457] recognized. 1: [15:31:22.445022, br, 4688] [pid: 4526] 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":{"LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SHLVL":"1","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","CXX":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LIBTOOL":"/usr/bin/libtool","_":"./wrapper","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35217","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TMP":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","CC":"./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","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo"}} 1: [15:31:22.445088, br, 4688] [pid: 4526] recognition failed: No tools recognize this execution. 1: [15:31:22.446332, br, 4688] [pid: 4555] 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":{"LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SHLVL":"1","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","CXX":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LIBTOOL":"/usr/bin/libtool","_":"./wrapper","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35217","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TMP":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","CC":"./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","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo"}} 1: [15:31:22.446386, br, 4688] [pid: 4555] recognition failed: No tools recognize this execution. 1: [15:31:22.447611, br, 4688] [pid: 4575] 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":{"LLVM_DISABLE_CRASH_REPORT":"1","TMPDIR":"/tmp/lit-tmp-r4hbrhzk","SHLVL":"1","LC_CTYPE":"en_US.UTF-8","TERM":"tmux-256color","CXX":"/usr/bin/c++","TEMP":"/tmp/lit-tmp-r4hbrhzk","SOURCE_DATE_EPOCH":"1687331444","PWD":"/build/bear/src/build/subprojects/Build/BearTest/cases/compilation/output/Output","LIBTOOL":"/usr/bin/libtool","_":"./wrapper","TRUE":"/usr/bin/true","LD_PRELOAD":"/build/bear/src/build/stage/lib/bear/libexec.so","INTERCEPT_VERBOSE":"true","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:35217","INTERCEPT_REPORT_COMMAND":"/build/bear/src/build/stage/lib/bear/wrapper","TMP":"/tmp/lit-tmp-r4hbrhzk","FALSE":"/usr/bin/false","CC":"./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","TEMPDIR":"/tmp/lit-tmp-r4hbrhzk","SLEEP":"/usr/bin/sleep","ECHO":"/usr/bin/echo"}} 1: [15:31:22.447696, br, 4688] [pid: 4575] recognized. 1: [15:31:22.448670, br, 4688] compilation entries created. [size: 2] 1: [15:31:22.448696, br, 4688] compilation entries to output. [size: 2] 1: [15:31:22.449704, br, 4688] compilation entries written. [size: 2] 1: [15:31:22.449765, br, 4688] succeeded with: 0 1: [15:31:22.454770, br, 4307] Process wait request: done. [pid: 4688] 1: [15:31:22.454902, br, 4307] Running citnames finished. [Exited with 0] 1: [15:31:22.455320, br, 4307] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/preload/errno_reset.c (45 of 100) 1: PASS: bear :: cases/intercept/preload/build_stdout_captured.sh (46 of 100) 1: PASS: bear :: cases/intercept/preload/path_resolver/same_name_in_path.c (47 of 100) 1: PASS: bear :: cases/intercept/preload/path_resolver/same_name_without_exec_flag.c (48 of 100) 1: PASS: bear :: cases/intercept/output/shell_commands_with_unicode.sh (49 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execl/failure_prints_errno.c (50 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execl/success.c (51 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execle/failure_prints_errno.c (52 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execle/success.c (53 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execlp/failure_prints_errno.c (54 of 100) 1: UNSUPPORTED: bear :: cases/intercept/preload/posix/exect/success.c (55 of 100) 1: FAIL: bear :: cases/intercept/preload/libtool_commands_captured.sh (56 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: [15:31:22.625733, br, 4708] bear: 3.1.2 1: [15:31:22.626100, br, 4708] 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: [15:31:22.626193, br, 4708] 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=1687331444", "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-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk"] 1: [15:31:22.626237, br, 4708] sysname: Linux 1: [15:31:22.626248, br, 4708] release: 6.3.5-arch1-1 1: [15:31:22.626257, br, 4708] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:22.626264, br, 4708] machine: riscv64 1: [15:31:22.626404, br, 4708] 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: [15:31:22.626798, br, 4708] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:31:22.664936, br, 4708] Running gRPC server. dns:///localhost:46587 1: [15:31:22.666029, br, 4708] Process spawned. [pid: 4718, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh"]] 1: [15:31:22.666160, br, 4708] Process wait requested. [pid: 4718] 1: [15:31:22.819890, el, 4718] lib.cc; on_load 1: [15:31:22.821094, wr, 4718, ppid: 4708] wrapper: 3.1.2 1: [15:31:22.821193, wr, 4718, ppid: 4708] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--verbose", "--execute", "/usr/bin/sh", "--", "/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh"] 1: [15:31:22.821295, wr, 4718, ppid: 4708] 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:46587", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true"] 1: [15:31:22.821441, wr, 4718, ppid: 4708] 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:46587]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:31:22.840229, wr, 4718, ppid: 4708] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:22.852878, br, 4708] trying to resolve for library: /usr/bin/sh 1: [15:31:22.856843, wr, 4718, ppid: 4708] gRPC call [Resolve] finished: true 1: [15:31:22.858756, wr, 4718, ppid: 4708] Process spawned. [pid: 4731, command: ["/usr/bin/sh", "/build/bear/src/bear/test/cases/intercept/preload/libtool_commands_captured.sh"]] 1: [15:31:22.858952, wr, 4718, ppid: 4708] gRPC call requested: supervise::Interceptor::Register 1: [15:31:22.870872, wr, 4718, ppid: 4708] gRPC call [Register] finished: true 1: [15:31:22.871228, wr, 4718, ppid: 4708] Process wait requested. [pid: 4731] 1: [15:31:22.872995, el, 4731] lib.cc; on_load 1: [15:31:22.888098, el, 4734] lib.cc; execve path: /usr/bin/libtool 1: [15:31:23.037790, el, 4734] lib.cc; on_load 1: [15:31:23.039007, wr, 4734, ppid: 4731] wrapper: 3.1.2 1: [15:31:23.039115, wr, 4734, ppid: 4731] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--verbose", "--execute", "/usr/bin/libtool", "--", "/usr/bin/libtool", "--mode=compile", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-c", "main.c", "-o", "main.o"] 1: [15:31:23.039235, wr, 4734, ppid: 4731] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46587", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:23.039414, wr, 4734, ppid: 4731] 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:46587]}, {--execute: [/usr/bin/libtool]}, {--verbose: []}]} 1: [15:31:23.060290, wr, 4734, ppid: 4731] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:23.071698, br, 4708] trying to resolve for library: /usr/bin/libtool 1: [15:31:23.073519, wr, 4734, ppid: 4731] gRPC call [Resolve] finished: true 1: [15:31:23.076074, wr, 4734, ppid: 4731] Process spawned. [pid: 4744, command: ["/usr/bin/libtool", "--mode=compile", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-c", "main.c", "-o", "main.o"]] 1: [15:31:23.076277, wr, 4734, ppid: 4731] gRPC call requested: supervise::Interceptor::Register 1: [15:31:23.082765, wr, 4734, ppid: 4731] gRPC call [Register] finished: true 1: [15:31:23.083145, wr, 4734, ppid: 4731] Process wait requested. [pid: 4744] 1: [15:31:23.092374, el, 4744] lib.cc; on_load 1: [15:31:23.126509, el, 4745] lib.cc; on_unload 1: [15:31:23.162406, el, 4754] lib.cc; execve path: /usr/bin/sed 1: [15:31:23.165262, el, 4753] lib.cc; on_unload 1: [15:31:23.312606, el, 4754] lib.cc; on_load 1: [15:31:23.313835, wr, 4754, ppid: 4752] wrapper: 3.1.2 1: [15:31:23.318912, wr, 4754, ppid: 4752] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|^.*/||"] 1: [15:31:23.319090, wr, 4754, ppid: 4752] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46587", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:23.319306, wr, 4754, ppid: 4752] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|^.*/||]}, {--destination: [dns:///localhost:46587]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [15:31:23.326279, wr, 4754, ppid: 4752] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:23.341605, br, 4708] trying to resolve for library: /usr/bin/sed 1: [15:31:23.343225, wr, 4754, ppid: 4752] gRPC call [Resolve] finished: true 1: [15:31:23.358874, wr, 4754, ppid: 4752] Process spawned. [pid: 4767, command: ["/usr/bin/sed", "s|^.*/||"]] 1: [15:31:23.359126, wr, 4754, ppid: 4752] gRPC call requested: supervise::Interceptor::Register 1: [15:31:23.365472, wr, 4754, ppid: 4752] gRPC call [Register] finished: true 1: [15:31:23.365843, wr, 4754, ppid: 4752] Process wait requested. [pid: 4767] 1: [15:31:23.372119, el, 4767] lib.cc; on_load 1: [15:31:23.373190, el, 4767] lib.cc; on_unload 1: [15:31:23.374182, wr, 4754, ppid: 4752] Process wait request: done. [pid: 4767] 1: [15:31:23.374242, wr, 4754, ppid: 4752] gRPC call requested: supervise::Interceptor::Register 1: [15:31:23.376916, wr, 4754, ppid: 4752] gRPC call [Register] finished: true 1: [15:31:23.384975, wr, 4754, ppid: 4752] succeeded with: 0 1: [15:31:23.385207, el, 4754] lib.cc; on_unload 1: [15:31:23.391408, el, 4752] lib.cc; on_unload 1: [15:31:23.414679, el, 4768] lib.cc; on_unload 1: [15:31:23.632143, el, 4785] lib.cc; execve path: /usr/bin/rm 1: [15:31:23.785281, el, 4785] lib.cc; on_load 1: [15:31:23.786441, wr, 4785, ppid: 4744] wrapper: 3.1.2 1: [15:31:23.786536, wr, 4785, ppid: 4744] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--verbose", "--execute", "/usr/bin/rm", "--", "rm", "-f", "main.o", ".libs/main.o", "main.lo", "main.loT"] 1: [15:31:23.786668, wr, 4785, ppid: 4744] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46587", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:23.786824, wr, 4785, ppid: 4744] 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:46587]}, {--execute: [/usr/bin/rm]}, {--verbose: []}]} 1: [15:31:23.793419, wr, 4785, ppid: 4744] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:23.804560, br, 4708] trying to resolve for library: /usr/bin/rm 1: [15:31:23.815336, wr, 4785, ppid: 4744] gRPC call [Resolve] finished: true 1: [15:31:23.817081, wr, 4785, ppid: 4744] Process spawned. [pid: 4808, command: ["rm", "-f", "main.o", ".libs/main.o", "main.lo", "main.loT"]] 1: [15:31:23.817322, wr, 4785, ppid: 4744] gRPC call requested: supervise::Interceptor::Register 1: [15:31:23.823196, wr, 4785, ppid: 4744] gRPC call [Register] finished: true 1: [15:31:23.823540, wr, 4785, ppid: 4744] Process wait requested. [pid: 4808] 1: [15:31:23.828283, el, 4808] lib.cc; on_load 1: [15:31:23.829775, wr, 4785, ppid: 4744] Process wait request: done. [pid: 4808] 1: [15:31:23.829827, wr, 4785, ppid: 4744] gRPC call requested: supervise::Interceptor::Register 1: [15:31:23.832307, wr, 4785, ppid: 4744] gRPC call [Register] finished: true 1: [15:31:24.092441, wr, 4785, ppid: 4744] succeeded with: 0 1: [15:31:24.092701, el, 4785] lib.cc; on_unload 1: [15:31:24.108885, el, 4825] lib.cc; execve path: /usr/bin/sed 1: [15:31:24.118965, el, 4824] lib.cc; on_unload 1: [15:31:24.260422, el, 4825] lib.cc; on_load 1: [15:31:24.261628, wr, 4825, ppid: 4823] wrapper: 3.1.2 1: [15:31:24.261721, wr, 4825, ppid: 4823] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|:*$||"] 1: [15:31:24.261858, wr, 4825, ppid: 4823] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46587", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:24.262001, wr, 4825, ppid: 4823] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|:*$||]}, {--destination: [dns:///localhost:46587]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [15:31:24.281428, wr, 4825, ppid: 4823] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:24.291623, br, 4708] trying to resolve for library: /usr/bin/sed 1: [15:31:24.293113, wr, 4825, ppid: 4823] gRPC call [Resolve] finished: true 1: [15:31:24.294742, wr, 4825, ppid: 4823] Process spawned. [pid: 4851, command: ["/usr/bin/sed", "s|:*$||"]] 1: [15:31:24.294933, wr, 4825, ppid: 4823] gRPC call requested: supervise::Interceptor::Register 1: [15:31:24.300347, wr, 4825, ppid: 4823] gRPC call [Register] finished: true 1: [15:31:24.300717, wr, 4825, ppid: 4823] Process wait requested. [pid: 4851] 1: [15:31:24.308872, el, 4851] lib.cc; on_load 1: [15:31:24.309725, el, 4851] lib.cc; on_unload 1: [15:31:24.310569, wr, 4825, ppid: 4823] Process wait request: done. [pid: 4851] 1: [15:31:24.310663, wr, 4825, ppid: 4823] gRPC call requested: supervise::Interceptor::Register 1: [15:31:24.313042, wr, 4825, ppid: 4823] gRPC call [Register] finished: true 1: [15:31:24.320364, wr, 4825, ppid: 4823] succeeded with: 0 1: [15:31:24.320612, el, 4825] lib.cc; on_unload 1: [15:31:24.326845, el, 4823] lib.cc; on_unload 1: [15:31:24.499773, br, 4708] trying to resolve for library: /usr/bin/mkdir 1: [15:31:24.560721, el, 4878] lib.cc; on_unload 1: [15:31:24.565806, el, 4879] lib.cc; execve path: /usr/bin/sed 1: [15:31:24.707440, el, 4879] lib.cc; on_load 1: [15:31:24.708509, wr, 4879, ppid: 4877] wrapper: 3.1.2 1: [15:31:24.708620, wr, 4879, ppid: 4877] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--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: [15:31:24.708743, wr, 4879, ppid: 4877] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46587", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:24.708901, wr, 4879, ppid: 4877] 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:46587]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [15:31:24.714728, wr, 4879, ppid: 4877] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:24.726528, br, 4708] trying to resolve for library: /usr/bin/sed 1: [15:31:24.728110, wr, 4879, ppid: 4877] gRPC call [Resolve] finished: true 1: [15:31:24.729963, wr, 4879, ppid: 4877] Process spawned. [pid: 4897, command: ["/usr/bin/sed", "-e", "s/\\([\"`\\\\]\\)/\\\\\\1/g", "-e", " s/\\\\\\\\\\\\\\\\/&\\\n/g\n s/^\\\\\\\\\\$/\\\\&/\n s/\\([^\\\\]\\)\\\\\\\\\\$/\\1\\\\\\\\\\\\\\$/g\n s/\\n//g"]] 1: [15:31:24.730171, wr, 4879, ppid: 4877] gRPC call requested: supervise::Interceptor::Register 1: [15:31:24.736260, wr, 4879, ppid: 4877] gRPC call [Register] finished: true 1: [15:31:24.736609, wr, 4879, ppid: 4877] Process wait requested. [pid: 4897] 1: [15:31:24.740243, el, 4897] lib.cc; on_load 1: [15:31:24.744183, el, 4897] lib.cc; on_unload 1: [15:31:24.745373, wr, 4879, ppid: 4877] Process wait request: done. [pid: 4897] 1: [15:31:24.745431, wr, 4879, ppid: 4877] gRPC call requested: supervise::Interceptor::Register 1: [15:31:24.747865, wr, 4879, ppid: 4877] gRPC call [Register] finished: true 1: [15:31:24.816246, wr, 4879, ppid: 4877] succeeded with: 0 1: [15:31:24.816482, el, 4879] lib.cc; on_unload 1: [15:31:24.822674, el, 4877] lib.cc; on_unload 1: [15:31:24.827680, el, 4899] lib.cc; execve path: /usr/bin/cc 1: [15:31:24.974786, el, 4899] lib.cc; on_load 1: [15:31:24.975910, wr, 4899, ppid: 4744] wrapper: 3.1.2 1: [15:31:24.976004, wr, 4899, ppid: 4744] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-g", "-O", "-c", "main.c", "-fPIC", "-DPIC", "-o", ".libs/main.o"] 1: [15:31:24.976143, wr, 4899, ppid: 4744] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46587", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=en_US.UTF-8", "LC_ALL=C", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:24.976288, wr, 4899, ppid: 4744] 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:46587]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:24.995669, wr, 4899, ppid: 4744] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:25.006026, br, 4708] trying to resolve for library: /usr/bin/cc 1: [15:31:25.007931, wr, 4899, ppid: 4744] gRPC call [Resolve] finished: true 1: [15:31:25.009948, wr, 4899, ppid: 4744] Process spawned. [pid: 4910, command: ["/usr/bin/cc", "-g", "-O", "-c", "main.c", "-fPIC", "-DPIC", "-o", ".libs/main.o"]] 1: [15:31:25.010383, wr, 4899, ppid: 4744] gRPC call requested: supervise::Interceptor::Register 1: [15:31:25.016796, wr, 4899, ppid: 4744] gRPC call [Register] finished: true 1: [15:31:25.017556, wr, 4899, ppid: 4744] Process wait requested. [pid: 4910] 1: free(): invalid pointer 1: [15:31:25.428536, wr, 4899, ppid: 4744] Process wait request: done. [pid: 4910] 1: [15:31:25.428621, wr, 4899, ppid: 4744] gRPC call requested: supervise::Interceptor::Register 1: [15:31:25.438923, wr, 4899, ppid: 4744] gRPC call [Register] finished: true 1: [15:31:25.447046, wr, 4899, ppid: 4744] succeeded with: 1 1: [15:31:25.447474, el, 4899] lib.cc; on_unload 1: [15:31:25.458675, el, 4916] lib.cc; on_unload 1: [15:31:25.460925, el, 4744] lib.cc; on_unload 1: [15:31:25.462704, wr, 4734, ppid: 4731] Process wait request: done. [pid: 4744] 1: [15:31:25.462782, wr, 4734, ppid: 4731] gRPC call requested: supervise::Interceptor::Register 1: [15:31:25.469459, wr, 4734, ppid: 4731] gRPC call [Register] finished: true 1: [15:31:25.479646, wr, 4734, ppid: 4731] succeeded with: 1 1: [15:31:25.479879, el, 4734] lib.cc; on_unload 1: [15:31:25.491191, el, 4917] lib.cc; execve path: /usr/bin/libtool 1: [15:31:25.640036, el, 4917] lib.cc; on_load 1: [15:31:25.641575, wr, 4917, ppid: 4731] wrapper: 3.1.2 1: [15:31:25.641881, wr, 4917, ppid: 4731] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--verbose", "--execute", "/usr/bin/libtool", "--", "/usr/bin/libtool", "--mode=compile", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-c", "hello.c", "-o", "hello.o"] 1: [15:31:25.642155, wr, 4917, ppid: 4731] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46587", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:25.642487, wr, 4917, ppid: 4731] 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:46587]}, {--execute: [/usr/bin/libtool]}, {--verbose: []}]} 1: [15:31:25.649494, wr, 4917, ppid: 4731] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:25.660996, br, 4708] trying to resolve for library: /usr/bin/libtool 1: [15:31:25.671934, wr, 4917, ppid: 4731] gRPC call [Resolve] finished: true 1: [15:31:25.673904, wr, 4917, ppid: 4731] Process spawned. [pid: 4928, command: ["/usr/bin/libtool", "--mode=compile", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-c", "hello.c", "-o", "hello.o"]] 1: [15:31:25.674217, wr, 4917, ppid: 4731] gRPC call requested: supervise::Interceptor::Register 1: [15:31:25.679825, wr, 4917, ppid: 4731] gRPC call [Register] finished: true 1: [15:31:25.680318, wr, 4917, ppid: 4731] Process wait requested. [pid: 4928] 1: [15:31:25.689181, el, 4928] lib.cc; on_load 1: [15:31:25.719495, el, 4929] lib.cc; on_unload 1: [15:31:25.747819, el, 4934] lib.cc; on_unload 1: [15:31:25.752349, el, 4935] lib.cc; execve path: /usr/bin/sed 1: [15:31:25.902083, el, 4935] lib.cc; on_load 1: [15:31:25.903246, wr, 4935, ppid: 4933] wrapper: 3.1.2 1: [15:31:25.903342, wr, 4935, ppid: 4933] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|^.*/||"] 1: [15:31:25.903461, wr, 4935, ppid: 4933] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46587", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:25.903611, wr, 4935, ppid: 4933] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|^.*/||]}, {--destination: [dns:///localhost:46587]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [15:31:25.910318, wr, 4935, ppid: 4933] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:25.920278, br, 4708] trying to resolve for library: /usr/bin/sed 1: [15:31:25.921914, wr, 4935, ppid: 4933] gRPC call [Resolve] finished: true 1: [15:31:25.924083, wr, 4935, ppid: 4933] Process spawned. [pid: 4959, command: ["/usr/bin/sed", "s|^.*/||"]] 1: [15:31:25.924276, wr, 4935, ppid: 4933] gRPC call requested: supervise::Interceptor::Register 1: [15:31:25.930321, wr, 4935, ppid: 4933] gRPC call [Register] finished: true 1: [15:31:25.930745, wr, 4935, ppid: 4933] Process wait requested. [pid: 4959] 1: [15:31:25.938766, el, 4959] lib.cc; on_load 1: [15:31:25.939806, el, 4959] lib.cc; on_unload 1: [15:31:25.940839, wr, 4935, ppid: 4933] Process wait request: done. [pid: 4959] 1: [15:31:25.940900, wr, 4935, ppid: 4933] gRPC call requested: supervise::Interceptor::Register 1: [15:31:25.943446, wr, 4935, ppid: 4933] gRPC call [Register] finished: true 1: [15:31:26.203479, wr, 4935, ppid: 4933] succeeded with: 0 1: [15:31:26.203762, el, 4935] lib.cc; on_unload 1: [15:31:26.210675, el, 4933] lib.cc; on_unload 1: [15:31:26.233432, el, 4972] lib.cc; on_unload 1: [15:31:26.391629, el, 4989] lib.cc; execve path: /usr/bin/rm 1: [15:31:26.570439, el, 4989] lib.cc; on_load 1: [15:31:26.572026, wr, 4989, ppid: 4928] wrapper: 3.1.2 1: [15:31:26.572271, wr, 4989, ppid: 4928] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--verbose", "--execute", "/usr/bin/rm", "--", "rm", "-f", "hello.o", ".libs/hello.o", "hello.lo", "hello.loT"] 1: [15:31:26.572533, wr, 4989, ppid: 4928] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46587", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:26.572792, wr, 4989, ppid: 4928] 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:46587]}, {--execute: [/usr/bin/rm]}, {--verbose: []}]} 1: [15:31:26.579731, wr, 4989, ppid: 4928] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:26.591910, br, 4708] trying to resolve for library: /usr/bin/rm 1: [15:31:26.594543, wr, 4989, ppid: 4928] gRPC call [Resolve] finished: true 1: [15:31:26.596462, wr, 4989, ppid: 4928] Process spawned. [pid: 5009, command: ["rm", "-f", "hello.o", ".libs/hello.o", "hello.lo", "hello.loT"]] 1: [15:31:26.596661, wr, 4989, ppid: 4928] gRPC call requested: supervise::Interceptor::Register 1: [15:31:26.602853, wr, 4989, ppid: 4928] gRPC call [Register] finished: true 1: [15:31:26.603190, wr, 4989, ppid: 4928] Process wait requested. [pid: 5009] 1: [15:31:26.612553, el, 5009] lib.cc; on_load 1: [15:31:26.613975, wr, 4989, ppid: 4928] Process wait request: done. [pid: 5009] 1: [15:31:26.614039, wr, 4989, ppid: 4928] gRPC call requested: supervise::Interceptor::Register 1: [15:31:26.616534, wr, 4989, ppid: 4928] gRPC call [Register] finished: true 1: [15:31:26.877599, wr, 4989, ppid: 4928] succeeded with: 0 1: [15:31:26.877831, el, 4989] lib.cc; on_unload 1: [15:31:26.904796, el, 5032] lib.cc; on_unload 1: [15:31:26.907438, el, 5033] lib.cc; execve path: /usr/bin/sed 1: [15:31:27.060472, el, 5033] lib.cc; on_load 1: [15:31:27.061696, wr, 5033, ppid: 5031] wrapper: 3.1.2 1: [15:31:27.061788, wr, 5033, ppid: 5031] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|:*$||"] 1: [15:31:27.061928, wr, 5033, ppid: 5031] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46587", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:27.062090, wr, 5033, ppid: 5031] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|:*$||]}, {--destination: [dns:///localhost:46587]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [15:31:27.082616, wr, 5033, ppid: 5031] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:27.092937, br, 4708] trying to resolve for library: /usr/bin/sed 1: [15:31:27.095204, wr, 5033, ppid: 5031] gRPC call [Resolve] finished: true 1: [15:31:27.096781, wr, 5033, ppid: 5031] Process spawned. [pid: 5045, command: ["/usr/bin/sed", "s|:*$||"]] 1: [15:31:27.096975, wr, 5033, ppid: 5031] gRPC call requested: supervise::Interceptor::Register 1: [15:31:27.103217, wr, 5033, ppid: 5031] gRPC call [Register] finished: true 1: [15:31:27.103577, wr, 5033, ppid: 5031] Process wait requested. [pid: 5045] 1: [15:31:27.113152, el, 5045] lib.cc; on_load 1: [15:31:27.114004, el, 5045] lib.cc; on_unload 1: [15:31:27.114896, wr, 5033, ppid: 5031] Process wait request: done. [pid: 5045] 1: [15:31:27.114953, wr, 5033, ppid: 5031] gRPC call requested: supervise::Interceptor::Register 1: [15:31:27.117576, wr, 5033, ppid: 5031] gRPC call [Register] finished: true 1: [15:31:27.378586, wr, 5033, ppid: 5031] succeeded with: 0 1: [15:31:27.378811, el, 5033] lib.cc; on_unload 1: [15:31:27.385346, el, 5031] lib.cc; on_unload 1: [15:31:27.396255, el, 5051] lib.cc; on_unload 1: [15:31:27.399378, el, 5052] lib.cc; execve path: /usr/bin/sed 1: [15:31:27.574474, el, 5052] lib.cc; on_load 1: [15:31:27.575672, wr, 5052, ppid: 5050] wrapper: 3.1.2 1: [15:31:27.575787, wr, 5052, ppid: 5050] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--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: [15:31:27.575909, wr, 5052, ppid: 5050] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46587", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:27.576061, wr, 5052, ppid: 5050] 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:46587]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [15:31:27.595932, wr, 5052, ppid: 5050] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:27.607455, br, 4708] trying to resolve for library: /usr/bin/sed 1: [15:31:27.609748, wr, 5052, ppid: 5050] gRPC call [Resolve] finished: true 1: [15:31:27.611726, wr, 5052, ppid: 5050] Process spawned. [pid: 5073, command: ["/usr/bin/sed", "-e", "s/\\([\"`\\\\]\\)/\\\\\\1/g", "-e", " s/\\\\\\\\\\\\\\\\/&\\\n/g\n s/^\\\\\\\\\\$/\\\\&/\n s/\\([^\\\\]\\)\\\\\\\\\\$/\\1\\\\\\\\\\\\\\$/g\n s/\\n//g"]] 1: [15:31:27.611947, wr, 5052, ppid: 5050] gRPC call requested: supervise::Interceptor::Register 1: [15:31:27.618733, wr, 5052, ppid: 5050] gRPC call [Register] finished: true 1: [15:31:27.619072, wr, 5052, ppid: 5050] Process wait requested. [pid: 5073] 1: [15:31:27.628775, el, 5073] lib.cc; on_load 1: [15:31:27.630130, el, 5073] lib.cc; on_unload 1: [15:31:27.631125, wr, 5052, ppid: 5050] Process wait request: done. [pid: 5073] 1: [15:31:27.631183, wr, 5052, ppid: 5050] gRPC call requested: supervise::Interceptor::Register 1: [15:31:27.633771, wr, 5052, ppid: 5050] gRPC call [Register] finished: true 1: [15:31:27.895214, wr, 5052, ppid: 5050] succeeded with: 0 1: [15:31:27.895442, el, 5052] lib.cc; on_unload 1: [15:31:27.901733, el, 5050] lib.cc; on_unload 1: [15:31:27.907002, el, 5090] lib.cc; execve path: /usr/bin/cc 1: [15:31:28.068165, el, 5090] lib.cc; on_load 1: [15:31:28.069384, wr, 5090, ppid: 4928] wrapper: 3.1.2 1: [15:31:28.069484, wr, 5090, ppid: 4928] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--verbose", "--execute", "/usr/bin/cc", "--", "/usr/bin/cc", "-g", "-O", "-c", "hello.c", "-fPIC", "-DPIC", "-o", ".libs/hello.o"] 1: [15:31:28.069611, wr, 5090, ppid: 4928] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46587", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=2", "DUALCASE=1", "LC_CTYPE=en_US.UTF-8", "LC_ALL=C", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:28.069770, wr, 5090, ppid: 4928] 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:46587]}, {--execute: [/usr/bin/cc]}, {--verbose: []}]} 1: [15:31:28.076755, wr, 5090, ppid: 4928] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:28.088672, br, 4708] trying to resolve for library: /usr/bin/cc 1: [15:31:28.091229, wr, 5090, ppid: 4928] gRPC call [Resolve] finished: true 1: [15:31:28.093450, wr, 5090, ppid: 4928] Process spawned. [pid: 5110, command: ["/usr/bin/cc", "-g", "-O", "-c", "hello.c", "-fPIC", "-DPIC", "-o", ".libs/hello.o"]] 1: [15:31:28.093658, wr, 5090, ppid: 4928] gRPC call requested: supervise::Interceptor::Register 1: [15:31:28.100622, wr, 5090, ppid: 4928] gRPC call [Register] finished: true 1: [15:31:28.100978, wr, 5090, ppid: 4928] Process wait requested. [pid: 5110] 1: free(): invalid pointer 1: [15:31:28.566811, wr, 5090, ppid: 4928] Process wait request: done. [pid: 5110] 1: [15:31:28.566884, wr, 5090, ppid: 4928] gRPC call requested: supervise::Interceptor::Register 1: [15:31:28.575238, wr, 5090, ppid: 4928] gRPC call [Register] finished: true 1: [15:31:28.850768, wr, 5090, ppid: 4928] succeeded with: 1 1: [15:31:28.851004, el, 5090] lib.cc; on_unload 1: [15:31:28.867723, el, 5134] lib.cc; on_unload 1: [15:31:28.869620, el, 4928] lib.cc; on_unload 1: [15:31:28.872182, wr, 4917, ppid: 4731] Process wait request: done. [pid: 4928] 1: [15:31:28.872269, wr, 4917, ppid: 4731] gRPC call requested: supervise::Interceptor::Register 1: [15:31:28.874748, wr, 4917, ppid: 4731] gRPC call [Register] finished: true 1: [15:31:29.141010, wr, 4917, ppid: 4731] succeeded with: 1 1: [15:31:29.141275, el, 4917] lib.cc; on_unload 1: [15:31:29.149628, el, 5140] lib.cc; execve path: /usr/bin/libtool 1: [15:31:29.292916, el, 5140] lib.cc; on_load 1: [15:31:29.294247, wr, 5140, ppid: 4731] wrapper: 3.1.2 1: [15:31:29.294361, wr, 5140, ppid: 4731] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--verbose", "--execute", "/usr/bin/libtool", "--", "/usr/bin/libtool", "--mode=link", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-o", "libhello.la", "hello.lo"] 1: [15:31:29.294483, wr, 5140, ppid: 4731] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46587", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:29.294649, wr, 5140, ppid: 4731] 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:46587]}, {--execute: [/usr/bin/libtool]}, {--verbose: []}]} 1: [15:31:29.301776, wr, 5140, ppid: 4731] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:29.314811, br, 4708] trying to resolve for library: /usr/bin/libtool 1: [15:31:29.316405, wr, 5140, ppid: 4731] gRPC call [Resolve] finished: true 1: [15:31:29.319911, wr, 5140, ppid: 4731] Process spawned. [pid: 5159, command: ["/usr/bin/libtool", "--mode=link", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-o", "libhello.la", "hello.lo"]] 1: [15:31:29.320128, wr, 5140, ppid: 4731] gRPC call requested: supervise::Interceptor::Register 1: [15:31:29.325747, wr, 5140, ppid: 4731] gRPC call [Register] finished: true 1: [15:31:29.326088, wr, 5140, ppid: 4731] Process wait requested. [pid: 5159] 1: [15:31:29.343442, el, 5159] lib.cc; on_load 1: [15:31:29.376018, el, 5162] lib.cc; on_unload 1: [15:31:29.412136, el, 5168] lib.cc; on_unload 1: [15:31:29.414837, el, 5169] lib.cc; execve path: /usr/bin/sed 1: [15:31:29.585120, el, 5169] lib.cc; on_load 1: [15:31:29.586208, wr, 5169, ppid: 5167] wrapper: 3.1.2 1: [15:31:29.586288, wr, 5169, ppid: 5167] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|^.*/||"] 1: [15:31:29.586422, wr, 5169, ppid: 5167] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46587", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:29.586558, wr, 5169, ppid: 5167] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|^.*/||]}, {--destination: [dns:///localhost:46587]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [15:31:29.610974, wr, 5169, ppid: 5167] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:29.620900, br, 4708] trying to resolve for library: /usr/bin/sed 1: [15:31:29.622480, wr, 5169, ppid: 5167] gRPC call [Resolve] finished: true 1: [15:31:29.624207, wr, 5169, ppid: 5167] Process spawned. [pid: 5190, command: ["/usr/bin/sed", "s|^.*/||"]] 1: [15:31:29.624399, wr, 5169, ppid: 5167] gRPC call requested: supervise::Interceptor::Register 1: [15:31:29.630429, wr, 5169, ppid: 5167] gRPC call [Register] finished: true 1: [15:31:29.630816, wr, 5169, ppid: 5167] Process wait requested. [pid: 5190] 1: [15:31:29.634938, el, 5190] lib.cc; on_load 1: [15:31:29.636209, el, 5190] lib.cc; on_unload 1: [15:31:29.637393, wr, 5169, ppid: 5167] Process wait request: done. [pid: 5190] 1: [15:31:29.637450, wr, 5169, ppid: 5167] gRPC call requested: supervise::Interceptor::Register 1: [15:31:29.639911, wr, 5169, ppid: 5167] gRPC call [Register] finished: true 1: [15:31:29.647132, wr, 5169, ppid: 5167] succeeded with: 0 1: [15:31:29.647524, el, 5169] lib.cc; on_unload 1: [15:31:29.653624, el, 5167] lib.cc; on_unload 1: [15:31:29.673295, el, 5191] lib.cc; on_unload 1: [15:31:29.939415, el, 5211] lib.cc; on_unload 1: [15:31:29.972169, el, 5213] lib.cc; on_unload 1: [15:31:29.974741, el, 5214] lib.cc; execve path: /usr/bin/sed 1: [15:31:30.127504, el, 5214] lib.cc; on_load 1: [15:31:30.128688, wr, 5214, ppid: 5212] wrapper: 3.1.2 1: [15:31:30.128787, wr, 5214, ppid: 5212] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|.| |g"] 1: [15:31:30.128924, wr, 5214, ppid: 5212] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46587", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:30.129069, wr, 5214, ppid: 5212] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|.| |g]}, {--destination: [dns:///localhost:46587]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [15:31:30.135900, wr, 5214, ppid: 5212] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:30.146780, br, 4708] trying to resolve for library: /usr/bin/sed 1: [15:31:30.151674, wr, 5214, ppid: 5212] gRPC call [Resolve] finished: true 1: [15:31:30.160921, wr, 5214, ppid: 5212] Process spawned. [pid: 5224, command: ["/usr/bin/sed", "s|.| |g"]] 1: [15:31:30.161154, wr, 5214, ppid: 5212] gRPC call requested: supervise::Interceptor::Register 1: [15:31:30.162542, el, 5224] lib.cc; on_load 1: [15:31:30.163563, el, 5224] lib.cc; on_unload 1: [15:31:30.167572, wr, 5214, ppid: 5212] gRPC call [Register] finished: true 1: [15:31:30.167913, wr, 5214, ppid: 5212] Process wait requested. [pid: 5224] 1: [15:31:30.168005, wr, 5214, ppid: 5212] Process wait request: done. [pid: 5224] 1: [15:31:30.168028, wr, 5214, ppid: 5212] gRPC call requested: supervise::Interceptor::Register 1: [15:31:30.169960, wr, 5214, ppid: 5212] gRPC call [Register] finished: true 1: [15:31:30.460884, wr, 5214, ppid: 5212] succeeded with: 0 1: [15:31:30.461120, el, 5214] lib.cc; on_unload 1: [15:31:30.498471, el, 5212] lib.cc; on_unload 1: libtool: error: 'hello.lo' is not a valid libtool object 1: [15:31:30.501828, el, 5159] lib.cc; on_unload 1: [15:31:30.505564, wr, 5140, ppid: 4731] Process wait request: done. [pid: 5159] 1: [15:31:30.505661, wr, 5140, ppid: 4731] gRPC call requested: supervise::Interceptor::Register 1: [15:31:30.508130, wr, 5140, ppid: 4731] gRPC call [Register] finished: true 1: [15:31:30.767885, wr, 5140, ppid: 4731] succeeded with: 1 1: [15:31:30.768125, el, 5140] lib.cc; on_unload 1: [15:31:30.776337, el, 5261] lib.cc; execve path: /usr/bin/libtool 1: [15:31:30.923488, el, 5261] lib.cc; on_load 1: [15:31:30.924748, wr, 5261, ppid: 4731] wrapper: 3.1.2 1: [15:31:30.924855, wr, 5261, ppid: 4731] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--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: [15:31:30.924975, wr, 5261, ppid: 4731] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46587", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:30.925129, wr, 5261, ppid: 4731] 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:46587]}, {--execute: [/usr/bin/libtool]}, {--verbose: []}]} 1: [15:31:30.932496, wr, 5261, ppid: 4731] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:30.941966, br, 4708] trying to resolve for library: /usr/bin/libtool 1: [15:31:30.943385, wr, 5261, ppid: 4731] gRPC call [Resolve] finished: true 1: [15:31:30.945093, wr, 5261, ppid: 4731] Process spawned. [pid: 5271, command: ["/usr/bin/libtool", "--mode=link", "--tag=CC", "/usr/bin/cc", "-g", "-O", "-o", "libtool_test", "main.lo", "libhello.la"]] 1: [15:31:30.945274, wr, 5261, ppid: 4731] gRPC call requested: supervise::Interceptor::Register 1: [15:31:30.950850, wr, 5261, ppid: 4731] gRPC call [Register] finished: true 1: [15:31:30.951186, wr, 5261, ppid: 4731] Process wait requested. [pid: 5271] 1: [15:31:30.957538, el, 5271] lib.cc; on_load 1: [15:31:30.984616, el, 5272] lib.cc; on_unload 1: [15:31:31.006791, el, 5277] lib.cc; on_unload 1: [15:31:31.008515, el, 5278] lib.cc; execve path: /usr/bin/sed 1: [15:31:31.151530, el, 5278] lib.cc; on_load 1: [15:31:31.152727, wr, 5278, ppid: 5276] wrapper: 3.1.2 1: [15:31:31.152818, wr, 5278, ppid: 5276] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|^.*/||"] 1: [15:31:31.152940, wr, 5278, ppid: 5276] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46587", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:31.153087, wr, 5278, ppid: 5276] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|^.*/||]}, {--destination: [dns:///localhost:46587]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [15:31:31.172460, wr, 5278, ppid: 5276] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:31.186686, br, 4708] trying to resolve for library: /usr/bin/sed 1: [15:31:31.188335, wr, 5278, ppid: 5276] gRPC call [Resolve] finished: true 1: [15:31:31.190388, wr, 5278, ppid: 5276] Process spawned. [pid: 5297, command: ["/usr/bin/sed", "s|^.*/||"]] 1: [15:31:31.190570, wr, 5278, ppid: 5276] gRPC call requested: supervise::Interceptor::Register 1: [15:31:31.200667, el, 5297] lib.cc; on_load 1: [15:31:31.202014, el, 5297] lib.cc; on_unload 1: [15:31:31.204529, wr, 5278, ppid: 5276] gRPC call [Register] finished: true 1: [15:31:31.204904, wr, 5278, ppid: 5276] Process wait requested. [pid: 5297] 1: [15:31:31.204988, wr, 5278, ppid: 5276] Process wait request: done. [pid: 5297] 1: [15:31:31.205013, wr, 5278, ppid: 5276] gRPC call requested: supervise::Interceptor::Register 1: [15:31:31.207184, wr, 5278, ppid: 5276] gRPC call [Register] finished: true 1: [15:31:31.214479, wr, 5278, ppid: 5276] succeeded with: 0 1: [15:31:31.214727, el, 5278] lib.cc; on_unload 1: [15:31:31.221364, el, 5276] lib.cc; on_unload 1: [15:31:31.245503, el, 5306] lib.cc; on_unload 1: [15:31:31.523694, el, 5335] lib.cc; on_unload 1: [15:31:31.542549, el, 5337] lib.cc; on_unload 1: [15:31:31.545185, el, 5338] lib.cc; execve path: /usr/bin/sed 1: [15:31:31.691145, el, 5338] lib.cc; on_load 1: [15:31:31.692345, wr, 5338, ppid: 5336] wrapper: 3.1.2 1: [15:31:31.692442, wr, 5338, ppid: 5336] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:46587", "--verbose", "--execute", "/usr/bin/sed", "--", "/usr/bin/sed", "s|.| |g"] 1: [15:31:31.692579, wr, 5338, ppid: 5336] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:46587", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "DUALCASE=1", "LC_CTYPE=C", "LC_ALL=C", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:31.692738, wr, 5338, ppid: 5336] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sed, s|.| |g]}, {--destination: [dns:///localhost:46587]}, {--execute: [/usr/bin/sed]}, {--verbose: []}]} 1: [15:31:31.712942, wr, 5338, ppid: 5336] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:31.723128, br, 4708] trying to resolve for library: /usr/bin/sed 1: [15:31:31.725280, wr, 5338, ppid: 5336] gRPC call [Resolve] finished: true 1: [15:31:31.727061, wr, 5338, ppid: 5336] Process spawned. [pid: 5350, command: ["/usr/bin/sed", "s|.| |g"]] 1: [15:31:31.727335, wr, 5338, ppid: 5336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:31.733805, wr, 5338, ppid: 5336] gRPC call [Register] finished: true 1: [15:31:31.734213, wr, 5338, ppid: 5336] Process wait requested. [pid: 5350] 1: [15:31:31.737653, el, 5350] lib.cc; on_load 1: [15:31:31.738760, el, 5350] lib.cc; on_unload 1: [15:31:31.739817, wr, 5338, ppid: 5336] Process wait request: done. [pid: 5350] 1: [15:31:31.739871, wr, 5338, ppid: 5336] gRPC call requested: supervise::Interceptor::Register 1: [15:31:31.742423, wr, 5338, ppid: 5336] gRPC call [Register] finished: true 1: [15:31:32.005891, wr, 5338, ppid: 5336] succeeded with: 0 1: [15:31:32.006162, el, 5338] lib.cc; on_unload 1: [15:31:32.015122, el, 5336] lib.cc; on_unload 1: libtool: error: 'main.lo' is not a valid libtool object 1: [15:31:32.018327, el, 5271] lib.cc; on_unload 1: [15:31:32.022275, wr, 5261, ppid: 4731] Process wait request: done. [pid: 5271] 1: [15:31:32.022363, wr, 5261, ppid: 4731] gRPC call requested: supervise::Interceptor::Register 1: [15:31:32.024902, wr, 5261, ppid: 4731] gRPC call [Register] finished: true 1: [15:31:32.031563, wr, 5261, ppid: 4731] succeeded with: 1 1: [15:31:32.031785, el, 5261] lib.cc; on_unload 1: [15:31:32.038030, el, 4731] lib.cc; on_unload 1: [15:31:32.039588, wr, 4718, ppid: 4708] Process wait request: done. [pid: 4731] 1: [15:31:32.039683, wr, 4718, ppid: 4708] gRPC call requested: supervise::Interceptor::Register 1: [15:31:32.043035, wr, 4718, ppid: 4708] gRPC call [Register] finished: true 1: [15:31:32.050737, wr, 4718, ppid: 4708] succeeded with: 1 1: [15:31:32.050961, el, 4718] lib.cc; on_unload 1: [15:31:32.057629, br, 4708] Process wait request: done. [pid: 4718] 1: [15:31:32.057808, br, 4708] Running command. [Exited with 1] 1: [15:31:32.057846, br, 4708] Stopping gRPC server. 1: [15:31:32.064397, br, 4708] succeeded with: 1 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/preload/posix/execlp/success.c (57 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execlp/success_to_resolve.c (58 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execv/failure_prints_errno.c (59 of 100) 1: UNSUPPORTED: bear :: cases/intercept/preload/posix/execvp2/failure_prints_errno.c (60 of 100) 1: UNSUPPORTED: bear :: cases/intercept/preload/posix/execvp2/success.c (61 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execv/success.c (62 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execve/failure_prints_errno.c (63 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execve/success.c (64 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execvpe/failure_prints_errno.c (65 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execvpe/success.c (66 of 100) 1: PASS: bear :: cases/intercept/preload/posix/execvpe/success_to_resolve.c (67 of 100) 1: PASS: bear :: cases/intercept/preload/posix/exevp/failure_prints_errno.c (68 of 100) 1: PASS: bear :: cases/intercept/preload/posix/exevp/success.c (69 of 100) 1: PASS: bear :: cases/intercept/preload/posix/no_exec.c (70 of 100) 1: PASS: bear :: cases/intercept/preload/posix/exevp/success_to_resolve.c (71 of 100) 1: PASS: bear :: cases/intercept/preload/posix/posix_spawn/failure_prints_errno.c (72 of 100) 1: PASS: bear :: cases/intercept/preload/posix/popen/success.c (73 of 100) 1: PASS: bear :: cases/intercept/preload/posix/posix_spawnp/failure_prints_errno.c (74 of 100) 1: PASS: bear :: cases/intercept/preload/posix/posix_spawn/success.c (75 of 100) 1: PASS: bear :: cases/intercept/preload/posix/posix_spawnp/success_to_resolve.c (76 of 100) 1: PASS: bear :: cases/intercept/preload/posix/posix_spawnp/success.c (77 of 100) 1: PASS: bear :: cases/intercept/preload/posix/system/success.c (78 of 100) 1: PASS: bear :: cases/intercept/preload/preload_append/io_calls.c (79 of 100) 1: PASS: bear :: cases/intercept/preload/shell_commands_intercepted.sh (80 of 100) 1: PASS: bear :: cases/intercept/preload/preload_append/fakeroot.sh (81 of 100) 1: PASS: bear :: cases/intercept/preload/shell_commands_intercepted_without_shebang.sh (82 of 100) 1: PASS: bear :: cases/intercept/preload/shell_commands_parallel_intercepted.sh (83 of 100) 1: PASS: bear :: cases/intercept/preload/shell_fail_commands_intercepted.sh (84 of 100) 1: PASS: bear :: cases/intercept/preload/shell_commands_with_empty_env.sh (85 of 100) 1: UNSUPPORTED: bear :: cases/intercept/valgrind/shell_commands_intercepted.sh (86 of 100) 1: PASS: bear :: cases/intercept/wrapper/build_command_captured.sh (87 of 100) 1: PASS: bear :: cases/intercept/preload/shell_redirect_works.sh (88 of 100) 1: FAIL: bear :: cases/intercept/preload/signal_outside_build.sh (89 of 100) 1: ******************** TEST 'bear :: cases/intercept/preload/signal_outside_build.sh' FAILED ******************** 1: Script: 1: -- 1: : 'RUN: at line 4'; /usr/bin/sh -c "/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: [15:31:51.653760, br, 6503] bear: 3.1.2 1: [15:31:51.654199, br, 6503] 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: [15:31:51.654315, br, 6503] 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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=0", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:51.654363, br, 6503] sysname: Linux 1: [15:31:51.654374, br, 6503] release: 6.3.5-arch1-1 1: [15:31:51.654382, br, 6503] version: #1 SMP PREEMPT Wed, 31 May 2023 15:00:09 +0000 1: [15:31:51.654390, br, 6503] machine: riscv64 1: [15:31:51.654547, br, 6503] 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: [15:31:51.654989, br, 6503] Created library preload session. [library=/build/bear/src/build/stage/lib/bear/libexec.so, executor=/build/bear/src/build/stage/lib/bear/wrapper] 1: [15:31:51.685430, br, 6503] Running gRPC server. dns:///localhost:40173 1: [15:31:51.686725, br, 6503] Process spawned. [pid: 6515, command: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40173", "--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: [15:31:51.686865, br, 6503] Process wait requested. [pid: 6515] 1: [15:31:51.831002, el, 6515] lib.cc; on_load 1: [15:31:51.832306, wr, 6515, ppid: 6503] wrapper: 3.1.2 1: [15:31:51.832517, wr, 6515, ppid: 6503] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40173", "--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: [15:31:51.832752, wr, 6515, ppid: 6503] 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:40173", "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=1687331444", "TEMP=/tmp/lit-tmp-r4hbrhzk", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "TERM=tmux-256color", "TMP=/tmp/lit-tmp-r4hbrhzk", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "TRUE=/usr/bin/true", "_=/build/bear/src/build/stage/bin/bear"] 1: [15:31:51.833058, wr, 6515, ppid: 6503] 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:40173]}, {--execute: [/usr/bin/sh]}, {--verbose: []}]} 1: [15:31:51.840846, wr, 6515, ppid: 6503] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:51.853760, br, 6503] trying to resolve for library: /usr/bin/sh 1: [15:31:51.856506, wr, 6515, ppid: 6503] gRPC call [Resolve] finished: true 1: [15:31:51.858434, wr, 6515, ppid: 6503] Process spawned. [pid: 6526, 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: [15:31:51.858801, wr, 6515, ppid: 6503] gRPC call requested: supervise::Interceptor::Register 1: [15:31:51.871313, wr, 6515, ppid: 6503] gRPC call [Register] finished: true 1: [15:31:51.871670, wr, 6515, ppid: 6503] Process wait requested. [pid: 6526] 1: [15:31:51.871437, el, 6526] lib.cc; on_load 1: [15:31:51.885614, el, 6527] lib.cc; execve path: /usr/bin/true 1: [15:31:52.031689, el, 6527] lib.cc; on_load 1: [15:31:52.033145, wr, 6527, ppid: 6526] wrapper: 3.1.2 1: [15:31:52.033386, wr, 6527, ppid: 6526] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40173", "--verbose", "--execute", "/usr/bin/true", "--", "/usr/bin/true"] 1: [15:31:52.033638, wr, 6527, ppid: 6526] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:40173", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=1", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:52.033942, wr, 6527, ppid: 6526] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/true]}, {--destination: [dns:///localhost:40173]}, {--execute: [/usr/bin/true]}, {--verbose: []}]} 1: [15:31:52.054708, wr, 6527, ppid: 6526] gRPC call requested: supervise::Supervisor::Resolve 1: [15:31:52.077395, br, 6503] trying to resolve for library: /usr/bin/true 1: [15:31:52.078869, wr, 6527, ppid: 6526] gRPC call [Resolve] finished: true 1: [15:31:52.081020, wr, 6527, ppid: 6526] Process spawned. [pid: 6537, command: ["/usr/bin/true"]] 1: [15:31:52.081199, wr, 6527, ppid: 6526] gRPC call requested: supervise::Interceptor::Register 1: [15:31:52.086658, wr, 6527, ppid: 6526] gRPC call [Register] finished: true 1: [15:31:52.086980, wr, 6527, ppid: 6526] Process wait requested. [pid: 6537] 1: [15:31:52.091818, el, 6537] lib.cc; on_load 1: [15:31:52.092133, el, 6537] lib.cc; on_unload 1: [15:31:52.092905, wr, 6527, ppid: 6526] Process wait request: done. [pid: 6537] 1: [15:31:52.092956, wr, 6527, ppid: 6526] gRPC call requested: supervise::Interceptor::Register 1: [15:31:52.095369, wr, 6527, ppid: 6526] gRPC call [Register] finished: true 1: [15:31:52.355711, wr, 6527, ppid: 6526] succeeded with: 0 1: [15:31:52.355940, el, 6527] lib.cc; on_unload 1: [15:31:52.364264, el, 6549] lib.cc; execve path: /usr/bin/sleep 1: [15:31:52.508805, el, 6549] lib.cc; on_load 1: [15:31:52.510137, wr, 6549, ppid: 6526] wrapper: 3.1.2 1: [15:31:52.510387, wr, 6549, ppid: 6526] arguments: ["/build/bear/src/build/stage/lib/bear/wrapper", "--destination", "dns:///localhost:40173", "--verbose", "--execute", "/usr/bin/sleep", "--", "/usr/bin/sleep", "5"] 1: [15:31:52.510680, wr, 6549, ppid: 6526] environment: ["INTERCEPT_REPORT_DESTINATION=dns:///localhost:40173", "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=1687331444", "CXX=/usr/bin/c++", "TEMPDIR=/tmp/lit-tmp-r4hbrhzk", "LD_PRELOAD=/build/bear/src/build/stage/lib/bear/libexec.so", "LIBTOOL=/usr/bin/libtool", "FALSE=/usr/bin/false", "TMPDIR=/tmp/lit-tmp-r4hbrhzk", "INTERCEPT_REPORT_COMMAND=/build/bear/src/build/stage/lib/bear/wrapper", "TERM=tmux-256color", "INTERCEPT_VERBOSE=true", "TEMP=/tmp/lit-tmp-r4hbrhzk", "SHLVL=0", "LC_CTYPE=en_US.UTF-8", "TMP=/tmp/lit-tmp-r4hbrhzk", "PATH=/build/bear/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: [15:31:52.510961, wr, 6549, ppid: 6526] arguments parsed: {program: /build/bear/src/build/stage/lib/bear/wrapper, arguments: [{--: [/usr/bin/sleep, 5]}, {--destination: [dns:///localhost:40173]}, {--execute: [/usr/bin/sleep]}, {--verbose: []}]} 1: [15:31:52.513365, el, 6526] lib.cc; on_unload 1: [15:31:52.514808, wr, 6515, ppid: 6503] Process wait request: done. [pid: 6526] 1: [15:31:52.514880, wr, 6515, ppid: 6503] gRPC call requested: supervise::Interceptor::Register 1: [15:31:52.517477, wr, 6515, ppid: 6503] gRPC call [Register] finished: true 1: [15:31:52.776926, wr, 6515, ppid: 6503] succeeded with: 143 1: [15:31:52.777152, el, 6515] lib.cc; on_unload 1: [15:31:52.783048, br, 6503] Process wait request: done. [pid: 6515] 1: [15:31:52.783206, br, 6503] Running command. [Exited with 143] 1: [15:31:52.783246, br, 6503] Stopping gRPC server. 1: [15:31:53.042692, br, 6503] succeeded with: 143 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 2 1: 1: error: command failed with exit status: 1 1: 1: -- 1: 1: ******************** 1: PASS: bear :: cases/intercept/wrapper/build_stderr_captured.sh (90 of 100) 1: PASS: bear :: cases/intercept/wrapper/build_stdout_captured.sh (91 of 100) 1: PASS: bear :: cases/intercept/preload/signal_inside_build.sh (92 of 100) 1: PASS: bear :: cases/intercept/wrapper/shell_commands_intercepted.sh (93 of 100) 1: PASS: bear :: cases/intercept/wrapper/shell_commands_basename_compiler.sh (94 of 100) 1: XFAIL: bear :: cases/intercept/wrapper/shell_commands_with_empty_env.sh (95 of 100) 1: PASS: bear :: cases/intercept/wrapper/shell_commands_intercepted_without_shebang.sh (96 of 100) 1: PASS: bear :: cases/intercept/wrapper/shell_fail_commands_intercepted.sh (97 of 100) 1: PASS: bear :: cases/intercept/wrapper/shell_commands_parallel_intercepted.sh (98 of 100) 1: PASS: bear :: cases/intercept/wrapper/libtool_commands_captured.sh (99 of 100) 1: PASS: bear :: cases/intercept/wrapper/use_cc_env_to_select_compiler.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: 71.15s 1: Unsupported : 7 1: Passed : 66 1: Expectedly Failed: 6 1: Failed : 21 1/1 Test #1: bear::func_test ..................***Failed 72.47 sec 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 72.53 sec The following tests FAILED: 1 - bear::func_test (Failed) Errors while running CTest Output from these tests are in: /build/bear/src/build/subprojects/Build/BearTest/Testing/Temporary/LastTest.log Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. make[2]: *** [CMakeFiles/BearTest.dir/build.make:122: subprojects/Stamp/BearTest/BearTest-test] Error 8 make[1]: *** [CMakeFiles/Makefile2:219: CMakeFiles/BearTest.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root3/build receiving incremental file list bear-3.1.2-1-riscv64-build.log bear-3.1.2-1-riscv64-pkgver.log bear-3.1.2-1-riscv64-prepare.log sent 81 bytes received 62,637 bytes 125,436.00 bytes/sec total size is 724,512 speedup is 11.55