From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.bugs Subject: bug#56025: 29.0.50; em-extpipe-test-2 times out on EMBA and Cygwin Date: Fri, 17 Jun 2022 17:57:15 -0700 Message-ID: <87k09elrf8.fsf@athena.silentflame.com> References: <8e21db9c-0100-998e-f280-81304e7ff61a@cornell.edu> <87mtecl82o.fsf@athena.silentflame.com> <40d9e52f-2041-b341-ff77-546ca7792791@cornell.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11246"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Notmuch/0.36 Emacs/29.0.50 (x86_64-pc-linux-gnu) To: Ken Brown , 56025@debbugs.gnu.org, Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 18 02:58:21 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 1o2Mn7-0002ly-43 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Jun 2022 02:58:21 +0200 Original-Received: from localhost ([::1]:54864 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2Mn5-0003rb-NG for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Jun 2022 20:58:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43744) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2Mmo-0003rS-3N for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2022 20:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53357) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2Mmn-0007zS-QC for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2022 20:58:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2Mmn-0000Nj-PL for bug-gnu-emacs@gnu.org; Fri, 17 Jun 2022 20:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sean Whitton Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Jun 2022 00:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56025 X-GNU-PR-Package: emacs Original-Received: via spool by 56025-submit@debbugs.gnu.org id=B56025.16555138451424 (code B ref 56025); Sat, 18 Jun 2022 00:58:01 +0000 Original-Received: (at 56025) by debbugs.gnu.org; 18 Jun 2022 00:57:25 +0000 Original-Received: from localhost ([127.0.0.1]:47254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2MmC-0000Mu-MJ for submit@debbugs.gnu.org; Fri, 17 Jun 2022 20:57:24 -0400 Original-Received: from mail-wr1-f43.google.com ([209.85.221.43]:40934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2MmA-0000Mg-LO for 56025@debbugs.gnu.org; Fri, 17 Jun 2022 20:57:23 -0400 Original-Received: by mail-wr1-f43.google.com with SMTP id w17so7559510wrg.7 for <56025@debbugs.gnu.org>; Fri, 17 Jun 2022 17:57:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=email-arizona-edu.20210112.gappssmtp.com; s=20210112; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-transfer-encoding; bh=xdD0IcZ4olaEzmVUgRafkcanqznqn/ff/Ldzi9N8cqk=; b=z7z5hnjD45r+aM6a3+x/+JH8iDq2hCqv2og0E678F3b6OCAl0cmZxZp2U74LSfe7cc B6o6t7ygWp4fcBT5ZDiFgv3E3j0ys2+G7/mnMw/J61lN0topzmJT0/2cv9E7AhKTYynd YmOPcyDB1ZxGQ2Iyw0Vfv5HR8WRV13rgfkAAZcppf0Da5PkLOGopBpVFs6Y7+OScy44C +HHR2LDoihNj+MSSPnbWu7kHxN5dwT60579ffnWa5UK+UW9KQbtd9htiXDuV8yuTWXmj 4whb81omebxgokXzo3QOLxCXOt4DoNPvCeOoFC6XxfyMsL1DfJtAsjXOH7X/wZmmFDlE ZlgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=xdD0IcZ4olaEzmVUgRafkcanqznqn/ff/Ldzi9N8cqk=; b=injwkVGRZIRc9kSIRiEJ93yBhLAHa0XTIR/TfjL3XRzyiRh7jBJisrlGZnC+gzT+50 HTtxjzmFgc+I9gRglVCGBxz9PtZ4GGJtTmgdHQg5Aq0pco1bf3OnPdEFM2qOM00/O0mC ouG7PkVkSa9V6xzpxJZqyrPK+9cU5v67kcyJPP1yigQsxqDy1wO1VB7nEL2PB//1Nouk jIQWwHrjeLshdlCturqlMwYoBgVy4o7i19CxAkprQM8TII2lGdXKtcCjjmNdTJVAk2/i 3aWktbO6YJTGhpuXxZPnBxj0lqk/5+wmnu0LRMa4wq27NHMyRA93OJeVB+rK9urSgNu6 NPDw== X-Gm-Message-State: AJIora8P37zvEav0MOrN64b8AI1urC7hTSJ8ShFEpLhtJAP9ES8BrC/G nzhgDb4oPRVasNifceb5Ui5LETvnHt5ruSIBlGrcG5ISlfM0Bc+h5arD7T69dIZpYHGYAFZrWCW e2oXGaQ== X-Google-Smtp-Source: AGRyM1uZ3j+sr+I6odX0J7wqxfcfOh9OoYIK2H1EDFoMC33OVaPPAdSr+pjjsQnnIvV34KiQRV4SNQ== X-Received: by 2002:a5d:5c07:0:b0:218:544d:4347 with SMTP id cc7-20020a5d5c07000000b00218544d4347mr11102601wrb.107.1655513836636; Fri, 17 Jun 2022 17:57:16 -0700 (PDT) Original-Received: from athena.silentflame.com (coeus.silentflame.com. [2a01:4f8:c010:9ea2::1]) by smtp.gmail.com with ESMTPSA id e18-20020adfe7d2000000b00219f9829b71sm5929385wrn.56.2022.06.17.17.57.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 17:57:16 -0700 (PDT) Original-Received: by athena.silentflame.com (Postfix, from userid 1000) id 84DC11B629E; Sat, 18 Jun 2022 00:57:15 +0000 (UTC) In-Reply-To: X-ua-ms: gsuite 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" Xref: news.gmane.io gmane.emacs.bugs:234730 Archived-At: Hello, On Fri 17 Jun 2022 at 09:39am -04, Ken Brown wrote: > On 6/16/2022 6:01 PM, Ken Brown wrote: >> On 6/16/2022 3:30 PM, Sean Whitton wrote: >>> Hello Ken, >>> >>> On Thu 16 Jun 2022 at 02:30pm -04, Ken Brown wrote: >>> >>>> In commit 231a1ba3, Lars disabled the extpipe tests on EMBA "because t= hey >>>> apparently time out".=C2=A0 The EMBA log he cited in the commit messag= e shows that >>>> only em-extpipe-test-2 times out.=C2=A0 And this same test (but no oth= ers) also times >>>> out on Cygwin: >>> >>> That test invokes `sh -c "rev >temp"` as its only subprocess, so that's >>> probably what is timing out.=C2=A0 Is there something different about >>> Cygwin's sh?=C2=A0 Something about EOFs? >> >> I'm not aware of anything different.=C2=A0 Here's what happens when I ru= n the test >> interactively: >> >> $ time echo \"bar\" | sh -c "rev >temp" >> >> real=C2=A0=C2=A0=C2=A0 0m0.100s >> user=C2=A0=C2=A0=C2=A0 0m0.030s >> sys=C2=A0=C2=A0=C2=A0=C2=A0 0m0.030s >> >> $ cat temp >> "rab" >> >> And keep in mind that the test also times out on EMBA. > > I just tried a different experiment: In an interactive emacs-29 session, I > started eshell and typed > > echo \"bar\" | rev *>temp > > Nothing visible happens until I type 'C-c C-c'. Then a prompt appears ag= ain, > and 'ls -l' shows that temp exists and is empty. > > Prior to typing 'C-c C-c', 'M-x list-processes' (or 'C-c C-s') shows a ba= sh > process running but it doesn't show 'rev'. But running 'ps' outside of e= macs > shows both 'rev' and its parent 'bash' process. > > It does seem that there's an actual bug here, not just a test that should= be > skipped because it times out. It could be a Cygwin bug, of course, but t= hat > doesn't explain the EMBA failure. Could you see if the same thing happens if you type echo "bar" | sh -c "rev >temp" into an interactive session, please? If it's the same then extpipe has uncovered a general Eshell bug. --=20 Sean Whitton