all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Martin Castillo <castilma@uni-bremen.de>
Cc: 29368@debbugs.gnu.org
Subject: bug#29368: Unreliable failing tests / segfaulting guile
Date: Mon, 20 Nov 2017 23:00:10 +0100	[thread overview]
Message-ID: <87k1ykzk45.fsf@gnu.org> (raw)
In-Reply-To: <db869e1e-4657-8a80-9d5a-9a96a63718ff@uni-bremen.de> (Martin Castillo's message of "Mon, 20 Nov 2017 22:03:52 +0100")

Hello,

Martin Castillo <castilma@uni-bremen.de> skribis:

> test-name: derivation-prerequisites-to-build when outputs already present
> location: /home/mcd/guix/tests/derivations.scm:790
> source:
> + (test-assert
> +   "derivation-prerequisites-to-build when outputs already present"
> +   (let* ((builder '(begin (mkdir %output) #t))
> +          (input-drv
> +            (build-expression->derivation
> +              %store
> +              "input"
> +              builder))
> +          (input-path
> +            (derivation-output-path
> +              (assoc-ref (derivation-outputs input-drv) "out")))
> +          (drv (build-expression->derivation
> +                 %store
> +                 "something"
> +                 builder
> +                 #:inputs
> +                 `(("i" ,input-drv))))
> +          (output (derivation->output-path drv)))
> +     (when (valid-path? %store input-path)
> +           (delete-paths %store (list input-path)))
> +     (when (valid-path? %store output)
> +           (delete-paths %store (list output)))
> +     (and (equal?
> +            (map derivation-input-path
> +                 (derivation-prerequisites-to-build %store drv))
> +            (list (derivation-file-name input-drv)))
> +          (build-derivations %store (list drv))
> +          (delete-paths %store (list input-path))
> +          (not (valid-path? %store input-path))
> +          (null? (derivation-prerequisites-to-build %store drv)))))
> finding garbage collector roots...
> actual-value: #f
> actual-error:
> + (srfi-34
> +   #<condition &nix-protocol-error [message: "program `/home/mcd/guix/nix/scripts/list-runtime-roots' failed with exit code 1" status: 1] 380d4b0>)
> result: FAIL

It’s seems to be the Guile running ‘list-runtime-roots’ that’s
segfaulting.  Could you try running it manually to see what happens?
(The expected behavior is to write a list of store file names on
standard output.)

TIA,
Ludo’.

  reply	other threads:[~2017-11-20 22:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-20 21:03 bug#29368: Unreliable failing tests / segfaulting guile Martin Castillo
2017-11-20 22:00 ` Ludovic Courtès [this message]
2017-11-22  1:43   ` Martin Castillo
2017-11-24 17:02   ` Ludovic Courtès
2017-11-26 13:06     ` Martin Castillo
2017-11-26 14:59       ` 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=87k1ykzk45.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=29368@debbugs.gnu.org \
    --cc=castilma@uni-bremen.de \
    /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.