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 #35 received at 77132 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Simon Josefsson <simon <at> josefsson.org>
Cc: 77132 <at> debbugs.gnu.org
Subject: Re: Shepherd: flaky self tests
Date: Fri, 11 Jul 2025 11:51:35 +0200
Simon Josefsson <simon <at> josefsson.org> writes:

> Ludovic Courtès <ludo <at> gnu.org> writes:
>
>> Also, I wonder if the problem could be a race condition, which would be
>> fixed like this:
>>
>> diff --git a/tests/services/log-rotation.sh b/tests/services/log-rotation.sh
>> index 375f563..178bb49 100644
>> --- a/tests/services/log-rotation.sh
>> +++ b/tests/services/log-rotation.sh
>> @@ -182,6 +182,6 @@ $herd trigger log-rotation
>>  until test -f "$service_log3.2.gz"; do sleep 0.2; done
>>  $herd status three
>>  $herd stop three
>> -test $(file_descriptor_count) -le $initial_fd_count
>> +until test $(file_descriptor_count) -le $initial_fd_count; do sleep 0.3; done
>>  
>>  $herd stop log-rotation
>>
>>
>> Could you also give that a try?
>
> That just infloops and times out after 3 minutes...

So it’s not a timing issue…  The 3 extra file descriptors we see are
pipes, which may have been created by Fibers, but finding out why/where
they were created is going to be tedious; we’ll need at least an strace
of the ‘shepherd’ process to get some clues.

Thanks for testing this!

Ludo’.




This bug report was last modified 28 days ago.

Previous Next


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