[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40981: Graphical installer tests sometimes hang.
From: |
Ludovic Courtès |
Subject: |
bug#40981: Graphical installer tests sometimes hang. |
Date: |
Tue, 05 May 2020 12:00:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi!
Mathieu Othacehe <address@hidden> skribis:
>> I'll keep looking!
>
> Ok, getting closer. Here's a suspect part of Shepherd strace log:
>
> [pid 1] stat("/etc/localtime", {st_mode=S_IFREG|0444, st_size=2298, ...})
> = 0
> [pid 1] write(9, "shepherd[1]: changing HTTP/HTTPS"..., 86) = 86
> [pid 1] getpgid(194) = 194
> [pid 1] kill(-194, SIGTERM) = 0
>
>
> I think the problem is introduced by commit
> 1e7a91d21f1cc5d02697680e19e3878ff8565710 in Shepherd.
OK, but the trace above is “as expected”, isn’t it?
> "(getpgid <guix-daemon-pid>") returns 0, and calling "(kill 0 SIGTERM)"
> kills all processes.
What made you think of this scenario?
I don’t think getpgid(2) can return 0. Or am I missing something?
Since guix-dameon doesn’t actually daemonize, getpgid(pid) = pid.
Running this (in a VM) works fine:
while herd set-http-proxy guix-daemon foo ; do : ; done
Thanks for debugging!
Ludo’.
- bug#40981: Graphical installer tests sometimes hang., Mathieu Othacehe, 2020/05/04
- bug#40981: Graphical installer tests sometimes hang., Mathieu Othacehe, 2020/05/04
- bug#40981: Graphical installer tests sometimes hang.,
Ludovic Courtès <=
- bug#40981: Graphical installer tests sometimes hang., Mathieu Othacehe, 2020/05/05
- bug#40981: Graphical installer tests sometimes hang., Mathieu Othacehe, 2020/05/06
- bug#40981: Graphical installer tests sometimes hang., Mathieu Othacehe, 2020/05/07
- bug#40981: Graphical installer tests sometimes hang., Ludovic Courtès, 2020/05/10
- bug#40981: Graphical installer tests sometimes hang., Mathieu Othacehe, 2020/05/10
- bug#40981: Graphical installer tests sometimes hang., Ludovic Courtès, 2020/05/11