unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* master: the tests take ages
@ 2014-03-04 11:35 Nikita Karetnikov
  2014-03-04 16:23 ` Mark H Weaver
  0 siblings, 1 reply; 12+ messages in thread
From: Nikita Karetnikov @ 2014-03-04 11:35 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 151 bytes --]

On master, ‘make check’ hangs after

PASS: tests/base32.scm
PASS: tests/hash.scm
PASS: tests/pk-crypto.scm
PASS: tests/pki.scm

Any clues?

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: master: the tests take ages
  2014-03-04 11:35 master: the tests take ages Nikita Karetnikov
@ 2014-03-04 16:23 ` Mark H Weaver
  2014-03-04 17:14   ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Mark H Weaver @ 2014-03-04 16:23 UTC (permalink / raw)
  To: Nikita Karetnikov; +Cc: guix-devel

Nikita Karetnikov <nikita@karetnikov.org> writes:

> On master, ‘make check’ hangs after
>
> PASS: tests/base32.scm
> PASS: tests/hash.scm
> PASS: tests/pk-crypto.scm
> PASS: tests/pki.scm

After "tests/pki.scm" comes "tests/builders.scm", which involves
building a few packages from source code.  It takes a while.

     Mark

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: master: the tests take ages
  2014-03-04 16:23 ` Mark H Weaver
@ 2014-03-04 17:14   ` Ludovic Courtès
  2014-03-05 21:44     ` master: FAIL: tests/store.scm (was: master: the tests take ages) Nikita Karetnikov
  0 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2014-03-04 17:14 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

Mark H Weaver <mhw@netris.org> skribis:

> Nikita Karetnikov <nikita@karetnikov.org> writes:
>
>> On master, ‘make check’ hangs after
>>
>> PASS: tests/base32.scm
>> PASS: tests/hash.scm
>> PASS: tests/pk-crypto.scm
>> PASS: tests/pki.scm
>
> After "tests/pki.scm" comes "tests/builders.scm", which involves
> building a few packages from source code.  It takes a while.

Yes, some of the tests involve downloading a couple of packages, and
building them.  This takes a while the first time you run ‘make check’,
but is fast in subsequent runs (unless you removed ‘test-tmp’.)

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* master: FAIL: tests/store.scm (was: master: the tests take ages)
  2014-03-04 17:14   ` Ludovic Courtès
@ 2014-03-05 21:44     ` Nikita Karetnikov
  2014-03-05 22:34       ` master: FAIL: tests/store.scm Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Nikita Karetnikov @ 2014-03-05 21:44 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel


[-- Attachment #1.1: Type: text/plain, Size: 300 bytes --]

> Yes, some of the tests involve downloading a couple of packages, and
> building them.  This takes a while the first time you run ‘make check’,
> but is fast in subsequent runs (unless you removed ‘test-tmp’.)

Now ‘tests/store’ fails on ece262461625e80957d904f39a6818286099d367.


[-- Attachment #1.2: test-suite.log --]
[-- Type: text/plain, Size: 7840 bytes --]

====================================
   GNU Guix 0.6: ./test-suite.log
====================================

# TOTAL: 26
# PASS:  25
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/store
=================

accepted connection from pid 25080, uid 1000
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /home/tester/guix-test3/nix/scripts/list-runtime-roots
;;; compiled /home/tester/guix-test3/test-tmp/var/25075/cache-25075/guile/ccache/2.0-LE-4-2.0/home/tester/guix-test3/nix/scripts/list-runtime-roots.go
accepted connection from pid 25080, uid 1000
accepted connection from pid 25080, uid 1000
accepted connection from pid 25080, uid 1000
accepted connection from pid 25080, uid 1000
finding garbage collector roots...
removing stale temporary roots file `/home/tester/guix-test3/test-tmp/var/25075/temproots/25085'
determining live/dead paths...
finding garbage collector roots...
deleting unused links...
@ build-started /home/tester/guix-test3/test-tmp/store/pfh1j0k1irzmw8z6ab77c8nknybjcrfl-the-thing.drv - i686-linux /home/tester/guix-test3/test-tmp/var/log/nix/drvs/pf//h1j0k1irzmw8z6ab77c8nknybjcrfl-the-thing.drv.bz2
@ build-succeeded /home/tester/guix-test3/test-tmp/store/pfh1j0k1irzmw8z6ab77c8nknybjcrfl-the-thing.drv -
killing process 25112
@ build-started /home/tester/guix-test3/test-tmp/store/sdlzbjmsxdh9wpvs9h64lx32gqkpjdia-the-thing.drv - i686-linux /home/tester/guix-test3/test-tmp/var/log/nix/drvs/sd//lzbjmsxdh9wpvs9h64lx32gqkpjdia-the-thing.drv.bz2
@ build-succeeded /home/tester/guix-test3/test-tmp/store/sdlzbjmsxdh9wpvs9h64lx32gqkpjdia-the-thing.drv -
killing process 25135
@ build-started /home/tester/guix-test3/test-tmp/store/h2ndpc8i99kl541jzlf40hqmafrmb5i0-the-thing.drv - i686-linux /home/tester/guix-test3/test-tmp/var/log/nix/drvs/h2//ndpc8i99kl541jzlf40hqmafrmb5i0-the-thing.drv.bz2
@ build-succeeded /home/tester/guix-test3/test-tmp/store/h2ndpc8i99kl541jzlf40hqmafrmb5i0-the-thing.drv -
killing process 25158
@ substituter-started /home/tester/guix-test3/test-tmp/store/13nl05wa3pzshk1729scma5ddlmvjm30-substitute-me /home/tester/guix-test3/nix/scripts/substitute-binary
downloading `/home/tester/guix-test3/test-tmp/store/13nl05wa3pzshk1729scma5ddlmvjm30-substitute-me' from `file:/home/tester/guix-test3/test-tmp/var/25075/substituter-data/example.nar' (0.0 MiB installed)...
\rfile:///.../example.nar	100.0% of 0.2 KiB@ substituter-succeeded /home/tester/guix-test3/test-tmp/store/13nl05wa3pzshk1729scma5ddlmvjm30-substitute-me
@ substituter-started /home/tester/guix-test3/test-tmp/store/6q3634xm7xnfzixy431x4r7g18q7p6va-substitute-me-not /home/tester/guix-test3/nix/scripts/substitute-binary
downloading `/home/tester/guix-test3/test-tmp/store/6q3634xm7xnfzixy431x4r7g18q7p6va-substitute-me-not' from `file:/home/tester/guix-test3/test-tmp/var/25075/substituter-data/does-not-exist.nar' (0.0 MiB installed)...
Backtrace:
In ice-9/boot-9.scm:
 157: 13 [catch #t #<catch-closure 9462ee0> ...]
In unknown file:
   ?: 12 [apply-smob/1 #<catch-closure 9462ee0>]
In ice-9/boot-9.scm:
  63: 11 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 10 [eval # #]
In ice-9/boot-9.scm:
2320: 9 [save-module-excursion #<procedure 938de60 at ice-9/boot-9.scm:3961:3 ()>]
3966: 8 [#<procedure 938de60 at ice-9/boot-9.scm:3961:3 ()>]
1645: 7 [%start-stack load-stack ...]
1650: 6 [#<procedure 9463960 ()>]
In unknown file:
   ?: 5 [primitive-load "/home/tester/guix-test3/scripts/guix"]
In guix/ui.scm:
 597: 4 [run-guix-command substitute-binary "--substitute" ...]
In ice-9/boot-9.scm:
 157: 3 [catch getaddrinfo-error ...]
In guix/scripts/substitute-binary.scm:
 586: 2 [#<procedure 986ac00 at guix/scripts/substitute-binary.scm:518:2 ()>]
 133: 1 [fetch # # #f ...]
In unknown file:
   ?: 0 [open-file "/home/tester/guix-test3/test-tmp/var/25075/substituter-data/does-not-exist.nar" ...]

ERROR: In procedure open-file:
ERROR: In procedure open-file: No such file or directory: "/home/tester/guix-test3/test-tmp/var/25075/substituter-data/does-not-exist.nar"
@ substituter-failed /home/tester/guix-test3/test-tmp/store/6q3634xm7xnfzixy431x4r7g18q7p6va-substitute-me-not 256 fetching path `/home/tester/guix-test3/test-tmp/store/6q3634xm7xnfzixy431x4r7g18q7p6va-substitute-me-not' failed with exit code 1
@ substituter-started /home/tester/guix-test3/test-tmp/store/6q3634xm7xnfzixy431x4r7g18q7p6va-substitute-me-not /home/tester/guix-test3/nix/scripts/substitute-binary
downloading `/home/tester/guix-test3/test-tmp/store/6q3634xm7xnfzixy431x4r7g18q7p6va-substitute-me-not' from `file:/home/tester/guix-test3/test-tmp/var/25075/substituter-data/does-not-exist.nar' (0.0 MiB installed)...
Backtrace:
In ice-9/boot-9.scm:
 157: 13 [catch #t #<catch-closure 91b7ee0> ...]
In unknown file:
   ?: 12 [apply-smob/1 #<catch-closure 91b7ee0>]
In ice-9/boot7 operations
27 operations
5 operations
4 operations
%%%% Starting test store  (Writing full log to "store.log")
tests/store.scm:182: FAIL topologically-sorted, more difficult

;;; ("/home/tester/guix-test3/test-tmp/var/log/nix/drvs/sd/lzbjmsxdh9wpvs9h64lx32gqkpjdia-the-thing.drv.bz2")

;;; ("/home/tester/guix-test3/test-tmp/var/log/nix/drvs/h2/ndpc8i99kl541jzlf40hqmafrmb5i0-the-thing.drv.bz2")

;;; (spi (#<<substitutable> path: "/home/tester/guix-test3/test-tmp/store/22x04gh8zxxj94aazg8dvyxc5ncrnnax-guile-bootstrap-2.0" deriver: "/home/tester/guix-test3/test-tmp/store/kl6q7nzjr76zyii11jryff26sbprhry6-guile-bootstrap-2.0.drv" refs: () dl-size: 0 nar-size: 1234>))

;;; (c #<condition &nix-protocol-error [message: "signed hash doesn't match actual contents of imported archive; archive could be corrupt, or someone is trying to import a Trojan horse" status: 1] 88376d8>)
# of expected passes      22
# of unexpected failures  1
-9.scm:
  63: 11 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 10 [eval # #]
In ice-9/boot-9.scm:
2320: 9 [save-module-excursion #<procedure 90e2e60 at ice-9/boot-9.scm:3961:3 ()>]
3966: 8 [#<procedure 90e2e60 at ice-9/boot-9.scm:3961:3 ()>]
1645: 7 [%start-stack load-stack ...]
1650: 6 [#<procedure 91b8960 ()>]
In unknown file:
   ?: 5 [primitive-load "/home/tester/guix-test3/scripts/guix"]
In guix/ui.scm:
 597: 4 [run-guix-command substitute-binary "--substitute" ...]
In ice-9/boot-9.scm:
 157: 3 [catch getaddrinfo-error ...]
In guix/scripts/substitute-binary.scm:
 586: 2 [#<procedure 95bedd0 at guix/scripts/substitute-binary.scm:518:2 ()>]
 133: 1 [fetch # # #f ...]
In unknown file:
   ?: 0 [open-file "/home/tester/guix-test3/test-tmp/var/25075/substituter-data/does-not-exist.nar" ...]

ERROR: In procedure open-file:
ERROR: In procedure open-file: No such file or directory: "/home/tester/guix-test3/test-tmp/var/25075/substituter-data/does-not-exist.nar"
@ substituter-failed /home/tester/guix-test3/test-tmp/store/6q3634xm7xnfzixy431x4r7g18q7p6va-substitute-me-not 256 fetching path `/home/tester/guix-test3/test-tmp/store/6q3634xm7xnfzixy431x4r7g18q7p6va-substitute-me-not' failed with exit code 1
@ build-started /home/tester/guix-test3/test-tmp/store/7n3pf197ch2nnnr695ma5wcj4c13qgs1-substitute-me-not.drv - i686-linux /home/tester/guix-test3/test-tmp/var/log/nix/drvs/7n//3pf197ch2nnnr695ma5wcj4c13qgs1-substitute-me-not.drv.bz2
@ build-succeeded /home/tester/guix-test3/test-tmp/store/7n3pf197ch2nnnr695ma5wcj4c13qgs1-substitute-me-not.drv -
killing process 25420
finding garbage collector roots...
deleting unused links...
finding garbage collector roots...
deleting unused links...
finding garbage collector roots...
deleting unused links...
finding garbage collector roots...
deleting unused links...
136 operations


[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: master: FAIL: tests/store.scm
  2014-03-05 21:44     ` master: FAIL: tests/store.scm (was: master: the tests take ages) Nikita Karetnikov
@ 2014-03-05 22:34       ` Ludovic Courtès
  2014-03-11  9:45         ` Nikita Karetnikov
  0 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2014-03-05 22:34 UTC (permalink / raw)
  To: Nikita Karetnikov; +Cc: guix-devel

Nikita Karetnikov <nikita@karetnikov.org> skribis:

>> Yes, some of the tests involve downloading a couple of packages, and
>> building them.  This takes a while the first time you run ‘make check’,
>> but is fast in subsequent runs (unless you removed ‘test-tmp’.)
>
> Now ‘tests/store’ fails on ece262461625e80957d904f39a6818286099d367.

Can you post tests/store.log as well?

Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: master: FAIL: tests/store.scm
  2014-03-05 22:34       ` master: FAIL: tests/store.scm Ludovic Courtès
@ 2014-03-11  9:45         ` Nikita Karetnikov
  2014-03-11 11:04           ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Nikita Karetnikov @ 2014-03-11  9:45 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 715 bytes --]

Apologies for the sloppy reporting.  Let me explain why it’s the case.

I ran ‘make check’ multiple times.  These tests failed when I cloned the
repo and ran ‘make check’ for the first time: tests/derivations.scm,
tests/store.scm, tests/guix-build.sh, tests/guix-register.sh.  These
ones failed when I reran ‘make check’: tests/store.scm,
tests/guix-build.sh, tests/guix-register.sh.

Then I deleted the tree and cloned again.  tests/builders.scm,
tests/store.scm, tests/guix-build.sh, tests/guix-register.sh failed.
When I ran ‘make check’ once again, the following tests failed:
tests/store.scm, tests/guix-build.sh, tests/guix-register.sh.

Which log files would you like to see?

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: master: FAIL: tests/store.scm
  2014-03-11  9:45         ` Nikita Karetnikov
@ 2014-03-11 11:04           ` Ludovic Courtès
  2014-03-16  7:42             ` Nikita Karetnikov
  0 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2014-03-11 11:04 UTC (permalink / raw)
  To: Nikita Karetnikov; +Cc: guix-devel

Nikita Karetnikov <nikita@karetnikov.org> skribis:

> Which log files would you like to see?

The SRFI-64 $top_builddir/*.log files, and $top_builddir/test-suite.log.

The topological sort issue is normally solved by 58cbbe4.

Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: master: FAIL: tests/store.scm
  2014-03-11 11:04           ` Ludovic Courtès
@ 2014-03-16  7:42             ` Nikita Karetnikov
  2014-03-16 21:16               ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Nikita Karetnikov @ 2014-03-16  7:42 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel


[-- Attachment #1.1: Type: text/plain, Size: 260 bytes --]

>> Which log files would you like to see?

> The SRFI-64 $top_builddir/*.log files, and $top_builddir/test-suite.log.

$ git rev-parse HEAD
6f58d582432fe46c163f61ddf8f653584f4f7be8

FAIL: tests/store.scm
FAIL: tests/guix-build.sh
FAIL: tests/guix-register.sh


[-- Attachment #1.2: store.log --]
[-- Type: text/plain, Size: 28724 bytes --]

%%%% Starting test store
Group begin: store
Test begin:
  test-name: "store-path-hash-part"
  source-file: "tests/store.scm"
  source-line: 58
  source-form: (test-equal "store-path-hash-part" "283gqy39v3g9dxjy26rynl0zls82fmcg" (store-path-hash-part (string-append (%store-prefix) "/283gqy39v3g9dxjy26rynl0zls82fmcg-guile-2.0.7")))
Test end:
  result-kind: pass
  actual-value: "283gqy39v3g9dxjy26rynl0zls82fmcg"
  expected-value: "283gqy39v3g9dxjy26rynl0zls82fmcg"
Test begin:
  test-name: "store-path-hash-part #f"
  source-file: "tests/store.scm"
  source-line: 64
  source-form: (test-equal "store-path-hash-part #f" #f (store-path-hash-part (string-append (%store-prefix) "/foo/bar/283gqy39v3g9dxjy26rynl0zls82fmcg-guile-2.0.7")))
Test end:
  result-kind: pass
  actual-value: #f
  expected-value: #f
Test begin:
  test-name: "store-path-package-name"
  source-file: "tests/store.scm"
  source-line: 70
  source-form: (test-equal "store-path-package-name" "guile-2.0.7" (store-path-package-name (string-append (%store-prefix) "/283gqy39v3g9dxjy26rynl0zls82fmcg-guile-2.0.7")))
Test end:
  result-kind: pass
  actual-value: "guile-2.0.7"
  expected-value: "guile-2.0.7"
Test begin:
  test-name: "store-path-package-name #f"
  source-file: "tests/store.scm"
  source-line: 76
  source-form: (test-equal "store-path-package-name #f" #f (store-path-package-name "/foo/bar/283gqy39v3g9dxjy26rynl0zls82fmcg-guile-2.0.7"))
Test end:
  result-kind: pass
  actual-value: #f
  expected-value: #f
Test begin:
  test-name: "direct-store-path?"
  source-file: "tests/store.scm"
  source-line: 81
  source-form: (test-assert "direct-store-path?" (and (direct-store-path? (string-append (%store-prefix) "/283gqy39v3g9dxjy26rynl0zls82fmcg-guile-2.0.7")) (not (direct-store-path? (string-append (%store-prefix) "/283gqy39v3g9dxjy26rynl0zls82fmcg-guile-2.0.7/bin/guile")))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "dead-paths"
  source-file: "tests/store.scm"
  source-line: 92
  source-form: (test-assert "dead-paths" (let ((p (add-text-to-store %store "random-text" (random-text)))) (member p (dead-paths %store))))
Test end:
  result-kind: pass
  actual-value: ("/home/tester/guix-MASTER/test-tmp/store/w3lm187yqxlsjimi64f34bb4lnv0vp2v-random-text" "/home/tester/guix-MASTER/test-tmp/store/w3sfzi4jvfq2lyfvprda6m54cpd3qqiq-glib-2.39.1.tar.xz-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/w4q41l59sinsm7hp5jb7w0sdz4djnidh-lcms2-2.4.tar.gz.drv" "/home/tester/guix-MASTER/test-tmp/store/w6l6kp8lpyz7s1a1ca77avhv6za4jvn2-the-thing" "/home/tester/guix-MASTER/test-tmp/store/w7af7wy7r70f62jlk4ljig1k83rd65y3-the-thing" "/home/tester/guix-MASTER/test-tmp/store/w82zswk2gvp62lp1n82x6yq38fmrllqa-inputproto-2.2.tar.bz2.drv" "/home/tester/guix-MASTER/test-tmp/store/w93x6517qz0qg62wynqchcs0m2kayfmc-gperf-3.0.4-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/w981gb7gl68ggzsg1ak7siagka59jbha-libgc-7.2d-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/w9zpdm5w451bq1lma2ljr1blbp4cgbq1-hello-2.8.tar.gz-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/wan1rdhflnm91mh9l75yp82k1nx743np-flex-2.5.37-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/wapz07y3wwrsnp4qgviy0zzqr282zqfj-guile-2.0.9-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/wb8c5l4pymkqa46zckwx135y11h9hqyg-bison-3.0.2-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/wd224g01b90isrzksrlahy75b57xn4wy-dbus-1.6.4-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/wf2zag5z0ghqa93ah52zikmnvyq9d9az-openssl-1.0.1f.tar.gz.drv" "/home/tester/guix-MASTER/test-tmp/store/wg5l6igq2ww5g28pascbqx9afky7wc7d-Python-3.3.3.tar.xz-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/wgv3cnplzhy4fbi30gmmwz6ibkj402m5-tzdata2013d.tar.gz.drv" "/home/tester/guix-MASTER/test-tmp/store/whck7fbhihcmcm3gz3k01i5n9mmjg3n9-patchelf-0.6.tar.xz-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/why15737ri2w4klg52wp904c8mvsw136-libxt-1.1.3.drv" "/home/tester/guix-MASTER/test-tmp/store/wiiwscvwscm7bqvf46r6cjzckmniy3fl-ld-wrapper-0.drv" "/home/tester/guix-MASTER/test-tmp/store/wizjkr6qhz0d0z0d0ix4rkpzpbi7jv61-gperf-3.0.4.tar.gz.drv" "/home/tester/guix-MASTER/test-tmp/store/wjihrhav5yjm6gjdx9z9nycy5l1x61sn-acl-2.2.51-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/wk5qy48xrnhpnkafv4n34d9vlq0hvmsx-gc-7.2d.tar.gz.drv" "/home/tester/guix-MASTER/test-tmp/store/wlc6qa7s72lzgrjjdw392a7n18s2ds6d-gcc-cross-boot0-wrapped-4.8.2.drv" "/home/tester/guix-MASTER/test-tmp/store/wlx9ni74h2x6s1jlly4bql53xp8aiicr-xz-5.0.4.drv" "/home/tester/guix-MASTER/test-tmp/store/wmp6cx95l11bzph2f77pha9byv2plwza-gzip-1.6.tar.gz.drv" "/home/tester/guix-MASTER/test-tmp/store/wph9j7dlqsd029ay6l5qmm8207wcgjf0-xextproto-7.2.1.tar.bz2-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/wpqih1qvjvnqlnd8ryiyr4gd3bmlgj6p-profile-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/wr6d9xy3qw7c4f038qrjhs9qpd92macf-module-import" "/home/tester/guix-MASTER/test-tmp/store/ws6yzff1j34935g1gf3p14scmrl68603-substitute-me.drv" "/home/tester/guix-MASTER/test-tmp/store/wsghmd2m51y09v5w27smbcpv5pkkay96-binutils-2.23.2.tar.xz" "/home/tester/guix-MASTER/test-tmp/store/wsl94gr2asy1vg8243z58xfr9sdv651k-text" "/home/tester/guix-MASTER/test-tmp/store/wvkxi0y08jyv1hb2pm8i0v15n206ngqy-module-import-compiled" "/home/tester/guix-MASTER/test-tmp/store/wvmwgk9c85g6frn0pca0js1icvvrik5a-xextproto-7.2.1.drv" "/home/tester/guix-MASTER/test-tmp/store/wx6qzbx2q8z8niky9gp2qmfmprs2fq3j-indent-2.2.10-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/wxsh4w4fwdq7y0xwnyrvl6va5pj6vxrr-gobject-introspection-1.38.0.tar.xz.drv" "/home/tester/guix-MASTER/test-tmp/store/wxss2scyx73my7a7vi9llxx2zhxxznng-guile-1.8.8.tar.gz-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/x12nkcfq47q0iymqqq6zxknh5idfc0bc-bzip2-1.0.6.tar.gz.drv" "/home/tester/guix-MASTER/test-tmp/store/x18zfircyk28nkiahl35h9fcinppwvym-dbus-1.6.4.tar.gz-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/x2ayzz9bb9jb7j33agnypck266h7nxph-static-binaries.tar.xz.drv" "/home/tester/guix-MASTER/test-tmp/store/x3h0ff6d6wx1885gx01lsknhn622wv57-libxml2-2.9.0.tar.gz.drv" "/home/tester/guix-MASTER/test-tmp/store/x4ncqffgnzj6hwmz3y4wdf0d40bpg98b-idutils-4.6.tar.xz-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/x4npiwdzzik5b9srnf44z4vpah0c42bz-trivial-with-input-file-0" "/home/tester/guix-MASTER/test-tmp/store/x52dspsy7pmmaij37qr6xpbsr9agi11h-original-drv1.drv" "/home/tester/guix-MASTER/test-tmp/store/x5b210hnldf8vhpvlq5bzn7z00ylviyd-gobject-introspection-1.38.0.drv" "/home/tester/guix-MASTER/test-tmp/store/x5nalpw4j9qqgya6kxm06kv0kid4nj01-pango-1.34.1.tar.xz.drv" "/home/tester/guix-MASTER/test-tmp/store/x99arf2xzvdry51iaf98pgkkpflj516q-poppler-0.22.0.tar.gz.drv" "/home/tester/guix-MASTER/test-tmp/store/x9f2sdf9wl98j0r198ka67a5ad2f0y9s-libjpeg-9-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/xbki2rnrd46gmgc0mg7hcy65ahpb2s7k-readline-6.2.tar.xz.drv" "/home/tester/guix-MASTER/test-tmp/store/xbmzp5bp9h8a6f6b7b51sr14flwywglq-m4-1.4.17.tar.bz2.drv" "/home/tester/guix-MASTER/test-tmp/store/xbwzsjd0a81yhvj9nlq02pc98xrba2bn-goo" "/home/tester/guix-MASTER/test-tmp/store/xf8i3mgn8xr9xg49vl12p8hv3h46sig4-trivial-0-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/xfzf9g9fnb83rkhyzwgwd8b400614w25-readline-6.2-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/xg395qflf00nrj4n40gln4w1ynaq4jrd-random1" "/home/tester/guix-MASTER/test-tmp/store/xg56s2hq0338lfbsjvbzkfhqglwn430k-patch-2.7.1.drv" "/home/tester/guix-MASTER/test-tmp/store/xjhnqi41v0000lpv39hgvrwbybm1j0a6-hello-2.8-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/xk0k1j97wwvfi72cgrgmk71ap40nwv9i-make-boot0-4.0-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/xkk7v1ivhs1p1rcysb59cl71ch2xj8qi-libtasn1-3.4.tar.gz-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/xksa0rmrim2khh8h0hn6l63ag6sna4d0-libICE-1.0.8.tar.bz2.drv" "/home/tester/guix-MASTER/test-tmp/store/xky6gmpb5r4yfxjr4r3nzv4zisj7avym-libelf-0.8.13.tar.gz-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/xm4ykksr9bc0666ri6ljlxyqql3lflsf-foo" "/home/tester/guix-MASTER/test-tmp/store/xnlwcpzjdlmg8kk06r1j6w1mrd8c5sqx-glib-tests-newnet.patch" "/home/tester/guix-MASTER/test-tmp/store/xp95gwc3rswi9ckzyfilh44lc2v15azx-mpfr-3.1.2.tar.xz-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/xq0076cqy3zb87v8mld581ydd2qs7k1n-glibc-intermediate-2.18-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/xqh1wgxj2q3a8k4m5487zidblm38fn0m-gnutls-3.2.12.tar.xz.drv" "/home/tester/guix-MASTER/test-tmp/store/xqwamrw7jnqwcd787g3gfsd03hq73x3p-guile-2.0.9.tar.xz-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/xria0skb2msh63qiz78di7zc1nwidxfk-guile-2.0.9.tar.xz.drv" "/home/tester/guix-MASTER/test-tmp/store/xrkv9bh7y3plchbq6am73x3qn2yk086k-utils.scm" "/home/tester/guix-MASTER/test-tmp/store/xs31h95kq9ca4mp90xfjaa8mh5nwhcqr-trivial-with-source-0" "/home/tester/guix-MASTER/test-tmp/store/xs7prz59ln7rp0cvxk8arw3j4g0xb8gh-libffi-3.0.13.drv" "/home/tester/guix-MASTER/test-tmp/store/xv05gdxibm40dis0nxp514cn2w648yxa-c" "/home/tester/guix-MASTER/test-tmp/store/xyri4741rd81p3yv9xg23xqciwsjpcvf-profile-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/y20ih9b2hqymzw019cchhja72sr7cdy1-p-0-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/y62mhspgv0r8hnpz1bjlksiqqzcbqcv0-file-5.16-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/y79pb01m4xnrbjzrfirhk6p7930g08sr-p-0.drv" "/home/tester/guix-MASTER/test-tmp/store/y7jq6mjzx3k82n6s166wmkgvyylhx01a-gmp-5.1.3-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/y8ha6kyrik8nh1lsdrsxlz5kr8gj48gm-readline-6.2-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/y8smapn8j4ax0dqvccgv62znbgyg1ynx-glibc-2.18.tar.xz.drv" "/home/tester/guix-MASTER/test-tmp/store/yb8nndfhsy4vabg8b94s9mf6xhj0b6hi-libxml2-2.9.0.tar.gz-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/ybrr0yyv2y3chilk45z6vnsfl86fk6gj-tcl-8.6.0-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/ycrr63b1m06knb21ys79d2brh2p3z8xy-gmp-5.1.3.drv" "/home/tester/guix-MASTER/test-tmp/store/ycy4yb81zcq62s727a4iah0m5yjnzmib-substitute-me-not.drv" "/home/tester/guix-MASTER/test-tmp/store/ydc9s1an6xmsp3mnr5cjmxzaa0l2p5z4-libpthread-stubs-0.3.tar.bz2-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/ydi5fj421knxgp98zmcy2y2mhslk2c00-binutils-2.23.2-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/ydxr03wxl1k3a86w2j07zwdvjjjh5m0n-binutils-2.23.2.drv" "/home/tester/guix-MASTER/test-tmp/store/yg6ylx0wqsbflpcp79ckadwbxzjkys9a-bash-4.2.tar.gz.drv" "/home/tester/guix-MASTER/test-tmp/store/yix8qdc9hrkq6hik25pn2kqzvk5kb16m-harfbuzz-0.9.22.drv" "/home/tester/guix-MASTER/test-tmp/store/yjm79i7n6q8z721z2jd034sk8dh6jg5l-make-boot0-4.0" "/home/tester/guix-MASTER/test-tmp/store/yl2rlcxgyiivrdbyif3r59awq0kr7zx7-util-macros-1.17.drv" "/home/tester/guix-MASTER/test-tmp/store/ylj40r89y4vb84dnh6s5flgmbmbis3v7-libtiff-4.0.3.drv" "/home/tester/guix-MASTER/test-tmp/store/ypbf1sy5mcask82685f9p57k1dj7icfg-libspectre-0.2.7-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/yqqf1g3vw76ih9g5dv0fiqp5islwd83l-poppler-0.22.0-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/yrp48mrn8h8rg1sj77ri1bz7gwhfqlsi-libxdmcp-1.1.1.drv" "/home/tester/guix-MASTER/test-tmp/store/ysld9s7arpcxgz05p42m7adr74qar6a4-linux-libre-3.3.8-gnu.tar.xz.drv" "/home/tester/guix-MASTER/test-tmp/store/yvaz3cysmh4v5rszvq8l26qx0y6h3h0g-tar-1.27.1-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/yvw3087vcmaaf0vxh07ps03g976mm3pr-final.drv" "/home/tester/guix-MASTER/test-tmp/store/z07jy9162gcdbnbccx8gyp51x7jygmw9-y" "/home/tester/guix-MASTER/test-tmp/store/z19bldli3vyjxzsz05s2lb5a01z8k7cr-make-4.0.tar.xz.drv" "/home/tester/guix-MASTER/test-tmp/store/z1l9g7v57mka8vjq755rll8lr014yldn-my-fixed-builder.sh" "/home/tester/guix-MASTER/test-tmp/store/z2s8amqv68kwsw39ywwkg76x0im5vpyi-findutils-4.4.2.drv" "/home/tester/guix-MASTER/test-tmp/store/z4jwikaiq7ns0g7za9svcnwwqwml2zik-libgpg-error-1.12.tar.bz2.drv" "/home/tester/guix-MASTER/test-tmp/store/z74kvz7rl22jpp4dm9vhxkr7ai16jzbx-original-drv2.drv" "/home/tester/guix-MASTER/test-tmp/store/z8hs3ff4wazhfgmn363w032kpgj8qbjv-bash-4.2-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/z9rvnngwisl1fpk72j06wy6ybjnckcx8-emacs-24.3.tar.xz.drv" "/home/tester/guix-MASTER/test-tmp/store/za0ridn6jikss55gxsfl2hqi3vhhfibw-libgc-7.4.0-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/zadi4r037r0v1vv0gv1pjl9ikmn96413-patchelf-0.6.tar.xz.drv" "/home/tester/guix-MASTER/test-tmp/store/zbj9xhgd6rvd55m3pvrn16g2vbn0nb1a-random-text" "/home/tester/guix-MASTER/test-tmp/store/zf0yl8jyk1xh7cdk5kqi5j07gabb2zsc-findutils-4.4.2.tar.gz-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/zg14cg8ivydza8y4ji01gq066k0qxbp2-readline-6.2.drv" "/home/tester/guix-MASTER/test-tmp/store/zgc7y423n8153jla6d1hf463wxn3mxzy-libtasn1-3.4.tar.gz.drv" "/home/tester/guix-MASTER/test-tmp/store/zha7bf28lq1ssmm9gvfy0m4xjapirhm2-fontconfig-2.10.93.tar.bz2-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/zicj840n0x80h6dmyd8nph49ybzw2p7b-psmisc-22.20-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/ziksw462h5nz060ga90xcx7ixsa87vxz-libxext-1.3.1-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/zlk0pf3nwz1kikbajfby6y5jkivjz3hm-random2" "/home/tester/guix-MASTER/test-tmp/store/zlk1s0s3lwj0mkmys22q4z2mwkrn5q54-profile" "/home/tester/guix-MASTER/test-tmp/store/zlz3l4sfh0d55hi78w8r2jlysqvijmnd-builder.sh" "/home/tester/guix-MASTER/test-tmp/store/zpi7rb6b5kvy2jm5n3kg8by3zpib4w0l-flat-test" "/home/tester/guix-MASTER/test-tmp/store/zpslvmjwrvbv96wbs89y2qgc8zj2c0qg-double-second" "/home/tester/guix-MASTER/test-tmp/store/zqnsjcxf62zygz0dg9sz3x5gyihqdsyy-multiple-output-two" "/home/tester/guix-MASTER/test-tmp/store/zsbz5g28w4w61hghhlyby7pczakqz19a-perl-5.16.1.drv" "/home/tester/guix-MASTER/test-tmp/store/zw28xanvdywfkmsjh8bhmijaf2ldagrc-multiple-output-user" "/home/tester/guix-MASTER/test-tmp/store/zwx1xmr939yyc7cfhdrlknk908dlndwf-gawk-4.1.0-guile-builder" "/home/tester/guix-MASTER/test-tmp/store/zxihb79cdqpwzkgkg46r6jrnlk40zncx-gettext-0.18.3.1.drv" "/home/tester/guix-MASTER/test-tmp/store/zxmxvvm7y46hsfyg6pq490r1pj8iqbgb-baz" "/home/tester/guix-MASTER/test-tmp/store/zy3hijgz5cfzs8lacs0i5jwhdvhvhc0a-python-2.7.6.drv")
Test begin:
  test-name: "dead path can be explicitly collected"
  source-file: "tests/store.scm"
  source-line: 113
  source-form: (test-assert "dead path can be explicitly collected" (let ((p (add-text-to-store %store "random-text" (random-text) (quote ())))) (let-values (((paths freed) (delete-paths %store (list p)))) (and (equal? paths (list p)) (> freed 0) (not (file-exists? p))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "references"
  source-file: "tests/store.scm"
  source-line: 121
  source-form: (test-assert "references" (let* ((t1 (add-text-to-store %store "random1" (random-text))) (t2 (add-text-to-store %store "random2" (random-text) (list t1)))) (and (equal? (list t1) (references %store t2)) (equal? (list t2) (referrers %store t1)) (null? (references %store t1)) (null? (referrers %store t2)))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "requisites"
  source-file: "tests/store.scm"
  source-line: 131
  source-form: (test-assert "requisites" (let* ((t1 (add-text-to-store %store "random1" (random-text) (quote ()))) (t2 (add-text-to-store %store "random2" (random-text) (list t1))) (t3 (add-text-to-store %store "random3" (random-text) (list t2))) (t4 (add-text-to-store %store "random4" (random-text) (list t1 t3)))) (define (same? x y) (and (= (length x) (length y)) (lset= equal? x y))) (and (same? (requisites %store t1) (list t1)) (same? (requisites %store t2) (list t1 t2)) (same? (requisites %store t3) (list t1 t2 t3)) (same? (requisites %store t4) (list t1 t2 t3 t4)))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "derivers"
  source-file: "tests/store.scm"
  source-line: 149
  source-form: (test-assert "derivers" (let* ((b (add-text-to-store %store "build" "echo $foo > $out" (quote ()))) (s (add-to-store %store "bash" #t "sha256" (search-bootstrap-binary "bash" (%current-system)))) (d (derivation %store "the-thing" s (quasiquote ("-e" (unquote b))) #:env-vars (quasiquote (("foo" unquote (random-text)))) #:inputs (quasiquote (((unquote b)) ((unquote s)))))) (o (derivation->output-path d))) (and (build-derivations %store (list d)) (equal? (query-derivation-outputs %store (derivation-file-name d)) (list o)) (equal? (valid-derivers %store o) (list (derivation-file-name d))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "topologically-sorted, one item"
  source-file: "tests/store.scm"
  source-line: 165
  source-form: (test-assert "topologically-sorted, one item" (let* ((a (add-text-to-store %store "a" "a")) (b (add-text-to-store %store "b" "b" (list a))) (c (add-text-to-store %store "c" "c" (list b))) (d (add-text-to-store %store "d" "d" (list c))) (s (topologically-sorted %store (list d)))) (equal? s (list a b c d))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "topologically-sorted, several items"
  source-file: "tests/store.scm"
  source-line: 173
  source-form: (test-assert "topologically-sorted, several items" (let* ((a (add-text-to-store %store "a" "a")) (b (add-text-to-store %store "b" "b" (list a))) (c (add-text-to-store %store "c" "c" (list b))) (d (add-text-to-store %store "d" "d" (list c))) (s1 (topologically-sorted %store (list d a c b))) (s2 (topologically-sorted %store (list b d c a b d)))) (equal? s1 s2 (list a b c d))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "topologically-sorted, more difficult"
  source-file: "tests/store.scm"
  source-line: 182
  source-form: (test-assert "topologically-sorted, more difficult" (let* ((a (add-text-to-store %store "a" "a")) (b (add-text-to-store %store "b" "b" (list a))) (c (add-text-to-store %store "c" "c" (list b))) (d (add-text-to-store %store "d" "d" (list c))) (w (add-text-to-store %store "w" "w")) (x (add-text-to-store %store "x" "x" (list w))) (y (add-text-to-store %store "y" "y" (list x d))) (s1 (topologically-sorted %store (list y))) (s2 (topologically-sorted %store (list c y))) (s3 (topologically-sorted %store (cons y (references %store y))))) (let* ((x-then-d? (equal? (references %store y) (list x d)))) (and (equal? s1 (if x-then-d? (list w x a b c d y) (list a b c d w x y))) (equal? s2 (if x-then-d? (list a b c w x d y) (list a b c d w x y))) (lset= string=? s1 s3)))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "log-file, derivation"
  source-file: "tests/store.scm"
  source-line: 206
  source-form: (test-assert "log-file, derivation" (let* ((b (add-text-to-store %store "build" "echo $foo > $out" (quote ()))) (s (add-to-store %store "bash" #t "sha256" (search-bootstrap-binary "bash" (%current-system)))) (d (derivation %store "the-thing" s (quasiquote ("-e" (unquote b))) #:env-vars (quasiquote (("foo" unquote (random-text)))) #:inputs (quasiquote (((unquote b)) ((unquote s))))))) (and (build-derivations %store (list d)) (file-exists? (pk (log-file %store (derivation-file-name d)))))))
Test end:
  result-kind: fail
  actual-value: #f
  actual-error: (wrong-type-arg "stat" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "open file port" #f) (#f))
Test begin:
  test-name: "log-file, output file name"
  source-file: "tests/store.scm"
  source-line: 218
  source-form: (test-assert "log-file, output file name" (let* ((b (add-text-to-store %store "build" "echo $foo > $out" (quote ()))) (s (add-to-store %store "bash" #t "sha256" (search-bootstrap-binary "bash" (%current-system)))) (d (derivation %store "the-thing" s (quasiquote ("-e" (unquote b))) #:env-vars (quasiquote (("foo" unquote (random-text)))) #:inputs (quasiquote (((unquote b)) ((unquote s)))))) (o (derivation->output-path d))) (and (build-derivations %store (list d)) (file-exists? (pk (log-file %store o))) (string=? (log-file %store (derivation-file-name d)) (log-file %store o)))))
Test end:
  result-kind: fail
  actual-value: #f
  actual-error: (wrong-type-arg "stat" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "open file port" #f) (#f))
Test begin:
  test-name: "no substitutes"
  source-file: "tests/store.scm"
  source-line: 233
  source-form: (test-assert "no substitutes" (let* ((s (open-connection)) (d1 (package-derivation s %bootstrap-guile (%current-system))) (d2 (package-derivation s %bootstrap-glibc (%current-system))) (o (map derivation->output-path (list d1 d2)))) (set-build-options s #:use-substitutes? #f) (and (not (has-substitutes? s (derivation-file-name d1))) (not (has-substitutes? s (derivation-file-name d2))) (null? (substitutable-paths s o)) (null? (substitutable-path-info s o)))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "substitute query"
  source-file: "tests/store.scm"
  source-line: 246
  source-form: (test-assert "substitute query" (let* ((s (open-connection)) (d (package-derivation s %bootstrap-guile (%current-system))) (o (derivation->output-path d)) (dir (and=> (getenv "GUIX_BINARY_SUBSTITUTE_URL") (compose uri-path string->uri)))) (call-with-output-file (string-append dir "/nix-cache-info") (lambda (p) (format p "StoreDir: ~a\nWantMassQuery: 0\n" (%store-prefix)))) (call-with-output-file (string-append dir "/" (store-path-hash-part o) ".narinfo") (lambda (p) (format p "StorePath: ~a\nURL: ~a\nCompression: none\nNarSize: 1234\nReferences: \nSystem: ~a\nDeriver: ~a~%" o (string-append dir "/example.nar") (%current-system) (basename (derivation-file-name d))))) (false-if-exception (delete-file (string-append (getenv "XDG_CACHE_HOME") "/guix/substitute-binary/" (store-path-hash-part o)))) (set-build-options s #:use-substitutes? #t) (and (has-substitutes? s o) (equal? (list o) (substitutable-paths s (list o))) (match (pk (quote spi) (substitutable-path-info s (list o))) (((? substitutable? s)) (and (string=? (substitutable-deriver s) (derivation-file-name d)) (null? (substitutable-references s)) (equal? (substitutable-nar-size s) 1234)))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "substitute"
  source-file: "tests/store.scm"
  source-line: 289
  source-form: (test-assert "substitute" (let* ((s (open-connection)) (c (random-text)) (d (build-expression->derivation s "substitute-me" (quasiquote (call-with-output-file %output (lambda (p) (exit 1) (display (unquote c) p)))) #:guile-for-build (package-derivation s %bootstrap-guile (%current-system)))) (o (derivation->output-path d)) (dir (and=> (getenv "GUIX_BINARY_SUBSTITUTE_URL") (compose uri-path string->uri)))) (call-with-output-file (string-append dir "/nix-cache-info") (lambda (p) (format p "StoreDir: ~a\nWantMassQuery: 0\n" (%store-prefix)))) (call-with-output-file (string-append dir "/example.out") (lambda (p) (display c p))) (call-with-output-file (string-append dir "/example.nar") (lambda (p) (write-file (string-append dir "/example.out") p))) (call-with-output-file (string-append dir "/" (store-path-hash-part o) ".narinfo") (lambda (p) (format p "StorePath: ~a\nURL: ~a\nCompression: none\nNarSize: 1234\nNarHash: sha256:~a\nReferences: \nSystem: ~a\nDeriver: ~a~%" o "example.nar" (call-with-input-file (string-append dir "/example.nar") (compose bytevector->nix-base32-string sha256 get-bytevector-all)) (%current-system) (basename (derivation-file-name d))))) (set-build-options s #:use-substitutes? #t) (and (has-substitutes? s o) (build-derivations s (list d)) (equal? c (call-with-input-file o get-string-all)))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "substitute --fallback"
  source-file: "tests/store.scm"
  source-line: 340
  source-form: (test-assert "substitute --fallback" (let* ((s (open-connection)) (t (random-text)) (d (build-expression->derivation s "substitute-me-not" (quasiquote (call-with-output-file %output (lambda (p) (display (unquote t) p)))) #:guile-for-build (package-derivation s %bootstrap-guile (%current-system)))) (o (derivation->output-path d)) (dir (and=> (getenv "GUIX_BINARY_SUBSTITUTE_URL") (compose uri-path string->uri)))) (call-with-output-file (string-append dir "/nix-cache-info") (lambda (p) (format p "StoreDir: ~a\nWantMassQuery: 0\n" (%store-prefix)))) (call-with-output-file (string-append dir "/" (store-path-hash-part o) ".narinfo") (lambda (p) (format p "StorePath: ~a\nURL: ~a\nCompression: none\nNarSize: 1234\nNarHash: sha256:0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73\nReferences: \nSystem: ~a\nDeriver: ~a~%" o "does-not-exist.nar" (%current-system) (basename (derivation-file-name d))))) (set-build-options s #:use-substitutes? #t) (and (has-substitutes? s o) (guard (c ((nix-protocol-error? c) (set-build-options s #:use-substitutes? #t #:fallback? #t) (and (build-derivations s (list d)) (equal? t (call-with-input-file o get-string-all))))) (build-derivations s (list d)) #f))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "export/import several paths"
  source-file: "tests/store.scm"
  source-line: 390
  source-form: (test-assert "export/import several paths" (let* ((texts (unfold (cut >= <> 10) (lambda _ (random-text)) #{1+}# 0)) (files (map (cut add-text-to-store %store "text" <>) texts)) (dump (call-with-bytevector-output-port (cut export-paths %store files <>)))) (delete-paths %store files) (and (every (negate file-exists?) files) (let* ((source (open-bytevector-input-port dump)) (imported (import-paths %store source))) (and (equal? imported files) (every file-exists? files) (equal? texts (map (lambda (file) (call-with-input-file file get-string-all)) files)))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "export/import paths, ensure topological order"
  source-file: "tests/store.scm"
  source-line: 410
  source-form: (test-assert "export/import paths, ensure topological order" (let* ((file0 (add-text-to-store %store "baz" (random-text))) (file1 (add-text-to-store %store "foo" (random-text) (list file0))) (file2 (add-text-to-store %store "bar" (random-text) (list file1))) (files (list file1 file2)) (dump1 (call-with-bytevector-output-port (cute export-paths %store (list file1 file2) <>))) (dump2 (call-with-bytevector-output-port (cute export-paths %store (list file2 file1) <>)))) (delete-paths %store files) (and (every (negate file-exists?) files) (bytevector=? dump1 dump2) (let* ((source (open-bytevector-input-port dump1)) (imported (import-paths %store source))) (and (equal? imported (list file1 file2)) (every file-exists? files) (equal? (list file0) (references %store file1)) (equal? (list file1) (references %store file2)))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "import corrupt path"
  source-file: "tests/store.scm"
  source-line: 432
  source-form: (test-assert "import corrupt path" (let* ((text (random-text)) (file (add-text-to-store %store "text" text)) (dump (call-with-bytevector-output-port (cut export-paths %store (list file) <>)))) (delete-paths %store (list file)) (let* ((index (quotient (bytevector-length dump) 4)) (byte (bytevector-u8-ref dump index))) (bytevector-u8-set! dump index (logxor 255 byte))) (and (not (file-exists? file)) (guard (c ((nix-protocol-error? c) (pk (quote c) c) (and (not (zero? (nix-protocol-error-status c))) (string-contains (nix-protocol-error-message c) "corrupt")))) (let* ((source (open-bytevector-input-port dump)) (imported (import-paths %store source))) (pk (quote corrupt-imported) imported) #f)))))
Test end:
  result-kind: pass
  actual-value: 80
Test begin:
  test-name: "register-path"
  source-file: "tests/store.scm"
  source-line: 455
  source-form: (test-assert "register-path" (let ((file (string-append (%store-prefix) "/" (make-string 32 #\f) "-fake"))) (when (valid-path? %store file) (delete-paths %store (list file))) (false-if-exception (delete-file file)) (let ((ref (add-text-to-store %store "ref-of-fake" (random-text))) (drv (string-append file ".drv"))) (call-with-output-file file (cut display "This is a fake store item.\n" <>)) (register-path file #:references (list ref) #:deriver drv) (and (valid-path? %store file) (equal? (references %store file) (list ref)) (null? (valid-derivers %store file)) (null? (referrers %store file))))))
Test end:
  result-kind: pass
  actual-value: #t
Group end: store
# of expected passes      21
# of unexpected failures  2

[-- Attachment #1.3: test-suite.log --]
[-- Type: text/plain, Size: 24523 bytes --]

====================================
   GNU Guix 0.6: ./test-suite.log
====================================

# TOTAL: 26
# PASS:  23
# SKIP:  0
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/store
=================

accepted connection from pid 22401, uid 1000
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /home/tester/guix-MASTER/nix/scripts/list-runtime-roots
;;; compiled /home/tester/guix-MASTER/test-tmp/var/22396/cache-22396/guile/ccache/2.0-LE-4-2.0/home/tester/guix-MASTER/nix/scripts/list-runtime-roots.go
accepted connection from pid 22401, uid 1000
27 operations
accepted connection from pid 22401, uid 1000
accepted connection from pid 22401, uid 1000
accepted connection from pid 22401, uid 1000
finding garbage collector roots...
removing stale temporary roots file `/home/tester/guix-MASTER/test-tmp/var/22396/temproots/22406'
determining live/dead paths...
finding garbage collector roots...
deleting unused links...
@ build-started /home/tester/guix-MASTER/test-tmp/store/914rzd5wqmmlv7ly6yr842qdckaz6zba-the-thing.drv - i686-linux /home/tester/guix-MASTER/test-tmp/var/log/nix/drvs/91//4rzd5wqmmlv7ly6yr842qdckaz6zba-the-thing.drv.bz2
@ build-succeeded /home/tester/guix-MASTER/test-tmp/store/914rzd5wqmmlv7ly6yr842qdckaz6zba-the-thing.drv -
killing process 22433
@ build-started /home/tester/guix-MASTER/test-tmp/store/zqajwkx98m5vkk0ddc4q4i9pnl0929i5-the-thing.drv - i686-linux /home/tester/guix-MASTER/test-tmp/var/log/nix/drvs/zq//ajwkx98m5vkk0ddc4q4i9pnl0929i5-the-thing.drv.bz2
@ build-succeeded /home/tester/guix-MASTER/test-tmp/store/zqajwkx98m5vkk0ddc4q4i9pnl0929i5-the-thing.drv -
killing process 22456
@ build-started /home/tester/guix-MASTER/test-tmp/store/m1hwmp5r295nvlmmdbg02l72c0qzns78-the-thing.drv - i686-linux /home/tester/guix-MASTER/test-tmp/var/log/nix/drvs/m1//hwmp5r295nvlmmdbg02l72c0qzns78-the-thing.drv.bz2
@ build-succeeded /home/tester/guix-MASTER/test-tmp/store/m1hwmp5r295nvlmmdbg02l72c0qzns78-the-thing.drv -
killing process 22479
@ substituter-started /home/tester/guix-MASTER/test-tmp/store/9sf3kn7ay4phbj3i8l50qcbmb5w8vs99-substitute-me /home/tester/guix-MASTER/nix/scripts/substitute-binary
downloading `/home/tester/guix-MASTER/test-tmp/store/9sf3kn7ay4phbj3i8l50qcbmb5w8vs99-substitute-me' from `file:/home/tester/guix-MASTER/test-tmp/var/22396/substituter-data/example.nar' (0.0 MiB installed)...
\rfile:///.../example.nar	100.0% of 0.2 KiB@ substituter-succeeded /home/tester/guix-MASTER/test-tmp/store/9sf3kn7ay4phbj3i8l50qcbmb5w8vs99-substitute-me
@ substituter-started /home/tester/guix-MASTER/test-tmp/store/8d73wl203cqbpgx77pn4g3lck3bpn6bw-substitute-me-not /home/tester/guix-MASTER/nix/scripts/substitute-binary
downloading `/home/tester/guix-MASTER/test-tmp/store/8d73wl203cqbpgx77pn4g3lck3bpn6bw-substitute-me-not' from `file:/home/tester/guix-MASTER/test-tmp/var/22396/substituter-data/does-not-exist.nar' (0.0 MiB installed)...
Backtrace:
In ice-9/boot-9.scm:
 157: 13 [catch #t #<catch-closure 8292ee0> ...]
In unknown file:
   ?: 12 [apply-smob/1 #<catch-closure 8292ee0>]
In ice-9/boot-9.scm:
  63: 11 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 10 [eval # #]
In ice-9/boot-9.scm:
2320: 9 [save-module-excursion #<procedure 81bde60 at ice-9/boot-9.scm:3961:3 ()>]
3966: 8 [#<procedure 81bde60 at ice-9/boot-9.scm:3961:3 ()>]
1645: 7 [%start-stack load-stack ...]
1650: 6 [#<procedure 8293960 ()>]
In unknown file:
   ?: 5 [primitive-load "/home/tester/guix-MASTER/scripts/guix"]
In guix/ui.scm:
 597: 4 [run-guix-command substitute-binary "--substitute" ...]
In ice-9/boot-9.scm:
 157: 3 [catch getaddrinfo-error ...]
In guix/scripts/substitute-binary.scm:
 586: 2 [#<procedure 869c880 at guix/scripts/substitute-binary.scm:518:2 ()>]
 133: 1 [fetch # # #f ...]
In unknown file:
   ?: 0 [open-file "/home/tester/guix-MASTER/test-tmp/var/22396/substituter-data/does-not-exist.nar" ...]

ERROR: In procedure open-file:
ERROR: In procedure open-file: No such file or directory: "/home/tester/guix-MASTER/test-tmp/var/22396/substituter-data/does-not-exist.nar"
@ substituter-failed /home/tester/guix-MASTER/test-tmp/store/8d73wl203cqbpgx77pn4g3lck3bpn6bw-substitute-me-not 256 fetching path `/home/tester/guix-MASTER/test-tmp/store/8d73wl203cqbpgx77pn4g3lck3bpn6bw-substitute-me-not' failed with exit code 1
@ substituter-started /home/tester/guix-MASTER/test-tmp/store/8d73wl203cqbpgx77pn4g3lck3bpn6bw-substitute-me-not /home/tester/guix-MASTER/nix/scripts/substitute-binary
downloading `/home/tester/guix-MASTER/test-tmp/store/8d73wl203cqbpgx77pn4g3lck3bpn6bw-substitute-me-not' from `file:/home/tester/guix-MASTER/test-tmp/var/22396/substituter-data/does-not-exist.nar' (0.0 MiB installed)...
Backtrace:
In ice-9/boot-9.scm:
 157: 13 [catch #t #<catch-closure 86bfca0> ...]
In unknown file:
   ?: 12 [apply-smob/1 #<catch-clo7 operations
4 operations
5 operations
sure 86bfca0>]
In ice-9/boot-9.scm:
  63: 11 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 10 [eval # #]
In ice-9/boot-9.scm:
2320: 9 [save-module-excursion #<procedure 85eae60 at ice-9/boot-9.scm:3961:3 ()>]
3966: 8 [#<procedure 85eae60 at ice-9/boot-9.scm:3961:3 ()>]
1645: 7 [%start-stack load-stack ...]
1650: 6 [#<procedure 86c0960 ()>]
In unknown file:
   ?: 5 [primitive-load "/home/tester/guix-MASTER/scripts/guix"]
In guix/ui.scm:
 597: 4 [run-guix-command substitute-binary "--substitute" ...]
In ice-9/boot-9.scm:
 157: 3 [catch getaddrinfo-error ...]
In guix/scripts/substitute-binary.scm:
 586: 2 [#<procedure 8acc9f0 at guix/scripts/substitute-binary.scm:518:2 ()>]
 133: 1 [fetch # # #f ...]
In unknown file:
   ?: 0 [open-file "/home/tester/guix-MASTER/test-tmp/var/22396/substituter-data/does-not-exist.nar" ...]

ERROR: In procedure open-file:
ERROR: In procedure open-file: No such file or directory: "/home/tester/guix-MASTER/test-tmp/var/22396/substituter-data/does-not-exist.nar"
@ substituter-failed /home/tester/guix-MASTER/test-tmp/store/8d73wl203cqbpgx77pn4g3lck3bpn6bw-substitute-me-not 256 fetching path `/home/tester/guix-MASTER/test-tmp/store/8d73wl203cqbpgx77pn4g3lck3bpn6bw-substitute-me-not' failed with exit code 1
@ build-started /home/tester/guix-MASTER/test-tmp/store/ijjpfwmqv68hdbvm66mk2f97fb0553r7-substitute-me-not.drv - i686-linux /home/tester/guix-MASTER/test-tmp/var/log/nix/drvs/ij//jpfwmqv68hdbvm66mk2f97fb0553r7-substitute-me-not.drv.bz2
@ build-succeeded /home/tester/guix-MASTER/test-tmp/store/ijjpfwmqv68hdbvm66mk2f97fb0553r7-substitute-me-not.drv -
killing process 22741
finding garbage collector roots...
deleting unused links...
finding garbage collector roots...
deleting unused links...
finding garbage collector roots...
deleting unused links...
finding garbage collector roots...
deleting unused links...
%%%% Starting test store  (Writing full log to "store.log")

;;; (#f)
tests/store.scm:206: FAIL log-file, derivation

;;; (#f)
tests/store.scm:218: FAIL log-file, output file name

;;; (spi (#<<substitutable> path: "/home/tester/guix-MASTER/test-tmp/store/r5a3g247wzcvyap67jhk2f1hbhsqajw0-guile-bootstrap-2.0" deriver: "/home/tester/guix-MASTER/test-tmp/store/hsmxb8q6dybsb7qm7g4hr28l5kngvly6-guile-bootstrap-2.0.drv" refs: () dl-size: 0 nar-size: 1234>))

;;; (c #<condition &nix-protocol-error [message: "signed hash doesn't match actual contents of imported archive; archive could be corrupt, or someone is trying to import a Trojan horse" status: 1] 98375d0>)
# of expected passes      21
# of unexpected failures  2
139 operations

FAIL: tests/guix-build
======================

+ guix build --version
guix build (GNU Guix) 0.6
Copyright (C) 2014 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
+ guix build -e +
accepted connection from pid 22910, uid 1000
Backtrace:
In ice-9/boot-9.scm:
 157: 15 [catch #t #<catch-closure 8ebaee0> ...]
In unknown file:
   ?: 14 [apply-smob/1 #<catch-closure 8ebaee0>]
In ice-9/boot-9.scm:
  63: 13 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 12 [eval # #]
In ice-9/boot-9.scm:
2320: 11 [save-module-excursion #<procedure 8d66e60 at ice-9/boot-9.scm:3961:3 ()>]
3966: 10 [#<procedure 8d66e60 at ice-9/boot-9.scm:3961:3 ()>]
1645: 9 [%start-stack load-stack ...]
1650: 8 [#<procedure 8ebb960 ()>]
In unknown file:
   ?: 7 [primitive-load "/home/tester/guix-MASTER/scripts/guix"]
In guix/ui.scm:
 597: 6 [run-guix-command build "-e" "+"]
In ice-9/boot-9.scm:
 157: 5 [catch srfi-34 #<procedure 8f3cf20 at guix/ui.scm:165:2 ()> ...]
 157: 4 [catch system-error ...]
In guix/scripts/build.scm:
 329: 3 [#<procedure 8f34110 at guix/scripts/build.scm:325:2 ()>]
In srfi/srfi-1.scm:
 664: 2 [filter-map #<procedure 9202c40 at guix/scripts/build.scm:292:14 (expr)> #]
In guix/monads.scm:
 419: 1 [run-with-store #<build-daemon 256.14 9202cc0> 0 ...]
In unknown file:
   ?: 0 [0 #<build-daemon 256.14 9202cc0>]

ERROR: In procedure 0:
ERROR: Wrong type to apply: 0
+ true
173 operations
+ guix build -e '(@ (gnu packages bootstrap) %bootstrap-glibc)' -S
accepted connection from pid 22913, uid 1000
guix build: error: package `glibc-bootstrap' has no source
+ true
0 operations
+ guix build -e '(@@ (gnu packages base) %bootstrap-guile)'
+ grep -e -guile-
accepted connection from pid 22916, uid 1000
/home/tester/guix-MASTER/test-tmp/store/r5a3g247wzcvyap67jhk2f1hbhsqajw0-guile-bootstrap-2.0
13 operations
+ guix build hello -d
+ grep -e '-hello-[0-9\.]\+\.drv$'
accepted connection from pid 22942, uid 1000
The following derivations will be built:
   /home/tester/guix-MASTER/test-tmp/store/3bkx31jqbh10nkrd04hiq0fcb38kbb8n-hello-2.9.drv
   /home/tester/guix-MASTER/test-tmp/store/i0mzcvjnsw4y3fg7k11xg004gw6szi58-perl-5.16.1.drv
   /home/tester/guix-MASTER/test-tmp/store/ysld9s7arpcxgz05p42m7adr74qar6a4-linux-libre-3.3.8-gnu.tar.xz.drv
   /home/tester/guix-MASTER/test-tmp/store/9cazin90jsrkxiikip5qfk7cx7y35g2n-glibc-2.18.tar.xz.drv
   /home/tester/guix-MASTER/test-tmp/store/dacvrdsv7ij1sqf0ly1n9s6gksdxyj54-glibc-intermediate-2.18.drv
   /home/tester/guix-MASTER/test-tmp/store/wlc6qa7s72lzgrjjdw392a7n18s2ds6d-gcc-cross-boot0-wrapped-4.8.2.drv
   /home/tester/guix-MASTER/test-tmp/store/cyqvss40i1z97yapwslla3iw75z4bgss-bash-light-4.2.drv
   /home/tester/guix-MASTER/test-tmp/store/y8smapn8j4ax0dqvccgv62znbgyg1ynx-glibc-2.18.tar.xz.drv
   /home/tester/guix-MASTER/test-tmp/store/82jnzw857r2slsir5ckllfsh2sy8y0y6-mpc-1.0.1.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/d5xk3jqyx5xj7kvhwnl01gyk1rilpkx9-gmp-5.1.3.tar.xz.drv
   /home/tester/guix-MASTER/test-tmp/store/i0hgjb8rs1a6zl2q2b75byv5hv5j8z22-mpfr-3.1.2.tar.xz.drv
   /home/tester/guix-MASTER/test-tmp/store/28aylndqvs0h2idg1p62xhjq9zgj6284-ncurses-5.9.drv
   /home/tester/guix-MASTER/test-tmp/store/844462vjcnrncwszhlmz9mvn3n9i6y5s-bash-4.2.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/zg14cg8ivydza8y4ji01gq066k0qxbp2-readline-6.2.drv
   /home/tester/guix-MASTER/test-tmp/store/k268iiwf4m3k5aqdc5zzh1x7slpi32dd-libsigsegv-2.10.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/50dxdg2bc0vy09sp20kvvlyw3rnpmrhp-gawk-4.1.0.tar.xz.drv
   /home/tester/guix-MASTER/test-tmp/store/b7hzlk3kfnzzxbq7k0ymf4lc8900qdxp-libsigsegv-2.10.drv
   /home/tester/guix-MASTER/test-tmp/store/r8i5jbd93lchhgnh75gzhxgyqzxa5s2m-grep-2.15.tar.xz.drv
   /home/tester/guix-MASTER/test-tmp/store/gms88iwm3nfh5a0zb2r8n8w4vy6fp9pz-sed-4.2.2.tar.bz2.drv
   /home/tester/guix-MASTER/test-tmp/store/anmqzclfw812s1156iibpif87b5mn6xs-m4-1.4.17.drv
   /home/tester/guix-MASTER/test-tmp/store/8c85q40a1rvdcbkvqmwb4711ar8mg3ra-attr-2.4.46.src.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/l389gfcvkqm8frk5di9l19c0sw6wnp3g-expat-2.1.0.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/5m0x30cd59mx9p547drn0qfirzbjhp80-gettext-0.18.3.1.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/j1y1mnh404p9d2a10isml9wjn2m52x4j-expat-2.1.0.drv
   /home/tester/guix-MASTER/test-tmp/store/4q9pl1fv8a8bpi27plpz4gn345d6qf15-acl-2.2.51.src.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/75hgy6i3xdydp9f4kz0r2bnknvpa7jzr-gettext-0.18.3.1.drv
   /home/tester/guix-MASTER/test-tmp/store/r161vjyqwxbzl3waksah88rf3y8g7y81-attr-2.4.46.drv
   /home/tester/guix-MASTER/test-tmp/store/f0f06y4f8r3sbi6nn1rxc40yx7nrm1zs-acl-2.2.51.drv
   /home/tester/guix-MASTER/test-tmp/store/la3cwzn4a77s6gxrvpgjhm3dy6i5yvlg-coreutils-8.21.tar.xz.drv
   /home/tester/guix-MASTER/test-tmp/store/p3ka75qfwg8crmmq2s63r1dzy6dpcyjn-gmp-5.1.3.drv
   /home/tester/guix-MASTER/test-tmp/store/p6x2az5g7nlk8mcb7k91sfr7wy79xsg2-perl-5.16.1.drv
   /home/tester/guix-MASTER/test-tmp/store/1l5yjrw8pnp4h81xkwlcn6bkjlf0hjj6-patch-2.7.1.tar.xz.drv
   /home/tester/guix-MASTER/test-tmp/store/f1k09qh4a71mig70cbx306sghcj0rbj9-xz-5.0.4.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/x12nkcfq47q0iymqqq6zxknh5idfc0bc-bzip2-1.0.6.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/n9bj1nxf19cyagip62b1gs81zp1235q1-gzip-1.6.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/87pqbfbwxdids2h2fi948gzds5mg625q-tar-1.27.1.tar.bz2.drv
   /home/tester/guix-MASTER/test-tmp/store/03inwnx0i2q59g8mgms534rmmq79bsm3-module-import-compiled.drv
   /home/tester/guix-MASTER/test-tmp/store/qzmbizf4lby4x824n8xvj750qksk4h65-module-import.drv
   /home/tester/guix-MASTER/test-tmp/store/6imgqv8z6zijbrdj26qvdiwc2hr9yijs-libffi-3.0.13.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/1vbxg0f0cybhb98r017f30yaf7jrkcsl-libffi-3.0.13.tar.xz.drv
   /home/tester/guix-MASTER/test-tmp/store/n8fg5cf50ljkr1f7lj1zb8l8b6fxnlks-libunistring-0.9.3.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/d4ajlcr1rnp7g8fs9yi2p0sszggmw5av-binutils-2.23.2.tar.bz2.drv
   /home/tester/guix-MASTER/test-tmp/store/k6wn92i5cjh8agzflnpgg47yvlsrf1qd-binutils-2.23.2.tar.xz.drv
   /home/tester/guix-MASTER/test-tmp/store/bpxmjq8qbspknxwk7jfqnl0zpadidrmp-pkg-config-0.27.1.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/wk5qy48xrnhpnkafv4n34d9vlq0hvmsx-gc-7.2d.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/cybhkggvr6arfmxkjj269y9kv1jmsxfc-ncurses-5.9.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/lyfh7rfhby7iwpznzws6xgv0bdd106ba-gcc-cross-boot0-4.8.2.drv
   /home/tester/guix-MASTER/test-tmp/store/8b8fqnizxprlrgcwzgyqfbp8v6c2f725-mpc-1.0.1.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/ac7hvz6qgwk5zba1izfnbsf5blmjy8s3-libstdc++-4.8.2.drv
   /home/tester/guix-MASTER/test-tmp/store/cccnx6pm37p78w8nlv4mvi967kb3vlw6-gcc-4.8.2.tar.bz2.drv
   /home/tester/guix-MASTER/test-tmp/store/ijgb1ygwbfzl1i6nayqz8ivn9j917x6a-mpfr-3.1.2.tar.xz.drv
   /home/tester/guix-MASTER/test-tmp/store/sisrl7jyfyq91zmdlspv1nicxy0khpzw-gcc-cross-boot0-wrapped-4.8.2.drv
   /home/tester/guix-MASTER/test-tmp/store/2v81ni0h10sncxndarbjbpnmch3857pi-perl-5.16.1.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/s506v25izrcs55rx3xnw6q8kb02f1y1h-perl-5.16.1.tar.xz.drv
   /home/tester/guix-MASTER/test-tmp/store/kbrwsga6sq7kmfx98y5dxlfzi07r5h8y-libtool-2.4.2.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/1v3qs4lqzhh4w68f8x3dpfy94i84bnf7-libtool-2.4.2.tar.xz.drv
   /home/tester/guix-MASTER/test-tmp/store/cgvqgj7a183xilb8g2v6skwigqjpd029-perl-5.16.1.drv
   /home/tester/guix-MASTER/test-tmp/store/81j9q8lw465mxqdvh30qawlazkkcih29-readline-6.2.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/gm9ybzpna2n6sy4lj6wq9nac3f00pdh1-readline-6.2.tar.xz.drv
   /home/tester/guix-MASTER/test-tmp/store/3vg2k773pnwy638wxgkq70jphr8zrhxg-m4-1.4.17.tar.bz2.drv
   /home/tester/guix-MASTER/test-tmp/store/i7b4pbg52a3pvniavilb26qjmsr2w3i9-m4-1.4.17.tar.xz.drv
   /home/tester/guix-MASTER/test-tmp/store/lwfqxjf5hswjnvds0rf4llg1aj3i8fyw-gmp-5.1.3.tar.xz.drv
   /home/tester/guix-MASTER/test-tmp/store/q59ngq97w2sfqhbsaibzk0lmv8bgxnvz-m4-1.4.17.drv
   /home/tester/guix-MASTER/test-tmp/store/0ghj7vgiaajlg5cxph6gjcs7rhvw1f8l-gmp-5.1.3.drv
   /home/tester/guix-MASTER/test-tmp/store/17g7hmrln9aj4gyiy2iazhl12hrkdq4v-readline-6.2.drv
   /home/tester/guix-MASTER/test-tmp/store/2a9arqv9qblgpwh0j59zffjdp86vh0lm-libtool-2.4.2.drv
   /home/tester/guix-MASTER/test-tmp/store/5w0krwb57b9ck8v3cgj4k859731an79l-gcc-4.8.2.drv
   /home/tester/guix-MASTER/test-tmp/store/6a9hsai0h0rasw48hdx886i4rwvil7nq-ncurses-5.9.drv
   /home/tester/guix-MASTER/test-tmp/store/6gb646v85x9im0rv7zv1y1yvlxfrs9g1-libgc-7.2d.drv
   /home/tester/guix-MASTER/test-tmp/store/g33fl0gwfpabsz1yhq5xf4qwiylmn2kg-pkg-config-0.27.1.drv
   /home/tester/guix-MASTER/test-tmp/store/gs4q3p86kxphvy41k1yi3r5i0659pf4a-binutils-cross-boot0-2.23.2.drv
   /home/tester/guix-MASTER/test-tmp/store/hzl21vq2gw108j02856c8s6dwwrf8cab-ld-wrapper-boot3-0.drv
   /home/tester/guix-MASTER/test-tmp/store/iwa8h832gfgfwch6pbnq6plvaqdgam6b-libunistring-0.9.3.drv
   /home/tester/guix-MASTER/test-tmp/store/xria0skb2msh63qiz78di7zc1nwidxfk-guile-2.0.9.tar.xz.drv
   /home/tester/guix-MASTER/test-tmp/store/xs7prz59ln7rp0cvxk8arw3j4g0xb8gh-libffi-3.0.13.drv
   /home/tester/guix-MASTER/test-tmp/store/bm33qm9bhj5nybfy18d4m0f22ik8dlyr-guile-2.0.9.drv
   /home/tester/guix-MASTER/test-tmp/store/a2f3l2dhrdgnlzir0r6mghhhxaa3dbby-hello-2.9.tar.gz.drv
   /home/tester/guix-MASTER/test-tmp/store/bfnx1ky18psn28mr2nmkfd25mb0lijp6-tar-1.27.1.drv
   /home/tester/guix-MASTER/test-tmp/store/lgi2fb827mkgd1a7zd19bv4z8bygr96s-gzip-1.6.drv
   /home/tester/guix-MASTER/test-tmp/store/1mlx7kkapbm2ig4cb1lzmyc7hhb85ln5-bzip2-1.0.6.drv
   /home/tester/guix-MASTER/test-tmp/store/wlx9ni74h2x6s1jlly4bql53xp8aiicr-xz-5.0.4.drv
   /home/tester/guix-MASTER/test-tmp/store/mlnqg5xvpl8afny44ppxlr3xc8bbbamw-diffutils-3.3.drv
   /home/tester/guix-MASTER/test-tmp/store/6hnsg3p7qakap32za176jnxfwq4n304x-patch-2.7.1.drv
   /home/tester/guix-MASTER/test-tmp/store/4zi64b1am13zsc8ba5f44rmi8kcn98am-coreutils-8.21.drv
   /home/tester/guix-MASTER/test-tmp/store/24azi4wpa21cyvq2rn41z6nwxmvarzzz-sed-4.2.2.drv
   /home/tester/guix-MASTER/test-tmp/store/77dl5h7fiqf2bibsfjd7pq9p4bmhsbal-grep-2.15.drv
   /home/tester/guix-MASTER/test-tmp/store/z2s8amqv68kwsw39ywwkg76x0im5vpyi-findutils-4.4.2.drv
   /home/tester/guix-MASTER/test-tmp/store/21sr7r0nm5giiwsicfhpq8n2wjknly1h-gawk-4.1.0.drv
   /home/tester/guix-MASTER/test-tmp/store/p4fkh844y29y5wcjgw6333c2qwbvvqg4-make-4.0.drv
   /home/tester/guix-MASTER/test-tmp/store/bzbqvbq3zlyk864iycbvzd2ja79cn5p6-bash-4.2.drv
   /home/tester/guix-MASTER/test-tmp/store/wiiwscvwscm7bqvf46r6cjzckmniy3fl-ld-wrapper-0.drv
   /home/tester/guix-MASTER/test-tmp/store/1jdnlkzz1rzr2nc8b08ldr91n3r5sgpa-binutils-2.23.2.drv
   /home/tester/guix-MASTER/test-tmp/store/mq2a4ja2h99b016v4l0sccjg0g64157v-gcc-4.8.2.drv
   /home/tester/guix-MASTER/test-tmp/store/fqh9h1gyg3414nix77l3z8c32sf598r0-glibc-2.18.drv
   /home/tester/guix-MASTER/test-tmp/store/2y1b62cwcj0iwi3f9aa3l5mysa4lkys6-linux-libre-headers-3.3.8.drv
   /home/tester/guix-MASTER/test-tmp/store/95ihnph9j89vwfvzw9b3y7bmn82vicf9-module-import.drv
   /home/tester/guix-MASTER/test-tmp/store/1rpsfjj0pmambdpdfg7pc49hj9z1sckz-module-import-compiled.drv
/home/tester/guix-MASTER/test-tmp/store/3bkx31jqbh10nkrd04hiq0fcb38kbb8n-hello-2.9.drv
1775 operations
++ guix build -d -e '(@@ (gnu packages base) %bootstrap-guile)'
accepted connection from pid 22989, uid 1000
spurious SIGPOLL
+ drv=/home/tester/guix-MASTER/test-tmp/store/hsmxb8q6dybsb7qm7g4hr28l5kngvly6-guile-bootstrap-2.0.drv
12 operations
++ guix build -e '(@@ (gnu packages base) %bootstrap-guile)'
accepted connection from pid 23014, uid 1000
+ out=/home/tester/guix-MASTER/test-tmp/store/r5a3g247wzcvyap67jhk2f1hbhsqajw0-guile-bootstrap-2.0
13 operations
++ guix build --log-file /home/tester/guix-MASTER/test-tmp/store/hsmxb8q6dybsb7qm7g4hr28l5kngvly6-guile-bootstrap-2.0.drv
accepted connection from pid 23039, uid 1000
guix build: error: no build log for '/home/tester/guix-MASTER/test-tmp/store/hsmxb8q6dybsb7qm7g4hr28l5kngvly6-guile-bootstrap-2.0.drv'
+ log=
1 operations

FAIL: tests/guix-register
=========================

+ guix-register --version
guix-register (GNU Guix) 0.6
+ new_store=t-register-24008
+ closure=t-register-closure-24008
+ rm -rf t-register-24008
+ exit_hook=:
+ trap 'chmod -R +w t-register-24008 ; rm -rf t-register-24008 t-register-closure-24008 ; $exit_hook' EXIT
+ new_file=/home/tester/guix-MASTER/test-tmp/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-guix-register-24008
+ echo 'Fake store file to test registration.'
+ guix-register
+ guile -c '
   (use-modules (guix store))
   (define s (open-connection))
   (exit (and (valid-path? s "/home/tester/guix-MASTER/test-tmp/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-guix-register-24008")
              (null? (references s "/home/tester/guix-MASTER/test-tmp/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-guix-register-24008"))
              (pair? (delete-paths s (list "/home/tester/guix-MASTER/test-tmp/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-guix-register-24008")))))'
accepted connection from pid 24016, uid 1000
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /home/tester/guix-MASTER/nix/scripts/list-runtime-roots
;;; compiled /home/tester/guix-MASTER/test-tmp/var/24003/cache-24003/guile/ccache/2.0-LE-4-2.0/home/tester/guix-MASTER/nix/scripts/list-runtime-roots.go
finding garbage collector roots...
cannot read potential root `/home/tester/guix-MASTER/test-tmp/var/24003/manifests'
deleting `/home/tester/guix-MASTER/test-tmp/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-guix-register-24008'
deleting `/home/tester/guix-MASTER/test-tmp/store/trash'
deleting unused links...
note: currently hard linking saves -0.00 MiB
3 operations
+ mkdir -p t-register-24008//gnu/store
++ cd t-register-24008//gnu/store
++ pwd
+ new_store_dir=/home/tester/guix-MASTER/t-register-24008/gnu/store
++ cd t-register-24008
++ pwd
+ new_store=/home/tester/guix-MASTER/t-register-24008
++ guix build guile-bootstrap
accepted connection from pid 24023, uid 1000
+ to_copy=/home/tester/guix-MASTER/test-tmp/store/r5a3g247wzcvyap67jhk2f1hbhsqajw0-guile-bootstrap-2.0
13 operations
+ cp -r /home/tester/guix-MASTER/test-tmp/store/r5a3g247wzcvyap67jhk2f1hbhsqajw0-guile-bootstrap-2.0 /home/tester/guix-MASTER/t-register-24008/gnu/store
++ basename /home/tester/guix-MASTER/test-tmp/store/r5a3g247wzcvyap67jhk2f1hbhsqajw0-guile-bootstrap-2.0
+ copied=/home/tester/guix-MASTER/t-register-24008/gnu/store/r5a3g247wzcvyap67jhk2f1hbhsqajw0-guile-bootstrap-2.0
+ cat
+ guix-register -p /home/tester/guix-MASTER/t-register-24008
+ guix-register --prefix /home/tester/guix-MASTER/t-register-24008 t-register-closure-24008
+ NIX_IGNORE_SYMLINK_STORE=1
+ NIX_STORE_DIR=/home/tester/guix-MASTER/t-register-24008/gnu/store
+ NIX_STATE_DIR=/home/tester/guix-MASTER/t-register-24008/nix/var
+ NIX_LOG_DIR=/home/tester/guix-MASTER/t-register-24008/nix/var/log/nix
+ NIX_DB_DIR=/home/tester/guix-MASTER/t-register-24008/nix/var/nix/db
+ export NIX_IGNORE_SYMLINK_STORE NIX_STORE_DIR NIX_STATE_DIR NIX_LOG_DIR NIX_DB_DIR
+ subdaemon_pid=24053
+ exit_hook='kill 24053'
+ guix-daemon --disable-chroot
++ basename /home/tester/guix-MASTER/test-tmp/store/r5a3g247wzcvyap67jhk2f1hbhsqajw0-guile-bootstrap-2.0
+ final_name=/gnu/store/r5a3g247wzcvyap67jhk2f1hbhsqajw0-guile-bootstrap-2.0
+ guile -c '
   (use-modules (guix store))
   (define s (open-connection))
   (exit (equal? (list "/home/tester/guix-MASTER/t-register-24008/gnu/store/r5a3g247wzcvyap67jhk2f1hbhsqajw0-guile-bootstrap-2.0") (dead-paths s)))'
accepted connection from pid 24055, uid 1000
finding garbage collector roots...
cannot read potential root `/home/tester/guix-MASTER/t-register-24008/nix/var/manifests'
determining live/dead paths...
1 operations
+ type -P sqlite3
/nix/var/nix/profiles/default/guix-profile/bin/sqlite3
+ echo 'select * from ValidPaths where path="/gnu/store/r5a3g247wzcvyap67jhk2f1hbhsqajw0-guile-bootstrap-2.0";'
+ sqlite3 /home/tester/guix-MASTER/t-register-24008/nix/var/nix/db/db.sqlite
Error: near line 1: database is locked
+ chmod -R +w t-register-24008
+ rm -rf t-register-24008 t-register-closure-24008
+ kill 24053


[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: master: FAIL: tests/store.scm
  2014-03-16  7:42             ` Nikita Karetnikov
@ 2014-03-16 21:16               ` Ludovic Courtès
  2014-03-17 19:54                 ` Nikita Karetnikov
  0 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2014-03-16 21:16 UTC (permalink / raw)
  To: Nikita Karetnikov; +Cc: guix-devel

Nikita Karetnikov <nikita@karetnikov.org> skribis:

>>> Which log files would you like to see?
>
>> The SRFI-64 $top_builddir/*.log files, and $top_builddir/test-suite.log.
>
> $ git rev-parse HEAD
> 6f58d582432fe46c163f61ddf8f653584f4f7be8
>
> FAIL: tests/store.scm
> FAIL: tests/guix-build.sh
> FAIL: tests/guix-register.sh

> Test begin:
>   test-name: "log-file, derivation"
>   source-file: "tests/store.scm"
>   source-line: 206
>   source-form: (test-assert "log-file, derivation" (let* ((b (add-text-to-store %store "build" "echo $foo > $out" (quote ()))) (s (add-to-store %store "bash" #t "sha256" (search-bootstrap-binary "bash" (%current-system)))) (d (derivation %store "the-thing" s (quasiquote ("-e" (unquote b))) #:env-vars (quasiquote (("foo" unquote (random-text)))) #:inputs (quasiquote (((unquote b)) ((unquote s))))))) (and (build-derivations %store (list d)) (file-exists? (pk (log-file %store (derivation-file-name d)))))))
> Test end:
>   result-kind: fail
>   actual-value: #f
>   actual-error: (wrong-type-arg "stat" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "open file port" #f) (#f))
> Test begin:
>   test-name: "log-file, output file name"
>   source-file: "tests/store.scm"
>   source-line: 218
>   source-form: (test-assert "log-file, output file name" (let* ((b (add-text-to-store %store "build" "echo $foo > $out" (quote ()))) (s (add-to-store %store "bash" #t "sha256" (search-bootstrap-binary "bash" (%current-system)))) (d (derivation %store "the-thing" s (quasiquote ("-e" (unquote b))) #:env-vars (quasiquote (("foo" unquote (random-text)))) #:inputs (quasiquote (((unquote b)) ((unquote s)))))) (o (derivation->output-path d))) (and (build-derivations %store (list d)) (file-exists? (pk (log-file %store o))) (string=? (log-file %store (derivation-file-name d)) (log-file %store o)))))
> Test end:
>   result-kind: fail
>   actual-value: #f
>   actual-error: (wrong-type-arg "stat" "Wrong type argument in position ~A (expecting ~A): ~S" (1 "open file port" #f) (#f))

These two failures are because the ‘test-tmp’ directory predates the
nix → guix change in commit f5768afa333bbc8167ef2e33db44c9bb64bef0be.

An annoyance, but that should be fixed by either “rm -rf test-tmp &&
make check”, or “cd test-tmp/var/log && mv nix guix”.

Can you confirm?

[...]

> ++ guix build --log-file /home/tester/guix-MASTER/test-tmp/store/hsmxb8q6dybsb7qm7g4hr28l5kngvly6-guile-bootstrap-2.0.drv
> accepted connection from pid 23039, uid 1000
> guix build: error: no build log for '/home/tester/guix-MASTER/test-tmp/store/hsmxb8q6dybsb7qm7g4hr28l5kngvly6-guile-bootstrap-2.0.drv'
> + log=

This is the same problem (tests/guix-build.sh).

> + type -P sqlite3
> /nix/var/nix/profiles/default/guix-profile/bin/sqlite3
> + echo 'select * from ValidPaths where path="/gnu/store/r5a3g247wzcvyap67jhk2f1hbhsqajw0-guile-bootstrap-2.0";'
> + sqlite3 /home/tester/guix-MASTER/t-register-24008/nix/var/nix/db/db.sqlite
> Error: near line 1: database is locked
> + chmod -R +w t-register-24008
> + rm -rf t-register-24008 t-register-closure-24008
> + kill 24053

I don’t know what this means.

Could this be a version mismatch between the ‘sqlite3’ command above and
libsqlite guix-register is linked against?

Thanks for the report!

Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: master: FAIL: tests/store.scm
  2014-03-16 21:16               ` Ludovic Courtès
@ 2014-03-17 19:54                 ` Nikita Karetnikov
  2014-03-17 21:08                   ` Ludovic Courtès
  2014-03-17 22:32                   ` Ludovic Courtès
  0 siblings, 2 replies; 12+ messages in thread
From: Nikita Karetnikov @ 2014-03-17 19:54 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1120 bytes --]

>> FAIL: tests/store.scm
>> FAIL: tests/guix-build.sh
>> FAIL: tests/guix-register.sh

> These two failures are because the ‘test-tmp’ directory predates the
> nix → guix change in commit f5768afa333bbc8167ef2e33db44c9bb64bef0be.

> An annoyance, but that should be fixed by either “rm -rf test-tmp &&
> make check”, or “cd test-tmp/var/log && mv nix guix”.

> Can you confirm?

I ran both commands, which fixed ‘tests/guix-build.sh’ but not
‘tests/store.scm’.

>> + type -P sqlite3
>> /nix/var/nix/profiles/default/guix-profile/bin/sqlite3
>> + echo 'select * from ValidPaths where path="/gnu/store/r5a3g247wzcvyap67jhk2f1hbhsqajw0-guile-bootstrap-2.0";'
>> + sqlite3 /home/tester/guix-MASTER/t-register-24008/nix/var/nix/db/db.sqlite
>> Error: near line 1: database is locked
>> + chmod -R +w t-register-24008
>> + rm -rf t-register-24008 t-register-closure-24008
>> + kill 24053

> I don’t know what this means.

> Could this be a version mismatch between the ‘sqlite3’ command above and
> libsqlite guix-register is linked against?

Maybe.  How can I check?

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: master: FAIL: tests/store.scm
  2014-03-17 19:54                 ` Nikita Karetnikov
@ 2014-03-17 21:08                   ` Ludovic Courtès
  2014-03-17 22:32                   ` Ludovic Courtès
  1 sibling, 0 replies; 12+ messages in thread
From: Ludovic Courtès @ 2014-03-17 21:08 UTC (permalink / raw)
  To: Nikita Karetnikov; +Cc: guix-devel

Nikita Karetnikov <nikita@karetnikov.org> skribis:

>>> FAIL: tests/store.scm
>>> FAIL: tests/guix-build.sh
>>> FAIL: tests/guix-register.sh
>
>> These two failures are because the ‘test-tmp’ directory predates the
>> nix → guix change in commit f5768afa333bbc8167ef2e33db44c9bb64bef0be.
>
>> An annoyance, but that should be fixed by either “rm -rf test-tmp &&
>> make check”, or “cd test-tmp/var/log && mv nix guix”.
>
>> Can you confirm?
>
> I ran both commands, which fixed ‘tests/guix-build.sh’ but not
> ‘tests/store.scm’.

Same error for store.scm?  Could you investigate?  (The ‘log-file’ tests
should be quite simple.)

>>> + type -P sqlite3
>>> /nix/var/nix/profiles/default/guix-profile/bin/sqlite3
>>> + echo 'select * from ValidPaths where path="/gnu/store/r5a3g247wzcvyap67jhk2f1hbhsqajw0-guile-bootstrap-2.0";'
>>> + sqlite3 /home/tester/guix-MASTER/t-register-24008/nix/var/nix/db/db.sqlite
>>> Error: near line 1: database is locked
>>> + chmod -R +w t-register-24008
>>> + rm -rf t-register-24008 t-register-closure-24008
>>> + kill 24053
>
>> I don’t know what this means.
>
>> Could this be a version mismatch between the ‘sqlite3’ command above and
>> libsqlite guix-register is linked against?
>
> Maybe.  How can I check?

Perhaps sqlite3 --version, and:

  ldd $(which sqlite3) | grep sqlite
  ldd $(which guix-daemon) | grep sqlite

On my machine both refer to sqlite-3.7.15.2 installed with Guix.

Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: master: FAIL: tests/store.scm
  2014-03-17 19:54                 ` Nikita Karetnikov
  2014-03-17 21:08                   ` Ludovic Courtès
@ 2014-03-17 22:32                   ` Ludovic Courtès
  1 sibling, 0 replies; 12+ messages in thread
From: Ludovic Courtès @ 2014-03-17 22:32 UTC (permalink / raw)
  To: Nikita Karetnikov; +Cc: guix-devel

Nikita Karetnikov <nikita@karetnikov.org> skribis:

>>> FAIL: tests/store.scm
>>> FAIL: tests/guix-build.sh
>>> FAIL: tests/guix-register.sh
>
>> These two failures are because the ‘test-tmp’ directory predates the
>> nix → guix change in commit f5768afa333bbc8167ef2e33db44c9bb64bef0be.
>
>> An annoyance, but that should be fixed by either “rm -rf test-tmp &&
>> make check”, or “cd test-tmp/var/log && mv nix guix”.
>
>> Can you confirm?
>
> I ran both commands, which fixed ‘tests/guix-build.sh’ but not
> ‘tests/store.scm’.
>
>>> + type -P sqlite3
>>> /nix/var/nix/profiles/default/guix-profile/bin/sqlite3
>>> + echo 'select * from ValidPaths where path="/gnu/store/r5a3g247wzcvyap67jhk2f1hbhsqajw0-guile-bootstrap-2.0";'
>>> + sqlite3 /home/tester/guix-MASTER/t-register-24008/nix/var/nix/db/db.sqlite
>>> Error: near line 1: database is locked
>>> + chmod -R +w t-register-24008
>>> + rm -rf t-register-24008 t-register-closure-24008
>>> + kill 24053

I was able to reproduce it with just ‘make clean && make check’ (the
guix -> nix symlink I had in test-tmp was hiding the real problem.)

Commit aa2480e fixes it.

So thanks for persevering!  :-)

Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-03-17 22:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-04 11:35 master: the tests take ages Nikita Karetnikov
2014-03-04 16:23 ` Mark H Weaver
2014-03-04 17:14   ` Ludovic Courtès
2014-03-05 21:44     ` master: FAIL: tests/store.scm (was: master: the tests take ages) Nikita Karetnikov
2014-03-05 22:34       ` master: FAIL: tests/store.scm Ludovic Courtès
2014-03-11  9:45         ` Nikita Karetnikov
2014-03-11 11:04           ` Ludovic Courtès
2014-03-16  7:42             ` Nikita Karetnikov
2014-03-16 21:16               ` Ludovic Courtès
2014-03-17 19:54                 ` Nikita Karetnikov
2014-03-17 21:08                   ` Ludovic Courtès
2014-03-17 22:32                   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).