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

Full log


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

From: Simon Josefsson <simon <at> josefsson.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: guix-devel <at> gnu.org, 77132 <at> debbugs.gnu.org
Subject: Re: Shepherd: flaky self tests
Date: Thu, 03 Jul 2025 21:14:16 +0200
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:

>> I've often seen failure in the 'log-rotation.sh' self-tests on my own
>> system (see attachment for log),
>
> It fails while checking the number of remaining open file descriptors:
>
> + herd -s t-socket-3705122 stop three
> ++ file_descriptor_count
> ++ ls -l /proc/3705350/fd/0 /proc/3705350/fd/1 /proc/3705350/fd/10 /proc/3705350/fd/11 /proc/3705350/fd/12 /proc/3705350/fd/13 /proc/3705350/fd/14 /proc/3705350/fd/16 /proc/3705350/fd/17 /proc/3705350/fd/18 /proc/3705350/fd/19 /proc/3705350/fd/2 /proc/3705350/fd/20 /proc/3705350/fd/21 /proc/3705350/fd/22 /proc/3705350/fd/3 /proc/3705350/fd/4 /proc/3705350/fd/5 /proc/3705350/fd/6 /proc/3705350/fd/7 /proc/3705350/fd/8 /proc/3705350/fd/9
> ++ wc -l
> + test 22 -le 18
>
> This is the same as <https://issues.guix.gnu.org/77132>.
>
> Could you instrument it as I suggested there?

I'm still seeing this with 1.0.5 which has been uploaded to Debian.  It
is not flaky now, happens every invocation when building on my Trisquel
laptop, even in a simple git checkout v1.0.5 + autoreconf -fvi +
configure + make check.

Below is the "ls" output as suggested in 77132.  Does it help?

/Simon

+ ls -l /proc/1588045/fd/0 /proc/1588045/fd/1 /proc/1588045/fd/10 /proc/1588045/fd/11 /proc/1588045/fd/12 /proc/1588045/fd/13 /proc/1588045/fd/14 /proc/1588045/fd/15 /proc/1588045/fd/16 /proc/1588045/fd/17 /proc/1588045/fd/18 /proc/1588045/fd/2 /proc/1588045/fd/20 /proc/1588045/fd/21 /proc/1588045/fd/22 /proc/1588045/fd/23 /proc/1588045/fd/24 /proc/1588045/fd/25 /proc/1588045/fd/26 /proc/1588045/fd/3 /proc/1588045/fd/4 /proc/1588045/fd/5 /proc/1588045/fd/6 /proc/1588045/fd/7 /proc/1588045/fd/8 /proc/1588045/fd/9
lr-x------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/0 -> /dev/null
lrwx------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/1 -> /dev/pts/4
lrwx------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/10 -> 'anon_inode:[signalfd]'
l-wx------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/11 -> 'pipe:[338411]'
lrwx------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/12 -> 'anon_inode:[eventpoll]'
l-wx------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/13 -> /home/jas/src/shepherd/t-log-1586685
lr-x------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/14 -> 'pipe:[338412]'
l-wx------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/15 -> 'pipe:[338412]'
lr-x------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/16 -> 'pipe:[337388]'
l-wx------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/17 -> 'pipe:[337388]'
l-wx------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/18 -> /home/jas/src/shepherd/t-service-log1-1586685
lrwx------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/2 -> /dev/pts/4
lr-x------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/20 -> 'pipe:[311028]'
l-wx------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/21 -> /home/jas/src/shepherd/t-service-log2-1586685
lr-x------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/22 -> 'pipe:[339993]'
lr-x------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/23 -> 'pipe:[339124]'
l-wx------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/24 -> 'pipe:[339993]'
lr-x------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/25 -> 'pipe:[329999]'
l-wx------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/26 -> 'pipe:[329999]'
lr-x------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/3 -> 'pipe:[337387]'
l-wx------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/4 -> 'pipe:[337387]'
lr-x------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/5 -> /home/jas/src/shepherd/shepherd
lr-x------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/6 -> 'pipe:[338409]'
l-wx------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/7 -> 'pipe:[338409]'
lrwx------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/8 -> 'socket:[338410]'
lr-x------ 1 jas jas 64  3 jul 21.12 /proc/1588045/fd/9 -> 'pipe:[338411]'
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 29 days ago.

Previous Next


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