bug#41625: [PATCH v2] offload: Handle a possible EOF response from read-repl-response.

2021-05-29 Thread Ludovic Courtès
Hi Maxim, Maxim Cournoyer skribis: > My previous strace output didn't follow the 'clone' syscall; the one > attached does. It's compressed with lzip. --8<---cut here---start->8--- 11457 sendto(3, "<86>May 27 19:03:45 sshd[11457]: pam_unix(sshd:session):

bug#41625: [PATCH v2] offload: Handle a possible EOF response from read-repl-response.

2021-05-27 Thread Maxim Cournoyer
Hello again, My previous strace output didn't follow the 'clone' syscall; the one attached does. It's compressed with lzip. sshd-strace.out.lz Description: Binary data Thanks! Maxim

bug#41625: [PATCH v2] offload: Handle a possible EOF response from read-repl-response.

2021-05-27 Thread Maxim Cournoyer
Hi Marius, Marius Bakke writes: > Maxim Cournoyer skriver: > >>> Is running ‘guix offload test /etc/guix/machines.scm overdrive1’ on >>> berlin enough to reproduce the issue? If so, we could monitor/strace >>> sshd on overdrive1 to get a better understanding of what’s going on. >> >> It's

bug#41625: [PATCH v2] offload: Handle a possible EOF response from read-repl-response.

2021-05-27 Thread Maxim Cournoyer
Hi Ludovic, Ludovic Courtès writes: [...] > I see. So I’d say it’s a prerequisite (a patch that must come before) > but not entirely the same thing. I’m nitpicking! Eh, it's okay :-). Splitting changes into the right unit is a problem that is akin to naming things; it's hard! I welcome

bug#41625: [PATCH v2] offload: Handle a possible EOF response from read-repl-response.

2021-05-26 Thread Marius Bakke
Maxim Cournoyer skriver: >> Is running ‘guix offload test /etc/guix/machines.scm overdrive1’ on >> berlin enough to reproduce the issue? If so, we could monitor/strace >> sshd on overdrive1 to get a better understanding of what’s going on. > > It's actually difficult to trigger it; it seems to

bug#41625: [PATCH v2] offload: Handle a possible EOF response from read-repl-response.

2021-05-26 Thread Ludovic Courtès
Hi, Maxim Cournoyer skribis: >>> +(info (G_ "Testing ~a build machines defined in '~a'...~%") >>>(length machines) machine-file) >>> -(let* ((names(map build-machine-name machines)) >>> - (sockets (map build-machine-daemon-socket machines)) >>> -

bug#41625: [PATCH v2] offload: Handle a possible EOF response from read-repl-response.

2021-05-25 Thread Maxim Cournoyer
Hi Ludovic, Ludovic Courtès writes: [...] >> (define* (read-repl-response port #:optional inferior) >>"Read a (guix repl) response from PORT and return it as a Scheme object. >> Raise '' when an exception is read from PORT." >> @@ -241,6 +246,10 @@ Raise '' when an exception is read >>