GNU bug report logs

#47239 Test failure in tests/publish.scm with commit 1955ef93b76e51cab5bed4c90f7eb9df7035355a

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #23 received at 47239@debbugs.gnu.org (full text, mbox, reply):

Received: (at 47239) by debbugs.gnu.org; 24 Mar 2021 02:34:54 +0000
From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 23 22:34:54 2021
Received: from localhost ([127.0.0.1]:33560 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1lOtME-0007jn-0f
	for submit@debbugs.gnu.org; Tue, 23 Mar 2021 22:34:54 -0400
Received: from mail-40131.protonmail.ch ([185.70.40.131]:39330)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cg@evrl.com>) id 1lOtKB-0007gO-Ur
 for 47239@debbugs.gnu.org; Tue, 23 Mar 2021 22:32:51 -0400
Date: Wed, 24 Mar 2021 02:32:35 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=evrl.com;
 s=protonmail; t=1616553160;
 bh=c1MLgPeuLRVgCO74zYSxZ/+5j+nwx7nuPADKiOqf1LQ=;
 h=Date:To:From:Reply-To:Subject:From;
 b=qagE/wSW48I34CopbOecPhynsjJsB46lynoVJEE1MCgpzGsyLXl6mjB0VrHVtulOH
 HRHAB2z4jakIMkEO9Pj4xPu0Tc3E0Mwpe7aG9oUBycvaVWKZ2QJvl9H/2Pn9yDC9SL
 Ni7xta0di3eXzrD+W101xzNRoMX+RvW6QLIRIIOw7hA+Exv7r5nz/C+cOejy2CEg4B
 LWXB/uVl3j08BOggIjOytbVi//ZWuvyyhpxbzzZRR3tIiFD3rPYLZqRx06s6oMMb5D
 sBIzGVv+JypRkQ+uCpKoLhN6TOQk69ouxBW7xeIS8692SJ4pLrRMURVbGwQUxzx7M6
 uY37V7Mp7wNCA==
To: "47239@debbugs.gnu.org" <47239@debbugs.gnu.org>
From: Cees de Groot <cg@evrl.com>
Subject: Test failure in tests/publish.scm with commit
 1955ef93b76e51cab5bed4c90f7eb9df7035355a
Message-ID: <47SHfOqtf5hQVCuz4_qa5-l6KHlNdy4vCqvta2XchFJuC6e8U1QngEpPQLsMD2HeZVVSCqEpCnvu3YE8jItMMWHuRdzN7mKEUiW4307toxk=@evrl.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="b1_swfnStGpW29UnLecLyGv9RIJdqqWgSGAJi7okpB0FH0"
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 47239
X-Mailman-Approved-At: Tue, 23 Mar 2021 22:34:53 -0400
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Reply-To: Cees de Groot <cg@evrl.com>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
[Message part 1 (text/plain, inline)]
I think this is a simple umask issue. Making the test check for just the bits worked for me:

diff --git a/tests/publish.scm b/tests/publish.scm
index 52101876b5..3e67c435ac 100644
--- a/tests/publish.scm
+++ b/tests/publish.scm
@@ -452,8 +452,8 @@ References: ~%"
(wait-for-file cached)

;; Both the narinfo and nar should be world-readable.
- (= #o644 (stat:perms (lstat cached)))
- (= #o644 (stat:perms (lstat nar)))
+ (= #o444 (logand #o444 (stat:perms (lstat cached))))
+ (= #o444 (logand #o444 (stat:perms (lstat nar))))

(let* ((body (http-get-port url))
(compressed (http-get nar-url))
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Dec 22 09:05:16 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.