From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7854 invoked by alias); 14 Oct 2014 09:45:29 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33466 Received: (qmail 1940 invoked from network); 14 Oct 2014 09:45:24 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Date: Tue, 14 Oct 2014 11:34:59 +0200 From: Axel Beckert To: zsh-workers@zsh.org Subject: Re: Drat, Test/A05 still hanging sometimes Message-ID: <20141014093458.GN5405@sym.noone.org> Mail-Followup-To: zsh-workers@zsh.org References: <141006134255.ZM22326@torch.brasslantern.com> <20141007150735.264a09fe@pwslap01u.europe.root.pri> <20141009075200.GV5405@sym.noone.org> <141012114739.ZM23982@torch.brasslantern.com> <20141013030313.GB5405@sym.noone.org> <141013101803.ZM5769@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <141013101803.ZM5769@torch.brasslantern.com> X-Operating-System: Linux 3.2.0-4-amd64 X-Machine: sym2 x86_64 X-Editor: GNU Emacs 23.4.1 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAAAAAC3mUtaAAAABGdBTUEAALGPC/xhBQAAADh0RVh0U29mdHdhcmUAWFYgVmVyc2lvbiAzLjEwYSAgUmV2OiAxMi8yOS85NCAoUE5HIHBhdGNoIDEuMindFS5JAAACGElEQVQ4jXXQMU8UYRDG8f8shNjdDH4AbpfGDjAWlKiJiZ0ajL1aGCvsNCbGaCGG1koLaztaTYz6ATy+gOyehYmF3MxVxgg3FnDsHcTpJr/M+8w7Rf6nCsaVTTDqxbg9hoOXmw83H71+Eyfg4E1d7/Z2fG9rGkZbTQiu+K+3U/C+76lmkvAhJuDndnoAiftou4V84okAGclop4U/jYACZDTxrYWP0gkxVfAm/W//GLZpxIzwIN0Hn8dw0B+IWkZmQmRsj2HfhwokEklHfNCCiQCRgAR7YyhQVRVTCKCzP4Y5zBBE0t0zY3Q8oQaBqqAMlVEcgVQd9706zGirAFium8HXumlMIeMwqQCInju+2+uB6MRENupdpMt8pRlHZyuAW0F+Mb6XSIVqtxjD+iVmVqqystLEzFTGT92YqRaXpNT5eTVjeJhbALPnrTxLUZUKZsgxcNm64hAOYisT/xhF+oKTGU5RegtC3Rt6eEDi/QnIevdTx9Md2EMmYBRmCQR1026FCGQQJJExsRUqgkMGaWSbwYLnoO4T6VgpbQbdELPMBAHWWrhYrcxXnYgAsatPWygkFCBD4K62MAsOTqA6szYRPpsu6e6Y8mPiVrBMNuGIMrgwBUu4p2DgG1Ownu6hpuTv7hScefHAzAC/yRRw5U5pALMbJ4AUALvHSZhxgHPXTsHcdWD1GadAHr9avP+c0wCr7263Df8ASLwXWHWs+KIAAAAHdElNRQfYBQEBODPr Organization: DeuxChevaux.org -- The =?iso-8859-1?Q?Citr?= =?iso-8859-1?B?b+tu?= 2CV Database User-Agent: Mutt/1.5.21 (2010-09-15) Hi Bart, On Mon, Oct 13, 2014 at 10:18:03AM -0700, Bart Schaefer wrote: > Give the following a try? With the "sleep" in there, I am unable to > make the A05 test hang. Without it, I get one hang in each 20 repeats > of the test, pretty reliably. Thanks. I've made an upload to Debian Experimental last night with a bunch of cherry-picked post-5.0.7 patches plus this one. > Although why putting the sleep at that particular place has the right > side-effect, I do not know. > > diff --git a/Test/A05execution.ztst b/Test/A05execution.ztst > index ca97f4f..0b40a73 100644 > --- a/Test/A05execution.ztst > +++ b/Test/A05execution.ztst > @@ -208,6 +208,7 @@ F:This similar test was triggering a reproducible failure with pipestatus. > print -u $ZTST_fd 'This test takes 5 seconds to fail...' > { printf "%d\n" {1..20000} } | ( read -e ) > hang(){ printf "%d\n" {2..20000} | cat }; hang | ( read -e ) > + sleep 1 ;: avoid coproc exit race condition > print -p done > read -et 6 -p > 0:Bug regression: piping a shell construct to an external process may hang One build failure so far (four slower/busier architectures still outstanding), but it happened on the architecture where it happened the most often so far (kfreebsd-amd64). It was inside A05, but not at the above location but at the test starting at line 179 (or not properly synced output): https://buildd.debian.org/status/fetch.php?pkg=zsh&arch=kfreebsd-amd64&ver=5.0.7-2&stamp=1413276687 Kind regards, Axel -- /~\ Plain Text Ribbon Campaign | Axel Beckert \ / Say No to HTML in E-Mail and News | abe@deuxchevaux.org (Mail) X See http://www.nonhtmlmail.org/campaign.html | abe@noone.org (Mail+Jabber) / \ I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)