Re: master: FAIL: tests/store.scm
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? pgpa7KTqH5aq1.pgp Description: PGP signature
Re: master: FAIL: tests/store.scm
Nikita Karetnikov nik...@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’.
Re: master: FAIL: tests/store.scm
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 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
Re: master: FAIL: tests/store.scm
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? pgpmWJBCcyXtw.pgp Description: PGP signature
Re: master: FAIL: tests/store.scm
Nikita Karetnikov nik...@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’.
master: FAIL: tests/store.scm (was: master: the tests take ages)
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. 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)... file:///.../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
Re: master: FAIL: tests/store.scm
Nikita Karetnikov nik...@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’.