unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: guix-devel@gnu.org
Subject: Re: Hydra status
Date: Tue, 22 Apr 2014 11:03:40 +0200	[thread overview]
Message-ID: <874n1l20sz.fsf@gnu.org> (raw)
In-Reply-To: <87mwfqyzas.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 13 Apr 2014 00:10:19 +0200")

ludo@gnu.org (Ludovic Courtès) skribis:

> ludo@gnu.org (Ludovic Courtès) skribis:
>
>> Going to http://hydra.gnu.org/build/49569/ shows that the texlive builds
>> were actually aborted.  The “Nix error output” box shows this:
>>
>> offloading '/gnu/store/j0b550qfqaffffc1w550v0zq2nlb0sqc-texlive-2013.drv' to 'hydra.gnunet.org'...
>> @ build-remote /gnu/store/j0b550qfqaffffc1w550v0zq2nlb0sqc-texlive-2013.drv hydra.gnunet.org
>> retrieving 2 files from 'hydra.gnunet.org'...
>> Backtrace:
>> In ice-9/boot-9.scm:
>> 2401: 19 [save-module-excursion #<procedure 1acc980 at ice-9/boot-9.scm:4045:3 ()>]
>> 4050: 18 [#<procedure 1acc980 at ice-9/boot-9.scm:4045:3 ()>]
>> 1724: 17 [%start-stack load-stack ...]
>> 1729: 16 [#<procedure 1ad85d0 ()>]
>> In unknown file:
>>    ?: 15 [primitive-load "/usr/local/bin/guix"]
>> In guix/ui.scm:
>>  597: 14 [run-guix-command offload "x86_64-linux" "3600" "1" "72000"]
>> In guix/scripts/offload.scm:
>>  686: 13 [guix-offload "x86_64-linux" "3600" "1" "72000"]
>> In ice-9/boot-9.scm:
>>  157: 12 [catch srfi-34 ...]
>> In guix/scripts/offload.scm:
>>  413: 11 [transfer-and-offload # # # ...]
>>  488: 10 [retrieve-files # #]
>> In ice-9/boot-9.scm:
>>  157: 9 [catch srfi-34 ...]
>> In guix/scripts/offload.scm:
>>  497: 8 [#<procedure 262b660 at guix/scripts/offload.scm:488:11 ()>]
>> In guix/utils.scm:
>>  240: 7 [call-with-decompressed-port xz #<closed: file 0> ...]
>> In guix/nar.scm:
>>  426: 6 [loop 1 ()]
>>  256: 5 [restore "/gnu/store/guix-8uVCz3"]
>>  256: 4 [restore "/gnu/store/guix-8uVCz3/texmf-dist"]
>>  256: 3 [restore "/gnu/store/guix-8uVCz3/texmf-dist/doc"]
>>  256: 2 [restore "/gnu/store/guix-8uVCz3/texmf-dist/doc/generic"]
>>  248: 1 [restore "/gnu/store/guix-8uVCz3/texmf-dist/doc/generic/babel-swedish"]
>> In unknown file:
>>    ?: 0 [mkdir "/gnu/store/guix-8uVCz3/texmf-dist/doc/generic/babel-swedish" ...]
>>
>> ERROR: In procedure mkdir:
>> ERROR: In procedure mkdir: No such file or directory
>> lsh: io.c: write failed (errno = 32): Broken pipe
>> lsh: channel.c: stdout: I/O error, Broken pipe
>> lsh: Ignoring data on channel which is closing
>> builder for `/gnu/store/j0b550qfqaffffc1w550v0zq2nlb0sqc-texlive-2013.drv' failed with exit code 1
>> @ hook-failed /gnu/store/j0b550qfqaffffc1w550v0zq2nlb0sqc-texlive-2013.drv - 256 builder for `/gnu/store/j0b550qfqaffffc1w550v0zq2nlb0sqc-texlive-2013.drv' failed with exit code 1
>> error: build of `/gnu/store/j0b550qfqaffffc1w550v0zq2nlb0sqc-texlive-2013.drv' failed
>>
>> So the problem occurred while retrieving and restoring the build result
>> (the log shows just these two lines because apparently, the result was
>> already available on the build machine hydra.gnunet.org–which is no
>> surprise given that /gnu is 1.5T on that machine, vs. 400G on
>> hydra.gnu.org.)
>>
>> The ‘mkdir’ error here suggests that the temporary place were we are
>> restoring, /gnu/store/guix-8uVCz3, has been removed right in the middle
>> of the process by the GC.
>>
>> I believe this is fixed by 9132b9b.
>
> Actually no (I’ve seen other occurrences of that in the meantime.)
>
> 9132b9b had a thinko, which is (hopefully!) fixed by 6071b55.  I’ve just
> installed it on hydra.gnu.org.

There was another problem with that “fix”, namely that the daemon
ignores normal GC roots pointing to “abnormal” store files like
/gnu/store/guix-8uVCz3.

This led to the (now abandoned) proposal at
<https://lists.gnu.org/archive/html/guix-devel/2014-04/msg00198.html>.
I finally came up with a simpler solution in commit 50db7d8: a
connection to the daemon is opened for the sake of holding a per-process
GC root to that temporary store file.

Ludo’.

      reply	other threads:[~2014-04-22  9:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-08 20:34 Hydra status Ludovic Courtès
2014-04-09  7:33 ` Andreas Enge
2014-04-09 20:35   ` Ludovic Courtès
2014-04-10  9:08     ` Andreas Enge
2014-04-09  7:38 ` Andreas Enge
2014-04-09 19:07   ` Andreas Enge
2014-04-09 21:08     ` Ludovic Courtès
2014-04-10  9:45       ` Andreas Enge
2014-04-10 19:56         ` Andreas Enge
2014-04-11  9:16           ` Ludovic Courtès
2014-04-14  6:48         ` Ludovic Courtès
2014-04-12 22:10       ` Ludovic Courtès
2014-04-22  9:03         ` Ludovic Courtès [this message]

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874n1l20sz.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=andreas@enge.fr \
    --cc=guix-devel@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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).