From unknown Sat Sep 13 17:34:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59103: 29.0.50; esh-var-tests intermittently fails on macOS 12.6.1 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-GNU-PR-Keywords: To: 59103@debbugs.gnu.org Cc: jim porter X-Debbugs-Original-To: bug-gnu-emacs X-Debbugs-Original-Xcc: jim porter Received: via spool by submit@debbugs.gnu.org id=B.166781940518621 (code B ref -1); Mon, 07 Nov 2022 11:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Nov 2022 11:10:05 +0000 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 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 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 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 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) MIME-Version: 1.0 From: Stefan Kangas Date: Mon, 7 Nov 2022 12:09:46 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" 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-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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)) From unknown Sat Sep 13 17:34:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59103: 29.0.50; esh-var-tests intermittently fails on macOS 12.6.1 Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Nov 2022 05:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59103 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas , 59103@debbugs.gnu.org Received: via spool by 59103-submit@debbugs.gnu.org id=B59103.166788600817617 (code B ref 59103); Tue, 08 Nov 2022 05:41:01 +0000 Received: (at 59103) by debbugs.gnu.org; 8 Nov 2022 05:40:08 +0000 Received: from localhost ([127.0.0.1]:35997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osHLD-0004a3-Tb for submit@debbugs.gnu.org; Tue, 08 Nov 2022 00:40:08 -0500 Received: from mail-pj1-f47.google.com ([209.85.216.47]:40623) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1osHLB-0004ZR-VE for 59103@debbugs.gnu.org; Tue, 08 Nov 2022 00:40:06 -0500 Received: by mail-pj1-f47.google.com with SMTP id r61-20020a17090a43c300b00212f4e9cccdso16893691pjg.5 for <59103@debbugs.gnu.org>; Mon, 07 Nov 2022 21:40:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=z65tOBvgGp1LGGXEdq0xbv1qCn7Xz24v3mVNob01F7g=; b=RMSiR7hHBy9vs90JISgHPZgLfjVzSywCqG4ggo29nys74emD3y78p1tFs6XbF0K8o7 1RnkAVRX5SoJBjJhGEpfw8PdTboc78GznHllGh/BGNwb+gd/Awk211PBEcN0fBx5HT2i YDRAUszYbdrq/diN8+bpKHNzWCqakTECNAZe0FPIzVrnerOOEEh3dZwSxJD0ZT/5IBJ4 oyR0wd+HFc2jOOuDqD97GjoFKbS596nFOMNpoHyD+yjzwoEZvkUN0VAPeo5AK0lY+oBw fPMGEDvGPb37wLCTiVKYTBOJEtDWXOud8l3oO69VLmct73uTqeElQLeB7MU4drLp/+k6 kirA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=z65tOBvgGp1LGGXEdq0xbv1qCn7Xz24v3mVNob01F7g=; b=U4MVBe7EQnYFM1ajX1IefAeF4nWFnAiTmROaqRvM650vg2OdpfWRNSA16AyYravVCZ +j8a5KpH3JZpANnh9380jC7viYoXbV5O89mSI0Tl7xOgAqskZys5uiXpXk4JxFUAecG7 ognVoH45ZdXJEK/ugrDG7p/yYtwPawbcCKGYfT9mXARuQQTjLBextIqLyxxejV2yKR1E UPSXctdTPTnb4g+EJ+RMfFs09UWAvP7zJzLvR2h4T3h2uIXntEBurFPBXou/gF7bIAGY wMLIlL4vIsThofY+Cw2uqROAOeRjJToR424debZgD7lo84B/uC5pbQ6lzidu4DO787xu j9nQ== X-Gm-Message-State: ACrzQf1egYqEpjk5BQ9pe3Vl15dmYVem1ApcZXzsLicWyKspoaiaS568 7H2u7pAdMyFhvg4pcqZH8j4= X-Google-Smtp-Source: AMsMyM765qYHo9qZtQoH/vrT9XLgy025Yw0yExkErL8c97JFuqi177GElY8wtckLGAqjro+iduem+A== X-Received: by 2002:a17:903:110f:b0:178:a07e:e643 with SMTP id n15-20020a170903110f00b00178a07ee643mr52872403plh.41.1667885999152; Mon, 07 Nov 2022 21:39:59 -0800 (PST) Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id z11-20020aa79e4b000000b0056e8eb09d57sm5456449pfq.63.2022.11.07.21.39.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 07 Nov 2022 21:39:58 -0800 (PST) Message-ID: <4f0dad10-9664-ce87-6525-0389363b883f@gmail.com> Date: Mon, 7 Nov 2022 21:39:57 -0800 MIME-Version: 1.0 Content-Language: en-US References: From: Jim Porter In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 11/7/2022 3:09 AM, Stefan Kangas wrote: > Intermittently failing test on macOS 12.6.1, see below output from > "make -j5 check": > [snip] > 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". Both of these failures look like the ${subcommand} didn't see any output by the time Eshell expanded it into the top-level command. My guess is that something is going awry in 'eshell-sentinel'. I haven't been able to reproduce this locally (on a GNU/Linux system), but since it seems you *can* reproduce it, you could try the following: 1. Check if 'eshell-output-object' ever gets called from within 'eshell-sentinel' or from the 'finish-io' timer defined there 2. If so, try moving the 'eshell-kill-process-function' call at the end of 'eshell-sentinel' (and maybe the 'when-let' block immediately above it) inside 'finish-io' My reasoning here is that I think 'eshell-kill-process-function' is what will signal to the rest of Eshell that the process is done, but if the process still has output pending (i.e. 'finish-io' gets called from a timer to do its thing), then that pending output would get lost. Hopefully that at least points you in the right direction... From unknown Sat Sep 13 17:34:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59103: 29.0.50; esh-var-tests intermittently fails on macOS 12.6.1 Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Dec 2022 07:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59103 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Kangas , 59103@debbugs.gnu.org Received: via spool by 59103-submit@debbugs.gnu.org id=B59103.167065646819433 (code B ref 59103); Sat, 10 Dec 2022 07:15:02 +0000 Received: (at 59103) by debbugs.gnu.org; 10 Dec 2022 07:14:28 +0000 Received: from localhost ([127.0.0.1]:41102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3u43-00053N-UH for submit@debbugs.gnu.org; Sat, 10 Dec 2022 02:14:28 -0500 Received: from mail-pl1-f178.google.com ([209.85.214.178]:37803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3u42-00053H-HB for 59103@debbugs.gnu.org; Sat, 10 Dec 2022 02:14:26 -0500 Received: by mail-pl1-f178.google.com with SMTP id m4so7162252pls.4 for <59103@debbugs.gnu.org>; Fri, 09 Dec 2022 23:14:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:references:to:from:content-language:subject :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=6tKIHQ0/gK953QMwYLA1wAS5BhTe5V7YBlwZXaZvlzM=; b=Yrsvdld/Ym5SrjoUzs4uS3m872nOvHfEantV2wV+WnNh4rrqp3ptvkD3WTXOJABenT 8V3S/7MqzUNOlzsgzApj6XoTvn31Nsi7LykdQl9kTgg2w/ZfuLH8017oPyi2l9B/35ve GZSeBJjNSONW3SAwf5Djfnj4oRWF62Dvynw5g8/yOpjjX+9ueAwNs1/DtH8+K2MTjDiO qI8mbUKKMw0Aau7s4OekgTTsygb4ZmbOlNACaXOL8dOufxtLhhOKpAJLF8JHG1HB2dON aBla2fi8PWN0VrL6Uox3YKJuMoUyguk1XML554JrGbTlnE0lKcA55d8Bb8Y3uh94rxMW 0dUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:references:to:from:content-language:subject :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=6tKIHQ0/gK953QMwYLA1wAS5BhTe5V7YBlwZXaZvlzM=; b=LZ9MjQVCRbX2TV+JXo/M+Vx1M5g5UytqXGZn4mIriT635BG8ZKZ2LlLDUCvw0NZLXE rv//z/YwTyoFCttEICXudy8rRx3zlrYKRxcr7VWCSR63BYcExNPRqsvT1D1im9lXk18Z 3dnGiZrZLT/KxchTuHufhDVWdJQht3q2K2Rn782GLhfyIxuolQMvm4BQ/ArjwWMbOzHu ZsyomZWwdGFbmAWP37yOuMkBFMSiDNCvbnLey8upjX/wHn9Rh729FBlH+FrikPKTREVo SEi2tN2cfbE8sE9eAR3s608EG/vAViKN/LoWo+9MoExJDEXhPnoigw60Sxw39nzyhxBZ W0Hw== X-Gm-Message-State: ANoB5plQTZnHMWC6qMZ4sa6PCMWy/vswoKArUv0kACqd+O/0iqt80jY6 hkcxV69mt2AG121+EenRd1M= X-Google-Smtp-Source: AA0mqf5P3n2A8Ic0KjaKOgH2v8Uskh0jGmRteiiGYEBwAq4lTL3sVVezcAmUAYtAba7gTQiojrNQsg== X-Received: by 2002:a17:902:74c5:b0:187:dc9:ef64 with SMTP id f5-20020a17090274c500b001870dc9ef64mr9825545plt.60.1670656460427; Fri, 09 Dec 2022 23:14:20 -0800 (PST) Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id i15-20020a170902c94f00b00189502c8c8bsm2359693pla.87.2022.12.09.23.14.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Dec 2022 23:14:19 -0800 (PST) Content-Type: multipart/mixed; boundary="------------Fc0q0F250GPQWaODaZUhwcFv" Message-ID: <584692ff-1c0c-fdb4-22c3-e515ccc897cb@gmail.com> Date: Fri, 9 Dec 2022 23:14:18 -0800 MIME-Version: 1.0 Content-Language: en-US From: Jim Porter References: <4f0dad10-9664-ce87-6525-0389363b883f@gmail.com> In-Reply-To: <4f0dad10-9664-ce87-6525-0389363b883f@gmail.com> X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --------------Fc0q0F250GPQWaODaZUhwcFv Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 11/7/2022 9:39 PM, Jim Porter wrote: > On 11/7/2022 3:09 AM, Stefan Kangas wrote: >> Intermittently failing test on macOS 12.6.1, see below output from >> "make -j5 check": >> > [snip] >> 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'm not sure how reliably you can reproduce this, but does the attached patch help? --------------Fc0q0F250GPQWaODaZUhwcFv Content-Type: text/plain; charset=UTF-8; name="0001-Fix-a-race-condition-in-Eshell-s-external-process-ma.patch" Content-Disposition: attachment; filename*0="0001-Fix-a-race-condition-in-Eshell-s-external-process-ma.pa"; filename*1="tch" Content-Transfer-Encoding: base64 RnJvbSA5NGZlOWY1Njc0OGFjOGE3M2IzMTNkZjgwYzY2NmRkMDIwYTVkNDZjIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBKaW0gUG9ydGVyIDxqcG9ydGVyYnVnc0BnbWFpbC5j b20+CkRhdGU6IEZyaSwgOSBEZWMgMjAyMiAyMzowNzoxOSAtMDgwMApTdWJqZWN0OiBbUEFU Q0hdIEZpeCBhIHJhY2UgY29uZGl0aW9uIGluIEVzaGVsbCdzIGV4dGVybmFsIHByb2Nlc3Mg bWFuYWdlbWVudAoKSWYgYSBwcm9jZXNzIGlzIGJ1c3kgd3JpdGluZyBvdXRwdXQgd2hlbiAn ZXNoZWxsLXNlbnRpbmVsJyBpcyBjYWxsZWQsCml0IG1pZ2h0IHRha2UgYSBiaXQgb2YgdGlt ZSB0byBmaW5pc2ggdXAuICBEb24ndCBjYWxsCidlc2hlbGwta2lsbC1wcm9jZXNzLWZ1bmN0 aW9uJyB1bnRpbCB3ZSdyZSByZWFsbHkgZmluaXNoZWQKKGJ1ZyM1OTEwMykuCgoqIGxpc3Av ZXNoZWxsL2VzaC1wcm9jLmVsIChlc2hlbGwtc2VudGluZWwpOiBDYWxsCidlc2hlbGwta2ls bC1wcm9jZXNzLWZ1bmN0aW9uJyBpbiAnZmluaXNoLWlvJy4KLS0tCiBsaXNwL2VzaGVsbC9l c2gtcHJvYy5lbCB8IDYgKysrLS0tCiAxIGZpbGUgY2hhbmdlZCwgMyBpbnNlcnRpb25zKCsp LCAzIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2xpc3AvZXNoZWxsL2VzaC1wcm9jLmVs IGIvbGlzcC9lc2hlbGwvZXNoLXByb2MuZWwKaW5kZXggOTUwOTIyZWE3ZjguLjE5OWVkM2Nj NjIyIDEwMDY0NAotLS0gYS9saXNwL2VzaGVsbC9lc2gtcHJvYy5lbAorKysgYi9saXNwL2Vz aGVsbC9lc2gtcHJvYy5lbApAQCAtNDczLDExICs0NzMsMTEgQEAgZXNoZWxsLXNlbnRpbmVs CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGVzaGVsbC1jbG9zZS1oYW5kbGVzCiAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN0YXR1cwogICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAod2hlbiBzdGF0dXMgKGxpc3QgJ3F1b3RlICg9IHN0YXR1cyAwKSkpCi0g ICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhhbmRsZXMpKSkpKQorICAgICAgICAgICAg ICAgICAgICAgICAgICAgICBoYW5kbGVzKQorICAgICAgICAgICAgICAgICAgICAgICAgICAg IChlc2hlbGwta2lsbC1wcm9jZXNzLWZ1bmN0aW9uIHByb2Mgc3RyaW5nKSkpKSkKICAgICAg ICAgICAgICAgICAoZnVuY2FsbCBmaW5pc2gtaW8pKSkpCiAgICAgICAgICh3aGVuLWxldCAo KGVudHJ5IChhc3NxIHByb2MgZXNoZWxsLXByb2Nlc3MtbGlzdCkpKQotICAgICAgICAgIChl c2hlbGwtcmVtb3ZlLXByb2Nlc3MtZW50cnkgZW50cnkpKQotICAgICAgICAoZXNoZWxsLWtp bGwtcHJvY2Vzcy1mdW5jdGlvbiBwcm9jIHN0cmluZykpKSkpCisgICAgICAgICAgKGVzaGVs bC1yZW1vdmUtcHJvY2Vzcy1lbnRyeSBlbnRyeSkpKSkpKQogCiAoZGVmdW4gZXNoZWxsLXBy b2Nlc3MtaW50ZXJhY3QgKGZ1bmMgJm9wdGlvbmFsIGFsbCBxdWVyeSkKICAgIkludGVyYWN0 IHdpdGggYSBwcm9jZXNzLCB1c2luZyBQUk9NUFQgaWYgbW9yZSB0aGFuIG9uZSwgdmlhIEZV TkMuCi0tIAoyLjI1LjEKCg== --------------Fc0q0F250GPQWaODaZUhwcFv-- From unknown Sat Sep 13 17:34:40 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Stefan Kangas Subject: bug#59103: closed (Re: bug#59103: 29.0.50; esh-var-tests intermittently fails on macOS 12.6.1) Message-ID: References: <6e951d56-92d6-c986-324a-a9064125d6de@gmail.com> X-Gnu-PR-Message: they-closed 59103 X-Gnu-PR-Package: emacs Reply-To: 59103@debbugs.gnu.org Date: Sun, 27 Aug 2023 19:36:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1693164962-16839-1" This is a multi-part message in MIME format... ------------=_1693164962-16839-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #59103: 29.0.50; esh-var-tests intermittently fails on macOS 12.6.1 which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 59103@debbugs.gnu.org. --=20 59103: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D59103 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1693164962-16839-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 59103-done) by debbugs.gnu.org; 27 Aug 2023 19:35:04 +0000 Received: from localhost ([127.0.0.1]:46325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaLXM-0004MM-BP for submit@debbugs.gnu.org; Sun, 27 Aug 2023 15:35:04 -0400 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:58838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaLXH-0004Ln-Qp for 59103-done@debbugs.gnu.org; Sun, 27 Aug 2023 15:35:03 -0400 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1bf3a2f44ffso19869485ad.1 for <59103-done@debbugs.gnu.org>; Sun, 27 Aug 2023 12:34:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693164888; x=1693769688; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=Fh7g7i7Ko2yVfQJPu/OzEIJzLgL9hMvvRLr2eGg9H+o=; b=L4eMixgJucLS7MAvfPF7ZoJv/hSE5roDs1I5g5LjFP8Lcz/OLBAIcXtrRc+eXX8G5j eBw11p6eNaPOj6kTrCT/TOed0A/A+gq/HToAg/jLcxZI7l+ilGx349CebGJjkXUTcQLc EmZT5n2w1AFGg2wnDZJfv/z6BGBRikq5GZH04Kn+NGWDMPduoJ1oSrIWQ6LHA6LRj/2E r98hIGsxSOFiVzaKyBDkDNxXSwY6SBLdVoEyLY1XwweK4C3a/8bPNEmH6nTHgI7iBC9P yB5BM5086UNR0xqbUogr4Cxyn9fkYpXaG8LIVn+pCTVUiSbjtV5Oj91DaA9EZcm7gsTR dJMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693164888; x=1693769688; h=content-transfer-encoding:in-reply-to:references:to:from :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Fh7g7i7Ko2yVfQJPu/OzEIJzLgL9hMvvRLr2eGg9H+o=; b=D7AMOP81JrQ7ZTGrbv/4AngfET40SB2B11B3DnU+/Kkd5HgjuWluIEfyGgPnPnOWGK hF7GTJMWN6u661iA8jYHTlqSwMSps/QnaWi7qVQrRcqovYf1IDxZEQEXcrz4PqBYApVB 8WfnTrHcqX0xs57tMWzPXDyCbAwOfvl0AVjWPdZi3+bQfSyKYat9fnoTX/CGz/NLZquJ YCL0BRq3VPVwwi1/XzIm4A+rRAPkVXvJvH3gCdm5CptMr30bcTsoW4Cpyc8xc7r3+mqy mPaVyrjvpQ3ygxM62SjX2vLYp9kDArSPE+yzPLwNSliLKilxbtHQVqv/gQ68KIoT5DwX AuOg== X-Gm-Message-State: AOJu0YzDjUQc7NuuZBiNCx1imyNHRSGvt3KJNB6OYftcYJwk8ZZW9TL3 13ifQMZ+HcDRb496qLpqk90= X-Google-Smtp-Source: AGHT+IFU+o6x2hBjA+qVx2vGmAMVK28HnwltIiHvEpT/xTbikmGrWcYOKgLKrmoyeUmfLIlJ1FfrGw== X-Received: by 2002:a17:902:da81:b0:1b8:7e53:704 with SMTP id j1-20020a170902da8100b001b87e530704mr31802882plx.27.1693164887829; Sun, 27 Aug 2023 12:34:47 -0700 (PDT) Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id a10-20020a170902ee8a00b001bb9883714dsm5599989pld.143.2023.08.27.12.34.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 27 Aug 2023 12:34:47 -0700 (PDT) Message-ID: <6e951d56-92d6-c986-324a-a9064125d6de@gmail.com> Date: Sun, 27 Aug 2023 12:34:46 -0700 MIME-Version: 1.0 Subject: Re: bug#59103: 29.0.50; esh-var-tests intermittently fails on macOS 12.6.1 Content-Language: en-US From: Jim Porter To: Stefan Kangas , 59103-done@debbugs.gnu.org References: <4f0dad10-9664-ce87-6525-0389363b883f@gmail.com> <584692ff-1c0c-fdb4-22c3-e515ccc897cb@gmail.com> In-Reply-To: <584692ff-1c0c-fdb4-22c3-e515ccc897cb@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 59103-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 12/9/2022 11:14 PM, Jim Porter wrote: > On 11/7/2022 9:39 PM, Jim Porter wrote: >> On 11/7/2022 3:09 AM, Stefan Kangas wrote: >>> Intermittently failing test on macOS 12.6.1, see below output from >>> "make -j5 check": >>> >> [snip] >>> 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'm not sure how reliably you can reproduce this, but does the attached > patch help? Pushed now to master as 2efb8d2e244. Hopefully this helps fix things. ------------=_1693164962-16839-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Nov 2022 11:10:05 +0000 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 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 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 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 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) MIME-Version: 1.0 From: Stefan Kangas Date: Mon, 7 Nov 2022 12:09:46 +0100 Message-ID: Subject: 29.0.50; esh-var-tests intermittently fails on macOS 12.6.1 To: bug-gnu-emacs Content-Type: text/plain; charset="UTF-8" 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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)) ------------=_1693164962-16839-1-- From unknown Sat Sep 13 17:34:40 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59103: 29.0.50; esh-var-tests intermittently fails on macOS 12.6.1 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Aug 2023 19:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59103 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter Cc: 59103-done@debbugs.gnu.org Received: via spool by 59103-done@debbugs.gnu.org id=D59103.169316589818715 (code D ref 59103); Sun, 27 Aug 2023 19:52:01 +0000 Received: (at 59103-done) by debbugs.gnu.org; 27 Aug 2023 19:51:38 +0000 Received: from localhost ([127.0.0.1]:46332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaLnO-0004rm-0Y for submit@debbugs.gnu.org; Sun, 27 Aug 2023 15:51:38 -0400 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:56382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaLnK-0004rU-3n for 59103-done@debbugs.gnu.org; Sun, 27 Aug 2023 15:51:36 -0400 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-500a8b2b73eso3532504e87.0 for <59103-done@debbugs.gnu.org>; Sun, 27 Aug 2023 12:51:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693165882; x=1693770682; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=K1QHckZU0VHD4uvUKtw93Rs9dqxBoH3jg2PpG0hOQYA=; b=b3AseOOG/ulog/81aMtBTf5P1U9yFCgJmcluOfeFgkcrcsXvgBFVtAXyAyLh8hdZU8 i56W2cCNMvlXGTqLU89SzZDqM4yitD0hQ6s+N4LQRP5y/vJqAWDNX0ZJPGXQjJLQsSQo Z/Nb5vSeNCLBbp8u83vLx2vNYWRk+FM9+cQ4Oz3ZDEuYCQAYjen7W1QATLfiMd03Bpz5 PJcn/Kvnt5Nfj3RFYbkrUDhY2PgeT4PN3CKJ13v1C/wh3SHFBKAEfPQgqh1xrq6mcJEz aDaaXzaoYec29dAixFDfcvjTyOY/pzCjZWKgH+3gqgRAWqquflZ0poajxHPrznAIKhlS 9p0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693165882; x=1693770682; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=K1QHckZU0VHD4uvUKtw93Rs9dqxBoH3jg2PpG0hOQYA=; b=PE3mM88HDFftLmaT9PYZMrDFcv/dQFYBctpV7REGwEeGOCzlStWRv3bRg0I2EzrJ1a 8VQ4mpl2kU3T6ZteKtGWXLdjqeqv2oIJXcqqrrV+8W+VkALhKY+TEJn7coO/hFp1h8Wa MR0OjDLjyr+v+802Yi7GGihYjK+O7e6kDxoa1sb2oqHqCh1WfmDHceGTmd5DwOIqRvHu sqQnzTYD8Rv6ghpX+0Xbofxk+XahORZTavqzywtyew0Ikxkk9vTf5ZlzbCKx7E+Wb6N+ 6IvQ0mMRnAnlxFsdaVFkYroR/Fi32LOBzJrYYxsLFPaAubkI1imMYs8fTsOcul2YMosY SL4A== X-Gm-Message-State: AOJu0Yz2rj7PqKGqC+5pmoYDFr2y5soi0l7U7awnaGTKZa8Da2j3iLrH XQwJ/LMtYLfx0/R7ulOUUZi9oWJIj732e6yHwFI= X-Google-Smtp-Source: AGHT+IF1yNuLmE7mi+UR+U9iLIbPoCsVuDjr/zIOZAuQcYPvRb+20aOLgx527C5YTdd2wmDYG82xFOa0kGteF5hiZiw= X-Received: by 2002:ac2:5dc9:0:b0:4fb:7b4c:d38c with SMTP id x9-20020ac25dc9000000b004fb7b4cd38cmr13885893lfq.60.1693165881857; Sun, 27 Aug 2023 12:51:21 -0700 (PDT) MIME-Version: 1.0 References: <4f0dad10-9664-ce87-6525-0389363b883f@gmail.com> <584692ff-1c0c-fdb4-22c3-e515ccc897cb@gmail.com> <6e951d56-92d6-c986-324a-a9064125d6de@gmail.com> In-Reply-To: <6e951d56-92d6-c986-324a-a9064125d6de@gmail.com> From: Stefan Kangas Date: Sun, 27 Aug 2023 21:51:10 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Jim Porter writes: > Pushed now to master as 2efb8d2e244. Hopefully this helps fix things. Sorry, it seems like I dropped the ball here. Thank you for the fix.