[BUG] Guix checkout fails `make check`

  • Done
  • quality assurance status badge
Details
5 participants
  • Leo Famulari
  • Ludovic Courtès
  • Maxime Devos
  • Ricardo Wurmus
  • Christopher Rodriguez
Owner
unassigned
Submitted by
Christopher Rodriguez
Severity
normal

Debbugs page

Christopher Rodriguez wrote 3 years ago
(address . bug-guix@gnu.org)
2b19c8ce-916a-36cb-b0b7-571000c31cab@gmail.com
               __________________________________________

                [BUG] GUIX CHECKOUT FAILS `MAKE CHECK`

                                yewscion
               __________________________________________


Table of Contents
_________________

1. Environment
2. Steps to reproduce
3. Expected Result
4. Actual Result
5. Visual Proof (screenshots, videos, text)
6. Severity/Priority


1 Environment
=============

  - *Device:* Linode Virtual Server, and Lenovo Thinkpad E14.
  - *OS:* Guix System, and a workplace-modified version of Ubuntu.
  - *Commits:* guix: `2c469f04a3bec27b1f49680c638814bc06075b9a`.
  - *Substitutes:* Enabled.
  - *Additional Channels:* None inside of `guix shell --pure -D \
    guix`.
  - *Blast Radius:* Two Failed Checks (guix-pack-relocatable.sh and
    guix-git-autenticate.sh).


2 Steps to reproduce
====================

  1. *Clone:* Run `git clone

  2. *Enter Dev Environment:* `cd guix && guix shell --pure -D guix`.

  3. *Bootstrap and Configure:* `./bootstrap && ./configure
      --localstatedir=/var`.

  4. *Make and Check:* `make && make check`.


3 Expected Result
=================

  All tests should pass or be skipped.


4 Actual Result
===============

  2 FAILs, and 1 XFAIL. (guix-pack-relocatable.sh and
    guix-git-autenticate.sh)


5 Visual Proof (screenshots, videos, text)
==========================================

  Attached are personally created logs of each step of the process. For
  further clarity, here is the output of `git -C ~/Downloads/guix log -n
  1` and `guix describe` on my GuixSD install. And because I discovered
  it after the fact, I've also attached the two logfiles created by the
  above process (config.log and testsuite.log).

  #+name git -C ~/Downloads/guix log -n 1
  ,----
  | commit 9834ff5d3293b2af728b41314c18ca7fb2081efe (HEAD -> master,
origin/master, origin/HEAD)
  | Author: Efraim Flashner <efraim@flashner.co.il>
  | Date:   Tue Dec 21 16:15:03 2021 +0200
  |
  | gnu: binutils-gold: Skip gold testsuite on some architectures.
  |
  |   * gnu/packages/base.scm (binutils-gold)[arguments]: Add a phase
on some
  |   architecturest to skip the gold testsuite.
  `----

  #+name guix describe
  ,----
  | [16.0] {12:12} ming@gorse:~/$ guix describe
  | Generation 18    Dec 20 2021 13:39:05    (current)
  | guix 84fe3a8
  |   branch: master
  |   commit: 84fe3a88179d5a6a5c619c408a4fd4fe2a779652
  | yewscion 84d82fe
  |   branch: trunk
  |   commit: 84d82fede37110a34e2df5e1712eb3bf934936cf
  `----


6 Severity/Priority
===================

  5 (Lowest Priority)
Attachment: test-suite.log
Attachment: config.log
make check-recursive
make[1]: Entering directory '/home/ming/Downloads/guix'
Making check in po/guix
make[2]: Entering directory '/home/ming/Downloads/guix/po/guix'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/home/ming/Downloads/guix/po/guix'
Making check in po/packages
make[2]: Entering directory '/home/ming/Downloads/guix/po/packages'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/home/ming/Downloads/guix/po/packages'
make[2]: Entering directory '/home/ming/Downloads/guix'
Compiling Scheme modules...
Compiling Scheme modules...
Compiling Scheme modules...
Compiling Scheme modules...
make check-TESTS check-local
make[3]: Entering directory '/home/ming/Downloads/guix'
make[4]: Entering directory '/home/ming/Downloads/guix'
PASS: tests/accounts.scm
PASS: tests/base16.scm
PASS: tests/base32.scm
PASS: tests/base64.scm
PASS: tests/boot-parameters.scm
PASS: tests/bournish.scm
PASS: tests/builders.scm
PASS: tests/build-utils.scm
PASS: tests/cache.scm
PASS: tests/challenge.scm
SKIP: tests/channels.scm
PASS: tests/combinators.scm
PASS: tests/containers.scm
PASS: tests/cpan.scm
SKIP: tests/cpio.scm
PASS: tests/cran.scm
SKIP: tests/crate.scm
PASS: tests/cve.scm
PASS: tests/debug-link.scm
PASS: tests/derivations.scm
PASS: tests/discovery.scm
PASS: tests/egg.scm
PASS: tests/elpa.scm
PASS: tests/file-systems.scm
PASS: tests/gem.scm
PASS: tests/gexp.scm
SKIP: tests/git.scm
SKIP: tests/git-authenticate.scm
PASS: tests/glob.scm
PASS: tests/gnu-maintenance.scm
PASS: tests/grafts.scm
PASS: tests/graph.scm
PASS: tests/gremlin.scm
SKIP: tests/hackage.scm
PASS: tests/home-import.scm
SKIP: tests/import-git.scm
PASS: tests/import-utils.scm
SKIP: tests/inferior.scm
PASS: tests/lint.scm
PASS: tests/minetest.scm
PASS: tests/modules.scm
PASS: tests/monads.scm
PASS: tests/nar.scm
PASS: tests/networking.scm
PASS: tests/opam.scm
PASS: tests/openpgp.scm
PASS: tests/packages.scm
PASS: tests/pack.scm
PASS: tests/pki.scm
PASS: tests/print.scm
PASS: tests/processes.scm
PASS: tests/profiles.scm
PASS: tests/publish.scm
SKIP: tests/pypi.scm
PASS: tests/records.scm
PASS: tests/scripts.scm
PASS: tests/search-paths.scm
PASS: tests/services.scm
PASS: tests/services/file-sharing.scm
PASS: tests/services/linux.scm
PASS: tests/services/telephony.scm
PASS: tests/sets.scm
PASS: tests/size.scm
PASS: tests/status.scm
PASS: tests/store-database.scm
PASS: tests/store-deduplication.scm
PASS: tests/store-roots.scm
PASS: tests/store.scm
PASS: tests/substitute.scm
PASS: tests/swh.scm
PASS: tests/syscalls.scm
PASS: tests/system.scm
PASS: tests/style.scm
PASS: tests/texlive.scm
PASS: tests/transformations.scm
PASS: tests/ui.scm
PASS: tests/union.scm
SKIP: tests/upstream.scm
PASS: tests/utils.scm
PASS: tests/uuid.scm
PASS: tests/workers.scm
PASS: tests/go.scm
PASS: tests/guix-build.sh
PASS: tests/guix-build-branch.sh
PASS: tests/guix-download.sh
FAIL: tests/guix-git-authenticate.sh
PASS: tests/guix-hash.sh
PASS: tests/guix-pack.sh
PASS: tests/guix-pack-localstatedir.sh
FAIL: tests/guix-pack-relocatable.sh
PASS: tests/guix-package.sh
PASS: tests/guix-package-aliases.sh
PASS: tests/guix-package-net.sh
PASS: tests/guix-system.sh
PASS: tests/guix-home.sh
PASS: tests/guix-archive.sh
PASS: tests/guix-authenticate.sh
PASS: tests/guix-environment.sh
PASS: tests/guix-environment-container.sh
PASS: tests/guix-shell.sh
PASS: tests/guix-graph.sh
PASS: tests/guix-describe.sh
PASS: tests/guix-repl.sh
PASS: tests/guix-lint.sh
PASS: tests/guix-gc.sh
PASS: tests/guix-daemon.sh
============================================================================
Testsuite summary for GNU Guix UNKNOWN
============================================================================
# TOTAL: 2077
# PASS: 2029
# SKIP: 45
# XFAIL: 1
# FAIL: 2
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to bug-guix@gnu.org
============================================================================
make[4]: *** [Makefile:6411: test-suite.log] Error 1
make[4]: Leaving directory '/home/ming/Downloads/guix'
make[3]: *** [Makefile:6519: check-TESTS] Error 2
make[3]: Leaving directory '/home/ming/Downloads/guix'
make[2]: *** [Makefile:6768: check-am] Error 2
make[2]: Leaving directory '/home/ming/Downloads/guix'
make[1]: *** [Makefile:6296: check-recursive] Error 1
make[1]: Leaving directory '/home/ming/Downloads/guix'
make: *** [Makefile:6770: check] Error 2
Attachment: OpenPGP_signature
Christopher Rodriguez wrote 3 years ago
(address . 52708@debbugs.gnu.org)
86c38b69-8a9a-cb9b-ea13-da79d4c74edb@gmail.com
As an aside: It seems as though on the web interface at least I am
causing all of my attachments to be concatenated with my messages. Is
there a specific way to attach files to prevent this, or is it intended?
Attachment: OpenPGP_signature
Maxime Devos wrote 3 years ago
4720980eab8aad98df96b231bdda6054c69d7c5a.camel@telenet.be
Christopher Rodriguez schreef op di 21-12-2021 om 12:21 [-0500]:
Toggle quote (13 lines)
> 5 Visual Proof (screenshots, videos, text)
> ==========================================
>
>    Attached are personally created logs of each step of the process.
> For
>    further clarity, here is the output of `git -C ~/Downloads/guix
> log -n
>    1` and `guix describe` on my GuixSD install. And because I
> discovered
>    it after the fact, I've also attached the two logfiles created by
> the
>    above process (config.log and testsuite.log).

(Not really relevant to the bug report) It's named Guix System now, not
GuixSD. Also, logs are pure text and hence not visual?
Christopher Rodriguez wrote 3 years ago
[BUG] Guix checkout fails `make check`
(address . 52708@debbugs.gnu.org)
e1ed89bc-5e16-5970-a281-2bc93a68410e@gmail.com
Copy that, will refer to it as 'Guix System' from now on. I'd picked up
GuixSD from reading (apparently outdated) blog posts.

Regarding the section header, I'd just copied something I found online
for submitting good bug reports. You're right, though, it's oddly named.
I think, going forward, I'll just use the word 'Evidence'.

Thanks again!
Attachment: OpenPGP_signature
Ludovic Courtès wrote 3 years ago
(name . Christopher Rodriguez)(address . yewscion@gmail.com)(address . 52708@debbugs.gnu.org)
878rwcxlyp.fsf@gnu.org
Hi Christopher,

Christopher Rodriguez <yewscion@gmail.com> skribis:

Toggle quote (13 lines)
> FAIL: tests/guix-git-authenticate
> =================================
>
> + '[' -d /home/ming/Downloads/guix/.git ']'
> + guile -c '(use-modules (git))
> (member "refs/heads/keyring" (branch-list (repository-open ".")))'
> + intro_commit=9edb3f66fd807b096b48283debdcddccfea34bad
> + intro_signer='BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA'
> + cache_key=test-24504
> + guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad 'BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA' --cache-key=test-24504 --stats --end=9549f0283a78fe36f2d4ff2a04ef8ad6b0c02604
> guix git: error: Git error: cannot locate remote-tracking branch 'keyring'
> FAIL tests/guix-git-authenticate.sh (exit status: 1)

It looks like your repo is missing a ‘keyring’ branch, which causes this
test failure. Can you set up the branch as noted here:


and try again?

Toggle quote (3 lines)
> FAIL: tests/guix-pack-relocatable
> =================================

[...]

Toggle quote (7 lines)
> + guix pack -RR python-numpy python-scipy --no-grafts -n
> guix pack: error: profile contains conflicting entries for python-numpy
> guix pack: error: first entry: python-numpy@1.21.3 /gnu/store/9dd0zkkwl45rmsa7b6vjb1747l57aw4y-python-numpy-1.21.3R
> guix pack: error: second entry: python-numpy@1.20.3 /gnu/store/mlccgh05bf8cdinq0ilpvpdmsspq36pv-python-numpy-1.20.3R
> guix pack: error: ... propagated from python-matplotlib@3.4.3
> guix pack: error: ... propagated from python-scipy@1.6.0

[...]

Toggle quote (13 lines)
> 314:42 3 (display-hint "Try upgrading both @code{python-numpy} ?" ?)
> In ice-9/boot-9.scm:
> 1747:15 2 (with-exception-handler #<procedure 7f5c9becbb10 at ic?> ?)
> In guix/build/syscalls.scm:
> 2282:35 1 (_)
> 2271:8 0 (terminal-window-size _)
>
> guix/build/syscalls.scm:2271:8: In procedure terminal-window-size:
> In procedure terminal-window-size: Inappropriate ioctl for device
> + chmod -Rf +w /tmp/tmp.L59DtouzZR
> + rm -rf /tmp/tmp.L59DtouzZR
> FAIL tests/guix-pack-relocatable.sh (exit status: 1)

Ah yes, this is a “known issue” since the recent merge. We need to
adjust the test to use other packages or something. To be continued…

Thanks,
Ludo’.
Ricardo Wurmus wrote 3 years ago
[BUG] Guix checkout fails `make check`
(address . 52708@debbugs.gnu.org)
871r1mek57.fsf@elephly.net
Toggle quote (7 lines)
> + guix pack -RR python-numpy python-scipy --no-grafts -n
> guix pack: error: profile contains conflicting entries for python-numpy
> guix pack: error: first entry: python-numpy@1.21.3 /gnu/store/9dd0zkkwl45rmsa7b6vjb1747l57aw4y-python-numpy-1.21.3R
> guix pack: error: second entry: python-numpy@1.20.3 /gnu/store/mlccgh05bf8cdinq0ilpvpdmsspq36pv-python-numpy-1.20.3R
> guix pack: error: ... propagated from python-matplotlib@3.4.3
> guix pack: error: ... propagated from python-scipy@1.6.0

This should no longer be a problem as we’ve renamed python-numpy@1.21 to
python-numpy-next.

--
Ricardo
Leo Famulari wrote 3 years ago
(name . Ricardo Wurmus)(address . rekado@elephly.net)(address . 52708-done@debbugs.gnu.org)
YdXoKtzK2kbd+Lca@jasmine.lan
On Wed, Jan 05, 2022 at 08:05:58AM +0100, Ricardo Wurmus wrote:
Toggle quote (10 lines)
> > + guix pack -RR python-numpy python-scipy --no-grafts -n
> > guix pack: error: profile contains conflicting entries for python-numpy
> > guix pack: error: first entry: python-numpy@1.21.3 /gnu/store/9dd0zkkwl45rmsa7b6vjb1747l57aw4y-python-numpy-1.21.3R
> > guix pack: error: second entry: python-numpy@1.20.3 /gnu/store/mlccgh05bf8cdinq0ilpvpdmsspq36pv-python-numpy-1.20.3R
> > guix pack: error: ... propagated from python-matplotlib@3.4.3
> > guix pack: error: ... propagated from python-scipy@1.6.0
>
> This should no longer be a problem as we’ve renamed python-numpy@1.21 to
> python-numpy-next.

Closing
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 52708@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 52708
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help