Hi,

Simon Josefsson via "Development of GNU Guix and the GNU System distribution." 
<guix-devel@gnu.org> writes:

> It seems some of them (or the test harness) is flaky.

Yeah, I worked on it before 1.0.3, but it seems we’re not done yet.

> 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:

--8<---------------cut here---------------start------------->8---
+ 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
--8<---------------cut here---------------end--------------->8---

This is the same as <https://issues.guix.gnu.org/77132>.

Could you instrument it as I suggested there?

> but now the Debian i386 build failed 'close-on-exec.sh':
>
> https://salsa.debian.org/debian/shepherd/-/jobs/7448629

Similar issue:

--8<---------------cut here---------------start------------->8---
+ herd -s t-socket-7746 start systemd-ctor
Service systemd-ctor has been started.
+ connect_to_server 5556
+ rm -f /builds/debian/shepherd/debian/output/source_dir/t-fd-count-7746
+ guile -c '(use-modules (ice-9 match))
      (define IN6ADDR_LOOPBACK 1)
      (define address (make-socket-address AF_INET INADDR_LOOPBACK 5556))
      (define sock (socket (sockaddr:fam address) SOCK_STREAM 0))
      (connect sock address)'
+ test -s /builds/debian/shepherd/debian/output/source_dir/t-fd-count-7746
+ sleep 0.3
+ test -s /builds/debian/shepherd/debian/output/source_dir/t-fd-count-7746
++ cat /builds/debian/shepherd/debian/output/source_dir/t-fd-count-7746
+ test 7 -eq 6
--8<---------------cut here---------------end--------------->8---

Thanks,
Ludo’.

Reply via email to