From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21107 invoked by alias); 15 Aug 2014 09:33:16 -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: 33017 Received: (qmail 16823 invoked from network); 15 Aug 2014 09:33:02 -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: Fri, 15 Aug 2014 11:32:56 +0200 From: Axel Beckert To: zsh-workers@zsh.org Subject: Re: zsh 5.0.5-dev-2 / Occassional hangs on Test/A05execution.ztst Message-ID: <20140815093255.GN6176@sym.noone.org> Mail-Followup-To: zsh-workers@zsh.org References: <20140812212920.67dcb116@pws-pc.ntlworld.com> <20140812223637.GS6176@sym.noone.org> <20140813140401.GX6176@sym.noone.org> <20140814095002.1d8949c5@pwslap01u.europe.root.pri> <140814092527.ZM18021@torch.brasslantern.com> <20140814163124.GK6176@sym.noone.org> <20140814173428.GL6176@sym.noone.org> <140814215053.ZM4188@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <140814215053.ZM4188@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, On Thu, Aug 14, 2014 at 09:50:53PM -0700, Bart Schaefer wrote: > On Aug 14, 7:34pm, Axel Beckert wrote: > } > } One thing I noticed in the failed build logs: Exactly before > } terminating the hanging test suite there is the following message: > } > } Unable to change MONITOR option > > Yes, that's coming from the third-to-last test in the file: > > { setopt MONITOR } 2>/dev/null > [[ -o MONITOR ]] || print -u $ZTST_fd 'Unable to change MONITOR option' > > Where as the "5 seconds" message is from the very last test: > > { unsetopt MONITOR } 2>/dev/null > coproc { read -Et 5 || kill -INT $$ } > print -u $ZTST_fd 'This test takes 5 seconds to fail...' > > So two tests have succeeded between the "Unable" message and the one > that hangs. The inability to change MONITOR is a side-effect of no > controlling terminal, so the test warns you. Thanks for the explanations! > Actually the warning could be stronger than that, because the > inability to setpt MONITOR renders the test invalid So instead of or in addition to the warning, can we skip this test in case of no controlling terminal? Because the situation where it currently shows up reproducibly (on the build daemons), it's always without controlling terminal. (The one case where it seems to hang for me with a controlling terminal, I wonder if I was just not patient enough. I think I waited for at least 20 to 30 seconds before pressing Ctrl-C, but I'm no more sure.) > (it will always succeed, even in the case we are trying to regress). Well, it at least hangs under some yet to be determined conditions. So skipping the test if it doesn't do anything useful seems a step forward for me. :-) 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)