GNU bug report logs - #76464
30.1; Test failure in shr-test/zoom-image

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 76464 <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 76464 <at> debbugs.gnu.org:


Received: (at 76464) by debbugs.gnu.org; 21 Feb 2025 11:50:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 21 06:50:49 2025
Received: from localhost ([127.0.0.1]:55570 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tlRYO-0004xa-SM
	for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 06:50:49 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:45454)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tlRYN-0004wl-79
 for 76464 <at> debbugs.gnu.org; Fri, 21 Feb 2025 06:50:47 -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 1tlRYH-0002o9-Sw; Fri, 21 Feb 2025 06:50:41 -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=PIccOkUnJlj7a5Z3d0VSpptl9cO4qGhVoT5a4vMW6eg=; b=OvZWCIE0sshJZTkCxK48
 oCu68R3iM1QXKMvfMvNNLOQj/bYNmNFhYqsR9KusAIsgta8KGwhxdp/zqZncHP7mf36KDJLoAicBv
 6yM24Rqw+i9a2HIzuu8hSQz7vTtcrPVtej9J8KBCML+5bqRAkp73ltzgkEyux2nkjAl2w7R9T+Mml
 vtwXL9lMx6L/aH+sEAd574Vo/77C4HDq4W7f3v9IyHdBNp7Cjw4KY+ro17rmbbvO8cZl5RtTyyeAL
 BAePForjN+i0aQUTrVOWnk7Ye/FHUurgnSUoF/tvFt75kg3qOXftQIV7ZGrXA1e3k+N7rcj7xHMIO
 +cOJWJoEw8ujmA==;
Date: Fri, 21 Feb 2025 13:50:39 +0200
Message-Id: <868qpz1pps.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ulrich =?iso-8859-1?Q?M=FCller?= <ulm@HIDDEN>
In-Reply-To: <umsefinzd@HIDDEN> (message from Ulrich =?iso-8859-1?Q?M?=
 =?iso-8859-1?Q?=FCller?= on Fri, 21 Feb 2025 11:36:06 +0100)
Subject: Re: bug#76464: 30.1; Test failure in shr-test/zoom-image
References: <uv7t3ipr3@HIDDEN> <ur03ripcz@HIDDEN>
 <umsefinzd@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: 76464
Cc: 76464 <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>
> Date: Fri, 21 Feb 2025 11:36:06 +0100
> 
> It turns out that the bug also happens when Emacs is configured with the
> --without-xml2 option, so the test must be skipped in that case too.
> 
> Updated patch attached.

Thanks, please install on the emacs-30 release branch.




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

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


Received: (at submit) by debbugs.gnu.org; 21 Feb 2025 10:36:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 21 05:36:28 2025
Received: from localhost ([127.0.0.1]:54410 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tlQOR-0007Xo-9p
	for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 05:36:28 -0500
Received: from lists.gnu.org ([2001:470:142::17]:52298)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ulm@HIDDEN>) id 1tlQOM-0007WS-Kb
 for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 05:36:25 -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 1tlQOF-0001CC-KI
 for bug-gnu-emacs@HIDDEN; Fri, 21 Feb 2025 05:36:15 -0500
Received: from smtp.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <ulm@HIDDEN>) id 1tlQOD-000100-GN
 for bug-gnu-emacs@HIDDEN; Fri, 21 Feb 2025 05:36:15 -0500
Received: from urania (unknown [IPv6:2001:4c80:40:539:b877:565f:7e2f:2761])
 (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 7621534308D;
 Fri, 21 Feb 2025 10:36:09 +0000 (UTC)
From: =?utf-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: Re: 30.1; Test failure in shr-test/zoom-image
In-Reply-To: <ur03ripcz@HIDDEN> ("Ulrich =?utf-8?Q?M=C3=BCller=22's?=
 message of "Fri, 21 Feb 2025 11:06:20 +0100")
References: <uv7t3ipr3@HIDDEN> <ur03ripcz@HIDDEN>
Date: Fri, 21 Feb 2025 11:36:06 +0100
Message-ID: <umsefinzd@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=2001:470:ea4a:1:5054:ff:fec7:86e4;
 envelope-from=ulm@HIDDEN; helo=smtp.gentoo.org
X-Spam_score_int: -41
X-Spam_score: -4.2
X-Spam_bar: ----
X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3,
 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 (/)

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

It turns out that the bug also happens when Emacs is configured with the
--without-xml2 option, so the test must be skipped in that case too.

Updated patch attached.


--=-=-=
Content-Type: text/plain
Content-Disposition: inline;
 filename=0001-Skip-shr-test-zoom-image-test-if-png-or-libxml-suppo.patch

From 7a12c2c2e54d2714d92f5823023480710b1384d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@HIDDEN>
Date: Fri, 21 Feb 2025 10:36:52 +0100
Subject: [PATCH] ; Skip shr-test/zoom-image test if png or libxml support is
 missing

* test/lisp/net/shr-tests.el (shr-test/zoom-image): Skip if png
images or libxml are not supported.  (Bug#76464)
---
 test/lisp/net/shr-tests.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/lisp/net/shr-tests.el b/test/lisp/net/shr-tests.el
index beb9bfe85a9..8d66684c96d 100644
--- a/test/lisp/net/shr-tests.el
+++ b/test/lisp/net/shr-tests.el
@@ -135,7 +135,9 @@ shr-srcset
 
 (ert-deftest shr-test/zoom-image ()
   "Test that `shr-zoom-image' properly replaces the original image."
-  (skip-unless (bound-and-true-p image-types))
+  (skip-unless (and (bound-and-true-p image-types)
+                    (image-type-available-p 'png)
+                    (fboundp 'libxml-parse-html-region)))
   (let* ((image (expand-file-name "data/image/blank-100x200.png"
                                   (getenv "EMACS_TEST_DIRECTORY")))
          (image-url (concat "file://" (if (string-prefix-p "/" image)
-- 
2.48.1


--=-=-=--




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

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


Received: (at submit) by debbugs.gnu.org; 21 Feb 2025 10:06:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 21 05:06:39 2025
Received: from localhost ([127.0.0.1]:53949 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tlPva-00031U-VB
	for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 05:06:39 -0500
Received: from lists.gnu.org ([2001:470:142::17]:47338)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ulm@HIDDEN>) id 1tlPvW-000309-RC
 for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 05:06:37 -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 1tlPvQ-0002Fk-Ap
 for bug-gnu-emacs@HIDDEN; Fri, 21 Feb 2025 05:06:28 -0500
Received: from woodpecker.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]
 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 1tlPvO-0004u5-Go
 for bug-gnu-emacs@HIDDEN; Fri, 21 Feb 2025 05:06:28 -0500
Received: from urania (unknown [IPv6:2001:4c80:40:539:b877:565f:7e2f:2761])
 (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 51D52343068;
 Fri, 21 Feb 2025 10:06:23 +0000 (UTC)
From: =?utf-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: Re: 30.1; Test failure in shr-test/zoom-image
In-Reply-To: <uv7t3ipr3@HIDDEN> ("Ulrich =?utf-8?Q?M=C3=BCller=22's?=
 message of "Fri, 21 Feb 2025 10:57:52 +0100")
References: <uv7t3ipr3@HIDDEN>
Date: Fri, 21 Feb 2025 11:06:20 +0100
Message-ID: <ur03ripcz@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=2001:470:ea4a:1:5054:ff:fec7:86e4;
 envelope-from=ulm@HIDDEN; helo=smtp.gentoo.org
X-Spam_score_int: -41
X-Spam_score: -4.2
X-Spam_bar: ----
X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3,
 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 (/)

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

Attached patch fixes the problem for me.


--=-=-=
Content-Type: text/plain
Content-Disposition: inline;
 filename=0001-Skip-shr-test-zoom-image-test-if-png-support-is-miss.patch

From 423a247e608c485a685f7163088d65d246ed25ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@HIDDEN>
Date: Fri, 21 Feb 2025 10:36:52 +0100
Subject: [PATCH] ; Skip shr-test/zoom-image test if png support is missing

* test/lisp/net/shr-tests.el (shr-test/zoom-image): Skip if png
images are not supported.  (Bug#76464)
---
 test/lisp/net/shr-tests.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/lisp/net/shr-tests.el b/test/lisp/net/shr-tests.el
index beb9bfe85a9..402e49c8400 100644
--- a/test/lisp/net/shr-tests.el
+++ b/test/lisp/net/shr-tests.el
@@ -135,7 +135,8 @@ shr-srcset
 
 (ert-deftest shr-test/zoom-image ()
   "Test that `shr-zoom-image' properly replaces the original image."
-  (skip-unless (bound-and-true-p image-types))
+  (skip-unless (and (bound-and-true-p image-types)
+                    (image-type-available-p 'png)))
   (let* ((image (expand-file-name "data/image/blank-100x200.png"
                                   (getenv "EMACS_TEST_DIRECTORY")))
          (image-url (concat "file://" (if (string-prefix-p "/" image)
-- 
2.48.1


--=-=-=--




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

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


Received: (at submit) by debbugs.gnu.org; 21 Feb 2025 09:58:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 21 04:58:22 2025
Received: from localhost ([127.0.0.1]:53839 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tlPnX-0001j9-Ow
	for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 04:58:21 -0500
Received: from lists.gnu.org ([2001:470:142::17]:54920)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ulm@HIDDEN>) id 1tlPnT-0001hH-44
 for submit <at> debbugs.gnu.org; Fri, 21 Feb 2025 04:58:18 -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 1tlPnI-0007oo-V5
 for bug-gnu-emacs@HIDDEN; Fri, 21 Feb 2025 04:58:05 -0500
Received: from dev.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]
 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 1tlPnF-0003w6-J7
 for bug-gnu-emacs@HIDDEN; Fri, 21 Feb 2025 04:58:04 -0500
Received: from urania (unknown [IPv6:2001:4c80:40:539:b877:565f:7e2f:2761])
 (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 9BC3D3430D0;
 Fri, 21 Feb 2025 09:57:55 +0000 (UTC)
From: =?utf-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.1; Test failure in shr-test/zoom-image
Date: Fri, 21 Feb 2025 10:57:52 +0100
Message-ID: <uv7t3ipr3@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=2001:470:ea4a:1:5054:ff:fec7:86e4;
 envelope-from=ulm@HIDDEN; helo=smtp.gentoo.org
X-Spam_score_int: -41
X-Spam_score: -4.2
X-Spam_bar: ----
X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3,
 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 (/)

In the 30.1-rc1 release candidate:

Running 4 tests (2025-02-21 10:31:51+0100, selector =E2=80=98(not (or (tag =
:expensive-test) (tag :unstable) (tag :nativecomp)))=E2=80=99)
   passed  1/4  rendering (0.011501 sec)
   passed  2/4  shr-srcset (0.000138 sec)
Test shr-test/zoom-image backtrace:
  signal(error ("Timed out waiting to zoom image"))
  error("Timed out waiting to zoom image")
  shr-test-wait-for(#f(compiled-function () #<bytecode 0x69f1ca74762a>) "Ti=
med out waiting to zoom image")
  #f(compiled-function () #<bytecode 0x1bb70f4a3c82e1e7>)()
  #f(compiled-function () #<bytecode 0x14ed2e6ed9e260bb>)()
  handler-bind-1(#f(compiled-function () #<bytecode 0x14ed2e6ed9e260bb>) (e=
rror quit) #f(compiled-function (err) #<bytecode -0x150ebb14c385d641>))
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test :nam=
e shr-test/zoom-image :documentation "Test that `shr-zoom-image' properly r=
eplaces the original image." :body #f(compiled-function () #<bytecode 0x1bb=
70f4a3c82e1e7>) :most-recent-result #s(ert-test-failed :messages "No image =
under point\n" :should-forms ((... :form ... :value ...)) :duration 5.13110=
2459 :condition (error "Timed out waiting to zoom image") :backtrace (#s(ba=
cktrace-frame :evald t :fun signal :args ... :flags nil :locals nil :buffer=
 nil :pos nil) #s(backtrace-frame :evald t :fun error :args ... :flags nil =
:locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun shr-test=
-wait-for :args ... :flags nil :locals nil :buffer nil :pos nil) #s(backtra=
ce-frame :evald t :fun #f(compiled-function () #<bytecode 0x1bb70f4a3c82e1e=
7>) :args nil :flags nil :locals ... :buffer nil :pos nil) #s(backtrace-fra=
me :evald t :fun #f(compiled-function () #<bytecode 0x14ed2e6ed9e260bb>) :a=
rgs nil :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :ev=
ald 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 :fla=
gs nil :locals ... :buffer nil :pos nil) #s(backtrace-frame :evald t :fun e=
rt-run-test :args ... :flags nil :locals ... :buffer nil :pos nil) #s(backt=
race-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 ... :flags nil :locals ... :buffer nil :pos nil) #s(backtrace-frame :e=
vald t :fun ert-run-tests-batch :args ... :flags nil :locals nil :buffer ni=
l :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 :e=
vald 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 :arg=
s nil :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :eval=
d t :fun normal-top-level :args nil :flags nil :locals nil :buffer nil :pos=
 nil)) :infos (("Info: " . "image with alt=3Dnil"))) :expected-result-type =
:passed :tags nil :file-name "/tmp/portage/app-editors/emacs-30.1_rc1/work/=
emacs-30.1/test/lisp/net/shr-tests.el") :result #s(ert-test-failed :message=
s "No image under point\n" :should-forms (((skip-unless ...) :form (and ...=
 image-types) :value (svg imagemagick gif tiff jpeg xpm xbm pbm))) :duratio=
n 5.131102459 :condition (error "Timed out waiting to zoom image") :backtra=
ce (#s(backtrace-frame :evald t :fun signal :args (error ...) :flags nil :l=
ocals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun error :arg=
s ("Timed out waiting to zoom image") :flags nil :locals nil :buffer nil :p=
os nil) #s(backtrace-frame :evald t :fun shr-test-wait-for :args (#f(compil=
ed-function () #<bytecode 0x69f1ca74762a>) "Timed out waiting to zoom image=
") :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t=
 :fun #f(compiled-function () #<bytecode 0x1bb70f4a3c82e1e7>) :args nil :fl=
ags nil :locals (... ... ... ... ... ...) :buffer nil :pos nil) #s(backtrac=
e-frame :evald t :fun #f(compiled-function () #<bytecode 0x14ed2e6ed9e260bb=
>) :args nil :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-fram=
e :evald t :fun handler-bind-1 :args (#f(compiled-function () #<bytecode 0x=
14ed2e6ed9e260bb>) ... #f(compiled-function (err) #<bytecode -0x150ebb14c38=
5d641>)) :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :e=
vald t :fun ert--run-test-internal :args #0 :flags nil :locals (... ...) :b=
uffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-run-test :args (..=
.) :flags nil :locals (... ... ...) :buffer nil :pos nil) #s(backtrace-fram=
e :evald t :fun ert-run-or-rerun-test :args (... ... #f(compiled-function (=
event-type &rest event-args) #<bytecode -0x1ce76ce16f27d548>)) :flags nil :=
locals (...) :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-run=
-tests :args (... #f(compiled-function (event-type &rest event-args) #<byte=
code -0x1ce76ce16f27d548>) nil) :flags nil :locals (...) :buffer nil :pos n=
il) #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 (...) :flags nil :locals nil :buffer nil :p=
os nil) #s(backtrace-frame :evald t :fun eval :args (... t) :flags nil :loc=
als nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fun command-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 (("Info: " . "image =
with alt=3Dnil"))) :exit-continuation #f(compiled-function () #<bytecode 0x=
8d0c8642dff0c3>) :ert-debug-on-error nil))
  ert-run-test(#s(ert-test :name shr-test/zoom-image :documentation "Test t=
hat `shr-zoom-image' properly replaces the original image." :body #f(compil=
ed-function () #<bytecode 0x1bb70f4a3c82e1e7>) :most-recent-result #s(ert-t=
est-failed :messages "No image under point\n" :should-forms (((skip-unless =
(bound-and-true-p image-types)) :form (and (boundp ...) image-types) :value=
 (svg imagemagick gif tiff jpeg xpm xbm pbm))) :duration 5.131102459 :condi=
tion (error "Timed out waiting to zoom image") :backtrace (#s(backtrace-fra=
me :evald t :fun signal :args (error ("Timed out waiting to zoom image")) :=
flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :fu=
n error :args ("Timed out waiting to zoom image") :flags nil :locals nil :b=
uffer nil :pos nil) #s(backtrace-frame :evald t :fun shr-test-wait-for :arg=
s (#f(compiled-function () #<bytecode 0x69f1ca74762a>) "Timed out waiting t=
o zoom image") :flags nil :locals nil :buffer nil :pos nil) #s(backtrace-fr=
ame :evald t :fun #f(compiled-function () #<bytecode 0x1bb70f4a3c82e1e7>) :=
args nil :flags nil :locals ((ert--infos ...) (shr-put-image-function . #f(=
compiled-function (&rest args) #<bytecode 0x1aa42b554701fe89>)) (shr-width =
. 80) (shr-use-fonts) (shr-image-animate) (inhibit-message . t)) :buffer ni=
l :pos nil) #s(backtrace-frame :evald t :fun #f(compiled-function () #<byte=
code 0x14ed2e6ed9e260bb>) :args nil :flags nil :locals nil :buffer nil :pos=
 nil) #s(backtrace-frame :evald t :fun handler-bind-1 :args (#f(compiled-fu=
nction () #<bytecode 0x14ed2e6ed9e260bb>) (error quit) #f(compiled-function=
 (err) #<bytecode -0x150ebb14c385d641>)) :flags nil :locals nil :buffer nil=
 :pos nil) #s(backtrace-frame :evald t :fun ert--run-test-internal :args (#=
s(ert--test-execution-info :test #1 :result #2 :exit-continuation #f(compil=
ed-function () #<bytecode 0x8d0c8642dff0c3>) :ert-debug-on-error nil)) :fla=
gs nil :locals ((ert--infos) (lexical-binding . t)) :buffer nil :pos nil) #=
s(backtrace-frame :evald t :fun ert-run-test :args #0 :flags nil :locals ((=
ert--running-tests #1) (message-log-max . t) (ert--should-execution-observe=
r . #f(compiled-function (form-description) #<bytecode -0x1ddeb65f144f4091>=
))) :buffer nil :pos nil) #s(backtrace-frame :evald t :fun ert-run-or-rerun=
-test :args (#s(ert--stats :selector ... :tests ... :test-map #<hash-table =
eql 4/4 0x10ebb532c32a ...> :test-results ... :test-start-times ... :test-e=
nd-times ... :passed-expected 2 :passed-unexpected 0 :failed-expected 0 :fa=
iled-unexpected 1 :skipped 0 :start-time ... :end-time nil :aborted-p nil :=
current-test #1 :next-redisplay 0.0) #1 #f(compiled-function (event-type &r=
est event-args) #<bytecode -0x1ce76ce16f27d548>)) :flags nil :locals ((ert-=
-current-run-stats . ...)) :buffer nil :pos nil) #s(backtrace-frame :evald =
t :fun ert-run-tests :args ((not ...) #f(compiled-function (event-type &res=
t event-args) #<bytecode -0x1ce76ce16f27d548>) nil) :flags nil :locals ((er=
t--current-run-stats . ...)) :buffer nil :pos nil) #s(backtrace-frame :eval=
d t :fun ert-run-tests-batch :args ((not ...)) :flags nil :locals nil :buff=
er nil :pos nil) #s(backtrace-frame :evald t :fun ert-run-tests-batch-and-e=
xit :args ((not ...)) :flags nil :locals nil :buffer nil :pos nil) #s(backt=
race-frame :evald t :fun eval :args ((ert-run-tests-batch-and-exit ...) t) =
:flags nil :locals nil :buffer nil :pos nil) #s(backtrace-frame :evald t :f=
un command-line-1 :args (("-L" ":." "-l" "ert" "--eval" "(setq treesit-extr=
a-load-path '(\"/tmp/portage/app-editors/emacs-30.1_rc1/homedir/.emacs.d/tr=
ee-sitter\"))" "--eval" "(setq ert-batch-backtrace-right-margin nil)" "-l" =
"lisp/net/shr-tests" "--eval" "(ert-run-tests-batch-and-exit (quote (not (o=
r (tag :expensive-test) (tag :unstable) (tag :nativecomp)))))")) :flags nil=
 :locals ((command-line-args-left) (argi . "-eval")) :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 (("Info: " =
. "image with alt=3Dnil"))) :expected-result-type :passed :tags nil :file-n=
ame "/tmp/portage/app-editors/emacs-30.1_rc1/work/emacs-30.1/test/lisp/net/=
shr-tests.el"))
  ert-run-or-rerun-test(#s(ert--stats :selector (not (or ... ... ...)) :tes=
ts [#s(ert-test :name rendering :documentation nil :body #f(compiled-functi=
on () #<bytecode 0x1f49d0769f543c4b>) :most-recent-result ... :expected-res=
ult-type :passed :tags nil :file-name "/tmp/portage/app-editors/emacs-30.1_=
rc1/work/emacs-30.1/test/lisp/net/shr-tests.el") #s(ert-test :name shr-srcs=
et :documentation nil :body #f(compiled-function () #<bytecode -0x14f2476ca=
18b144b>) :most-recent-result ... :expected-result-type :passed :tags nil :=
file-name "/tmp/portage/app-editors/emacs-30.1_rc1/work/emacs-30.1/test/lis=
p/net/shr-tests.el") #s(ert-test :name shr-test/zoom-image :documentation "=
Test that `shr-zoom-image' properly replaces the original image." :body #f(=
compiled-function () #<bytecode 0x1bb70f4a3c82e1e7>) :most-recent-result ..=
. :expected-result-type :passed :tags nil :file-name "/tmp/portage/app-edit=
ors/emacs-30.1_rc1/work/emacs-30.1/test/lisp/net/shr-tests.el") #s(ert-test=
 :name use-cookies :documentation nil :body #f(compiled-function () #<bytec=
ode 0x41dcf774df43ea3>) :most-recent-result nil :expected-result-type :pass=
ed :tags nil :file-name "/tmp/portage/app-editors/emacs-30.1_rc1/work/emacs=
-30.1/test/lisp/net/shr-tests.el")] :test-map #<hash-table eql 4/4 0x10ebb5=
32c32a ...> :test-results [#s(ert-test-passed :messages "" :should-forms ..=
. :duration 0.011501395) #s(ert-test-passed :messages "" :should-forms ... =
:duration 0.00013758) #s(ert-test-failed :messages "No image under point\n"=
 :should-forms ... :duration 5.131102459 :condition ... :backtrace ... :inf=
os ...) nil] :test-start-times [(26552 18439 720835 414000) (26552 18439 73=
2389 839000) (26552 18439 732563 106000) nil] :test-end-times [(26552 18439=
 732336 809000) (26552 18439 732527 419000) (26552 18444 863665 565000) nil=
] :passed-expected 2 :passed-unexpected 0 :failed-expected 0 :failed-unexpe=
cted 1 :skipped 0 :start-time (26552 18439 720765 993000) :end-time nil :ab=
orted-p nil :current-test #s(ert-test :name shr-test/zoom-image :documentat=
ion "Test that `shr-zoom-image' properly replaces the original image." :bod=
y #f(compiled-function () #<bytecode 0x1bb70f4a3c82e1e7>) :most-recent-resu=
lt #s(ert-test-failed :messages "No image under point\n" :should-forms ... =
:duration 5.131102459 :condition ... :backtrace ... :infos ...) :expected-r=
esult-type :passed :tags nil :file-name "/tmp/portage/app-editors/emacs-30.=
1_rc1/work/emacs-30.1/test/lisp/net/shr-tests.el") :next-redisplay 0.0) #s(=
ert-test :name shr-test/zoom-image :documentation "Test that `shr-zoom-imag=
e' properly replaces the original image." :body #f(compiled-function () #<b=
ytecode 0x1bb70f4a3c82e1e7>) :most-recent-result #s(ert-test-failed :messag=
es "No image under point\n" :should-forms (...) :duration 5.131102459 :cond=
ition (error "Timed out waiting to zoom image") :backtrace (... ... ... ...=
 ... ... ... ... ... ... ... ... ... ... ... ...) :infos (...)) :expected-r=
esult-type :passed :tags nil :file-name "/tmp/portage/app-editors/emacs-30.=
1_rc1/work/emacs-30.1/test/lisp/net/shr-tests.el") #f(compiled-function (ev=
ent-type &rest event-args) #<bytecode -0x1ce76ce16f27d548>))
  ert-run-tests((not (or (tag :expensive-test) (tag :unstable) (tag :native=
comp))) #f(compiled-function (event-type &rest event-args) #<bytecode -0x1c=
e76ce16f27d548>) 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/ne=
t/shr-tests" "--eval" "(ert-run-tests-batch-and-exit (quote (not (or (tag :=
expensive-test) (tag :unstable) (tag :nativecomp)))))"))
  command-line()
  normal-top-level()

Test shr-test/zoom-image condition:
    Info: image with alt=3Dnil
    (error "Timed out waiting to zoom image")
   FAILED  3/4  shr-test/zoom-image (5.131102 sec) at lisp/net/shr-tests.el=
:136
   passed  4/4  use-cookies (0.024167 sec)

Ran 4 tests, 3 results as expected, 1 unexpected (2025-02-21 10:31:56+0100,=
 5.265277 sec)

1 unexpected results:
   FAILED  shr-test/zoom-image  "Timed out waiting to zoom image"


This is triggered by the --without-png configure option.


In GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.18.2) of 2025-02-21 built on urania
Windowing system distributor 'The X.Org Foundation', version 11.0.12101015
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=3Dinotify --with-pdumper --enable-acl
 --enable-xattr --with-dbus --with-modules --with-gameuser=3D:gamestat
 --with-libgmp --with-gpm --without-native-compilation
 --without-kerberos --without-kerberos5 --with-lcms2 --with-xml2
 --without-mailutils --without-selinux --without-sqlite3 --with-gnutls
 --without-libsystemd --with-threads --without-tree-sitter
 --without-wide-int --with-sound=3Dalsa --with-zlib --with-x
 --without-pgtk --without-ns --without-gconf --with-gsettings
 --without-toolkit-scroll-bars --with-xpm --with-xft --with-cairo
 --with-harfbuzz --with-libotf --with-m17n-flt --with-x-toolkit=3Dlucid
 --with-xaw3d --with-gif --with-jpeg --without-png --with-rsvg
 --with-tiff --without-webp --with-imagemagick --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:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ
IMAGEMAGICK JPEG LCMS2 LIBOTF LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY
PDUMPER RSVG SECCOMP SOUND THREADS TIFF X11 XAW3D XDBE XIM XINPUT2 XPM
LUCID ZLIB

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#76464; 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:15:01 UTC

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