From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#59103: 29.0.50; esh-var-tests intermittently fails on macOS 12.6.1 Date: Mon, 7 Nov 2022 12:09:46 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9759"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jim porter To: 59103@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 07 12:11:36 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1os02S-0002Ob-BW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Nov 2022 12:11:36 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1os026-0001jg-T1; Mon, 07 Nov 2022 06:11:14 -0500 Original-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 ) id 1os022-0001hf-VH for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2022 06:11:11 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1os01u-00084y-2Q for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2022 06:11:10 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1os01t-0004re-UP; Mon, 07 Nov 2022 06:11:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: jporterbugs@gmail.com, bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Nov 2022 11:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59103 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs X-Debbugs-Original-Xcc: jim porter Original-Received: via spool by submit@debbugs.gnu.org id=B.166781940518621 (code B ref -1); Mon, 07 Nov 2022 11:11:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Nov 2022 11:10:05 +0000 Original-Received: from localhost ([127.0.0.1]:33474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1os00x-0004qA-VZ for submit@debbugs.gnu.org; Mon, 07 Nov 2022 06:10:04 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:43720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1os00v-0004pT-Iu for submit@debbugs.gnu.org; Mon, 07 Nov 2022 06:10:02 -0500 Original-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 ) id 1os00v-0001Me-9E for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2022 06:10:01 -0500 Original-Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1os00t-0007Ec-4U for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2022 06:10:00 -0500 Original-Received: by mail-oi1-x22a.google.com with SMTP id b124so11741060oia.4 for ; Mon, 07 Nov 2022 03:09:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=bd27fniN+sxkavuYiJDXPXPaGFZaCMyOUWzXIOCkKKc=; b=EBhgBAEXhvc5Rizi9JGQKuLxITJsfcCl6I6zYIuRnvfMCbJ/tJCS7oor7iXAzDv7Fk 7fvZxPvsrcbpf1gs0NaMWMC6bl/aqPRctSCmqSRZEDpGx/rlerAnQQi+N7NMtFEvlluL 8u/LUlZXTUQO+OyTLwLJbmFX/ZxhPaWVufvThS9otlXofYu+01tg6iRo+RSI5wpzH5o5 ZovI6/v3BmcpqSNVEW4/q0QXHjSZ8PAhjRXIn0RZRsKiC4NVS5ZybLPUtq37qIlgzYnv 4St0sZ+gKmjm2iEPZ/p2JeVnUnYtvY0uvDdWa7q5cFwrI+bbRWk+/nKvpQpdON674+ML b6UA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=bd27fniN+sxkavuYiJDXPXPaGFZaCMyOUWzXIOCkKKc=; b=sMn84fgAL8E7K0HIvVNbT0R0wbdMde/qe3wpc/LDA/40e3zi+LgVQsficCF80vWVUz au5vSza5KfhtvFsHSPym9vIEI5uxEfFzP4satIRRYlwl9tJNQ/aIehn6GDwAYi+UGM+O AuZgY2v/kDjqmb9mBHhDh2irT2un1f8UE+CsggSO5NYKvH82ZdOcxu5wdbCQppUh7S2T RK7uP5bg9lHOC2Cd3ZPqtyQ7llSLp7MiW+rLPkHZ0gzrmC5xXSEeF653GBTX5OdllStG P4as0XpbkaREpacehyqguARK2V71W94fjq10uyzE6ms9QDgffudc2CU0F7uTj0PXOGB4 BTnw== X-Gm-Message-State: ACrzQf3VJaPIt3KIsKP7bZcd0Rd4oM5T2IwK89casukQA04s3OkOyj8W x8rQZaSXBzw9Koef4rX7EZJAe5WFAIG2Ijc2Lb/wqw8HGJk= X-Google-Smtp-Source: AMsMyM7YLHZipjJpbBymE9k9SC5xKjwzxwKrhCeNLlmWJ5g8JiVQwEMGxsogUX/DkssUKSYQO4IXJWz1coe9ZFklqgs= X-Received: by 2002:a05:6808:1186:b0:353:b77a:a481 with SMTP id j6-20020a056808118600b00353b77aa481mr35415560oil.199.1667819397744; Mon, 07 Nov 2022 03:09:57 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::22a; envelope-from=stefankangas@gmail.com; helo=mail-oi1-x22a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:247274 Archived-At: X-Debbugs-CC: Jim Porter Intermittently failing test on macOS 12.6.1, see below output from "make -j5 check": Test esh-var-test/interp-cmd-external-indices backtrace: signal(error ("Index exceeds length of list")) error("Index exceeds length of list") eshell-index-value(nil #("1" 0 1 (number t))) eshell-apply-indices(nil ((#("1" 0 1 (number t)))) nil) eval((eshell-apply-indices 'nil '((#("1" 0 1 (number t)))) 'nil)) eshell-do-eval((eshell-apply-indices 'nil '((#("1" 0 1 (number t)))) #f(compiled-function () #)() funcall(#f(compiled-function () #)) (let ((indices '((#("1" 0 1 (number t)))))) (funcall '#f(compiled-fu eval((let ((indices '((#("1" 0 1 ...))))) (funcall '#f(compiled-func eshell-do-eval((let ((indices '((#("1" 0 1 ...))))) (eshell-apply-in eshell-do-eval((eshell-escape-arg (let ((indices '((...)))) (eshell- eshell-do-eval((list (eshell-escape-arg (let ((indices '(...))) (esh eshell-do-eval((eshell-named-command '"echo" (list (eshell-escape-ar eshell-do-eval((prog1 (eshell-named-command '"echo" (list (eshell-es (condition-case err (eshell-do-eval '(prog1 (eshell-named-command '" eval((condition-case err (eshell-do-eval '(prog1 (eshell-named-comma eshell-do-eval((condition-case err (eshell-do-eval '(prog1 (eshell-n #f(compiled-function () #)() funcall(#f(compiled-function () #)) (let ((eshell-this-command-hook '(ignore))) (funcall '#f(compiled-fu eval((let ((eshell-this-command-hook '(ignore))) (funcall '#f(compil eshell-do-eval((let ((eshell-this-command-hook '(ignore))) (conditio eshell-do-eval((progn (let ((eshell-this-command-hook '(ignore))) (c (catch 'top-level (eshell-do-eval '(progn (let ((eshell-this-command eval((catch 'top-level (eshell-do-eval '(progn (let ((eshell-this-co eshell-do-eval((catch 'top-level (eshell-do-eval '(progn (let ((eshe eshell-do-eval((progn 'nil (catch 'top-level (eshell-do-eval '(progn #f(compiled-function () #)() funcall(#f(compiled-function () #)) (let ((eshell-current-handles '[nil (t . 1) (t . 1)]) (eshell-curren eval((let ((eshell-current-handles '[nil (t . 1) (t . 1)]) (eshell-c eshell-do-eval((let ((eshell-current-handles '[nil (t . 1) (t . 1)]) eshell-resume-eval() eshell-resume-command(# "finished\n") run-hook-with-args(eshell-resume-command # "finished\n eshell-kill-process-function(# "finished\n") #f(compiled-function () #)() eshell-sentinel(# "finished\n") sleep-for(0.1) sit-for(0.1) eshell-wait-for-subprocess() eshell-match-command-output("echo ${*echo \"hi\nbye\"}[1]" "bye\n") #f(compiled-function () #)() 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-indi ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m ert-run-tests((not (or (tag :expensive-test) (tag :unstable) (tag :n 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-indices condition: (error "Index exceeds length of list") FAILED 15/85 esh-var-test/interp-cmd-external-indices (0.620384 sec) at lisp/eshell/esh-var-tests.el:157 Test esh-var-test/interp-concat-cmd backtrace: signal(ert-test-failed (((should (eshell-command-result--equal comma ert-fail(((should (eshell-command-result--equal command (eshell-test eshell-command-result-equal("echo ${*echo \"1\n2\"}3" (1 23)) #f(compiled-function () #)() ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test ert-run-test(#s(ert-test :name esh-var-test/interp-concat-cmd :docum ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m ert-run-tests((not (or (tag :expensive-test) (tag :unstable) (tag :n 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-concat-cmd condition: (ert-test-failed ((should (eshell-command-result--equal command (eshell-test-command-result command) result)) :form (eshell-command-result--equal "echo ${*echo \"1\n2\"}3" "3" (1 23)) :value nil :explanation (nonequal-result (command "echo ${*echo \"1\n2\"}3") (result "3") (expected (1 23))))) FAILED 17/85 esh-var-test/interp-concat-cmd (0.754070 sec) at lisp/eshell/esh-var-tests.el:176 They do not fail every time: sometimes neither fails, sometimes one does and sometimes the other. Only once did both fail at the same time, after several runs of "make check". I have been unable to reproduce these failures using "make -C test esh-var-tests". I also cannot reproduce this manually in emacs -Q: Welcome to the Emacs shell ~/wip/emacs $ echo ${*echo "hi bye"}[1] bye ~/wip/emacs $ echo ${*echo "1 2"}3 (1 23) ~/wip/emacs $ In GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.1 (Build 21G217)) of 2022-11-07 built on SK-MacBook-Pro Repository revision: 236703ca05382c9cdf4ce6a2dd2b3244c20d564d Repository branch: master Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.6.1 Configured features: ACL GIF GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG 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 subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv 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 theme-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 emacs) Memory information: ((conses 16 35812 6611) (symbols 48 5009 0) (strings 32 12556 1611) (string-bytes 1 351138) (vectors 16 9320) (vector-slots 8 146142 8539) (floats 8 21 23) (intervals 56 198 0) (buffers 984 10))