GNU bug report logs - #80177
test-map-contains-key-signature failure on Emacs master

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Sat, 10 Jan 2026 23:39:05 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

To reply to this bug, email your comments to 80177 AT debbugs.gnu.org.
There is no need to reopen the bug first.

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-gnu-emacs <at> gnu.org:
bug#80177; Package emacs. (Sat, 10 Jan 2026 23:39:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Eggert <eggert <at> cs.ucla.edu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 10 Jan 2026 23:39:05 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Emacs bug reports and feature requests <bug-gnu-emacs <at> gnu.org>
Subject: test-map-contains-key-signature failure on Emacs master
Date: Sat, 10 Jan 2026 15:38:24 -0800
[Message part 1 (text/plain, inline)]
This is on Ubuntu 25.10 x86-64 with Emacs master commit 
0bb36ec255071afee2bdf8928290f47ee0e3d7ab dated today. Failing log file 
attached.

[map-tests.log (text/x-log, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#80177; Package emacs. (Sun, 11 Jan 2026 07:51:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 80177 <at> debbugs.gnu.org
Subject: Re: bug#80177: test-map-contains-key-signature failure on Emacs master
Date: Sun, 11 Jan 2026 09:49:52 +0200
> Date: Sat, 10 Jan 2026 15:38:24 -0800
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> 
> This is on Ubuntu 25.10 x86-64 with Emacs master commit 
> 0bb36ec255071afee2bdf8928290f47ee0e3d7ab dated today. Failing log file 
> attached.

Strangely, this succeeds for me on MS-Windows, but fails on GNU/Linux.

> Test test-map-contains-key-signature backtrace:
>   signal(ert-test-failed (((should (equal (get-advertised-calling-conv
>   ert-fail(((should (equal (get-advertised-calling-convention (symbol-
>   #f(compiled-function () #<bytecode 0xe98f63c79e41546>)()
>   #f(compiled-function () #<bytecode 0xe426b5498c2ee31>)()
>   handler-bind-1(#f(compiled-function () #<bytecode 0xe426b5498c2ee31>
>   ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
>   ert-run-test(#s(ert-test :name test-map-contains-key-signature :docu
>   ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
>   ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co
>   ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable)))
>   ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
>   eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) (
>   command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-l
>   command-line()
>   normal-top-level()
> Test test-map-contains-key-signature condition:
>     (ert-test-failed
>      ((should (equal (get-advertised-calling-convention ...) '(map key)))
>       :form (equal t (map key)) :value nil :explanation
>       (different-types t (map key))))
>    FAILED   5/62  test-map-contains-key-signature (0.000036 sec) at lisp/emacs-lisp/map-tests.el:507

All the failures are due to get-advertised-calling-convention
returning t instead of the expected '(map key).

Stefan, any ideas?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#80177; Package emacs. (Sun, 11 Jan 2026 09:16:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: eggert <at> cs.ucla.edu, 80177 <at> debbugs.gnu.org
Subject: Re: bug#80177: test-map-contains-key-signature failure on Emacs master
Date: Sun, 11 Jan 2026 11:15:10 +0200
> Cc: 80177 <at> debbugs.gnu.org
> Date: Sun, 11 Jan 2026 09:49:52 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > Date: Sat, 10 Jan 2026 15:38:24 -0800
> > From: Paul Eggert <eggert <at> cs.ucla.edu>
> > 
> > This is on Ubuntu 25.10 x86-64 with Emacs master commit 
> > 0bb36ec255071afee2bdf8928290f47ee0e3d7ab dated today. Failing log file 
> > attached.
> 
> Strangely, this succeeds for me on MS-Windows, but fails on GNU/Linux.

Correction: after recompiling the test, it fails also on Windows.

> 
> > Test test-map-contains-key-signature backtrace:
> >   signal(ert-test-failed (((should (equal (get-advertised-calling-conv
> >   ert-fail(((should (equal (get-advertised-calling-convention (symbol-
> >   #f(compiled-function () #<bytecode 0xe98f63c79e41546>)()
> >   #f(compiled-function () #<bytecode 0xe426b5498c2ee31>)()
> >   handler-bind-1(#f(compiled-function () #<bytecode 0xe426b5498c2ee31>
> >   ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
> >   ert-run-test(#s(ert-test :name test-map-contains-key-signature :docu
> >   ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
> >   ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co
> >   ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable)))
> >   ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
> >   eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) (
> >   command-line-1(("-L" ":." "-l" "ert" "--eval" "(setq treesit-extra-l
> >   command-line()
> >   normal-top-level()
> > Test test-map-contains-key-signature condition:
> >     (ert-test-failed
> >      ((should (equal (get-advertised-calling-convention ...) '(map key)))
> >       :form (equal t (map key)) :value nil :explanation
> >       (different-types t (map key))))
> >    FAILED   5/62  test-map-contains-key-signature (0.000036 sec) at lisp/emacs-lisp/map-tests.el:507
> 
> All the failures are due to get-advertised-calling-convention
> returning t instead of the expected '(map key).
> 
> Stefan, any ideas?
> 
> 
> 
> 




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#80177; Package emacs. (Sun, 11 Jan 2026 23:30:02 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 80177 <at> debbugs.gnu.org
Subject: Re: bug#80177: test-map-contains-key-signature failure on Emacs master
Date: Sun, 11 Jan 2026 18:29:10 -0500
> Stefan, any ideas?

Should be fixed now (along with the pcase and xref-elisp test failures).


- Stefan





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#80177; Package emacs. (Mon, 12 Jan 2026 00:38:03 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>, Eli Zaretskii <eliz <at> gnu.org>
Cc: 80177 <at> debbugs.gnu.org, 80176 <at> debbugs.gnu.org, 80174 <at> debbugs.gnu.org
Subject: Re: bug#80177: test-map-contains-key-signature failure on Emacs master
Date: Sun, 11 Jan 2026 16:37:02 -0800
On 2026-01-11 15:29, Stefan Monnier wrote:
>> Stefan, any ideas?
> 
> Should be fixed now (along with the pcase and xref-elisp test failures).

Thanks, it works for me now too. Closing the three bug reports.





Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Mon, 12 Jan 2026 00:38:05 GMT) Full text and rfc822 format available.

Notification sent to Paul Eggert <eggert <at> cs.ucla.edu>:
bug acknowledged by developer. (Mon, 12 Jan 2026 00:38:06 GMT) Full text and rfc822 format available.

This bug report was last modified today.

Previous Next


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