GNU bug report logs - #76459
30.1; Test failure in auto-revert-test07-auto-revert-several-buffers

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Ulrich Müller <ulm@HIDDEN>; Done: Ulrich Müller <ulm@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug marked as fixed in version 30.1, send any further explanations to 76459 <at> debbugs.gnu.org and Ulrich Müller <ulm@HIDDEN> Request was from Ulrich Müller <ulm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 76459 <at> debbugs.gnu.org:


Received: (at 76459) by debbugs.gnu.org; 21 Feb 2025 12:06:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 21 07:06:06 2025
Received: from localhost ([127.0.0.1]:55819 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tlRnC-0007DH-6r
	for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 07:06:06 -0500
Received: from mout.gmx.net ([212.227.15.15]:57201)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <michael.albinus@HIDDEN>)
 id 1tlRn8-0007Bf-9c
 for 76459 <at> debbugs.gnu.org; Fri, 21 Feb 2025 07:06:03 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.de;
 s=s31663417; t=1740139551; x=1740744351; i=michael.albinus@HIDDEN;
 bh=mI5lJgVHLug2hkBTduSlLSlJrSFsEEv8HMuoQIpP0U4=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date:
 Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc:
 content-transfer-encoding:content-type:date:from:message-id:
 mime-version:reply-to:subject:to;
 b=lERrTGyTwxD8Q7Zjaahe/3dpMUdXDJQb6C5i7f8tYk8tLymKGjSjMXLv5+MjCV26
 eYLDfepdKAJStZn/dmPuUgiWG51yEEMZ7LKfhaBfg4QAm//RFH8mSShRdZoKFogcD
 w21SPfugaka7593Iw/K38ElDN72dbbgC3id4jLDDOG319O2ZfuzyJ2cZGaFiRUY7v
 0kG8vnD8QDIty6C0ak+T3tzxdaL9lgDBvEaXoTR3osUVVKL5U0GG60k80EZLJQ1e3
 Z5KpR4cMO8mU+03GFdFRO1zaZWcWH+2dWMIiAuaqXr9SnaJfPxXhM70EA6vDqlQ2m
 JS41A3E5lFkqNJSBLQ==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from gandalf.gmx.de ([185.89.38.155]) by mail.gmx.net (mrgmx004
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N7zFZ-1tHWuK0s4Z-011Os9; Fri, 21
 Feb 2025 13:05:51 +0100
From: Michael Albinus <michael.albinus@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#76459: 30.1; Test failure in
 auto-revert-test07-auto-revert-several-buffers
In-Reply-To: <86cyfb1pta.fsf@HIDDEN>
References: <ucyfbkacz@HIDDEN> <86pljb1z78.fsf@HIDDEN>
 <u4j0nk7t2@HIDDEN> <86cyfb1pta.fsf@HIDDEN>
Date: Fri, 21 Feb 2025 13:05:48 +0100
Message-ID: <87r03rwlib.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:V65QO78ZRjX5XuFlcZxlBBpi/3CR/KtLn3UPcg0q8cOqmOBGUOr
 fkss7nu4YQa0BmhC8gKMkp0W1JOYEvO54gEE3rNvG/7OtMQkD69gunG3JzvjaF79bEtEsom
 0vCgzWWuSXQ+JAgY+lmB8Gq0QnL/TsJSxv8BaHVYzJuFvpFPQWFHf07xLcpjDQk3otwmB0X
 JyS8EvI26afeFQgfm+Dfw==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:LUM/OfF3sOQ=;nXVQt9hJb6jkZAlW+8OLhO7hlVz
 2DzuNIGLYe+/SgLMgTCXrhRWJLoV1AuBo5QHHMLZ2ypBWFnba66dzaVtC4g2EVu+J3Sf69CLa
 VZly1+iDjvLn/xxvozPeaSRi4vGoJobItc8eggKDERdDxXfHj9I+eg498PVQt8ACnSDxTt6fi
 3QZzfbE0xsbYo3po5uBaHfPLWBHTnqgA9ncezNoQKobVceGuDmVRWvYDzeXDYFSwAFU8N7Fqm
 ghvGnkI2A0jscNar0PTruLPsmjjTFuzNMGtptR7ODlSRL5IO/2HtW/X6emVHZWt5fd+jXZAXV
 0tZjtZIHH24xhTFl9L7ufNQHCnX6wcw8yAruoidOW0Yf8eF73Da2bgSHnqwI10Mjq2ZbLD2Kp
 meogtVUezTrwbQhuXaKXiEB5QWpl3QDnaX5Dc+/b3oHcPqiTjQq72SH/smsqfwyyur8znnnvQ
 UUufJ+r0BVx074SPhfahXjjmF3BDEKN0Ds0d0ew3k2MHxW0aGgaTLNh5E17faaoRPm0AIfvMQ
 sXVZV2rbtawtO+0HLhmbBiSX3Enn0STrsRJJfSBoy1BvqpIUEiWqvQwpSNJ1jZqu51Bv4uMBV
 OEVIzBUxmAG54+qjoO5iuPucX6eNdPkIgtvmrUv2ZLFtLfkk5gMZil1rlZpmnJpHKCMdoeK9P
 j7wPdJRoV0kzKRGU+ad+8oHxFm6mFnmWsmPrWyUh363SLVOD6/2otsBPdoSPJDDLTfsiOmgoH
 /LZHD0R/rxkvvzjUyCwQ5MyjA3o6vz0NFMT13JenkPlacfpNt8oBqVs4kEgwnnMMm9my7LfC7
 MZwBpfmgNYqUJkl8MaW+fDnfcwo1f+rEyR/2A/WDaHDb0qcF3nAoRFt0egqiUsVjDxZNFuXTy
 MfBWAJPjKTNOX8Uz5NXm5A1AeC6hRrRBxKxgOKFMhv6CTPKzDziyyoGUCwO01EGtLF17vO34v
 FBEBpt/4IJtJn00eN/k9JKa2DOtfdNvbd+NfLmJzjYHeER9GjNnLvguT7JQBpDqEYsmv78npr
 nrYzHueGVPdSutFddeQ1ocb3LxQ+pmSGpUV3AxMmRHZiN46H0BEsU+YK95876XiS1dlCVb/Qe
 L0KId5r0/T6cMttXRNTpyp3ikZ0jb5DaFacPX3UwTQzXDu3Awq1VQSXwJhGfcd70IzOaCnvoB
 WC8m0jbHKbRv0QWpiFMhqeteY9vmVGXq4saBo5qoDIlMWhIxf3P5JOp6MpVS8D4eplGCfnFeq
 bubNtk4vzgu9JF7DmBZu7KIpYf0jFPNnxd0EcH+LbXQdUACfZ7MDcVnjSWq23Cb4XBAMVFsy6
 HRqlOvJulTrsXDztkpTn7SkyIYE+8bZwvyfTuMiFl1SuoajYodWxcJ7Z1yJ/ZHR2JqxjSge8T
 ko+mNNyf9BgS1O0epVA2nxT7tracj439Bb5qJXLmFLdoSkqbRcRgCLFMKK
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76459
Cc: 76459 <at> debbugs.gnu.org, Ulrich =?utf-8?Q?M=C3=BCller?= <ulm@HIDDEN>
X-BeenThere: debbugs-submit <at> 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 <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

Hi Eli,

>> AFAICS the test fails when Emacs is configured with option
>> --with-file-notification=3Dno.
>>
>> Attached patch fixes the problem for me.
>
> Michael, is this okay to install on the release branch?

Of course. I'm silent, because I'm thinking about how the "real"
solution (for master) should look like.

Best regards, Michael.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76459; Package emacs. Full text available.

Message received at 76459 <at> debbugs.gnu.org:


Received: (at 76459) by debbugs.gnu.org; 21 Feb 2025 11:48:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 21 06:48:47 2025
Received: from localhost ([127.0.0.1]:55530 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tlRWR-0004bP-Cq
	for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 06:48:47 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:37250)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tlRWO-0004aR-OM
 for 76459 <at> debbugs.gnu.org; Fri, 21 Feb 2025 06:48:45 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tlRWF-0002Qh-Sr; Fri, 21 Feb 2025 06:48:36 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=0Ok4udHkqkTxUWhr4PS70ArzjZ2tcndg8opZfRvvC8s=; b=nxZ1YFO7a9WUe9LNBPkN
 dFheoVZ5AHHqzLnwDZXFdHMSiZECwlCVk46Hj7bv1jftQE3Og2ymlPCZu2YgSYMjjpf7xGZJ1knDE
 29vzv7tc0nTn2Jmz/rizW4/BLZuTR73a27wnmjQ76ozHmjezk7jc2HO3ZYrUDml5huHGO83I3d07v
 xQtkkqfP5Rt9dWiZTOEXyB2ZA5QXKVxjNrIvdRBSgqZ9IBLhmSUP/3A6PsAbQ84MAZ6QMPD7hXM6A
 QEkfgBn20Xl3/M0FXKzFtldbRimoZyo9GiLE6h05aUIB42e9ufc72U4kU1K/kL/3alIhVfwCrIxu2
 kdDByDI+BPNPeA==;
Date: Fri, 21 Feb 2025 13:48:33 +0200
Message-Id: <86cyfb1pta.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ulrich =?iso-8859-1?Q?M=FCller?= <ulm@HIDDEN>, Michael Albinus
 <michael.albinus@HIDDEN>
In-Reply-To: <u4j0nk7t2@HIDDEN> (message from Ulrich =?iso-8859-1?Q?M?=
 =?iso-8859-1?Q?=FCller?= on Fri, 21 Feb 2025 09:42:33 +0100)
Subject: Re: bug#76459: 30.1; Test failure in
 auto-revert-test07-auto-revert-several-buffers
References: <ucyfbkacz@HIDDEN> <86pljb1z78.fsf@HIDDEN>
 <u4j0nk7t2@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76459
Cc: 76459 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> 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 <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ulrich Müller <ulm@HIDDEN>
> Cc: Ulrich Müller <ulm@HIDDEN>,  76459 <at> debbugs.gnu.org
> Date: Fri, 21 Feb 2025 09:42:33 +0100
> 
> >>>>> On Fri, 21 Feb 2025, Eli Zaretskii wrote:
> 
> > Not reproducible here.  I guess it could be specific to the inotify
> > back-end.
> 
> AFAICS the test fails when Emacs is configured with option
> --with-file-notification=no.
> 
> Attached patch fixes the problem for me.

Michael, is this okay to install on the release branch?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76459; Package emacs. Full text available.

Message received at 76459 <at> debbugs.gnu.org:


Received: (at 76459) by debbugs.gnu.org; 21 Feb 2025 08:42:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 21 03:42:47 2025
Received: from localhost ([127.0.0.1]:52635 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tlOcR-00045W-CX
	for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 03:42:47 -0500
Received: from dev.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:37193
 helo=smtp.gentoo.org)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <ulm@HIDDEN>) id 1tlOcP-00044Z-0B
 for 76459 <at> debbugs.gnu.org; Fri, 21 Feb 2025 03:42:45 -0500
Received: from urania (p5b25569d.dip0.t-ipconnect.de [91.37.86.157])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits)
 server-digest SHA256) (No client certificate requested)
 (Authenticated sender: ulm)
 by smtp.gentoo.org (Postfix) with ESMTPSA id C195D3430C3;
 Fri, 21 Feb 2025 08:42:37 +0000 (UTC)
From: =?utf-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#76459: 30.1; Test failure in
 auto-revert-test07-auto-revert-several-buffers
In-Reply-To: <86pljb1z78.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 21 Feb
 2025 10:25:47 +0200")
References: <ucyfbkacz@HIDDEN> <86pljb1z78.fsf@HIDDEN>
Date: Fri, 21 Feb 2025 09:42:33 +0100
Message-ID: <u4j0nk7t2@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76459
Cc: 76459 <at> debbugs.gnu.org, Ulrich =?utf-8?Q?M=C3=BCller?= <ulm@HIDDEN>
X-BeenThere: debbugs-submit <at> 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 <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
Content-Type: text/plain

>>>>> On Fri, 21 Feb 2025, Eli Zaretskii wrote:

> Not reproducible here.  I guess it could be specific to the inotify
> back-end.

AFAICS the test fails when Emacs is configured with option
--with-file-notification=no.

Attached patch fixes the problem for me.


--=-=-=
Content-Type: text/plain
Content-Disposition: inline;
 filename=0001-Skip-autorevert-test-when-notify-support-is-missing.patch

From d3c1ecfb788e1a291683df0e9489fe8660b7e6df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@HIDDEN>
Date: Fri, 21 Feb 2025 09:15:50 +0100
Subject: [PATCH] ; Skip autorevert test when notify support is missing

* test/lisp/autorevert-tests.el
(auto-revert-test07-auto-revert-several-buffers): Skip if file
notification support is not available.  (Bug#76459)
---
 test/lisp/autorevert-tests.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/lisp/autorevert-tests.el b/test/lisp/autorevert-tests.el
index 6f5e0192791..73fd5a66fa2 100644
--- a/test/lisp/autorevert-tests.el
+++ b/test/lisp/autorevert-tests.el
@@ -572,6 +572,8 @@ auto-revert-test06-write-file
 ;; This is inspired by Bug#44638, Bug#71424.
 (ert-deftest auto-revert-test07-auto-revert-several-buffers ()
   "Check autorevert for several buffers visiting the same file."
+  (skip-unless (or file-notify--library
+                   (file-remote-p temporary-file-directory)))
   ;; (with-auto-revert-test
   (ert-with-temp-file tmpfile
     (let ((auto-revert-use-notify t)
-- 
2.48.1


--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76459; Package emacs. Full text available.

Message received at 76459 <at> debbugs.gnu.org:


Received: (at 76459) by debbugs.gnu.org; 21 Feb 2025 08:26:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 21 03:26:01 2025
Received: from localhost ([127.0.0.1]:52365 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tlOMA-0001Vr-QM
	for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 03:26:01 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:37404)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tlOM7-0001Uo-Ss
 for 76459 <at> debbugs.gnu.org; Fri, 21 Feb 2025 03:25:57 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tlOM2-0008AB-Gp; Fri, 21 Feb 2025 03:25:50 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:References:Subject:In-Reply-To:To:From:
 Date; bh=RJo7bZhPOiZOn8hfsOipOYoqS+mo942uP2LE65gAEX8=; b=UMZ0f3/KMDph4YmkX2uA
 tvez8eRRRrz4JNIPGLmTz+5xO9FvVOG0ONxPuWGVVeuwx/dOPZr/YP4Y9gzKnWRVY8JSPXOWTbl+i
 gXmzmIbwuBq/hxjQ5eGsNQFQfeHgrG+UY4E02DgIKOnuPuVBIFcjGJ7Mbl5i/JBZLk3Mh/e9ggl/K
 tlSSYWI3TOlHTZbzLjAb0NYxLktLvDXBTfuxq7tPrC+JEUI35LEU2zlovQGT61wZR2I5wqRqvIqBP
 XhrQ0sxF1FE1/JK5o3BSCNuCISluVsWtv8ETUKAGP/QZuKsIy2QJVTIQ6WF9Thi+0dSMg5+q3xqaE
 pBAt+/2CyJOlBw==;
Date: Fri, 21 Feb 2025 10:25:47 +0200
Message-Id: <86pljb1z78.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ulrich =?iso-8859-1?Q?M=FCller?= <ulm@HIDDEN>
In-Reply-To: <ucyfbkacz@HIDDEN> (message from Ulrich =?iso-8859-1?Q?M?=
 =?iso-8859-1?Q?=FCller?= on Fri, 21 Feb 2025 08:47:24 +0100)
Subject: Re: bug#76459: 30.1;
 Test failure in auto-revert-test07-auto-revert-several-buffers
References: <ucyfbkacz@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=gb2312
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76459
Cc: 76459 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> 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 <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ulrich M=A8=B9ller <ulm@HIDDEN>
> Date: Fri, 21 Feb 2025 08:47:24 +0100
>=20
> I get a test failure in the 30.1-rc1 release candidate:
>=20
>=20
> HOME=3D/nonexistent LANG=3DC EMACS_TEST_DIRECTORY=3D/tmp/portage/app-edit=
ors/emacs-30.1_rc1/work/emacs-30.1/test   "../src/emacs"  --no-init-file --=
no-site-file --no-site-lisp -L ":."  \
>   -l ert --eval "(setq treesit-extra-load-path '(\"/tmp/portage/app-edito=
rs/emacs-30.1_rc1/homedir/.emacs.d/tree-sitter\"))" --eval '(setq ert-batch=
-backtrace-right-margin nil)' -l lisp/autorevert-tests \
>   --batch --eval '(ert-run-tests-batch-and-exit (quote (not (or (tag :exp=
ensive-test) (tag :unstable) (tag :nativecomp)))))' > lisp/autorevert-tests=
.log 2>&1 || { STAT=3D$?; cat lisp/autorevert-tests.log; exit $STAT; }
> Running 7 tests (2025-02-21 08:39:53+0100, selector =A1=AE(not (or (tag :=
expensive-test) (tag :unstable) (tag :nativecomp)))=A1=AF)
> Note, built-in variable =A1=AEimage-scaling-factor=A1=AF not bound
> Reverting buffer =A1=AEemacs-test-zz7WkE-autorevert=A1=AF
>    passed  1/7  auto-revert-test00-auto-revert-mode (0.332749 sec)
> (Shell command succeeded with no output)
> Reverting buffer =A1=AEauto-revert-testTTw2RV-autorevert=A1=AF
> Reverting buffer =A1=AEauto-revert-testDFGyCS-autorevert=A1=AF
>    passed  2/7  auto-revert-test01-auto-revert-several-files (0.125704 se=
c)
> Reverting buffer =A1=AEemacs-test-YvlciG-autorevert=A1=AF
>    passed  3/7  auto-revert-test03-auto-revert-tail-mode (5.021042 sec)
> Reverting buffer =A1=AEtemp=A1=AF
> Reverting buffer =A1=AEtemp=A1=AF
>    passed  4/7  auto-revert-test04-auto-revert-mode-dired (0.234765 sec)
>   skipped  5/7  auto-revert-test05-global-notify (0.000185 sec)
>   skipped  6/7  auto-revert-test06-write-file (0.000134 sec)
> Reverting buffer =A1=AEemacs-test-SRNQV7-autorevert=A1=AF
> Test auto-revert-test07-auto-revert-several-buffers backtrace:
>   signal(ert-test-failed (((should (buffer-local-value 'auto-revert-notif=
y-watch-descriptor (current-buffer))) :form (buffer-local-value auto-revert=
-notify-watch-descriptor #<killed buffer>) :value nil)))
>   ert-fail(((should (buffer-local-value 'auto-revert-notify-watch-descrip=
tor (current-buffer))) :form (buffer-local-value auto-revert-notify-watch-d=
escriptor #<killed buffer>) :value nil))
>   #f(compiled-function () #<bytecode 0x190994bcfdeb50f7>)()
>   #f(compiled-function () #<bytecode -0x107ddfba25e26d64>)()
>   handler-bind-1(#f(compiled-function () #<bytecode -0x107ddfba25e26d64>)=
 (error quit) #f(compiled-function (err) #<bytecode -0x156eb3da8d546d41>))
>   ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test :n=
ame auto-revert-test07-auto-revert-several-buffers :documentation "Check au=
torevert for several buffers visiting the same file." :body #f(compiled-fun=
ction () #<bytecode 0x190994bcfdeb50f7>) :most-recent-result #s(ert-test-fa=
iled :messages "Reverting buffer =A1=AEemacs-test-SRNQV7-autorevert=A1=AF\n=
" :should-forms (... ... ... ... ... ... ... ... ... ... ... ... ... ... ..=
. ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) =
:duration 5.016915004 :condition (ert-test-failed ...) :backtrace (... ... =
... ... ... ... ... ... ... ... ... ... ... ... ...) :infos nil) :expected-=
result-type :passed :tags nil :file-name "/tmp/portage/app-editors/emacs-30=
.1_rc1/work/emacs-30.1/test/lisp/autorevert-tests.el") :result #s(ert-test-=
failed :messages "Reverting buffer =A1=AEemacs-test-SRNQV7-autorevert=A1=AF=
\n" :should-forms ((... :form ... :value t :explanation nil) (... :form aut=
o-revert-mode :value t) (... :form ... :value t :explanation nil) (... :for=
m auto-revert-mode :value t) (... :form ... :value t :explanation nil) (...=
 :form auto-revert-mode :value t) (... :form ... :value t :explanation nil)=
 (... :form auto-revert-mode :value t) (... :form ... :value t :explanation=
 nil) (... :form auto-revert-mode :value t) (... :form ... :value t :explan=
ation nil) (... :form auto-revert-mode :value t) (... :form ... :value t :e=
xplanation nil) (... :form auto-revert-mode :value t) (... :form ... :value=
 t :explanation nil) (... :form auto-revert-mode :value t) (... :form ... :=
value t :explanation nil) (... :form auto-revert-mode :value t) (... :form =
... :value t :explanation nil) (... :form auto-revert-mode :value t) (... :=
form ... :value t :explanation nil) (... :form auto-revert-mode :value t) (=
... :form ... :value t :explanation nil) (... :form auto-revert-mode :value=
 t) (... :form ... :value t :explanation nil) (... :form auto-revert-mode :=
value nil) (... :form ... :value t :explanation nil) (... :form auto-revert=
-mode :value nil) (... :form ... :value t :explanation nil) (... :form auto=
-revert-mode :value nil) (... :form ... :value t :explanation nil) (... :fo=
rm auto-revert-mode :value nil) ...) :duration 5.016915004 :condition (ert-=
test-failed (... :form ... :value nil)) :backtrace (#s(backtrace-frame :eva=
ld t :fun signal :args ... :flags nil :locals nil :buffer nil :pos nil) #s(=
backtrace-frame :evald t :fun ert-fail :args ... :flags nil :locals nil :bu=
ffer nil :pos nil) #s(backtrace-frame :evald t :fun #f(compiled-function ()=
 #<bytecode 0x190994bcfdeb50f7>) :args nil :flags nil :locals ... :buffer n=
il :pos nil) #s(backtrace-frame :evald t :fun #f(compiled-function () #<byt=
ecode -0x107ddfba25e26d64>) :args nil :flags nil :locals nil :buffer nil :p=
os nil) #s(backtrace-frame :evald t :fun handler-bind-1 :args ... :flags ni=
l :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert--r=
un-test-internal :args #0 :flags nil :locals ... :buffer nil :pos nil) #s(b=
acktrace-frame :evald t :fun ert-run-test :args ... :flags nil :locals ... =
:buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-run-or-rerun-tes=
t :args ... :flags nil :locals ... :buffer nil :pos nil) #s(backtrace-frame=
 :evald t :fun ert-run-tests :args ... :flags nil :locals ... :buffer nil :=
pos nil) #s(backtrace-frame :evald t :fun ert-run-tests-batch :args ... :fl=
ags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun =
ert-run-tests-batch-and-exit :args ... :flags nil :locals nil :buffer nil :=
pos nil) #s(backtrace-frame :evald t :fun eval :args ... :flags nil :locals=
 nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun command-line-1 =
:args ... :flags nil :locals ... :buffer nil :pos nil) #s(backtrace-frame :=
evald t :fun command-line :args nil :flags nil :locals nil :buffer nil :pos=
 nil) #s(backtrace-frame :evald t :fun normal-top-level :args nil :flags ni=
l :locals nil :buffer nil :pos nil)) :infos nil) :exit-continuation #f(comp=
iled-function () #<bytecode 0x8e9ccf879b73c3>) :ert-debug-on-error nil))
>   ert-run-test(#s(ert-test :name auto-revert-test07-auto-revert-several-b=
uffers :documentation "Check autorevert for several buffers visiting the sa=
me file." :body #f(compiled-function () #<bytecode 0x190994bcfdeb50f7>) :mo=
st-recent-result #s(ert-test-failed :messages "Reverting buffer =A1=AEemacs=
-test-SRNQV7-autorevert=A1=AF\n" :should-forms ((... :form ... :value t :ex=
planation nil) (... :form auto-revert-mode :value t) (... :form ... :value =
t :explanation nil) (... :form auto-revert-mode :value t) (... :form ... :v=
alue t :explanation nil) (... :form auto-revert-mode :value t) (... :form .=
.. :value t :explanation nil) (... :form auto-revert-mode :value t) (... :f=
orm ... :value t :explanation nil) (... :form auto-revert-mode :value t) (.=
.. :form ... :value t :explanation nil) (... :form auto-revert-mode :value =
t) (... :form ... :value t :explanation nil) (... :form auto-revert-mode :v=
alue t) (... :form ... :value t :explanation nil) (... :form auto-revert-mo=
de :value t) (... :form ... :value t :explanation nil) (... :form auto-reve=
rt-mode :value t) (... :form ... :value t :explanation nil) (... :form auto=
-revert-mode :value t) (... :form ... :value t :explanation nil) (... :form=
 auto-revert-mode :value t) (... :form ... :value t :explanation nil) (... =
:form auto-revert-mode :value t) (... :form ... :value t :explanation nil) =
(... :form auto-revert-mode :value nil) (... :form ... :value t :explanatio=
n nil) (... :form auto-revert-mode :value nil) (... :form ... :value t :exp=
lanation nil) (... :form auto-revert-mode :value nil) (... :form ... :value=
 t :explanation nil) (... :form auto-revert-mode :value nil) ...) :duration=
 5.016915004 :condition (ert-test-failed (... :form ... :value nil)) :backt=
race (#s(backtrace-frame :evald t :fun signal :args ... :flags nil :locals =
nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-fail :args .=
.. :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t=
 :fun #f(compiled-function () #<bytecode 0x190994bcfdeb50f7>) :args nil :fl=
ags nil :locals ... :buffer nil :pos nil) #s(backtrace-frame :evald t :fun =
#f(compiled-function () #<bytecode -0x107ddfba25e26d64>) :args nil :flags n=
il :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun handl=
er-bind-1 :args ... :flags nil :locals nil :buffer nil :pos nil) #s(backtra=
ce-frame :evald t :fun ert--run-test-internal :args ... :flags nil :locals =
... :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-run-test :ar=
gs #0 :flags nil :locals ... :buffer nil :pos nil) #s(backtrace-frame :eval=
d t :fun ert-run-or-rerun-test :args ... :flags nil :locals ... :buffer nil=
 :pos nil) #s(backtrace-frame :evald t :fun ert-run-tests :args ... :flags =
nil :locals ... :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-=
run-tests-batch :args ... :flags nil :locals nil :buffer nil :pos nil) #s(b=
acktrace-frame :evald t :fun ert-run-tests-batch-and-exit :args ... :flags =
nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun eval=
 :args ... :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame =
:evald t :fun command-line-1 :args ... :flags nil :locals ... :buffer nil :=
pos nil) #s(backtrace-frame :evald t :fun command-line :args nil :flags nil=
 :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun normal-=
top-level :args nil :flags nil :locals nil :buffer nil :pos nil)) :infos ni=
l) :expected-result-type :passed :tags nil :file-name "/tmp/portage/app-edi=
tors/emacs-30.1_rc1/work/emacs-30.1/test/lisp/autorevert-tests.el"))
>   ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-map =
#<hash-table eql 7/7 0x103ff597068e ...> :test-results ... :test-start-time=
s ... :test-end-times ... :passed-expected 4 :passed-unexpected 0 :failed-e=
xpected 0 :failed-unexpected 1 :skipped 2 :start-time ... :end-time nil :ab=
orted-p nil ...) #s(ert-test :name auto-revert-test07-auto-revert-several-b=
uffers :documentation "Check autorevert for several buffers visiting the sa=
me file." :body #f(compiled-function () #<bytecode 0x190994bcfdeb50f7>) :mo=
st-recent-result ... :expected-result-type :passed :tags nil :file-name "/t=
mp/portage/app-editors/emacs-30.1_rc1/work/emacs-30.1/test/lisp/autorevert-=
tests.el") #f(compiled-function (event-type &rest event-args) #<bytecode -0=
x1cd638a034cb14c8>))
>   ert-run-tests((not (or (tag :expensive-test) (tag :unstable) (tag :nati=
vecomp))) #f(compiled-function (event-type &rest event-args) #<bytecode -0x=
1cd638a034cb14c8>) nil)
>   ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable) (tag=
 :nativecomp))))
>   ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :unsta=
ble) (tag :nativecomp))))
>   eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) (tag=
 :unstable) (tag :nativecomp)))) t)
>   command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-load=
-path '(\"/tmp/portage/app-editors/emacs-30.1_rc1/homedir/.emacs.d/tree-sit=
ter\"))" "--eval" "(setq ert-batch-backtrace-right-margin nil)" "-l" "lisp/=
autorevert-tests" "--eval" "(ert-run-tests-batch-and-exit (quote (not (or (=
tag :expensive-test) (tag :unstable) (tag :nativecomp)))))"))
>   command-line()
>   normal-top-level()
>=20
> Test auto-revert-test07-auto-revert-several-buffers condition:
>     (ert-test-failed
>      ((should
>        (buffer-local-value 'auto-revert-notify-watch-descriptor
> 			   (current-buffer)))
>       :form
>       (buffer-local-value auto-revert-notify-watch-descriptor #<killed
> 			  buffer>)
>       :value nil))
>    FAILED  7/7  auto-revert-test07-auto-revert-several-buffers (5.016915 =
sec) at lisp/autorevert-tests.el:573
>=20
> Ran 7 tests, 4 results as expected, 1 unexpected, 2 skipped (2025-02-21 0=
8:40:03+0100, 10.796043 sec)
>=20
> 1 unexpected results:
>    FAILED  auto-revert-test07-auto-revert-several-buffers  ((should (buff=
er-local-value 'auto-revert-notify-watch-descriptor (current-buffer))) :for=
m (buffer-local-value auto-revert-notify-watch-descriptor #<killed buffer>)=
 :value nil)
>=20
> 2 skipped results:
>   SKIPPED  auto-revert-test05-global-notify  ((skip-unless (or file-notif=
y--library (file-remote-p temporary-file-directory))) :form (or file-notify=
--library (file-remote-p temporary-file-directory)) :value nil)
>   SKIPPED  auto-revert-test06-write-file  ((skip-unless (or file-notify--=
library (file-remote-p temporary-file-directory))) :form (or file-notify--l=
ibrary (file-remote-p temporary-file-directory)) :value nil)
>=20
> make[3]: *** [Makefile:185: lisp/autorevert-tests.log] Error 1

Not reproducible here.  I guess it could be specific to the inotify
back-end.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#76459; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Feb 2025 07:48:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 21 02:48:46 2025
Received: from localhost ([127.0.0.1]:51768 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tlNm8-0004AF-CV
	for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 02:48:46 -0500
Received: from lists.gnu.org ([2001:470:142::17]:52830)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ulm@HIDDEN>) id 1tlNlB-00041O-6l
 for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 02:47:49 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ulm@HIDDEN>) id 1tlNl4-0008Rp-4U
 for bug-gnu-emacs@HIDDEN; Fri, 21 Feb 2025 02:47:38 -0500
Received: from woodpecker.gentoo.org ([140.211.166.183] helo=smtp.gentoo.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <ulm@HIDDEN>) id 1tlNl1-0003U7-Ip
 for bug-gnu-emacs@HIDDEN; Fri, 21 Feb 2025 02:47:37 -0500
Received: from urania (p5b25569d.dip0.t-ipconnect.de [91.37.86.157])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits)
 server-digest SHA256) (No client certificate requested)
 (Authenticated sender: ulm)
 by smtp.gentoo.org (Postfix) with ESMTPSA id 8143434306A;
 Fri, 21 Feb 2025 07:47:29 +0000 (UTC)
From: =?utf-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.1; Test failure in auto-revert-test07-auto-revert-several-buffers
Date: Fri, 21 Feb 2025 08:47:24 +0100
Message-ID: <ucyfbkacz@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=140.211.166.183; envelope-from=ulm@HIDDEN;
 helo=smtp.gentoo.org
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001,
 RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> 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 <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

I get a test failure in the 30.1-rc1 release candidate:


HOME=3D/nonexistent LANG=3DC EMACS_TEST_DIRECTORY=3D/tmp/portage/app-editor=
s/emacs-30.1_rc1/work/emacs-30.1/test   "../src/emacs"  --no-init-file --no=
-site-file --no-site-lisp -L ":."  \
  -l ert --eval "(setq treesit-extra-load-path '(\"/tmp/portage/app-editors=
/emacs-30.1_rc1/homedir/.emacs.d/tree-sitter\"))" --eval '(setq ert-batch-b=
acktrace-right-margin nil)' -l lisp/autorevert-tests \
  --batch --eval '(ert-run-tests-batch-and-exit (quote (not (or (tag :expen=
sive-test) (tag :unstable) (tag :nativecomp)))))' > lisp/autorevert-tests.l=
og 2>&1 || { STAT=3D$?; cat lisp/autorevert-tests.log; exit $STAT; }
Running 7 tests (2025-02-21 08:39:53+0100, selector =E2=80=98(not (or (tag =
:expensive-test) (tag :unstable) (tag :nativecomp)))=E2=80=99)
Note, built-in variable =E2=80=98image-scaling-factor=E2=80=99 not bound
Reverting buffer =E2=80=98emacs-test-zz7WkE-autorevert=E2=80=99
   passed  1/7  auto-revert-test00-auto-revert-mode (0.332749 sec)
(Shell command succeeded with no output)
Reverting buffer =E2=80=98auto-revert-testTTw2RV-autorevert=E2=80=99
Reverting buffer =E2=80=98auto-revert-testDFGyCS-autorevert=E2=80=99
   passed  2/7  auto-revert-test01-auto-revert-several-files (0.125704 sec)
Reverting buffer =E2=80=98emacs-test-YvlciG-autorevert=E2=80=99
   passed  3/7  auto-revert-test03-auto-revert-tail-mode (5.021042 sec)
Reverting buffer =E2=80=98temp=E2=80=99
Reverting buffer =E2=80=98temp=E2=80=99
   passed  4/7  auto-revert-test04-auto-revert-mode-dired (0.234765 sec)
  skipped  5/7  auto-revert-test05-global-notify (0.000185 sec)
  skipped  6/7  auto-revert-test06-write-file (0.000134 sec)
Reverting buffer =E2=80=98emacs-test-SRNQV7-autorevert=E2=80=99
Test auto-revert-test07-auto-revert-several-buffers backtrace:
  signal(ert-test-failed (((should (buffer-local-value 'auto-revert-notify-=
watch-descriptor (current-buffer))) :form (buffer-local-value auto-revert-n=
otify-watch-descriptor #<killed buffer>) :value nil)))
  ert-fail(((should (buffer-local-value 'auto-revert-notify-watch-descripto=
r (current-buffer))) :form (buffer-local-value auto-revert-notify-watch-des=
criptor #<killed buffer>) :value nil))
  #f(compiled-function () #<bytecode 0x190994bcfdeb50f7>)()
  #f(compiled-function () #<bytecode -0x107ddfba25e26d64>)()
  handler-bind-1(#f(compiled-function () #<bytecode -0x107ddfba25e26d64>) (=
error quit) #f(compiled-function (err) #<bytecode -0x156eb3da8d546d41>))
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test :nam=
e auto-revert-test07-auto-revert-several-buffers :documentation "Check auto=
revert for several buffers visiting the same file." :body #f(compiled-funct=
ion () #<bytecode 0x190994bcfdeb50f7>) :most-recent-result #s(ert-test-fail=
ed :messages "Reverting buffer =E2=80=98emacs-test-SRNQV7-autorevert=E2=80=
=99\n" :should-forms (... ... ... ... ... ... ... ... ... ... ... ... ... .=
.. ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... =
...) :duration 5.016915004 :condition (ert-test-failed ...) :backtrace (...=
 ... ... ... ... ... ... ... ... ... ... ... ... ... ...) :infos nil) :expe=
cted-result-type :passed :tags nil :file-name "/tmp/portage/app-editors/ema=
cs-30.1_rc1/work/emacs-30.1/test/lisp/autorevert-tests.el") :result #s(ert-=
test-failed :messages "Reverting buffer =E2=80=98emacs-test-SRNQV7-autoreve=
rt=E2=80=99\n" :should-forms ((... :form ... :value t :explanation nil) (..=
. :form auto-revert-mode :value t) (... :form ... :value t :explanation nil=
) (... :form auto-revert-mode :value t) (... :form ... :value t :explanatio=
n nil) (... :form auto-revert-mode :value t) (... :form ... :value t :expla=
nation nil) (... :form auto-revert-mode :value t) (... :form ... :value t :=
explanation nil) (... :form auto-revert-mode :value t) (... :form ... :valu=
e t :explanation nil) (... :form auto-revert-mode :value t) (... :form ... =
:value t :explanation nil) (... :form auto-revert-mode :value t) (... :form=
 ... :value t :explanation nil) (... :form auto-revert-mode :value t) (... =
:form ... :value t :explanation nil) (... :form auto-revert-mode :value t) =
(... :form ... :value t :explanation nil) (... :form auto-revert-mode :valu=
e t) (... :form ... :value t :explanation nil) (... :form auto-revert-mode =
:value t) (... :form ... :value t :explanation nil) (... :form auto-revert-=
mode :value t) (... :form ... :value t :explanation nil) (... :form auto-re=
vert-mode :value nil) (... :form ... :value t :explanation nil) (... :form =
auto-revert-mode :value nil) (... :form ... :value t :explanation nil) (...=
 :form auto-revert-mode :value nil) (... :form ... :value t :explanation ni=
l) (... :form auto-revert-mode :value nil) ...) :duration 5.016915004 :cond=
ition (ert-test-failed (... :form ... :value nil)) :backtrace (#s(backtrace=
-frame :evald t :fun signal :args ... :flags nil :locals nil :buffer nil :p=
os nil) #s(backtrace-frame :evald t :fun ert-fail :args ... :flags nil :loc=
als nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun #f(compiled-=
function () #<bytecode 0x190994bcfdeb50f7>) :args nil :flags nil :locals ..=
. :buffer nil :pos nil) #s(backtrace-frame :evald t :fun #f(compiled-functi=
on () #<bytecode -0x107ddfba25e26d64>) :args nil :flags nil :locals nil :bu=
ffer nil :pos nil) #s(backtrace-frame :evald t :fun handler-bind-1 :args ..=
. :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t =
:fun ert--run-test-internal :args #0 :flags nil :locals ... :buffer nil :po=
s nil) #s(backtrace-frame :evald t :fun ert-run-test :args ... :flags nil :=
locals ... :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-run-o=
r-rerun-test :args ... :flags nil :locals ... :buffer nil :pos nil) #s(back=
trace-frame :evald t :fun ert-run-tests :args ... :flags nil :locals ... :b=
uffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-run-tests-batch :a=
rgs ... :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :ev=
ald t :fun ert-run-tests-batch-and-exit :args ... :flags nil :locals nil :b=
uffer nil :pos nil) #s(backtrace-frame :evald t :fun eval :args ... :flags =
nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun comm=
and-line-1 :args ... :flags nil :locals ... :buffer nil :pos nil) #s(backtr=
ace-frame :evald t :fun command-line :args nil :flags nil :locals nil :buff=
er nil :pos nil) #s(backtrace-frame :evald t :fun normal-top-level :args ni=
l :flags nil :locals nil :buffer nil :pos nil)) :infos nil) :exit-continuat=
ion #f(compiled-function () #<bytecode 0x8e9ccf879b73c3>) :ert-debug-on-err=
or nil))
  ert-run-test(#s(ert-test :name auto-revert-test07-auto-revert-several-buf=
fers :documentation "Check autorevert for several buffers visiting the same=
 file." :body #f(compiled-function () #<bytecode 0x190994bcfdeb50f7>) :most=
-recent-result #s(ert-test-failed :messages "Reverting buffer =E2=80=98emac=
s-test-SRNQV7-autorevert=E2=80=99\n" :should-forms ((... :form ... :value t=
 :explanation nil) (... :form auto-revert-mode :value t) (... :form ... :va=
lue t :explanation nil) (... :form auto-revert-mode :value t) (... :form ..=
. :value t :explanation nil) (... :form auto-revert-mode :value t) (... :fo=
rm ... :value t :explanation nil) (... :form auto-revert-mode :value t) (..=
. :form ... :value t :explanation nil) (... :form auto-revert-mode :value t=
) (... :form ... :value t :explanation nil) (... :form auto-revert-mode :va=
lue t) (... :form ... :value t :explanation nil) (... :form auto-revert-mod=
e :value t) (... :form ... :value t :explanation nil) (... :form auto-rever=
t-mode :value t) (... :form ... :value t :explanation nil) (... :form auto-=
revert-mode :value t) (... :form ... :value t :explanation nil) (... :form =
auto-revert-mode :value t) (... :form ... :value t :explanation nil) (... :=
form auto-revert-mode :value t) (... :form ... :value t :explanation nil) (=
... :form auto-revert-mode :value t) (... :form ... :value t :explanation n=
il) (... :form auto-revert-mode :value nil) (... :form ... :value t :explan=
ation nil) (... :form auto-revert-mode :value nil) (... :form ... :value t =
:explanation nil) (... :form auto-revert-mode :value nil) (... :form ... :v=
alue t :explanation nil) (... :form auto-revert-mode :value nil) ...) :dura=
tion 5.016915004 :condition (ert-test-failed (... :form ... :value nil)) :b=
acktrace (#s(backtrace-frame :evald t :fun signal :args ... :flags nil :loc=
als nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-fail :ar=
gs ... :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :eva=
ld t :fun #f(compiled-function () #<bytecode 0x190994bcfdeb50f7>) :args nil=
 :flags nil :locals ... :buffer nil :pos nil) #s(backtrace-frame :evald t :=
fun #f(compiled-function () #<bytecode -0x107ddfba25e26d64>) :args nil :fla=
gs nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun h=
andler-bind-1 :args ... :flags nil :locals nil :buffer nil :pos nil) #s(bac=
ktrace-frame :evald t :fun ert--run-test-internal :args ... :flags nil :loc=
als ... :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-run-test=
 :args #0 :flags nil :locals ... :buffer nil :pos nil) #s(backtrace-frame :=
evald t :fun ert-run-or-rerun-test :args ... :flags nil :locals ... :buffer=
 nil :pos nil) #s(backtrace-frame :evald t :fun ert-run-tests :args ... :fl=
ags nil :locals ... :buffer nil :pos nil) #s(backtrace-frame :evald t :fun =
ert-run-tests-batch :args ... :flags nil :locals nil :buffer nil :pos nil) =
#s(backtrace-frame :evald t :fun ert-run-tests-batch-and-exit :args ... :fl=
ags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun =
eval :args ... :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-fr=
ame :evald t :fun command-line-1 :args ... :flags nil :locals ... :buffer n=
il :pos nil) #s(backtrace-frame :evald t :fun command-line :args nil :flags=
 nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun nor=
mal-top-level :args nil :flags nil :locals nil :buffer nil :pos nil)) :info=
s nil) :expected-result-type :passed :tags nil :file-name "/tmp/portage/app=
-editors/emacs-30.1_rc1/work/emacs-30.1/test/lisp/autorevert-tests.el"))
  ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-map #<=
hash-table eql 7/7 0x103ff597068e ...> :test-results ... :test-start-times =
... :test-end-times ... :passed-expected 4 :passed-unexpected 0 :failed-exp=
ected 0 :failed-unexpected 1 :skipped 2 :start-time ... :end-time nil :abor=
ted-p nil ...) #s(ert-test :name auto-revert-test07-auto-revert-several-buf=
fers :documentation "Check autorevert for several buffers visiting the same=
 file." :body #f(compiled-function () #<bytecode 0x190994bcfdeb50f7>) :most=
-recent-result ... :expected-result-type :passed :tags nil :file-name "/tmp=
/portage/app-editors/emacs-30.1_rc1/work/emacs-30.1/test/lisp/autorevert-te=
sts.el") #f(compiled-function (event-type &rest event-args) #<bytecode -0x1=
cd638a034cb14c8>))
  ert-run-tests((not (or (tag :expensive-test) (tag :unstable) (tag :native=
comp))) #f(compiled-function (event-type &rest event-args) #<bytecode -0x1c=
d638a034cb14c8>) nil)
  ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable) (tag :=
nativecomp))))
  ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :unstabl=
e) (tag :nativecomp))))
  eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) (tag :=
unstable) (tag :nativecomp)))) t)
  command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-load-p=
ath '(\"/tmp/portage/app-editors/emacs-30.1_rc1/homedir/.emacs.d/tree-sitte=
r\"))" "--eval" "(setq ert-batch-backtrace-right-margin nil)" "-l" "lisp/au=
torevert-tests" "--eval" "(ert-run-tests-batch-and-exit (quote (not (or (ta=
g :expensive-test) (tag :unstable) (tag :nativecomp)))))"))
  command-line()
  normal-top-level()

Test auto-revert-test07-auto-revert-several-buffers condition:
    (ert-test-failed
     ((should
       (buffer-local-value 'auto-revert-notify-watch-descriptor
			   (current-buffer)))
      :form
      (buffer-local-value auto-revert-notify-watch-descriptor #<killed
			  buffer>)
      :value nil))
   FAILED  7/7  auto-revert-test07-auto-revert-several-buffers (5.016915 se=
c) at lisp/autorevert-tests.el:573

Ran 7 tests, 4 results as expected, 1 unexpected, 2 skipped (2025-02-21 08:=
40:03+0100, 10.796043 sec)

1 unexpected results:
   FAILED  auto-revert-test07-auto-revert-several-buffers  ((should (buffer=
-local-value 'auto-revert-notify-watch-descriptor (current-buffer))) :form =
(buffer-local-value auto-revert-notify-watch-descriptor #<killed buffer>) :=
value nil)

2 skipped results:
  SKIPPED  auto-revert-test05-global-notify  ((skip-unless (or file-notify-=
-library (file-remote-p temporary-file-directory))) :form (or file-notify--=
library (file-remote-p temporary-file-directory)) :value nil)
  SKIPPED  auto-revert-test06-write-file  ((skip-unless (or file-notify--li=
brary (file-remote-p temporary-file-directory))) :form (or file-notify--lib=
rary (file-remote-p temporary-file-directory)) :value nil)

make[3]: *** [Makefile:185: lisp/autorevert-tests.log] Error 1


In GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu) of 2025-02-21 built on
 urania
System Description: Gentoo Linux

Configured using:
 'configure --prefix=3D/usr --build=3Dx86_64-pc-linux-gnu
 --host=3Dx86_64-pc-linux-gnu --mandir=3D/usr/share/man
 --infodir=3D/usr/share/info --datadir=3D/usr/share --sysconfdir=3D/etc
 --localstatedir=3D/var/lib --datarootdir=3D/usr/share
 --disable-silent-rules --docdir=3D/usr/share/doc/emacs-30.1_rc1
 --htmldir=3D/usr/share/doc/emacs-30.1_rc1/html --libdir=3D/usr/lib64
 --program-suffix=3D-emacs-30 --includedir=3D/usr/include/emacs-30
 --infodir=3D/usr/share/info/emacs-30 --localstatedir=3D/var
 --enable-locallisppath=3D/etc/emacs:/usr/share/emacs/site-lisp
 --without-compress-install --without-hesiod --without-pop
 --with-file-notification=3Dno --with-pdumper --disable-acl
 --disable-xattr --without-dbus --without-modules --without-gameuser
 --without-libgmp --without-gpm --without-native-compilation
 --without-kerberos --without-kerberos5 --without-lcms2 --without-xml2
 --without-mailutils --without-selinux --without-sqlite3
 --without-gnutls --without-libsystemd --without-threads
 --without-tree-sitter --without-wide-int --with-sound=3Dno --without-zlib
 --without-x --without-pgtk --without-ns --with-dumping=3Dpdumper
 'CFLAGS=3D-march=3Dnative -ggdb -O2 -pipe -fno-fast-math -ffp-contract=3Do=
ff'
 CPPFLAGS=3D 'LDFLAGS=3D-Wl,-O1 -Wl,--as-needed
 -Wl,-z,pack-relative-relocs''

Configured features:
PDUMPER SECCOMP XIM

Important settings:
  value of $LC_CTYPE: en_GB.UTF-8
  value of $LC_TIME: en_GB.UTF-8
  value of $LANG: POSIX
  locale-coding-system: utf-8-unix




Acknowledgement sent to Ulrich Müller <ulm@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#76459; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 21 Feb 2025 12:30:03 UTC

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