From: Mathieu Othacehe <m.othacehe@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 40981@debbugs.gnu.org
Subject: bug#40981: Graphical installer tests sometimes hang.
Date: Tue, 05 May 2020 12:22:23 +0200 [thread overview]
Message-ID: <875zdael5s.fsf@gmail.com> (raw)
In-Reply-To: <87a72mn1l2.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 05 May 2020 12:00:25 +0200")
[-- Attachment #1: Type: text/plain, Size: 541 bytes --]
Hey!
> OK, but the trace above is “as expected”, isn’t it?
Oh sorry, I pasted the wrong part! Here's the part where getpgid returns
zero and the full log in attachment:
--8<---------------cut here---------------start------------->8---
[pid 1] stat("/etc/localtime", {st_mode=S_IFREG|0444, st_size=2298, ...}) = 0
[pid 1] write(9, "shepherd[1]: clearing HTTP/HTTPS"..., 59) = 59
[pid 1] getpgid(266) = 0
--8<---------------cut here---------------end--------------->8---
Thanks,
Mathieu
[-- Attachment #2: strace.log --]
[-- Type: application/octet-stream, Size: 4974 bytes --]
/gnu/store/9xl2m0qgqcxk4m3qmf957pq6dfpnm5c1-strace-5.5/bin/strace: Process 1 attached with 2 threads
[pid 169] read(10, <unfinished ...>
[pid 1] select(15, [3 14], [], [], {tv_sec=1, tv_usec=768164}) = 0 (Timeout)
[pid 1] wait4(-1, 0x7ffd2b3a79dc, WNOHANG, NULL) = 0
[pid 1] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
[pid 1] select(15, [3 14], [], [], {tv_sec=30, tv_usec=0}) = 1 (in [14], left {tv_sec=25, tv_usec=541389})
[pid 1] accept4(14, {sa_family=AF_UNIX}, [112->2], 0) = 16
[pid 1] read(16, "(shepherd-command (version 0) (a"..., 1024) = 134
[pid 1] getcwd("/", 100) = 2
[pid 1] brk(0x5e9000) = 0x5e9000
[pid 1] brk(0x5e1000) = 0x5e1000
[pid 1] brk(0x5d9000) = 0x5d9000
[pid 1] brk(0x5d1000) = 0x5d1000
[pid 1] chdir("/root") = 0
[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
[pid 1] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=194, si_uid=0, si_status=SIGTERM, si_utime=1, si_stime=2} ---
[pid 1] write(11, "\21", 1 <unfinished ...>
[pid 169] <... read resumed>"\21", 1) = 1
[pid 1] <... write resumed>) = 1
[pid 169] rt_sigprocmask(SIG_BLOCK, NULL, ~[KILL STOP PWR RTMIN RT_1], 8) = 0
[pid 169] read(10, <unfinished ...>
[pid 1] rt_sigreturn({mask=[]}) = 0
[pid 1] stat("/etc/localtime", {st_mode=S_IFREG|0444, st_size=2298, ...}) = 0
[pid 1] write(9, "shepherd[1]: Service guix-daemon"..., 51) = 51
[pid 1] wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGTERM}], WNOHANG, NULL) = 194
[pid 1] wait4(-1, 0x7ffd2b3a779c, WNOHANG, NULL) = 0
[pid 1] getuid() = 0
[pid 1] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fc8094a1e50) = 266
[pid 1] stat("/etc/localtime", {st_mode=S_IFREG|0444, st_size=2298, ...}) = 0
[pid 1] write(9, "shepherd[1]: Service guix-daemon"..., 51) = 51
[pid 1] chdir("/") = 0
[pid 1] write(16, "(reply (version 0) (result (#t))"..., 214) = 214
[pid 1] close(16) = 0
[pid 1] brk(0x5c1000) = 0x5c1000
[pid 1] rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0
[pid 1] select(15, [3 14], [], [], {tv_sec=30, tv_usec=0}) = 1 (in [14], left {tv_sec=29, tv_usec=995886})
[pid 1] accept4(14, {sa_family=AF_UNIX}, [112->2], 0) = 16
[pid 1] read(16, "(shepherd-command (version 0) (a"..., 1024) = 111
[pid 1] getcwd("/", 100) = 2
[pid 1] brk(0x5e9000) = 0x5e9000
[pid 1] brk(0x5e1000) = 0x5e1000
[pid 1] brk(0x5d9000) = 0x5d9000
[pid 1] brk(0x5d1000) = 0x5d1000
[pid 1] chdir("/root") = 0
[pid 1] stat("/etc/localtime", {st_mode=S_IFREG|0444, st_size=2298, ...}) = 0
[pid 1] write(9, "shepherd[1]: clearing HTTP/HTTPS"..., 59) = 59
[pid 1] getpgid(266) = 0
[pid 1] kill(0, SIGTERM) = 0
[pid 1] --- SIGTERM {si_signo=SIGTERM, si_code=SI_USER, si_pid=1, si_uid=0} ---
[pid 1] write(11, "\17", 1 <unfinished ...>
[pid 169] <... read resumed>"\17", 1) = 1
[pid 1] <... write resumed>) = 1
[pid 169] rt_sigprocmask(SIG_BLOCK, NULL, ~[KILL STOP PWR RTMIN RT_1], 8) = 0
[pid 169] read(10, <unfinished ...>
[pid 1] rt_sigreturn({mask=[]}) = 0
[pid 1] stat("/etc/localtime", {st_mode=S_IFREG|0444, st_size=2298, ...}) = 0
[pid 1] write(9, "shepherd[1]: Service guix-daemon"..., 51) = 51
[pid 1] stat("/etc/localtime", {st_mode=S_IFREG|0444, st_size=2298, ...}) = 0
[pid 1] write(9, "shepherd[1]: Exiting shepherd..."..., 33) = 33
[pid 1] getpgid(222) = 222
[pid 1] kill(-222, SIGTERM) = 0
[pid 1] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=0, si_uid=0, si_status=SIGTERM, si_utime=3, si_stime=0} ---
[pid 1] write(11, "\21", 1 <unfinished ...>
[pid 169] <... read resumed>"\21", 1) = 1
[pid 1] <... write resumed>) = 1
[pid 169] rt_sigprocmask(SIG_BLOCK, NULL, ~[KILL STOP PWR RTMIN RT_1], 8) = 0
[pid 169] read(10, <unfinished ...>
[pid 1] rt_sigreturn({mask=[]}) = 0
[pid 1] stat("/etc/localtime", {st_mode=S_IFREG|0444, st_size=2298, ...}) = 0
[pid 1] write(9, "shepherd[1]: Service mcron has b"..., 45) = 45
[pid 1] stat("/etc/localtime", {st_mode=S_IFREG|0444, st_size=2298, ...}) = 0
[pid 1] write(9, "shepherd[1]: Service console-fon"..., 57) = 57
[pid 1] getpgid(203) = 203
[pid 1] kill(-203, SIGTERM) = 0
/gnu/store/9xl2m0qgqcxk4m3qmf957pq6dfpnm5c1-strace-5.5/bin/strace: Process 1 detached
/gnu/store/9xl2m0qgqcxk4m3qmf957pq6dfpnm5c1-strace-5.5/bin/strace: Process 169 detached
next prev parent reply other threads:[~2020-05-05 10:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-30 11:51 bug#40981: Graphical installer tests sometimes hang Mathieu Othacehe
2020-05-04 11:42 ` Mathieu Othacehe
2020-05-04 12:50 ` Mathieu Othacehe
2020-05-05 10:00 ` Ludovic Courtès
2020-05-05 10:22 ` Mathieu Othacehe [this message]
2020-05-06 10:02 ` Mathieu Othacehe
2020-05-07 16:48 ` Mathieu Othacehe
2020-05-10 10:32 ` Ludovic Courtès
2020-05-10 11:19 ` Mathieu Othacehe
2020-05-11 21:09 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875zdael5s.fsf@gmail.com \
--to=m.othacehe@gmail.com \
--cc=40981@debbugs.gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.