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#65590: 29.0.50; esh-var-test/interp-concat-cmd fails on macOS Date: Tue, 29 Aug 2023 21:15:11 +0200 Message-ID: References: <7422c797-ff06-b05b-81e9-21b349be30ef@gmail.com> 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="39668"; mail-complaints-to="usenet@ciao.gmane.io" Cc: michael.albinus@gmx.de, 65590@debbugs.gnu.org To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 29 21:16:26 2023 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 1qb4CQ-000AAM-5j for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Aug 2023 21:16:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qb4C6-0002Ru-QB; Tue, 29 Aug 2023 15:16:06 -0400 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 1qb4Bw-0002Oi-6h for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2023 15:15:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qb4Bv-0007fG-To for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2023 15:15:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qb4C2-0002co-IT for bug-gnu-emacs@gnu.org; Tue, 29 Aug 2023 15:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Aug 2023 19:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65590 X-GNU-PR-Package: emacs Original-Received: via spool by 65590-submit@debbugs.gnu.org id=B65590.169333654210064 (code B ref 65590); Tue, 29 Aug 2023 19:16:02 +0000 Original-Received: (at 65590) by debbugs.gnu.org; 29 Aug 2023 19:15:42 +0000 Original-Received: from localhost ([127.0.0.1]:51589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qb4Bi-0002cF-Dg for submit@debbugs.gnu.org; Tue, 29 Aug 2023 15:15:42 -0400 Original-Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:47400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qb4Bc-0002by-NB for 65590@debbugs.gnu.org; Tue, 29 Aug 2023 15:15:41 -0400 Original-Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-5008faf4456so7567694e87.3 for <65590@debbugs.gnu.org>; Tue, 29 Aug 2023 12:15:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693336524; x=1693941324; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4Ua2b+t65sKDzxFa9cwJJTshUhJBvQuL4DMudFIrwxU=; b=QgIQevV5MlLldY6lUKVDg6cZnmi8FL4NVthvXVhf3jWGriKwQqSnrphlZ45igdnhJS FYEvgazAnosInbbiyHrQcTc0t3Ekiv73rar6QHrOddR5H6W8bbdUlh2qwuSH25IuBIlF uDg1vDh6H2vjVMT+0FKFxCr9e7qIBl9xmBWvFMK3LBm/5g+4npwQGFs278JybNy+nU7H eKLqJy9djKDwpv6+NoiD9w5srXTwYgqWkyyFKBKvrcY8CewUtTO/bLiron/+v1cxx1Zu znQeP822BXvRTfJ99rivegxoBQKy0eBbyBtEHcqcgPE6xaa7K+tpc4L4sq0L88A0Dh3Y KLKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693336524; x=1693941324; 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=4Ua2b+t65sKDzxFa9cwJJTshUhJBvQuL4DMudFIrwxU=; b=Xo0kU+GeParUpSohrJneKycjFZF4BRvfYzJNQT//lHiAQE/+R0Qv0Q9tfHj9egiXm1 zI3LBX97QlN//+P+m9WAdxgfjYD6t7SKBlXNTXdXF/Uv5/RQxKp0pgaARbkmikV00amh JQBnzcKMuefjb5pWgaiphMx6COQYym0+QbsFExfKaMxBgh0q/tRzjBLocwAB+DUz6QbY tiOpDtX6SvIbsVxZK5QeiIbgu+lMIJuiLIlOf4lMGxgXOTbka++5fajZ09GJetjWkDp0 7jGCe6qP69w0PRYpdTawMUJ0X8iay7b5+3LxOi7A0dQB5V0jdax9r0i65UBB6L6+R4pa MYGw== X-Gm-Message-State: AOJu0Yw10JErDFuwVfWw3TVr2793ttSIyNjIialgnOXpP2lek5//zTPJ PNLaBzr5ZDMUVTpQgSVrWG3tPUYC605um6VVZQ8= X-Google-Smtp-Source: AGHT+IGSv0nLmgufN8js9Bk8GshoXb0p5Bi8bmiArQy9n13np2XGHdiTQNrkbtQWS2guz96AabQonlnLtxQ2IWnbno0= X-Received: by 2002:a05:6512:3e18:b0:4f8:7055:6f7e with SMTP id i24-20020a0565123e1800b004f870556f7emr27403389lfv.44.1693336523439; Tue, 29 Aug 2023 12:15:23 -0700 (PDT) In-Reply-To: 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:268672 Archived-At: Den tis 29 aug. 2023 kl 20:59 skrev Stefan Kangas : > > Jim Porter writes: > > > This looks like a race condition when executing this command: > > > > echo ${*echo "foo\nbar"}-baz > > > > That *should* print "foo\nbar-baz", but it tries to print "-baz" (and > > fails). That appears to be because the subcommand (*echo "foo\nbar") > > produces no output. > > I can confirm that the error is intermittent, as I'm not seeing it on a re-run. (I put "29.0.50" in the subject, but that should be "30.0.50". Sorry about the typo.) And on yet another re-run, this one cropped up in the same file: Test esh-var-test/quote-interp-var-indices-subcommand 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 \"$eshell-test-value[${*echo 0}]\" #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/quote-interp-var-indices 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/quote-interp-var-indices-subcommand condition: (ert-test-failed ((should (eshell-command-result--equal command (eshell-test-command-result command) result)) :form (eshell-command-result--equal "echo \"$eshell-test-value[${*echo 0}]\"" #("nil" 0 3 (escaped t)) "zero") :value nil :explanation (nonequal-result (command "echo \"$eshell-test-value[${*echo 0}]\"") (result #("nil" 0 3 ...)) (expected "zero")))) FAILED 76/110 esh-var-test/quote-interp-var-indices-subcommand (0.625851 sec) at lisp/eshell/esh-var-tests.el:341 [...] Ran 110 tests, 108 results as expected, 2 unexpected (2023-08-29 21:10:03+0200, 10.074424 sec) 2 unexpected results: FAILED esh-var-test/interp-cmd-external FAILED esh-var-test/quote-interp-var-indices-subcommand make[3]: *** [lisp/eshell/esh-var-tests.log] Error 1