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: Fri, 24 Nov 2017 18:02:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hi,

address@hidden (Ludovic Courtès) skribis:

> 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.

Actually it didn’t segfault: it exited normally, but with exit code 1.
That shouldn’t happen.

Does “make check -j3” or so still trigger the problem?  If so, could you
try collecting more details with:

  strace -f -o log -s 234 make check -j3

?

TIA,
Ludo’.





reply via email to

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