bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29368: Unreliable failing tests / segfaulting guile


From: Ludovic Courtès
Subject: bug#29368: Unreliable failing tests / segfaulting guile
Date: Mon, 20 Nov 2017 23:00:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

Martin Castillo <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]