Builder occasionally ignores SIGPIPE
One issue that keeps occurring occasionally (mostly also in relation to the BusyBox test suite) is that the builder somehow ignores the SIGPIPE signal. Thereby causing processes which are intended to terminate when receiving this signal to never terminate. We already tracked down a bug in this regard in mqtt-exec. However, it seems there is also an additional process in the builder process hierarchy which (occasionally?) ignores SIGPIPE.
The original bug in mqtt-exec can be found here: https://github.com/ncopa/mqtt-exec/pull/7
The process hierachy on the builder is:
9634 buildozer 20 0 1640 80 0 S 0.0 0.0 0:00.00 │ ├─ /bin/sh /usr/bin/aports-build git/aports/master {"gitlab":true,"head":"d313805648ea8118f12406ba56c69c63d5fca72f","user":"ncopa","ref":"refs\/heads\/master","size":
SigIgn: 0000000000000000
9636 buildozer 20 0 17500 15164 1832 S 0.0 0.0 0:00.39 │ │ └─ /usr/bin/lua5.2 /usr/bin/buildrepo -k -s -p -l /var/cache/distfiles/buildlogs/build-3-16-x86_64 main
SigIgn: 0000000000001006
30463 buildozer 20 0 2164 1736 1120 S 0.0 0.0 0:00.20 │ │ └─ /bin/ash -e /usr/bin/abuild -r -m
SigIgn: 0000000000001004
43232 buildozer 20 0 1184 920 664 S 0.0 0.0 0:00.00 │ │ └─ make -C /home/buildozer/aports/main/busybox/src/busybox-1.35.0 O=/home/buildozer/aports/main/busybox/src/build-dynamic V=1 check
43234 buildozer 20 0 2660 2316 704 S 0.0 0.0 0:00.10 │ │ └─ make -C /home/buildozer/aports/main/busybox/src/build-dynamic KBUILD_SRC=/home/buildozer/aports/main/busybox/src/busybox-1.35.0 KBUILD_EXTMOD= -f /home
47100 buildozer 20 0 1684 1244 1092 S 0.0 0.0 0:00.34 │ │ └─ /bin/sh /home/buildozer/aports/main/busybox/src/busybox-1.35.0/testsuite/runtest -v
50822 buildozer 20 0 1716 1112 948 S 0.0 0.0 0:00.00 │ │ └─ /bin/sh /home/buildozer/aports/main/busybox/src/build-dynamic/testsuite/md5sum.tests
50823 buildozer 20 0 1700 152 0 S 0.0 0.0 0:00.00 │ │ └─ /bin/sh /home/buildozer/aports/main/busybox/src/build-dynamic/testsuite/md5sum.tests
SigIgn: 0000000000001004
50824 buildozer 20 0 1608 16 0 R 100. 0.0 13h16:29 │ │ └─ yes The quick brown fox jumps over the lazy dog