GNU bug report logs - #58225
29.0.50; esh-var-test/interp-cmd-external test fails on macOS (10.13.6)

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Sat, 1 Oct 2022 14:26:02 UTC

Severity: normal

Found in version 29.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

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

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

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


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#58225; Package emacs. (Sat, 01 Oct 2022 14:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Kangas <stefankangas <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 01 Oct 2022 14:26:02 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50;
 esh-var-test/interp-cmd-external test fails on macOS (10.13.6)
Date: Sat, 1 Oct 2022 16:25:09 +0200
Failed test on macOS 10.13.6, see below output from "make check":

Test esh-var-test/interp-cmd-external backtrace:
  signal(ert-test-failed (((should (eshell-match-output regexp)) :form
  ert-fail(((should (eshell-match-output regexp)) :form (eshell-match-
  eshell-match-command-output("echo ${*echo hi}" "hi\n")
  #f(compiled-function () #<bytecode 0x8d9c3a32214eb5c>)()
  ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
  ert-run-test(#s(ert-test :name esh-var-test/interp-cmd-external :doc
  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" "-l" "lisp/eshell/esh-var-tests
  command-line()
  normal-top-level()
Test esh-var-test/interp-cmd-external condition:
    (ert-test-failed
     ((should
       (eshell-match-output regexp))
      :form
      (eshell-match-output "hi\n")
      :value nil :explanation
      (mismatched-output
       (command "echo ${*echo hi}\n")
       (output "")
       (regexp "hi\n"))))
   FAILED   5/65  esh-var-test/interp-cmd-external (0.766877 sec) at
lisp/eshell/esh-var-tests.el:148
[...]
SUMMARY OF TEST RESULTS
-----------------------
Files examined: 451
Ran 6654 tests, 5 failed to run, 6530 results as expected, 1
unexpected, 123 skipped
1 files did not finish:
  lisp/emacs-lisp/multisession-tests.log
1 files contained unexpected results:
  lisp/eshell/esh-var-tests.log
make[2]: *** [check-doit] Error 2
make[1]: *** [check] Error 2
make: *** [check] Error 2

In GNU Emacs 29.0.50 (build 3, x86_64-apple-darwin17.7.0, NS
 appkit-1561.61 Version 10.13.6 (Build 17G14042)) of 2022-10-01 built on
 SK-MacBook-Pro
Repository revision: 3faa508eba84a1983732099cbd3cc1eaad404158
Repository branch: master
Windowing system distributor 'Apple', version 10.3.1561
System Description:  Mac OS X 10.13.6

Configured using:
 'configure --with-native-compilation'

Configured features:
ACL GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS WEBP XIM ZLIB

Important settings:
  value of $LC_CTYPE: UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search time-date mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils comp comp-cstr
warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode
cl-loaddefs cl-lib bytecomp byte-compile cconv rmc iso-transl tooltip
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote threads kqueue
cocoa ns lcms2 multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 64035 6897)
 (symbols 48 7032 0)
 (strings 32 18188 3512)
 (string-bytes 1 551337)
 (vectors 16 14682)
 (vector-slots 8 229100 11529)
 (floats 8 26 25)
 (intervals 56 206 0)
 (buffers 1000 11))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58225; Package emacs. (Sun, 02 Oct 2022 05:46:01 GMT) Full text and rfc822 format available.

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

From: Jim Porter <jporterbugs <at> gmail.com>
To: Stefan Kangas <stefankangas <at> gmail.com>, 58225 <at> debbugs.gnu.org
Subject: Re: bug#58225: 29.0.50; esh-var-test/interp-cmd-external test fails
 on macOS (10.13.6)
Date: Sat, 1 Oct 2022 22:44:54 -0700
On 10/1/2022 7:25 AM, Stefan Kangas wrote:
> Failed test on macOS 10.13.6, see below output from "make check":
> 
> Test esh-var-test/interp-cmd-external condition:
>      (ert-test-failed
>       ((should
>         (eshell-match-output regexp))
>        :form
>        (eshell-match-output "hi\n")
>        :value nil :explanation
>        (mismatched-output
>         (command "echo ${*echo hi}\n")
>         (output "")
>         (regexp "hi\n"))))

I don't have access to a macOS system, unfortunately. What happens if 
you run the following commands starting from "emacs -Q -f eshell"?

  echo ${echo hi}
  echo ${*echo hi}
  *echo ${echo hi}
  *echo ${*echo hi}

They should all output "hi", with a newline at the end.




Reply sent to Stefan Kangas <stefankangas <at> gmail.com>:
You have taken responsibility. (Tue, 04 Oct 2022 22:44:02 GMT) Full text and rfc822 format available.

Notification sent to Stefan Kangas <stefankangas <at> gmail.com>:
bug acknowledged by developer. (Tue, 04 Oct 2022 22:44:02 GMT) Full text and rfc822 format available.

Message #13 received at 58225-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Jim Porter <jporterbugs <at> gmail.com>
Cc: 58225-done <at> debbugs.gnu.org
Subject: Re: bug#58225: 29.0.50; esh-var-test/interp-cmd-external test fails
 on macOS (10.13.6)
Date: Wed, 5 Oct 2022 00:43:28 +0200
Jim Porter <jporterbugs <at> gmail.com>:
>
> On 10/1/2022 7:25 AM, Stefan Kangas wrote:
> > Failed test on macOS 10.13.6, see below output from "make check":
> >
> > Test esh-var-test/interp-cmd-external condition:
> >      (ert-test-failed
> >       ((should
> >         (eshell-match-output regexp))
> >        :form
> >        (eshell-match-output "hi\n")
> >        :value nil :explanation
> >        (mismatched-output
> >         (command "echo ${*echo hi}\n")
> >         (output "")
> >         (regexp "hi\n"))))
>
> I don't have access to a macOS system, unfortunately. What happens if
> you run the following commands starting from "emacs -Q -f eshell"?
>
>    echo ${echo hi}
>    echo ${*echo hi}
>    *echo ${echo hi}
>    *echo ${*echo hi}
>
> They should all output "hi", with a newline at the end.

Welcome to the Emacs shell

~/wip/emacs $ echo ${echo hi}
hi
~/wip/emacs $ echo ${*echo hi}
hi
~/wip/emacs $ *echo ${echo hi}
hi
~/wip/emacs $ *echo ${*echo hi}
hi
~/wip/emacs $

And the test seem to be pasing now?  So let's hope that it wasn't
intermittent (I tried 5 times for good measure), and close the bug.
I'll re-open if it happens again.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 02 Nov 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 257 days ago.

Previous Next


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