Subject: bug#23836: bae0636 bournish: Add 'wc' command. make check FAIL: 9

From: myglc2 <[email-masked]>
Date: Fri, 24 Jun 2016 09:09:52 -0400

[email-masked] (Ludovic Courtès) writes:

> Hello,
>
> myglc2 <[email-masked]> skribis:
>
>> Running Guix on Debian 8.3 from git bae0636 bournish: Add 'wc' command.
>
>> test-name: query narinfo without signature
>> location: /home/g1/dev/guix/tests/substitute.scm:173
>> source:
>> + (test-equal
>> +   "query narinfo without signature"
>> +   ""
>> +   (with-narinfo
>> +     %narinfo
>> +     (string-trim-both
>> +       (with-output-to-string
>> +         (lambda ()
>> +           (with-input-from-string
>> +             (string-append
>> +               "have "
>> +               (%store-prefix)
>> +               "/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-foo")
>> +             (lambda () (guix-substitute "--query"))))))))
>> expected-value: 
>> actual-value: #f
>> actual-error:
>> + (system-error
>> +   "lstat"
>> +   "~A: ~S"
>> +   ("No such file or directory"
>> +    "/home/g1/dev/guix/test-tmp/var/24621/cache-24621/guix/substitute/")
>> +   (2))
>> result: FAIL
>
> This is fishy.  Could it be that files in this directory were being
> accessed or removed concurrently?

Maybe because I ran make with 5 jobs ...

[guix env] g1@e3b:~/dev/guix$ make -j5

Was that a bad idea?

>
> Could you retry these tests with:
>
>   make check TESTS=tests/substitute.scm

please see below :-)

g1@e3b:~/dev/guix$ guix environment guix
;;; note: source file /home/g1/.config/guix/latest/gnu/packages/screen.scm
;;;       newer than compiled /home/g1/.config/guix/latest/gnu/packages/screen.go
;;; found fresh local cache at /home/g1/.cache/guile/ccache/2.0-LE-8-2.0/home/g1/dev/guix/gnu/packages/screen.scm.go
substitute: warning: failed to install locale: Invalid argument
[guix env] g1@e3b:~/dev/guix$ make check TESTS=tests/substitute.scm
make  check-recursive
make[1]: Entering directory '/home/g1/dev/guix'
Making check in po/guix
make[2]: Entering directory '/home/g1/dev/guix/po/guix'
make[2]: Leaving directory '/home/g1/dev/guix/po/guix'
Making check in po/packages
make[2]: Entering directory '/home/g1/dev/guix/po/packages'
make[2]: Leaving directory '/home/g1/dev/guix/po/packages'
make[2]: Entering directory '/home/g1/dev/guix'
Compiling Scheme modules...
  LOAD     (gnu packages screen)
;;; note: source file ./gnu/packages/screen.scm
;;;       newer than compiled /home/g1/dev/guix/gnu/packages/screen.go
;;; found fresh local cache at /home/g1/.cache/guile/ccache/2.0-LE-8-2.0/home/g1/dev/guix/gnu/packages/screen.scm.go
  GUILEC   gnu/packages/screen.go
make  check-TESTS check-local
make[3]: Entering directory '/home/g1/dev/guix'
make[4]: Entering directory '/home/g1/dev/guix'
FAIL: tests/substitute.scm
============================================================================
Testsuite summary for GNU Guix 0.10.0
============================================================================
# TOTAL: 11
# PASS:  3
# SKIP:  0
# XFAIL: 0
# FAIL:  8
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to [email-masked]
============================================================================
Makefile:4097: recipe for target 'test-suite.log' failed
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory '/home/g1/dev/guix'
Makefile:4203: recipe for target 'check-TESTS' failed
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory '/home/g1/dev/guix'
Makefile:4446: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/home/g1/dev/guix'
Makefile:3983: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/home/g1/dev/guix'
Makefile:4448: recipe for target 'check' failed
make: *** [check] Error 2
[guix env] g1@e3b:~/dev/guix$

Thanks! - George