GNU bug report logs - #63596
guix-git-authenticate fails on fresh git clone

Previous Next

Package: guix;

Reported by: Tomas Volf <~@wolfsden.cz>

Date: Fri, 19 May 2023 21:43:01 UTC

Severity: normal

Done: Tomas Volf <~@wolfsden.cz>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63596 in the body.
You can then email your comments to 63596 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#63596; Package guix. (Fri, 19 May 2023 21:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to wolf <wolf <at> wolfsden.cz>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 19 May 2023 21:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: wolf <wolf <at> wolfsden.cz>
To: bug-guix <at> gnu.org
Subject: guix-git-authenticate fails on fresh git clone
Date: Fri, 19 May 2023 23:41:59 +0200
[Message part 1 (text/plain, inline)]
Hello,

as instructed on the Building from Git documentation page, I am writing
regarding a failing test (guix-git-authenticate) on a fresh git clone of guix
repository.  I am unsure what the exact commit was (sorry!), but I'm pretty sure
it is not relevant in this case (assuming it was not fixed this week).

    $ cat tests/guix-git-authenticate.log
    + '[' -d /home/wolf/sources/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-3776
    + guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad 'BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA' '--cache-key=test-3776' --stats
    +'--end=9549f0283a78fe36f2d4ff2a04ef8ad6b0c02604'
    guix git: error: Git error: cannot locate remote-tracking branch 'keyring'
    + v1_2_0_commit=a099685659b4bfa6b3218f84953cbb7ff9e88063
    + guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad 'BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA' '--cache-key=test-3776' --stats
    +'--end=a099685659b4bfa6b3218f84953cbb7ff9e88063'
    guix git: error: Git error: cannot locate remote-tracking branch 'keyring'
    FAIL tests/guix-git-authenticate.sh (exit status: 1)

As you can see, it complains about branch `keyring' being missing.  Indeed, once
I created it:

    $ g co keyring
    branch 'keyring' set up to track 'origin/keyring'.
    Switched to a new branch 'keyring'

After this the test passed just fine.  I did not have time to look into it more
in depth nor produce a patch, so I thought I will at least report it, as
instructed by the documentation.

Have a nice day,
W.

-- 
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#63596; Package guix. (Sat, 20 May 2023 15:52:02 GMT) Full text and rfc822 format available.

Message #8 received at 63596 <at> debbugs.gnu.org (full text, mbox):

From: Graham Addis <grahamjamesaddis <at> gmail.com>
To: 63596 <at> debbugs.gnu.org
Subject: guix-git-authenticate fails on fresh git clone
Date: Sat, 20 May 2023 16:16:29 +0100
Hi Wolf,

Which page are you referring to?

I followed the instructions at the following link which explains
fetching the keyring (second command block), which worked for me:

https://guix.gnu.org/manual/en/html_node/Building-from-Git.html

Graham




Changed bug submitter to 'Tomas Volf <~@wolfsden.cz>' from 'wolf <wolf <at> wolfsden.cz>' Request was from Tomas Volf <~@wolfsden.cz> to control <at> debbugs.gnu.org. (Tue, 09 Jan 2024 16:59:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 63596 <at> debbugs.gnu.org and Tomas Volf <~@wolfsden.cz> Request was from Tomas Volf <~@wolfsden.cz> to control <at> debbugs.gnu.org. (Fri, 12 Jan 2024 00:48:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 09 Feb 2024 12:24:19 GMT) Full text and rfc822 format available.

This bug report was last modified 77 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.