Subject: bug#34945: Guix repository `make check` failing tests

From: mikadoZero <[email-masked]>
Date: Wed, 27 Mar 2019 07:23:57 -0400

`git show 9c2e58564f3c8b53ce86d5791e3ea5818e1a4fd6` shows that I have
that commit.

When I run `make check -j3 TESTS="tests/scripts.scm tests/pack.scm"`
test/pack is still failing.

Attached is the "test-suite.log".

Ludovic Courtès writes:

> Hello,
>
> mikadoZero <[email-masked]> skribis:
>
>> FAIL: tests/scripts
>> ===================
>>
>> test-name: parse-command-line
>> location: /home/guix/u/guix/guix/tests/scripts.scm:31
>> source:
>> + (test-equal
>> +   "parse-command-line"
>> +   '((argument . "bar")
>> +     (argument . "foo")
>> +     (cores . 10)
>> +     (substitutes? . #f)
>> +     (keep-failed? . #t)
>> +     (max-jobs . 77)
>> +     (cores . 42))
>> +   (with-environment-variable
>> +     "GUIX_BUILD_OPTIONS"
>> +     "-c 42 -M 77"
>> +     (parse-command-line
>> +       '("--keep-failed"
>> +         "--no-substitutes"
>> +         "--cores=10"
>> +         "foo"
>> +         "bar")
>> +       %standard-build-options
>> +       (list '()))))
>> expected-value: ((argument . "bar") (argument . "foo") (cores . 10) (substitutes? . #f) (keep-failed? . #t) (max-jobs . 77) (cores . 42))
>> actual-value: #f
>> actual-error:
>> + (unbound-variable
>> +   #f
>> +   "Unbound variable: ~S"
>> +   (with-environment-variable)
>> +   #f)
>> result: FAIL
>
> Fixed in 7b7e4e89c8a1a34e166a2755493e48035e8a78ab.
>
>> FAIL: tests/pack
>> ================
>>
>> test-name: self-contained-tarball
>> location: /home/guix/u/guix/guix/tests/pack.scm:58
>> source:
>> + (test-assert
>> +   "self-contained-tarball"
>
> [...]
>
>> ;;; (binlink "/gnu/store/h3jhm791rbhni78wcfx43mpi0k3ddy9j-guile-bootstrap-2.0/bin")
>>
>> ;;; (guilelink "gnu/store/hjnd6yskqkyxb4np3hm0x2q2sakgqkzm-profile/bin")
>> builder for `/gnu/store/0snjjbp96yrgrx0vqyhibkab02iqhzrb-check-tarball.drv' failed to produce output path `/gnu/store/id4yn32jlzpzi60n0szf5ajdi49ha6af-check-tarball'
>> actual-value: #f
>> actual-error:
>> + (srfi-34
>> +   #<condition &store-protocol-error [message: "build of `/gnu/store/0snjjbp96yrgrx0vqyhibkab02iqhzrb-check-tarball.drv' failed" status: 1] 48526c0>)
>> result: FAIL
>
> Fixed in 9c2e58564f3c8b53ce86d5791e3ea5818e1a4fd6.
>
> Thanks,
> Ludo’.