GNU bug report logs - #77132
Shepherd 1.0.3 build failure on powerpc-linux

Previous Next

Package: guix;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Thu, 20 Mar 2025 11:03:01 UTC

Severity: normal

To reply to this bug, email your comments to 77132 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to ludo <at> gnu.org, bug-guix <at> gnu.org:
bug#77132; Package guix. (Thu, 20 Mar 2025 11:03:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Efraim Flashner <efraim <at> flashner.co.il>:
New bug report received and forwarded. Copy sent to ludo <at> gnu.org, bug-guix <at> gnu.org. (Thu, 20 Mar 2025 11:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: bug-guix <at> gnu.org
Subject: Shepherd 1.0.3 build failure on powerpc-linux
Date: Thu, 20 Mar 2025 13:02:18 +0200
[Message part 1 (text/plain, inline)]
I got a test failure on powerpc-linux in tests/services/log-rotation.sh.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[shepherd-ppc-1.0.3.log.gz (application/x-gunzip, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#77132; Package guix. (Sun, 13 Apr 2025 20:45:01 GMT) Full text and rfc822 format available.

Message #8 received at 77132 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 77132 <at> debbugs.gnu.org
Subject: Re: bug#77132: Shepherd 1.0.3 build failure on powerpc-linux
Date: Sun, 13 Apr 2025 22:44:01 +0200
[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 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.