GNU bug report logs -
#77132
Shepherd 1.0.3 build failure on powerpc-linux
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hey Efraim,
Efraim Flashner <efraim <at> flashner.co.il> skribis:
> I got a test failure on powerpc-linux in tests/services/log-rotation.sh.
The failure looks like this:
--8<---------------cut here---------------start------------->8---
+ herd -s t-socket-5219 stop three
++ file_descriptor_count
++ ls -l /proc/5229/fd/0 /proc/5229/fd/1 /proc/5229/fd/10 /proc/5229/fd/11 /proc/5229/fd/12 /proc/5229/fd/13 /proc/5229/fd/14 /proc/5229/fd/15 /proc/5229/fd/16 /proc/5229/fd/17 /proc/5229/fd/18 /proc/5229/fd/19 /proc/5229/fd/2 /proc/5229/fd/21 /proc/5229/fd/22 /proc/5229/fd/23 /proc/5229/fd/24 /proc/5229/fd/25 /proc/5229/fd/26 /proc/5229/fd/3 /proc/5229/fd/4 /proc/5229/fd/5 /proc/5229/fd/6 /proc/5229/fd/7 /proc/5229/fd/8 /proc/5229/fd/9
++ wc -l
+ test 26 -le 22
--8<---------------cut here---------------end--------------->8---
No idea what could be causing this. It would be great if you could see
if this is reproducible, for instance by running:
while make check TESTS=tests/service/log-rotation.sh ; do : ; done
from the failed build tree.
If it is, you could also try with this patch, to get more info:
[Message part 2 (text/x-patch, inline)]
diff --git a/tests/services/log-rotation.sh b/tests/services/log-rotation.sh
index b168aa7..f1a962d 100644
--- a/tests/services/log-rotation.sh
+++ b/tests/services/log-rotation.sh
@@ -96,6 +96,7 @@ shepherd_pid="$(cat "$pid")"
file_descriptor_count ()
{
+ ls -l /proc/$shepherd_pid/fd/[0-9]*
ls -l /proc/$shepherd_pid/fd/[0-9]* | wc -l
}
[Message part 3 (text/plain, inline)]
Thanks for the bug report. :-)
Ludo’.
This bug report was last modified 60 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.